-
Notifications
You must be signed in to change notification settings - Fork 7
Meeting 2018 02 01 Frontend
Present:
- Learn touch type https://www.typingclub.com/
- Test whether the contentScriptModel is created for each individual tab (contentScript), what happens if another tab is opened with another an identical URL? Carry out the test to prove the hypothesis
- Regardless of the results of the test, move the contentScript model to the background page allowing the model to be shared across all tabs.
- As a result of the above action point, refactor the 'updateModel' messages to be run directly in the contextMenu.js
- Add highlight and annotation to history map.
- The 'others' section of the Behaviour: Browser
- ContentScript model has been moved to background.js
- Annotations can be added and removed to/from the model
- potentially use d3 dispatch
Project timeline update
Next meeting time
Humzah
-
Create a simple extension to make sure the messaging between contentScript and background page is working, or find a simple chrome extension highlighting example.
-
Ask on stackoverflow / chrome development forums
-
From the behaviour browser
- History map related annotations
- Clicking on the highlighting shows the option to delete it, which will also remove the text from the history map node.
- User can right-click an image on a webpage then choose 'highlight' from the right-click menu. The selected image will then be saved to the node for this webpage in the history map and displayed under the title, above the highlighted text.
- The annotation will also show in the history map node, together with the text highlight.
- The annotation will also show in the history map node, together with the text highlight.
- Other
-
When a page is loaded, all the text/image highlighting and annotation should appear.
-
Clicking a node in history map will make its tab active or reopened the page if already closed.
-
If the tab was closed, a new tab will open, but no new node is created in history map.After this, child node is added to the node as usual
-
- Clicking the text/image highlighting or annotation in a history map node will make that tab active or reopened the page if already closed, and make the highlighting or annotation visible.
- History map related annotations
Kai
Missing Features for Online Study
Behaviour: Node and Edge Creation
Testing and Behaviour Driven Development (BDD)
Video: Testing with Jasmine and Sinon-Chrome
Video: overview of SenseMap code
Video: browser features in the old 'master' branch
How browserProvenance.js works
Video: create REST API for MongoDB using Node.js