Bridge

Differences between revisions 1 and 2
Revision 1 as of 2012-06-19 12:36:26
Size: 1976
Editor: LSt-Amand-152-32-76-19
Comment:
Revision 2 as of 2012-06-19 12:37:47
Size: 1976
Editor: LSt-Amand-152-32-76-19
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
 * Jen is writing a python application. In the process, she reads a lot of documentation and asks questions on StackOverflow. Whenever she opens her code in Gedit, the indicator provides her links to the documentation she used and to the questions she asked.  * Jen is writing a python application. In the process, she reads a lot of documentation and asks questions on Stackoverflow. Whenever she opens her code in Gedit, the indicator provides her links to the documentation she used and to the questions she asked.

Bridge is an indicator providing quick access to previous actions, files and websites related to your current activity.

User stories

  • Jan is writing an article for her blog: she checks several Wikipedia pages, discusses some details with a contact in Empathy, makes a screenshot and publishes it. A month later, she opens the article in a web browser: the indicator provides her links to the Wikipedia pages, the name of the contact and the screenshot file.
  • Jon is reading an article containing several links, he visits some of them and finds a video he downloads. Whenever he plays the video, the indicator provides him the webpage he downloaded it from and a link to the original article.
  • Jen is writing a python application. In the process, she reads a lot of documentation and asks questions on Stackoverflow. Whenever she opens her code in Gedit, the indicator provides her links to the documentation she used and to the questions she asked.
  • Jin is editing a audio file with Ardour, made of several sound samples coming from an online sound database and from his personal collection. Whenever he plays the finished track, the indicator provides him the link to the sound database and the samples used.

Process

  1. The title of the focused window is parsed to keep only the part relevant to a specific file/website/activity
  2. This string is used to query Zeitgeist for a matching recent event
  3. This event is used to query Zeitgeist for related events
  4. These related events are used to build the menu of the indicator
  5. If it fails, the indicator is not displayed
  6. The process stops until a change is detected in the window title or if another window is focused.

Focus checkbox

The "Focus on <window title>" checkbox menu item disables the window tracking and keep the indicator focused on a specific window.

HUD integration

Typing "related" in the HUD displays Bridge menu items.

Bridge (last edited 2012-06-25 08:58:56 by LSt-Amand-152-32-76-19)