Граф коммитов

13 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Kingston 2f2b3f84ed Add in lightbeam extension id, fix bundling as node_modules doesn't work in web-ext, auto build the submodule. Changed inclusion paths to new ext-libs dir which is built with 'npm run build'. Fixes #159 (#172) 2017-08-23 13:23:36 +01:00
Bianca Danforth 0524fed7d0 Make storage async.
Update store.addFirstPartyLinks
Reordered scripts in manifest.json to avoid race conditions
Add event queue in capture to process requests in order
Make reading/writing to storage async
Remove local clone of storage 'this._websites'
2017-08-21 11:44:00 +01:00
Bianca Danforth 2b11c1c4f9 Initial swap of localStorage for IndexedDB via Dexie. Fixes #13.
Still using a `this._websites` local copy. Literally just swapped out localStorage for IndexedDB. I had originally tried getting rid of `this._websites`, but this made almost every method async, and there were numerous update errors in `store.addFirstPartyLink`.
2017-08-21 11:44:00 +01:00
Princiya 3875ee4ad5 download json data 2017-08-17 13:41:30 +01:00
Princiya Marina Sequeira e08eb36baf Fix for the duplicate store (#70)
* message passing. fixes #54

* viz removed from background

* bind added

* arrow function used

* code cleanup. fixes #54
2017-06-23 00:03:29 +01:00
Bianca Danforth f560f2c213 Remove moz-extension:* paths from capture. Fixes #49. (#62) 2017-06-19 15:18:30 +01:00
Bianca Danforth 0a052c411b Initial UI. Fixes #53. (#47)
A clone of the existing Lightbeam UI, made with CSS Grid and Flexbox. Still need to fix multi-svg buttons in graph controls area.

Simplified button classes and class naming more generally (no more BEM).
Removed all uses of absolute positioning in favor of CSS Grid and Flexbox.
Added @todos for future PRs.
Removed anti-pattern classes 'col-X' and 'row-x'.
Used ::before pseudoelement for placing icons before text labels on buttons and links.
Added global variables using CSS custom properties and the :root selector.
2017-06-16 11:00:02 +01:00
Princiya Marina Sequeira 998e28b3fe Viz object. fixes #41 (#46)
* basic setup to integrate capture, store and viz. fixes #41

* eslint globals fixed

* capture.init moved after declaration

* canvas object created
2017-06-14 00:13:37 +01:00
princiya ea176dd3c0 files moved into js dir. fixes #25 2017-05-25 12:57:05 +02:00
Jonathan Kingston b16d959698 Merge pull request #16 from biancadanforth/initial-data-capture
Simplified data capture to storage API. Fixes #7.
2017-05-25 10:25:08 +01:00
Bianca Danforth dcf51ddf73 Simplified data capture to storage API. Fixes #7.
Makes data capture agnostic of storage object/method.
Changed 'captureData.js' to 'capture.js'.
Modified structure of 'capture.js' to an object with methods, rather than a wrapper function.
First party requests now only fire on tab update, rather than every request and filter out non-visible and about:* tabs.
2017-05-24 17:23:57 -07:00
princiya fb8b5b57c5 basic storage class layout. closes #6 2017-05-19 13:35:31 +02:00
Bianca Danforth 0b6248044a Fix #4
Note: The filter() method is used with tabs.query() instead of a match pattern or regular expression to check if Lightbeam is already open. This is because Mozilla match patterns do not support any URLs with schemes other than: "http", "https", "file", "ftp", "app". This webext has a scheme of "moz-extension". It also doesn't support regular expressions in place of match patterns.
2017-05-16 15:12:39 -07:00