238 Commits

Author SHA1 Message Date
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
1c8d52253d 3.0.0 refactor
Bundle is no longer necessary since all tools have the "set all subscribers dirty before updating" behavior.

Added additional guarantees around subscription call order.

tool.fire() can be called externally
2017-12-15 22:58:03 -06:00
44000f9d77 Safer container value management. 2017-12-15 21:02:11 -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
08e141b468 Add new "container" type to frptools 2017-12-05 21:48:30 -07: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
ff281dc3e2 Split photos view to a separate view 2017-12-01 01:28:30 -06:00
dba6f3c204 Split out the AppBar 2017-11-28 21:25:12 -06:00
ebd04a0d72 Starting to reapply the layout and effects 2017-11-28 09:46:41 -06:00
574a2ed38b Handle classes better, support drop effect 2017-11-27 23:00:37 -06:00
abcd5c58c5 Make "Loading..." a little nicer with an overlay styled element 2017-11-27 21:37:12 -06:00
f717eb5977 Standardize on some nomenclature 2017-11-27 21:17:38 -06:00
16bea72ee3 First pass at a working icon component 2017-11-25 22:51:46 -06:00
b235c3dcf6 Missed a conversion to use defineElement 2017-11-25 22:51:13 -06:00
53a38b13e8 Gotta have a place for non-specific components 2017-11-25 22:18:04 -06:00
c7e76fc169 Remove image from album upon deletion 2017-11-25 16:02:06 -06:00
6f233cb764 Simplify thumbnail into a template 2017-11-24 23:08:33 -06:00
a86974f08a Use streams for a little better memory reuse. 2017-11-24 23:02:24 -06:00
be0f613ce0 Unify domvm versions 2017-11-24 21:39:43 -06:00
cc1c193fb1 Replace file uploads with dropzone 2017-11-24 21:39:12 -06:00
b44886f0f5 Associate images with albums via image.$links.
All types now have a $links property.
2017-11-21 23:58:22 -06:00
43a20c4afe Don't try to add an album if the user cancels 2017-11-21 23:51:31 -06:00
afb8734835 Expose a frozen baseSelector for each type.
each document should have a type property
2017-11-21 16:49:46 -06:00
ad49f2a687 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
0b26e63061 Frptools uses a hash function now instead of a comparator 2017-11-20 20:57:18 -06:00
46fdb975c5 Deleting images deletes companion files.
and cleaner logging.
2017-11-20 18:29:33 -06:00
ad6666bd50 Class-based types for the ORM feel a little more natural. 2017-11-19 22:51:02 -06:00
e5107e72f9 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
cb4af2c407 doc-based view keys are _id + _rev 2017-11-18 00:22:06 -06:00
46e11b051e FileType doesn't need to be sequenced 2017-11-13 23:40:39 -06:00
b901bc7a26 Progress on PouchORM (this breaks things) 2017-11-13 22:01:55 -06:00
d984e96af0 Show some sort of header if we have some images. 2017-11-13 21:48:07 -06:00
0f94822a8a LiveArray can manage it's own watchers (across dbs even) 2017-11-13 21:46:38 -06:00
302816b597 isObject needs to be more accessible 2017-11-13 21:43:19 -06:00
b4b0d86da7 Usage AttachmentImageView to smartly handle attachment images 2017-11-11 22:42:46 -06:00