Commit graph

74 commits

Author SHA1 Message Date
Nils Norman Haukås
53b856c2a3 removed unused html file. Removed close button from menu. 2016-01-18 18:29:07 +01:00
Nils Norman Haukås
c4558dfac0 resolved some styling issues. Plugin seem to handle being inserted into possibly hostile css environments much better. 2016-01-17 21:50:02 +01:00
Nils Norman Haukås
1fb288f583 Reimplemented and refactored how the main page is captured. Now using iframe to capture the main page and listening to changes and tagging inside. 2016-01-17 21:12:11 +01:00
Nils Norman Haukås
923d7af843 removed close button on right menu. Tweaked css. 2016-01-16 18:10:11 +01:00
Nils Norman Haukås
c76cafa6cc Removed unused code 2016-01-10 20:16:26 +01:00
Nils Norman Haukås
02707d0d04 No longer using popup.html. Clicking the plugin button will now toggle the menu directly. 2016-01-10 20:15:34 +01:00
Nils Norman Haukås
6fea94eb03 removed frame from iframe 2015-12-07 21:19:36 +01:00
Nils Norman Haukås
26544f9b39 was able to add iframe to page in chrome and initialize it properly. 2015-12-07 21:11:03 +01:00
Nils Norman Haukås
b1b158ad58 added css to the inner iframe menu 2015-12-06 20:15:01 +01:00
Nils Norman Haukås
12058662de is now back at the point where the plugin is able to add and remove tags from the page. 2015-12-06 19:58:23 +01:00
Nils Norman Haukås
07d7fa76ba Now makes use of an iframe that loads the angular plugin which in turn hooks up to the parent dom. 2015-12-06 16:29:29 +01:00
Nils Norman Haukås
abb667aa7f removed gulp-file-include refactored dist task 2015-12-06 15:40:22 +01:00
Nils Norman Haukås
0c36aa90c0 refactored code a little bit. Fixed gulp serve for firefox. 2015-12-06 14:34:24 +01:00
Nils Norman Haukås
af34537c5b bugfix 2015-11-30 22:50:40 +01:00
Nils Norman Haukås
f8a7234200 Some refactoring done. Now including the text that was tagged. 2015-11-30 22:44:04 +01:00
Nils Norman Haukås
5859b7ba1a code is now able to add and remove tags properly 2015-11-30 22:23:19 +01:00
Nils Norman Haukås
a69d801aaf Fix: updating savedSelection removes previous rangy marker. Is now able to tag multiple tags. But need to figure out how to add them all back to the page in the right places. As soon as one starts adding new content to the html it throws of the addition of the other tags. 2015-11-29 20:26:20 +01:00
Nils Norman Haukås
d5d3518b5b Still working on saving and restoring tags based on going back to a clean slate. Still need to figure out a good way to restore tags. It's seems that after adding the first tag the document will get confused about where to place the other tags. 2015-11-29 19:41:20 +01:00
Nils Norman Haukås
e8c5d00f80 On to solving the tag persitence issue. 2015-11-29 16:25:58 +01:00
Nils Norman Haukås
ff4b796eae Revert "in the middle of switching to rangy highlighter for better persisting of highlights."
This reverts commit 68b90f893c.
2015-11-29 12:17:25 +01:00
Nils Norman Haukås
68b90f893c in the middle of switching to rangy highlighter for better persisting of highlights. 2015-11-22 20:54:56 +01:00
Nils Norman Haukås
65bea649f4 added better error handling to rangy.js 2015-11-22 18:05:52 +01:00
Nils Norman Haukås
7ba53dd6bf added uuid generation so that tags can be truly unique. Application now supports deleting tags from page. 2015-11-22 18:00:25 +01:00
Nils Norman Haukås
aad8eefdee is able to add button for removing tag. 2015-11-21 22:27:57 +01:00
Nils Norman Haukås
40eaa0e86a is now able to serialize and deserialize selections if the document does not change too much. Furthermore app is now capable of persisting tags between refreshes 2015-11-15 01:02:22 +01:00
Nils Norman Haukås
91bf13cd47 just added Rangy lib. Is now able to save and load tags but need to fix serialization/dezerialization of the selection. 2015-11-14 23:07:26 +01:00
Nils Norman Haukås
12327c5c27 added ngStorage for client side saving and loading 2015-11-14 20:24:26 +01:00
Nils Norman Haukås
bad3c2e2e3 externalized configuration into index.appConfig file 2015-11-14 20:14:10 +01:00
Nils Norman Haukås
6f05e601b7 delete surplus files. Fix gulp serve setup for local web testing. 2015-11-14 19:38:34 +01:00
Nils Norman Haukås
59412048d7 started adding code for posting tags to remote server. 2015-11-14 15:09:06 +01:00
Nils Norman Haukås
a54af6a323 More refactoring. Reset menu after having tagged a word. 2015-11-14 14:51:31 +01:00
Nils Norman Haukås
f44177a938 refactored. Renamed services for clarity 2015-11-14 13:41:51 +01:00
Nils Norman Haukås
c07f62428c Revert "now building the project using amd modules. Included requirejs. Adjusted build script."
This reverts commit b86e7755d6.
2015-11-14 13:35:48 +01:00
Nils Norman Haukås
9ce335bd0e Revert "Added mocha dependency for testing."
This reverts commit 7ae65ed402.
2015-11-14 13:35:47 +01:00
Nils Norman Haukås
7a23f0217b Revert "not able to reach typescript code from chrome popup.js will need to revert."
This reverts commit 9ab2035133.
2015-11-14 13:35:42 +01:00
Nils Norman Haukås
9ab2035133 not able to reach typescript code from chrome popup.js will need to revert. 2015-11-14 13:33:00 +01:00
Nils Norman Haukås
7ae65ed402 Added mocha dependency for testing. 2015-11-13 21:45:46 +01:00
Nils Norman Haukås
b86e7755d6 now building the project using amd modules. Included requirejs. Adjusted build script. 2015-11-07 23:47:50 +01:00
Nils Norman Haukås
7377c38efb pruned package.json. Updated readme. 2015-10-25 21:11:23 +01:00
Nils Norman Haukås
533dfc62d2 updated readme 2015-10-25 20:01:32 +01:00
Nils Norman Haukås
ec57c1d2ba updated readme. Added chrome to typings. 2015-10-25 19:42:27 +01:00
Nils Norman Haukås
e53973eb6a is now able to include tagging menu on page. And make requests to backend server. 2015-10-25 19:17:30 +01:00
Nils Norman Haukås
ed2ec2255e fixed icon error 2015-10-24 23:35:41 +02:00
Nils Norman Haukås
406b266dd9 moved plugin specific files into separate folder. 2015-10-24 23:32:12 +02:00
Nils Norman Haukås
994475dfbd added new icons and a popup menu for the chrome plugin. Updated manifest.json 2015-10-24 20:33:16 +02:00
Nils Norman Haukås
6df98cb5e9 tweaked interface for when viewing the prototype 2015-10-24 17:26:47 +02:00
Nils Norman Haukås
8ce46e4b67 added gulp-load-plugins and ng-annotate dependencies 2015-10-24 17:04:07 +02:00
Nils Norman Haukås
68dfc3c487 angular service calls content_script 2015-10-24 16:05:22 +02:00
Nils Norman Haukås
3caa37847a updated readme 2015-10-24 15:05:08 +02:00
Nils Norman Haukås
14e09b19da now able to tag words on page. Adjusted build scripts. Now able to build the chrome plugin. Updated readme. 2015-10-24 14:57:34 +02:00