Commit Graph

28 Commits

Author SHA1 Message Date
Andrew Brown
fdce3d8539 I do NOT understand why this jquery hack is necessary 2021-04-17 01:20:12 -07:00
Andrew Brown
f4fb049dde maybe try just skipping this guard entirely? 2021-04-17 01:11:39 -07:00
Andrew Brown
8ee47c2d04 get rid of this hacky fix 2021-04-16 13:17:10 -07:00
Andrew Brown
86ba83c22d this is a dirty hack 2021-04-16 03:17:40 -07:00
Andrew Brown
9d32626532 strip jquery out again 2021-04-16 03:06:33 -07:00
Andrew Brown
510d9c6c7a wait 'til doc is loaded to yield javascript 2021-04-16 02:33:35 -07:00
Andrew Brown
ee29c08e9b re-hook page unlinking 2020-09-23 02:46:17 -07:00
Andrew Brown
55a8cfa464 incorporate pagelookupsidebar 2020-09-18 18:06:42 -07:00
Andrew Brown
1c3596764a move entity linker into component 2020-09-18 17:19:11 -07:00
Andrew Brown
71c647bd50 get doc entities sidebar working in component 2020-09-17 17:06:31 -07:00
Andrew Brown
5f66dac88a Merge branch 'dev-api' into document-ui-improvements 2020-09-17 02:55:47 -07:00
Andrew Brown
f845f16fda ui for document entities sidenav / navbar changes 2020-09-10 17:58:44 -07:00
Andrew Brown
b8385dc430 add documents sidenav 2020-08-26 04:46:50 -07:00
Andrew Brown
d8c1054e92 filling out content#index and api docs 2020-08-11 00:44:15 -07:00
Andrew Brown
5067ded4c4 lookup sidebar works, needs api 2020-08-10 15:27:45 -07:00
Andrew Brown
53e71bfab9 wip new sidebar components 2020-08-09 04:11:06 -07:00
Andrew Brown
1b978c5a77 share dark preferences across root templates 2020-07-05 19:47:33 -05:00
Andrew Brown
ff6d8a96d8 more work on dark mode 2020-05-16 16:04:21 -05:00
Andrew Brown
4adf7d7da4 disable keyboard shortcuts on doc editor page 2019-08-29 16:28:36 -05:00
Andrew Brown
96905101a4 more polish 2019-08-09 17:06:42 -05:00
Andrew Brown
b77e44df94 disable ? help modal on editor 2019-07-25 18:48:50 -05:00
Andrew Brown
ab8fa11d6a editor js 2019-05-12 20:52:13 -05:00
Andrew Brown
f917ccf314 more code cleanup 2019-05-12 01:51:16 -05:00
Andrew Brown
752af24bd2 improve editor on mobile devices 2019-02-12 15:51:58 -06:00
Andrew Brown
a827817c47 more emphasis on full screen doc editor 2019-02-04 15:35:35 -06:00
Andrew Brown
e3e1de4f6d document editor gets its own layout 2019-02-04 14:57:28 -06:00
Robert Richter
7dcf798f8a
Optimize javascript load times
Our application JS is bloated with minified libraries, while our actual
application Javascript barely amounts to more than two hundred lines.
I propose removing these libraries from our sass file, and instead
load them as separate resources in `<link>` and `<script>` tags.

This has several advantages:

 - By using common CDNs, users are likely to have many of these libraries
   cached already.
 - Even if the files aren't cached, the CDN is likely to deliver them
   faster.
 - We can use the HTML5 'async' attribute to load these libraries
   asynchronously, so users aren't held up while they download.
 - Our fully compiled application JS is much, much smaller, which
   reduces the load on our host.

Also, on the topic of load times, I realized that in #152 that one of the
images was a PNG, not a JPG. I had tried optimizing the image, but I didn't
realize that it wasn't a JPG like the others. Here, I converted it to a JPG,
and it is significantly smaller, and it is visually unchanged.

I'm having some difficulty testing on my local machine, so I would appreciate
some additional manual testing before merging this.
2016-11-02 23:41:00 -05:00
Andrew Brown
28cd4c4739 add proof of concept editor 2016-07-31 00:20:28 -05:00