112 Commits

Author SHA1 Message Date
db45c55028 Make SectionPhoto a template so it takes less memory. 2018-01-05 21:18:31 -06:00
a53c984acf Make sections a computed so it recomputes less often 2018-01-05 21:13:53 -06:00
c918a26282 Fix Overlay formatting regression 2018-01-05 16:39:44 -06:00
fe2dd7d783 appbar should be dumber
There's no need to have one object cross views.
2018-01-05 15:55:12 -06:00
3d66205755 Add appbar fade on focus view. 2018-01-04 16:47:34 -06:00
89b3159c12 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
024378e3ae Don't scale up images that are smaller than the screen. 2018-01-04 13:58:21 -06:00
d84e756ac4 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
63353a43d8 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
dc94f1971b Fix layout regression 2018-01-03 17:24:52 -06:00
de1735495f Add gifs and png support 2018-01-03 17:13:10 -06:00
8100bd40dd Confirm before deleting. 2018-01-03 16:36:09 -06:00
fa41359cd3 Refine image ratios and widths to prevent wrapping 2018-01-03 15:56:37 -06:00
dec9ed3248 Introduce linear-partitioning into image layout
It's not perfect but a good start.
2018-01-02 07:41:33 -06:00
ea4ff29700 Prevent selection from resizing the appbar 2018-01-01 14:27:30 -06:00
2cf9a03d6c Make the upload button clickable in Firefox 2017-12-31 22:11:04 -06:00
490b788fd0 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
ef8df004d5 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
e7dccb83f8 Fix borked appbar shadow 2017-12-31 14:56:37 -06:00
0e33875b3f Sort sections chronologically 2017-12-31 14:56:01 -06:00
88dde1a748 Fix appbar brain-damage 2017-12-31 07:55:31 -06:00
0a2aff55f7 Add pick to frptools. Document all utility functions 2017-12-31 04:50:24 -06:00
b1f4bb0e52 Add focus previous/next overlay buttons. 2017-12-29 22:27:27 -06:00
fa88b36c76 DB layer needs the ability to specify other query options:
- limit
- skip
- sort
- fields
2017-12-29 12:49:47 -06:00
c0c0898d8c Initial FocusView 2017-12-28 22:14:46 -06:00
83b458bb41 attachmentImage should be dumber
Yet, ServiceWorker a little smarter
2017-12-28 19:51:34 -06:00
5f640981ae Update PouchDB 2017-12-23 01:35:22 -06:00
081163f5a3 Swap Moment for date-fns and save 300KB 2017-12-23 01:11:55 -06:00
7cb4d5a364 Safari supports service workers now. It's time to add them. 2017-12-21 22:40:08 -06:00
42b3ce8921 Routing changes for focusView 2017-12-17 22:40:48 -06:00
eeaff42e16 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
85447df830 Allow the backbutton to be configurable. Make it an X for selection. 2017-12-17 21:29:05 -06:00
0f018f87dd Image selection deletion works now 2017-12-16 05:14:10 -06:00
03f992811d Properly cleanup an image when it is removed 2017-12-16 04:58:51 -06:00
6295d9b177 Expose frptools utils: call and id
Makes subscribeToRender more tolerant of non-functions
2017-12-16 04:58:18 -06:00
e555dddcc0 WHHHEEEEEE OVERENGINEERING!!! 2017-12-16 04:57:20 -06:00
637c67a50d Make appbar state poppable with the back arrow 2017-12-16 04:27:42 -06:00
f40a93bba8 Manage how selection changes the appbar 2017-12-16 04:01:47 -06:00
cfdf84522b Complete(?) AppBar state management 2017-12-16 03:58:42 -06:00
779d08ae84 nodeParentWithType is going to be reused 2017-12-16 03:58:00 -06:00
f89b40e467 Allow streams through the styled proxy 2017-12-16 03:52:19 -06:00
de50cbd6c3 Style tweak to ease a transition. 2017-12-09 16:06:17 -06:00
5389ed8cd4 Click image to select. 2017-12-09 16:02:00 -06:00
0235d73bd1 Break up images by date into sections 2017-12-08 22:19:33 -06:00
9c42c34eb1 A futile attempt to fix a rendering bug in chrome.
When images are selected and you scroll such that the drop shadow paints...sometimes it will make the selection buttons not paint.
2017-12-08 22:18:12 -06:00
3eebfe2c4e Add image selection 2017-12-08 22:16:21 -06:00
18ef6229f1 Basic button positions and styles 2017-12-03 14:15:36 -06:00
d01fc34224 Breakout album rendering to a separate file so albums can use it too 2017-12-01 20:36:06 -06:00
b5c5c2d198 Thumbnail is a generic template so move it to components 2017-12-01 20:34:51 -06:00
6e28256502 Add the appbar scrolling dropshadow 2017-12-01 02:03:09 -06:00