Bridge

Differences between revisions 5 and 6
Revision 5 as of 2012-06-19 13:33:43
Size: 2021
Editor: LSt-Amand-152-32-76-19
Comment:
Revision 6 as of 2012-06-19 13:35:12
Size: 2020
Editor: LSt-Amand-152-32-76-19
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
 * 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 Bridge provides her links to the Wikipedia pages, the name of the contact and the screenshot file.  * 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 Bridge provides her links to the related Wikipedia pages, the name of the contact and the screenshot file.
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 Bridge 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 Bridge provides her links to the documentation she used and questions she asked.
Line 11: Line 11:
 * 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 Bridge provides him the link to the sound database and the samples used.  * 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 Bridge provides him a link to the sound database and the samples used.

The 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 Bridge provides her links to the related 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 Bridge 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 Bridge provides her links to the documentation she used and 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 Bridge provides him a link to the sound database and the samples used.

Current state

bridge_shot.png

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 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)