-
Notifications
You must be signed in to change notification settings - Fork 7
Meeting 2017 10 16 Frontend
Kai Xu edited this page Oct 16, 2017
·
14 revisions
Present:
Humzah
- check with Jaab about using SenseMAP as final year project
- give special class name to the annotation button so it will not be over-written by the webpage css.
- will need to set the button (box) size, otherwise it will use the formatting css from the page.
- saving the highlights and annotations using the REST API https://github.com/Vis4Sense/SenseMapAPI/wiki
- to make the removal of highlighting/annotation apply in other tabs with the same URL.
- update existing nodes (in the
nodes
array) with the same URL with the newly added highlight/annotation. - A duplicate new node is created in history map when a node, whose tab is closed, is clicked.
- Idea: let historyMapPage send a message to
browserProvenance.js
when a node is clicked, so browserProvenance can check it in the onTabCreated function and doesn't create a new duplicated node in history map.
- Idea: let historyMapPage send a message to
- Move all the code, such as those currently in
browserProvenance.js
, that relates to highlight/annotation tohightlight.js
.
Kai
- Move the data part of the
core.js
to the background page.
Working on Knowledge map and History map simultaneously
Problems using chrome message passing between historyMapPage.js and BrowserProvenace.js ("storeAnnotation" and "ignoreUrl")
CSS code duplicated to increase specificity (using IDs)
From an earlier Frontend Meeting Page:
- "checking if there is highlighting on a page can only be done after page is fully loaded:
- idea: let content script send a message to browserProvenance.js after the page is loaded?"
The loadHighlights only runs after a page is fully loaded.
Kai
- Code refactoring
- by 'module' not 'file type'
- turn existing code into modules: history map, login, knowledge map, etc.
Project timeline update
Next meeting time
Humzah
- Make a list of functions needed in the
data
object. - saving the highlights and annotations using the REST API https://github.com/Vis4Sense/SenseMapAPI/wiki
- to make the removal of highlighting/annotation apply in other tabs with the same URL
- update existing nodes (in the nodes array) with the same URL with the newly added highlight/annotation
- try the
dispatch
method to communicate fromhistoryMapPage.js
tobrowserProvenance.js
- Move all the code, such as those currently in browserProvenance.js, that relates to highlight/annotation to hightlight.js.
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