139 Commits

Author SHA1 Message Date
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
d83b397b89 nodeParentWithType is going to be reused 2017-12-16 03:58:00 -06:00
b8aa2531e9 Allow streams through the styled proxy 2017-12-16 03:52:19 -06:00
5634fbf599 Style tweak to ease a transition. 2017-12-09 16:06:17 -06:00
5c38ac1c0b Click image to select. 2017-12-09 16:02:00 -06:00
71dad062b2 Break up images by date into sections 2017-12-08 22:19:33 -06:00
257a2308ee 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
213d2b1559 Add image selection 2017-12-08 22:16:21 -06:00
cfdc78ab4c Basic button positions and styles 2017-12-03 14:15:36 -06:00
5d72337750 Breakout album rendering to a separate file so albums can use it too 2017-12-01 20:36:06 -06:00
3d99d8b5ef Thumbnail is a generic template so move it to components 2017-12-01 20:34:51 -06:00
e4d5dcee4d Add the appbar scrolling dropshadow 2017-12-01 02:03:09 -06:00
db4474cdab Split photos view to a separate view 2017-12-01 01:28:30 -06:00
81a2e6e845 Split out the AppBar 2017-11-28 21:25:12 -06:00
a269326c57 Starting to reapply the layout and effects 2017-11-28 09:46:41 -06:00
55eeb6a696 Handle classes better, support drop effect 2017-11-27 23:00:37 -06:00
e82f3e2be9 Make "Loading..." a little nicer with an overlay styled element 2017-11-27 21:37:12 -06:00
a3b4ea2920 Standardize on some nomenclature 2017-11-27 21:17:38 -06:00
7c8a9598ca First pass at a working icon component 2017-11-25 22:51:46 -06:00
e75ca29a14 Missed a conversion to use defineElement 2017-11-25 22:51:13 -06:00
0870be56a4 Gotta have a place for non-specific components 2017-11-25 22:18:04 -06:00
4b2eab3e51 Remove image from album upon deletion 2017-11-25 16:02:06 -06:00
e06617f395 Simplify thumbnail into a template 2017-11-24 23:08:33 -06:00
86ccbfbb13 Use streams for a little better memory reuse. 2017-11-24 23:02:24 -06:00
55828f1351 Unify domvm versions 2017-11-24 21:39:43 -06:00
c83066082c Replace file uploads with dropzone 2017-11-24 21:39:12 -06:00
549d5be3f6 Associate images with albums via image.$links.
All types now have a $links property.
2017-11-21 23:58:22 -06:00
ae51d825ef Don't try to add an album if the user cancels 2017-11-21 23:51:31 -06:00
234a814112 Expose a frozen baseSelector for each type.
each document should have a type property
2017-11-21 16:49:46 -06:00
3206345999 Add back albums
Removing an image from an album does not delete it.  Deleteing an images does not remove its link from the album.
2017-11-20 21:57:37 -06:00
9b07868edd Deleting images deletes companion files.
and cleaner logging.
2017-11-20 18:29:33 -06:00
d2c1d3b63c Class-based types for the ORM feel a little more natural. 2017-11-19 22:51:02 -06:00
278fc68831 So much in here
- Image.upload calls File.upload
- doc deletes are PUT instead of deleted
- generate thumbnails is called off of processImportables
- got rid of stupid context loaders
- added Type.getOrCreate()
- fix massively broken comparators
- get rid of global watcher (unnecessary with new delete method)

Still broken
- indexes (albums)
- files not deleted along with images
- some wonky jpgs
2017-11-19 21:21:39 -06:00
d14bfdeee2 doc-based view keys are _id + _rev 2017-11-18 00:22:06 -06:00
0fba33499d FileType doesn't need to be sequenced 2017-11-13 23:40:39 -06:00