Bridge
Revision 6 as of 2012-06-19 13:35:12
Clear message
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
Process
- The title of the focused window is parsed to keep only the part relevant to a specific file/website/activity
- This string is used to query Zeitgeist for a matching recent event
- This event is used to query Zeitgeist for related events
- These related events are used to build the menu of the indicator
- If it fails, the indicator is not displayed
- 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.