123 Commits

Author SHA1 Message Date
2929e08ecb Manage order with sorts and indexing rather than keys
The jury is still out on this.  Indexes are the "right" way to do this but are actually slower in some circumstances.
2018-01-12 11:50:56 -06:00
6fcf2a88c0 Better alignment for SVG Icons in text.
(or when all you have is a hammer, everything looks like a nail).
2018-01-11 17:20:37 -06:00
6d8e01b476 Use HTML webpack plugin for one less thing to worry about. 2018-01-11 16:10:51 -06:00
3fd5743abd Fix allImage vertical scrolling getting clipped 2018-01-10 21:49:40 -06:00
1f6f9b0bb7 No need to use /assets/ 2018-01-10 21:47:07 -06:00
64aea6e62d Fix "Next" button ordering 2018-01-08 21:48:03 -06:00
820e905743 Clean up image import a bit 2018-01-08 21:21:42 -06:00
80d5c4283a Add a suitable welcome message 2018-01-08 21:09:39 -06:00
9eb195161f Cleanup 2018-01-08 20:37:15 -06:00
0e8319caf6 Oops 2018-01-08 16:13:54 -06:00
1fd4e1b6a8 Don't explicitly import Event to address Pouchdb's eventemitter limits 2018-01-07 14:35:22 -06:00
cec16bc536 Make SectionPhoto a template so it takes less memory. 2018-01-05 21:18:31 -06:00
72126d4960 Make sections a computed so it recomputes less often 2018-01-05 21:13:53 -06:00
25fe9dd71f Fix Overlay formatting regression 2018-01-05 16:39:44 -06:00
bc4b78103c appbar should be dumber
There's no need to have one object cross views.
2018-01-05 15:55:12 -06:00
27552dfb21 Add appbar fade on focus view. 2018-01-04 16:47:34 -06:00
12b8469200 subscribeToRender must manage subscribing and unsubscribing
...because some elements (appbar) gets removed and re-added without destruction.
2018-01-04 15:18:46 -06:00
dd4b2459ac Don't scale up images that are smaller than the screen. 2018-01-04 13:58:21 -06:00
06e64dc730 Don't use the SW when in an iFrame.
This is cheap sandstorm detection. I need a better way but this works for now.
2018-01-04 08:22:26 -06:00
9b99636231 More fixes to the layout regression. The appbar behaves differently...
...based on which view you're in.
2018-01-04 07:38:22 -06:00
966c35d5b4 Fix layout regression 2018-01-03 17:24:52 -06:00
332ae5a08c Add gifs and png support 2018-01-03 17:13:10 -06:00
ff8162922b Confirm before deleting. 2018-01-03 16:36:09 -06:00
ed85fbba1d Refine image ratios and widths to prevent wrapping 2018-01-03 15:56:37 -06:00
8be9ce010c Introduce linear-partitioning into image layout
It's not perfect but a good start.
2018-01-02 07:41:33 -06:00
3c7363ec9f Prevent selection from resizing the appbar 2018-01-01 14:27:30 -06:00
2ba3db7548 Make the upload button clickable in Firefox 2017-12-31 22:11:04 -06:00
2f7cf1830f Refactor: Album interface elements become Section
This is to make way for real the real album view.
2017-12-31 17:24:58 -06:00
84974ad057 Start a convention where each view has a non-style class name
This helps with element-tree debugging and performance evaluation.
2017-12-31 16:35:01 -06:00
4603851e0d Fix borked appbar shadow 2017-12-31 14:56:37 -06:00
0c00dbece9 Sort sections chronologically 2017-12-31 14:56:01 -06:00
e65e94789e Fix appbar brain-damage 2017-12-31 07:55:31 -06:00
a8a55654d8 Add pick to frptools. Document all utility functions 2017-12-31 04:50:24 -06:00
393c9f5e26 Add focus previous/next overlay buttons. 2017-12-29 22:27:27 -06:00
c56ebe8065 DB layer needs the ability to specify other query options:
- limit
- skip
- sort
- fields
2017-12-29 12:49:47 -06:00
e08db9bae0 Initial FocusView 2017-12-28 22:14:46 -06:00
9fd5efc4f9 attachmentImage should be dumber
Yet, ServiceWorker a little smarter
2017-12-28 19:51:34 -06:00
4994836f22 Update PouchDB 2017-12-23 01:35:22 -06:00
a37d77e51f Swap Moment for date-fns and save 300KB 2017-12-23 01:11:55 -06:00
f32f0e0ca4 Safari supports service workers now. It's time to add them. 2017-12-21 22:40:08 -06:00
fed32d6f86 Routing changes for focusView 2017-12-17 22:40:48 -06:00
26cd0660ed Lazyify iterating subscriptions array un subscribeToRender
This allows the array to be manipulated between subscribeToRender call and view unmounting.
2017-12-17 21:52:52 -06:00
dc6aa41d0e Allow the backbutton to be configurable. Make it an X for selection. 2017-12-17 21:29:05 -06:00
885b2d488f Image selection deletion works now 2017-12-16 05:14:10 -06:00
ded350e675 Properly cleanup an image when it is removed 2017-12-16 04:58:51 -06:00
f432d3b563 Expose frptools utils: call and id
Makes subscribeToRender more tolerant of non-functions
2017-12-16 04:58:18 -06:00
622cfaed91 WHHHEEEEEE OVERENGINEERING!!! 2017-12-16 04:57:20 -06:00
ecf1d6c51b Make appbar state poppable with the back arrow 2017-12-16 04:27:42 -06:00
f62eb6da64 Manage how selection changes the appbar 2017-12-16 04:01:47 -06:00
8006e98dbc Complete(?) AppBar state management 2017-12-16 03:58:42 -06:00