d091efb619
Flip all_albums.json to id:name map.
2021-06-04 21:00:49 -07:00
5de8c8ddad
Replace #000 with black.
2021-06-04 20:47:41 -07:00
40d618dd85
Fix settimeout calling function immediately.
2021-06-04 18:45:34 -07:00
b35cc8196f
Turn off hotkeys.js logging every press.
2021-06-03 17:53:34 -07:00
83f1443a86
Fix photo_clipboard.select_all on /photo, where no photo_card exists.
2021-06-03 17:43:36 -07:00
737fa5652f
Add word-break: break-all to bookmark cards.
2021-06-03 17:43:06 -07:00
9c13220ac3
Let pages opt in to the use of photo_clipboard's hotkeys.
2021-06-03 17:42:46 -07:00
049fc794c3
Add api.photos.search.
2021-06-01 17:51:31 -07:00
f30528cc35
Return xhr request object from api functions.
2021-06-01 17:48:03 -07:00
5e9b7e2dd0
Return xhr request object from get and post.
2021-06-01 17:38:43 -07:00
0694073b70
Ensure that response always has json_ok even if no internet.
2021-06-01 17:38:32 -07:00
84d966ff3d
Set #header height: 18px, which was already the natural height.
...
No visual change now, but writing it down helps communicate intention
with regards to the size of other elements.
2021-05-30 19:18:16 -07:00
e8cb183849
Add cards.js photos.create, render clipboard batches on client.
2021-05-29 08:46:25 -07:00
93bd3ee912
Add common.join_and_trail.
2021-05-29 08:45:15 -07:00
a227474a2b
Add explanation to common.css --wide --narrow.
2021-05-19 23:43:08 -07:00
95a6d7bb92
Let the logout button match the link color.
2021-05-19 00:07:19 -07:00
59654a89e6
Add new bookmarks to page without refreshing.
...
This is the first card to get a javascript version, so I'm testing
the waters with the low-stakes bookmarks.
2021-05-02 18:37:28 -07:00
89205ac24a
Add interface for copying tags from other photos.
2021-04-29 13:12:37 -07:00
400c255aea
Add "Show in folder" button to photos, albums.
2021-02-25 18:57:41 -08:00
b5e8363374
Add preliminary photo drag-drop code.
2021-01-25 13:47:47 -08:00
6c2da7a6f0
Move album drag-drop functions to cards.js.
2021-01-25 13:46:24 -08:00
b0f8414c11
Add photo_card.photo_card_tools infra for contextual tools.
...
I'm not satisfied with the appearance of the toolbutton just yet,
but we can revise that later.
2021-01-21 15:37:30 -08:00
34b6ccd285
Rearrange some photo card css.
2021-01-20 19:07:38 -08:00
d6f155afbd
Add /album/remove_thumbnail_photo endpoint.
2021-01-20 19:07:37 -08:00
da8dff6f85
Add /album/set_thumbnail_photo endpoint.
2021-01-20 19:07:37 -08:00
5e7b90cbe4
Combine all card templates into cards.html.
2021-01-20 18:26:42 -08:00
b96f0cfc96
Put toolbox hide logic into album_card_tools, not remove button.
2021-01-20 18:26:42 -08:00
95b95bc7be
Add thumbnail_photo to Album.
2021-01-20 18:26:36 -08:00
fd6375613a
Add album's author and date to the page.
2021-01-09 10:50:52 -08:00
20a3828dbf
Move .tag_card to cards.css.
2021-01-08 14:16:59 -08:00
7f9c7085f0
Rename tag_object -> tag_card.
2021-01-08 13:57:27 -08:00
7373730f90
Add bookmark_card.html, move bookmark_card css to cards.css.
2021-01-08 13:41:49 -08:00
fabbbaf17f
Rename photo_cards.css -> cards.css. All types welcome.
2021-01-08 13:40:34 -08:00
7527b3678f
Fix reference to response.json_ok -> response.meta.json_ok.
2021-01-08 13:38:30 -08:00
ea5a02f8b6
Use update_dynamic_elements for user name, clipboard count.
2021-01-07 20:18:07 -08:00
02ed3dff92
Add function update_dynamic_elements.
2021-01-07 19:30:10 -08:00
47db917090
Improve text color declaration to inherit from html.
2021-01-07 19:24:17 -08:00
dd54eabd93
Add api endpoint /tag/tagname/add_synonym.
2021-01-05 14:02:08 -08:00
cc2199d59a
Let sticky_bottom scroll for very small screens.
2021-01-05 01:25:50 -08:00
29774f2524
Add the clipboard checkbox on pageload, not in server response.
...
With the recent addition of search_embed iframes on other pages, we
had photo cards appearing but the photo_clipboard module was not
imported thus the checkboxes did nothing. I don't want to import
photo_clipboard onto every single page, I'd rather they click through
to the full search UI. Otherwise every single page will have the tray
and often not a good enough reason for it.
So, since the functionality of the checkbox is completely reliant on
the photo_clipboard.js module anyway, there's no reason not to have it
generated by that module.
2021-01-05 01:24:03 -08:00
7c62c064cb
Rename photo_card_selector_checkbox photo_clipboard_selector_checkbox.
2021-01-04 23:31:41 -08:00
58a0a246c8
Add comment regarding sticky_bottom background and :before pseudo.
2021-01-02 23:53:14 -08:00
087238bfad
Remove z-index from selected photo overlay. It's not necessary.
2021-01-02 23:52:46 -08:00
0c3ee6f2d2
Add search_embed for bringing search iframes to other pages.
2021-01-02 13:49:43 -08:00
732c054075
Replace height with min-height, fixes squashed bottom margin.
2021-01-02 11:35:46 -08:00
e303b934f7
Add UI for editing user's display name.
2021-01-01 19:46:31 -08:00
84a5e2b4e1
Significant updates to editor.js.
2021-01-01 19:46:06 -08:00
89195d3449
Add comment about response catching strictness levels.
2021-01-01 19:08:36 -08:00
8f9b4142a6
Improve UI performance of selecting / deselecting photo cards.
...
Move save_clipboard into a 0-timeout. Check checkboxes immediately
instead of relying on apply_check_all / update_pagestate to make a
redundant loop through everything.
2020-12-26 13:21:06 -08:00
0a31dad196
Rewrite these default callbacks as alertresponse.
2020-11-06 22:34:01 -08:00