Commit graph

630 commits

Author SHA1 Message Date
Mouse Reeve
c2386bd3a1 Remove a step when unfurling statuses with content warnings 2021-03-18 09:15:47 -07:00
Mouse Reeve
9a20b5dbd5 Hide goal using database field instead of localstorage 2021-03-18 09:00:25 -07:00
Mouse Reeve
46906f7e41 Fixes whitespace jump when switching from trimmed to full 2021-03-16 14:03:25 -07:00
Mouse Reeve
def834a0ac
Merge pull request #736 from mouse-reeve/rating-template
Render rating status from template
2021-03-15 15:42:36 -07:00
Mouse Reeve
6bd0f94269 Adds plural version for rating text 2021-03-15 14:09:04 -07:00
Mouse Reeve
99ba39413e Fixes upload and display of logos in admin panel 2021-03-15 10:05:08 -07:00
Mouse Reeve
aa2950daf3 Render rating status from template 2021-03-13 18:24:46 -08:00
Mouse Reeve
4d7364d045 Undo follow request view 2021-03-13 14:55:09 -08:00
Mouse Reeve
e9575cae6c Buttons for undoing follow requests 2021-03-13 14:48:15 -08:00
Mouse Reeve
05fcfbc66f Show more data about books in search 2021-03-13 13:55:20 -08:00
Mouse Reeve
8c74beb78c Allow moderators to delete reported statuses 2021-03-12 11:25:56 -08:00
Mouse Reeve
422cd2da73 Direct message report action 2021-03-12 10:37:52 -08:00
Mouse Reeve
33b8537a3d Let user supply a note for report 2021-03-11 17:38:21 -08:00
Mouse Reeve
7f45206693 Moves moderation templates to their own directory 2021-03-10 12:38:49 -08:00
Mouse Reeve
21f199c548 Make reports 2021-03-08 18:36:50 -08:00
Mouse Reeve
ab57b5b906 First pass at views for reporting 2021-03-08 15:55:48 -08:00
Mouse Reeve
ad43e5c83a
Merge branch 'main' into review-rate 2021-03-08 09:48:25 -08:00
Mouse Reeve
7d55629823 typo fix 2021-03-07 15:20:09 -08:00
Mouse Reeve
0146cebb1a Fixes incorrect user displayed for boosts
Fixes #706
2021-03-07 15:17:51 -08:00
Mouse Reeve
0bd27928e4 Removes username snippet 2021-03-07 10:24:46 -08:00
Mouse Reeve
f48a6399a4
Merge pull request #703 from mouse-reeve/list-display-fixes
List page display fixes
2021-03-07 08:53:33 -08:00
Mouse Reeve
283bfe8d6a
Merge pull request #702 from mouse-reeve/book-page-display
Book page display
2021-03-07 08:43:47 -08:00
Mouse Reeve
a70264c12c Fixes showing link to user lists 2021-03-07 08:42:30 -08:00
Mouse Reeve
336a3769b6 Hide empty body on delete readthrough modal 2021-03-07 08:03:28 -08:00
Mouse Reeve
dfecdca6f9 Fixes display of ratings 2021-03-07 07:56:33 -08:00
Mouse Reeve
b895059f03 Uses same alt text generation for books with no cover 2021-03-07 07:42:02 -08:00
Mouse Reeve
4eefe33d9b
Merge pull request #701 from Flameborn/ScreenReaderImprovements
Screen reader improvements
2021-03-07 07:13:47 -08:00
erion
ae8d39995d Hide avatar image to screen readers on the status pages, since there is a link present for a user already. 2021-03-07 14:39:18 +01:00
Mouse Reeve
e2622d0594 Catches a couple translations, hides profile box when empty 2021-03-04 14:27:49 -08:00
Mouse Reeve
577f5db37b
Merge pull request #680 from arkhi/main
[profile] Fix HTML errors
2021-03-04 14:01:22 -08:00
Fabien Basmaison
c370cad7f9 [lint] Fix white spaces in HTML. 2021-03-04 19:42:23 +01:00
Fabien Basmaison
8c26d8a514 [profile] Updates for PR:
- Fix duplicated IDs between modals for the same status.
- Remove redundant button (https://github.com/mouse-reeve/bookwyrm/pull/680#discussion_r586743844).
- Remove redundant `role="navigation"` on `<nav>`.
- Add `dir="auto"` back for titles (https://github.com/mouse-reeve/bookwyrm/pull/680#discussion_r586715693).
- Use `exists` instead of `all` for conditional statement (https://github.com/mouse-reeve/bookwyrm/pull/680#discussion_r586716299).
- Fix missing spacing between avatar and username (https://github.com/mouse-reeve/bookwyrm/pull/680#discussion_r586740902).
2021-03-03 22:58:01 +01:00
Fabien Basmaison
a05b14c338 [profile] Various HTML fixes:
- Wrap block level elements within block level elements, not inline.
- Avoid empty blocks.
- Change `<hr>` in lists into allowed type of children.
- Fix duplicated ID (some change that was not propagated across the template?).
- Make the anchor optional in the navbar (interactive elements (`a`, `input`, `button`…) should not appear into other interactive elements).
- Remove redundant `role` on main navigation.
- Make the modal a modal with `role="dialog".
- Use `button` instead of form-less `label`.
2021-03-03 20:10:09 +01:00
Mouse Reeve
be3c7ac90e Fixes boost display 2021-03-02 20:17:32 -08:00
Mouse Reeve
01df4ad321 Small fixes for translation 2021-03-02 09:25:45 -08:00
Mouse Reeve
b9bf65ad2a Adds missing i18n imports 2021-02-28 17:52:48 -08:00
Mouse Reeve
bd44bf0980 Merge branch 'main' into i18n-second-pass 2021-02-28 17:22:25 -08:00
Mouse Reeve
6a18803417 Catches more template translation moments 2021-02-28 17:10:30 -08:00
Mouse Reeve
10130f01d4
Merge pull request #662 from mouse-reeve/titles
Puts titles in templates instead of views
2021-02-28 16:15:39 -08:00
Mouse Reeve
5bc4456d4e Merge branch 'main' into review-rate 2021-02-28 10:35:20 -08:00
Mouse Reeve
3e9ee0973b cleans up i18n titles 2021-02-28 10:09:56 -08:00
Ned Zimmerman
263b13f157 Adapt tab handler to vanilla JS, fix focus jump, improve accessible naming of tabs/panels 2021-02-28 14:04:04 -04:00
Ned Zimmerman
b324e668ca Merge branch 'upstream' into tab-keyboard-accessibility 2021-02-28 12:39:56 -04:00
Mouse Reeve
4f76d21b85 Snags more strings for i18n 2021-02-27 18:48:10 -08:00
Ned Zimmerman
bc7f830b2b Merge branch 'upstream' into tab-keyboard-accessibility 2021-02-27 11:53:27 -04:00
Ned Zimmerman
9580bec154 feat: modify tabbed interfaces to support keyboard accessibility (fixes #526) 2021-02-27 11:47:03 -04:00
Mouse Reeve
4a10c99026 Fixes handling of ratings in status views and urls 2021-02-25 15:05:51 -08:00
Mouse Reeve
744de313c8 Makes comment and fav/boost buttons the same color when selected 2021-02-23 17:23:11 -08:00
Mouse Reeve
5472281f29
Merge pull request #640 from mouse-reeve/rate-color
Makes the interactive rating element a different color
2021-02-23 14:19:32 -08:00
Mouse Reeve
2546aaedd6
Merge pull request #641 from mouse-reeve/discover-links
Makes covers clickable on discover page
2021-02-23 14:19:26 -08:00
Mouse Reeve
1db711b397
Merge pull request #639 from mouse-reeve/status-markup
Status markup
2021-02-23 14:19:19 -08:00
Mouse Reeve
1eaff91513 Makes the interactive rating element a different color 2021-02-23 14:08:52 -08:00
Mouse Reeve
31c9c07e38 Makes covers clickable on discover page 2021-02-23 14:06:08 -08:00
Mouse Reeve
d0c46060e8 Adds stars to book preview in status 2021-02-23 14:00:19 -08:00
Mouse Reeve
f9dd0b0246 Groups in book preview only used by status templates 2021-02-23 13:42:20 -08:00
Mouse Reeve
fdbd3688f4
Merge pull request #636 from mouse-reeve/follow-block-button
Cleans up display of follow/block/unfollow/unblock buttons
2021-02-23 13:38:02 -08:00
Mouse Reeve
a0b57837a7 Moves status templates into dir 2021-02-23 13:37:16 -08:00
Mouse Reeve
8a3d1a0bf2 Fixes header wrap on mobile headers 2021-02-23 13:04:24 -08:00
Mouse Reeve
a617302006 Cleans up display of follow/block/unfollow/unblock buttons 2021-02-23 12:10:54 -08:00
Ilona Brand
73c30e8c9a Add user default privacy setting to the privacy_select and user preferences 2021-02-13 19:42:25 -06:00
Mouse Reeve
2297fe133d Uses template for generating goal status 2021-02-12 11:52:05 -08:00
Mouse Reeve
89c0ecdca9 comma in number 2021-02-11 08:24:20 -08:00
Mouse Reeve
11504e9cef Makes covers clickable in places they aren't
Fixes #598
2021-02-10 16:45:53 -08:00
Mouse Reeve
485de039cf
Merge branch 'main' into shelve-buttons 2021-02-09 13:28:00 -08:00
Mouse Reeve
1e9189d43c Suggest recently edited books if we're out of user books 2021-01-31 10:56:40 -08:00
Mouse Reeve
acd922970a Add to and edit lists 2021-01-31 10:34:25 -08:00
Mouse Reeve
4883231347 Fixes model test 2021-01-31 09:08:06 -08:00
Mouse Reeve
d73a1b4ec1 handles list privacy in display 2021-01-31 08:41:11 -08:00
Mouse Reeve
69c2b192a4 Adds list creation form 2021-01-31 08:08:52 -08:00
Mouse Reeve
645e85050c Group modals with shelve button 2021-01-30 16:08:29 -08:00
Mouse Reeve
6ff70d0d2c directory for shelve button templates 2021-01-30 15:59:50 -08:00
Mouse Reeve
74d37c84be Don't show the main button in the dropdown 2021-01-30 15:49:43 -08:00
Mouse Reeve
9b326f7321 Give user control over "want to read" posts 2021-01-30 15:18:38 -08:00
Mouse Reeve
e5fd14b206 Confirmation modal for to-read shelve action 2021-01-30 13:11:43 -08:00
Mouse Reeve
37710144fa Adds options tempalte 2021-01-30 11:52:31 -08:00
Mouse Reeve
e5746d6117 Menu list for shelf button options 2021-01-30 11:43:40 -08:00
Mouse Reeve
8add05d7fd Fixes incorrect display of reading progress 2021-01-29 18:06:17 -08:00
Mouse Reeve
93ef9e31ad Send message to a particular user 2021-01-29 11:44:04 -08:00
Mouse Reeve
779a5e0cbf Compose window for dms 2021-01-29 11:14:18 -08:00
Mouse Reeve
b53ef73faf Feed templates 2021-01-29 10:25:31 -08:00
Mouse Reeve
24af288c52 Refactors user pages 2021-01-29 09:05:53 -08:00
Mouse Reeve
6ccf7841e1 Moves components out of snippets 2021-01-29 08:51:36 -08:00
Mouse Reeve
e6a0e5f96c
Merge pull request #554 from bibliotechy/430-add-rss-support
First attempt at adding rss support
2021-01-29 08:09:32 -08:00
Mouse Reeve
22e4138555 unblock 2021-01-26 13:00:36 -08:00
Mouse Reeve
acfc865d4e Adds blocked users view
also refactors the setting view
2021-01-26 10:01:50 -08:00
Mouse Reeve
ac2ab2981f ui path to iniate blocks 2021-01-25 14:03:18 -08:00
Mouse Reeve
d994d8d3c8 Moves blocking side effects to model 2021-01-24 17:07:19 -08:00
Chad Nelson
ad2baf3be5 Use display_name instead of username 2021-01-23 18:39:55 -05:00
Chad Nelson
0fe2e7a356 First pass at basic RSS 2021-01-23 09:48:34 -05:00
Mouse Reeve
54f8a65ae2 Adds block option to status menu 2021-01-22 20:17:16 -08:00
Mouse Reeve
129ca0352f Consistent progress type form element 2021-01-22 13:00:20 -08:00
Mouse Reeve
12c23836b7 Fixes display of finish date 2021-01-22 12:54:25 -08:00
Mouse Reeve
69c5bf71ed Uses javascript show/hide for reading progress updates 2021-01-22 12:51:23 -08:00
Mouse Reeve
806b781f15 Adds html form validator for min value 2021-01-22 09:21:58 -08:00
Mouse Reeve
3db0de3dd4 Makes pages/percents toggle-able in sidebar 2021-01-22 09:19:02 -08:00
Mouse Reeve
6c52afeae0
Merge pull request #354 from cincodenada/progress_update
Keep track of progress through books over time
2021-01-21 16:57:16 -08:00
Joel Bradshaw
85edee42ef Merge branch 'main' into progress_update 2021-01-19 23:49:35 -08:00
Joel Bradshaw
edba55f7c2 Flatten and rework sidebar update 2021-01-19 23:04:08 -08:00
Joel Bradshaw
32346cf9a3 Cascade-delete progress updates
Add a warning about it, and update test to confirm it works
2021-01-19 22:36:44 -08:00
Mouse Reeve
2411b4fe79 puts @'mentions directly in compose box 2021-01-19 16:16:22 -08:00
Mouse Reeve
f049c7c3d9 Fixes clashing form ids in rate/review 2021-01-19 09:31:01 -08:00
Mouse Reeve
589c128793 Sets min in html 2021-01-19 07:38:18 -08:00
Joel Bradshaw
29140be78e Merge branch 'main' into progress_update 2021-01-18 19:41:06 -08:00
Mouse Reeve
0d00857ef8 Render markdown to html in the right order 2021-01-18 17:54:36 -08:00
Mouse Reeve
fc218c5d48 Set reply privacy to parent privacy 2021-01-18 13:02:30 -08:00
Mouse Reeve
7a153a9942 Collapse status content box for empty status (like goal)
this is janky... oh well
2021-01-18 12:36:34 -08:00
Mouse Reeve
2a6c67c427 Correct placement of shelve pulldown 2021-01-18 12:25:26 -08:00
Mouse Reeve
25643faf72 Fixes misplaced close diff causing cascading nesting on editions page 2021-01-18 12:22:11 -08:00
Mouse Reeve
c7b03fec5a Fixes rate action 2021-01-18 09:57:44 -08:00
Mouse Reeve
debc9696e1 Sets focus for editing and deleting readthroughs 2021-01-18 09:03:21 -08:00
Mouse Reeve
8f0eb84172 Uses actual label text in toggle button, not the word "label" 2021-01-18 08:54:25 -08:00
Mouse Reeve
c3781e7f51 Sets hover to modal header when opened 2021-01-18 08:54:00 -08:00
Mouse Reeve
d6f2740bc8 unneeded classnames 2021-01-17 20:40:33 -08:00
Mouse Reeve
3f136c40da Uses js pattern for tabs 2021-01-17 20:19:09 -08:00
Mouse Reeve
aba5c48af9 uses "plus" button for adding read dates 2021-01-17 17:22:03 -08:00
Mouse Reeve
937a7dd1af Uses clickable dropdowns and improves styling on menu buttons
screenreader legible
2021-01-17 16:48:05 -08:00
Mouse Reeve
0a70d6e981 Makes dropdown clickable, and work with screen reader
I'm lightly peeved with bulma that it wasn't clear how to make hover
menus accessible, but clickable menus are just fine with my anyway.
2021-01-17 16:29:46 -08:00
Joel Bradshaw
a4519d55c9 Merge branch 'main' into progress_update 2021-01-17 13:05:38 -08:00
Joel Bradshaw
ef05ac1f65 Small fixes to old form 2021-01-17 12:48:10 -08:00
Joel Bradshaw
6e05dfde92 Revert "Make the switching work, wows"
Actually this is bad, switching on this page is not useful enough for
the UI complexity. Users can switch percent/pages on the book page.

This reverts commit a4796cf5c5.
2021-01-17 12:40:24 -08:00
Mouse Reeve
9b8e5a4139 Removes unused reply form template 2021-01-17 11:20:32 -08:00
Mouse Reeve
8576bf8ada Uses new button patttern for content warnings 2021-01-17 11:15:53 -08:00
Mouse Reeve
73c1b5a1ff Component for dropdowns
also use hoverable dropdowns
2021-01-17 11:09:49 -08:00
Mouse Reeve
e64507e50d Uses has-addons css for interact buttons 2021-01-17 10:45:25 -08:00
Mouse Reeve
c6e5b33970 Uses css has-addons for shelve button 2021-01-17 10:40:40 -08:00
Mouse Reeve
ff743ed9d6 Javascript button for reply form 2021-01-17 10:38:34 -08:00
Mouse Reeve
47d5b907ac Readthrough interactions 2021-01-17 10:10:59 -08:00
Mouse Reeve
f7e3cbda84 Uses toggle button snippet for content warning 2021-01-17 08:50:47 -08:00
Mouse Reeve
afdf5fc8ec starts replacing pure css buttons with javascript buttons
RIP, but it was time
2021-01-17 08:26:28 -08:00
Joel Bradshaw
a4796cf5c5 Make the switching work, wows
Layout's all wonky now, but hey
2021-01-17 03:14:26 -08:00
Joel Bradshaw
2d157137aa Fix inline form 2021-01-17 02:57:10 -08:00
Joel Bradshaw
da8d8cd434 Add deletion of progress updates
And only show progress edit for editing unfinished readthroughs
2021-01-17 02:28:37 -08:00
Mouse Reeve
2e043f9252 Make it doubly clear that the hidden checkbox is hidden 2021-01-16 20:06:19 -08:00
Mouse Reeve
3e58163f0d refactors content warning button 2021-01-16 19:57:20 -08:00
Mouse Reeve
6ab543004e Uses card component for reading goal announcement 2021-01-16 14:48:17 -08:00
Mouse Reeve
d6dc975a2e Creates re-usable template for cards 2021-01-16 14:38:21 -08:00
Mouse Reeve
fa56ae873b Screenreader tweaks 2021-01-16 14:33:43 -08:00
Mouse Reeve
f3f6592e72 Edit goal 2021-01-16 12:39:51 -08:00
Mouse Reeve
112b9f9332 Create goal with privacy 2021-01-16 11:34:19 -08:00
Mouse Reeve
739b6e19e2 Dismiss reading goal using localstorage 2021-01-16 09:21:19 -08:00
Mouse Reeve
3a7271309e Adds markup for set goal status on feed page 2021-01-16 08:19:54 -08:00
Mouse Reeve
3866523d57 Fixes merge conflict resolution bug 2021-01-15 13:12:46 -08:00
Mouse Reeve
f61a25cfb1
Merge branch 'main' into html-interaction 2021-01-15 09:45:33 -08:00
Mouse Reeve
861249080b Moves toggle menu javascript out of html 2021-01-14 15:45:30 -08:00
Mouse Reeve
7abe39b7d5 Tab change javascript out of html 2021-01-14 15:29:37 -08:00
Mouse Reeve
4d4e692f49 Javascript cleanup 2021-01-14 15:16:18 -08:00
Mouse Reeve
5591024933 Moves interaction javascript out of html 2021-01-14 14:38:33 -08:00
Mouse Reeve
d59c586e55 use snippet for modal close buttons 2021-01-14 14:21:27 -08:00
Mouse Reeve
b1cdddd1a2 Adds titles to icons 2021-01-14 14:13:23 -08:00
Mouse Reeve
e2d341b147 vertical align bottom post button in reply form 2021-01-14 13:51:07 -08:00
Mouse Reeve
f8d5eec60d cw back on the top
it just felt weird on the bottom??
2021-01-14 13:43:52 -08:00
Mouse Reeve
aa564b26c8 Uses snippet for toggle buttons 2021-01-14 13:35:09 -08:00
Mouse Reeve
e5155d9402 Removes duplicate start reading modal markup 2021-01-14 11:34:22 -08:00
Joel Bradshaw
48147883ce Merge branch 'main' into progress_update 2021-01-13 19:53:26 -08:00
Mouse Reeve
56e3e98bc1 Adds book class view and re-works pagination 2021-01-13 09:51:51 -08:00
Mouse Reeve
6c80b128a4 Adds status tests 2021-01-12 14:02:38 -08:00
Mouse Reeve
4ec64c02f4 Adds status views 2021-01-12 13:47:00 -08:00
Mouse Reeve
327020f7b3 views handler for creating readthrough dates 2021-01-10 10:51:56 -08:00
Mouse Reeve
b0e4fc2aa9 Adds ui for creating readthrough 2021-01-10 10:35:28 -08:00
Mouse Reeve
71133c51c6 Set link color on follow button 2021-01-10 10:21:23 -08:00
Mouse Reeve
e60a984bea
Merge pull request #497 from mouse-reeve/shelving-actions
Shelving actions
2021-01-06 21:05:04 -08:00
Mouse Reeve
b5ba97c385 uses article element instead of div for statuses 2021-01-06 20:05:28 -08:00
Mouse Reeve
b1d4b75926 Fixes tail end of shelving pulldown getting hidden 2021-01-06 19:56:56 -08:00
Mouse Reeve
02aac76acc Added some grays to the status box
why am I doing this instead of the thing I meant to do
2021-01-06 19:52:47 -08:00
Mouse Reeve
5c6aed1b0e Consistent button sizing in status footer 2021-01-06 19:45:18 -08:00
Mouse Reeve
5f0a788856 Show all readthroughs 2021-01-06 18:34:21 -08:00
Mouse Reeve
551e71162c Show start reading button in dropdown instead of reshelve button 2021-01-06 18:17:25 -08:00
Mouse Reeve
054f69993b Support bidirectional text in status content 2021-01-06 12:00:34 -08:00
Mouse Reeve
a0a8ad508a Book page filters ratings with empty string content 2021-01-04 17:55:29 -08:00
Mouse Reeve
89e2e75c0b Only show rate action for logged in users 2021-01-04 16:50:58 -08:00
Mouse Reeve
0c0e9bebdf Use uploaded logos in templates 2021-01-04 12:47:10 -08:00
Mouse Reeve
50f61f5d19 Merge branch 'main' into validate-username 2021-01-04 09:41:17 -08:00
Mouse Reeve
c0bd0736d3 Hide join button when registration is closed 2021-01-03 15:41:20 -08:00
Mouse Reeve
0247f89c0b Use recent reviews instead of most reviewed books 2021-01-03 14:28:28 -08:00
Mouse Reeve
e3fa0afa9a Hide large logo on mobile 2021-01-03 11:52:37 -08:00
Mouse Reeve
721d20efab Creates snippets for discover preview boxes 2021-01-03 11:24:26 -08:00
Mouse Reeve
ef42d29bd9 Discovery landing page 2021-01-03 11:10:04 -08:00
Mouse Reeve
bb5ae850e1 Mention users implicitly (without needing @mentions) 2021-01-01 09:35:14 -08:00
Mouse Reeve
17b9c6ecc5 Adds label to reply textarea 2020-12-30 17:38:38 -08:00
Mouse Reeve
dc68fdd53e User generated local paths 2020-12-30 17:36:35 -08:00
Mouse Reeve
d821a08cff include tags in replies
I was against this but apparently it helps the replies actually WORK
2020-12-30 16:33:04 -08:00
Mouse Reeve
885bb023a3 Sort shelves by shelfbook updated date 2020-12-30 16:07:29 -08:00
Mouse Reeve
8bb7a081c2 Makes follow request button a different color than an unread
notification

Fixes #420
2020-12-30 12:12:32 -08:00
Mouse Reeve
e89bfdc572 Makes registration user/localname fields more sensible 2020-12-24 11:39:57 -08:00
Mouse Reeve
fd2f452b46 Adds title along with alt attributes on images 2020-12-22 08:26:02 -08:00
Mouse Reeve
fdbce5d05e Adds close button to suggested post window on mobile 2020-12-22 08:21:43 -08:00
Mouse Reeve
689cc65790 keep saved version of bio and description field as markdown 2020-12-20 12:24:17 -08:00
Mouse Reeve
7f1ac33859 Format html on book descriptions 2020-12-20 12:09:13 -08:00
Mouse Reeve
ef696782ab Allow markdown in html fields 2020-12-19 18:54:56 -08:00
Mouse Reeve
40c4f4f5de Disable boosting private statuses 2020-12-18 09:30:08 -08:00
Mouse Reeve
3649642653 Show all authors 2020-12-17 15:14:52 -08:00
Mouse Reeve
c4c01f4950
Merge pull request #404 from mouse-reeve/rate-action
Rate action
2020-12-17 13:25:35 -08:00
Mouse Reeve
5cadd48aef Fixes rate action 2020-12-17 13:21:21 -08:00
Mouse Reeve
dccd9ac052 uuids for content warners loaded correctly 2020-12-17 13:14:44 -08:00
Mouse Reeve
530198adea Serialize alt text of images 2020-12-17 12:54:04 -08:00
Mouse Reeve
39dc0501a5 Make alt text a model property 2020-12-17 12:30:49 -08:00
Mouse Reeve
2799ed68e3 Propogate content warning from parent 2020-12-17 11:32:09 -08:00
Mouse Reeve
34a2afc788 Change text on cw button 2020-12-17 11:05:37 -08:00
Mouse Reeve
172c36b641 Adds content warning field in status forms 2020-12-16 20:10:50 -08:00
Mouse Reeve
0d42b9cf8f Display status cw's 2020-12-16 19:50:36 -08:00
Mouse Reeve
21b0bec8d7 Switch edition from editions list page 2020-12-16 14:45:35 -08:00
Mouse Reeve
729e50de63 Show consistent book status regardless of edition 2020-12-16 09:15:26 -08:00
Mouse Reeve
b36eaef172 Merge branch 'main' into switch-edition 2020-12-13 21:10:37 -08:00
Mouse Reeve
693dfc42ac Match privacy level in reply 2020-12-13 16:20:59 -08:00
Mouse Reeve
b61a7cccff Use trimmedwords_html instead of a custom filter 2020-12-12 19:34:51 -08:00
Mouse Reeve
1e08eeb4c2 Renames custom template tags file 2020-12-12 18:25:57 -08:00
Mouse Reeve
31a407d74a Use name field only for author name
It feels janky to remove a more granular name designation, but all these
first/last name fields were algorithmically populated by a dubious
process of splitting the name by a space character. If it makes sense to
have first/last name fields, it should be re-added with some
consideration.
2020-12-12 09:53:21 -08:00
Mouse Reeve
801b6c3a77 Merge branch 'main' into follow-remote-ids 2020-12-12 09:34:54 -08:00
Mouse Reeve
716068474e Merge branch 'main' into switch-edition 2020-12-11 16:59:59 -08:00
Mouse Reeve
2d7f8ada61 Functional switch editions button 2020-12-11 16:57:38 -08:00
Mouse Reeve
72eb94315a Adds shelf info to book page
- includes change shelf button
- WIP button for switching to the current edition
2020-12-11 16:40:48 -08:00
Mouse Reeve
b33ea40da2 Use context processor to include site settings in templates 2020-12-11 12:07:37 -08:00
Mouse Reeve
fd7e476c9b refactors tag model to fit ordered collection structure 2020-11-28 11:04:54 -08:00
Joel Bradshaw
500f05266a Add option for progress percentage
And rework display on book page as well
2020-11-28 00:07:04 -08:00
Joel Bradshaw
85026b837c Merge branch 'main' into progress_update 2020-11-27 15:52:55 -08:00
Joel Bradshaw
090cf2aea7 Make inline progress form actually work 2020-11-25 23:03:27 -08:00
Joel Bradshaw
e7c0368168 PR feedback 2020-11-25 22:36:55 -08:00
Mouse Reeve
6cc1e241fe display images at a reasonable size 2020-11-24 12:07:00 -08:00
Mouse Reeve
ff5a0f7bc2 Adds alt text to status images 2020-11-24 11:44:13 -08:00
Mouse Reeve
45a0bd79fd Very basic image display 2020-11-24 11:28:17 -08:00
Joel Bradshaw
f57d9ee45d Rework to use bulma better 2020-11-20 21:45:12 -08:00
Mouse Reeve
448efff648 Fixes unset active shelf in shelve button pulldown 2020-11-20 10:05:37 -08:00
Joel Bradshaw
a579ea52f4 Add initial inline progress update
Doesn't work yet
2020-11-19 19:38:38 -08:00
Mouse Reeve
6553e5df34 Makes sure pages have h1 header heirarchy 2020-11-18 12:31:53 -08:00
Mouse Reeve
680211cff5 refactors re-shelve button dropdown to be accessible
still looks janky as heck, but fixes #350
2020-11-16 16:34:26 -08:00
Mouse Reeve
1ad347ffdb
Merge pull request #346 from mouse-reeve/trim-text
Collapse long review text
2020-11-12 14:38:43 -08:00
Mouse Reeve
23ef1e8b7d Collapse long review text 2020-11-12 11:40:20 -08:00
Mouse Reeve
44b798b423 Puts reply form below button that shows it
still think this is janky.
2020-11-11 18:32:52 -08:00
Mouse Reeve
ad948e7313 Remove more info box when it's not used 2020-11-11 11:52:14 -08:00
Mouse Reeve
c08be903b1
Merge pull request #338 from mouse-reeve/code-cleanup
Code cleanup
2020-11-10 22:29:30 -08:00
Mouse Reeve
56850b9574
Merge pull request #336 from mouse-reeve/user-shelves
User-created shelves
2020-11-10 22:06:40 -08:00
Mouse Reeve
d71b451eef More model ids in urls 2020-11-10 21:45:22 -08:00
Mouse Reeve
4297e8647d put status id in path for delete-status 2020-11-10 21:39:24 -08:00
Mouse Reeve
7f9cc31040 consistent style for urls 2020-11-10 21:34:26 -08:00
Mouse Reeve
60e699efeb Make shelves delete-able 2020-11-10 20:33:46 -08:00
Mouse Reeve
ee59c64a10 Edit shelf 2020-11-10 20:11:21 -08:00
Mouse Reeve
176257eb85 SHow privacy icon on shelves 2020-11-10 16:18:48 -08:00
Mouse Reeve
4ee2fab58f Refactors menu for re-shelving a book in shelf page 2020-11-10 13:40:42 -08:00
Mouse Reeve
a5a1af418c Adds ui for editing and adding shelves 2020-11-10 13:39:37 -08:00
Mouse Reeve
de744483ec
Merge pull request #334 from mouse-reeve/comment-form
More interactive clickable elements
2020-11-10 12:48:45 -08:00
Mouse Reeve
a0243d089c star rating label can't surround input for css to work 2020-11-09 21:26:22 -08:00
Mouse Reeve
c4bf2653f7 Fixes text for absent star rating 2020-11-09 21:15:55 -08:00
Mouse Reeve
37bb53aba5 set tabindex on show more show less toggles 2020-11-09 16:28:38 -08:00
Mouse Reeve
68cb1612e2 make comment toggle clickable 2020-11-09 16:27:45 -08:00
Mouse Reeve
be12ec49a3 Gives more/less toggles button role 2020-11-09 16:16:57 -08:00
Mouse Reeve
82896e7d81
Merge pull request #330 from mouse-reeve/wave-evaluator
Various small WAVE suggestions
2020-11-09 13:12:50 -08:00
Mouse Reeve
a40a1bdcb4 Fixes labels on import page 2020-11-09 12:40:22 -08:00
Mouse Reeve
0f4df08769 Fixes contrast on danger buttons 2020-11-09 12:10:37 -08:00
Mouse Reeve
607612a1d9 Adds label to privacy pulldown 2020-11-09 11:44:24 -08:00
Mouse Reeve
e176d5d288 Labels textareas in create status form 2020-11-09 11:40:19 -08:00
Mouse Reeve
b4d1a23ef6 Expose "no rating" option in create review form 2020-11-09 11:33:50 -08:00
Mouse Reeve
716ab3a78d make the start reading button always use the modal
are the modals good??? who knows
2020-11-09 11:16:39 -08:00
Mouse Reeve
b7bc089d86 Improves tabbing javascript for create status tabs 2020-11-08 19:09:29 -08:00
Mouse Reeve
b7f8055ede Fixes review/comment/quote tabs in create status form 2020-11-08 18:23:12 -08:00
Mouse Reeve
957afed8bb Make star ratings in reviews accessible in voiceover 2020-11-08 16:45:32 -08:00
Mouse Reeve
36dc41620a Set tabbing on shelve button items 2020-11-08 16:25:22 -08:00
Mouse Reeve
096d5008c3 Adds start and finish modal snippets 2020-11-08 15:53:53 -08:00
Mouse Reeve
5042344bca Fix accessibility for shelve buttons/read forms 2020-11-08 15:15:42 -08:00
Mouse Reeve
a8afc3fc36
Merge pull request #322 from mouse-reeve/voiceover-review
Fixes "notifications" typo and adds alt text to avatars
2020-11-08 14:12:20 -08:00
Christa Hartsock
2e944bceb9 Remove "for" from start/end date labels
The "for" value pointed to an ID for an input that didn't exist, which
caused screenreaders to not read the value of the label when
specififying readthrough dates. Removing the
'for' tags makes the screenreader read the label as expected since the
label wraps the input, so we don't need a 'for'.
2020-11-08 13:40:36 -08:00
Mouse Reeve
8f95c1e728 Clearer logo link to home page and missing filter import 2020-11-08 12:38:27 -08:00
Mouse Reeve
77b0a3b67f Adds alt text to avatars 2020-11-08 12:25:05 -08:00
Mouse Reeve
e21d59386c Don't show reshelve buttons on other people's shelves
yikes
2020-11-07 20:47:56 -08:00
Mouse Reeve
57fad30b6b Fixes unboost 2020-11-07 18:59:38 -08:00
Mouse Reeve
e6d46878fb Fixes like/unlike statuses 2020-11-07 18:18:44 -08:00
Mouse Reeve
70cd706ce3 Pulldown for moving books between or off shelves 2020-11-07 11:49:57 -08:00
Mouse Reeve
a02f380472
Merge pull request #295 from mouse-reeve/suggested-books
Show shelf names with suggested books
2020-11-06 20:40:23 -08:00
Mouse Reeve
b763b7469b Show shelf names with suggested books 2020-11-06 20:36:52 -08:00
Mouse Reeve
a8b1c1ce98 button audit 2020-11-06 15:20:11 -08:00
Mouse Reeve
9d1f1ce84b tweaks tag markup 2020-11-06 14:01:43 -08:00
Mouse Reeve
404ec82657 Simplify markup for creating status 2020-11-06 13:33:26 -08:00
Mouse Reeve
9ef63fff4a More formatting for editing readthrough 2020-11-06 13:04:58 -08:00
Mouse Reeve
ec463ff4c8 Confirm deleting readthroughs 2020-11-06 12:51:49 -08:00
Mouse Reeve
c883893dd6 Slightly less messy boost status header 2020-11-06 12:09:14 -08:00
Mouse Reeve
8550cbc710 Move user header into snippets 2020-11-06 12:02:25 -08:00
Mouse Reeve
8b5b6e13a5 Use check icon instead of unicode character 2020-11-06 11:55:32 -08:00
Mouse Reeve
6aa7522c34 Put status form in a visual distinct box on book page
and clean up create status markup
2020-11-06 11:54:31 -08:00
Mouse Reeve
2ad16f86a0 Move privacy selector to snippet 2020-11-06 09:07:15 -08:00
Mouse Reeve
4ec6104cac Want to read activity 2020-11-06 09:07:04 -08:00
Mouse Reeve
8f5d6c11ef button spacing in shelve button pulldown 2020-11-06 09:00:33 -08:00
Mouse Reeve
86f170b11c Functional cancel buttons 2020-11-06 08:54:59 -08:00
Mouse Reeve
c64acf559b create readthroughs 2020-11-06 08:51:50 -08:00
Mouse Reeve
7bf39d3bf7 html for updated reading progress flow 2020-11-05 16:48:15 -08:00
Mouse Reeve
7612df5161 Use html in code of conduct 2020-11-05 13:51:16 -08:00
Mouse Reeve
632ef258b7 Colors for follow/unfollow buttons 2020-11-05 12:09:05 -08:00
Mouse Reeve
a3bf31796a Make status footer more mobile friendly 2020-11-05 11:40:03 -08:00
Mouse Reeve
7f11afa081 Revamps reply form 2020-11-05 10:48:28 -08:00
Mouse Reeve
1c442f0dfe More legible statuses on mobile 2020-11-05 08:21:00 -08:00
Mouse Reeve
0c9dff61ca Re-adds hiding book in reviews feed 2020-11-02 13:41:43 -08:00
Mouse Reeve
b5467f7d6d Refactor status display 2020-11-02 11:47:21 -08:00
Mouse Reeve
30d5846fa4 Adds missing template snippet 2020-11-02 09:23:47 -08:00
Mouse Reeve
65371d6904 Don't show "None" in book description 2020-11-01 12:09:39 -08:00
Mouse Reeve
93baaf261a Show/hide toggle for long book descriptions 2020-10-31 14:18:56 -07:00
Mouse Reeve
3db1e7a6d0
Merge pull request #262 from mouse-reeve/minor-ui
Preserve linebreaks in display text
2020-10-31 10:55:33 -07:00
Mouse Reeve
95455d9538 Preserve linebreaks in text 2020-10-30 14:43:39 -07:00
Mouse Reeve
eece662ec1 tab through user shelves 2020-10-30 14:01:43 -07:00
Mouse Reeve
069b4eae2a Unshelve button on shelf page 2020-10-28 16:52:23 -07:00
Mouse Reeve
3c5f6d19fb Adds envelope icon 2020-10-28 12:44:30 -07:00
Mouse Reeve
544605007b Fixes post icons 2020-10-28 12:33:27 -07:00
Mouse Reeve
bf2538cab2 let user set privacy in UI 2020-10-27 15:16:17 -07:00
Mouse Reeve
b7061c0f4d Fixes create status forms 2020-10-27 11:42:17 -07:00
Mouse Reeve
0d614c7ebb Don't show deleted statuses 2020-10-08 12:38:06 -07:00
Mouse Reeve
704e1092c4 Delete statuses 2020-10-08 12:32:45 -07:00
Mouse Reeve
33f486e7eb Shows errors for login/register forms 2020-10-04 15:10:34 -07:00
Mouse Reeve
36f7ab36c9 Adds better logo 2020-10-01 13:53:52 -07:00
Mouse Reeve
2fd192d6cc Updates ui and redirects for invites 2020-09-30 20:47:26 -07:00
Mouse Reeve
6e1c116329 Author page 2020-09-30 16:20:50 -07:00
Mouse Reeve
7582540fe9 Remove test print statement 2020-09-30 16:02:27 -07:00
Mouse Reeve
5c7f44dc2d Fixes bug in create status forms 2020-09-30 15:24:44 -07:00
Mouse Reeve
982f734ce7 Use bulma screen-reader-only class 2020-09-30 15:10:37 -07:00
Mouse Reeve
49807d069f format multiple book references in a status 2020-09-30 11:49:41 -07:00
Mouse Reeve
3e65d53305 Remove unused templatetags 2020-09-30 11:47:52 -07:00
Mouse Reeve
9efe1a3990 Small ui fixes 2020-09-30 09:00:33 -07:00
Mouse Reeve
acba5cfc75 Creates snippet for book cover tiles layout 2020-09-29 20:44:33 -07:00
Mouse Reeve
24d9839d07 Feed page cleanup 2020-09-29 20:01:57 -07:00
Mouse Reeve
e1a6df54c1 Removes unused snippets 2020-09-29 19:19:37 -07:00
Mouse Reeve
7d0c437371 Disambiguate form ids 2020-09-29 19:14:22 -07:00
Mouse Reeve
50f2f4788e Adds review box to main page layout 2020-09-29 17:43:30 -07:00
Mouse Reeve
b762d2c226 Tweaks status page 2020-09-29 15:05:50 -07:00
Mouse Reeve
767190e012 Notifications 2020-09-29 14:45:04 -07:00
Mouse Reeve
0bea615b82 Tags and tables 2020-09-29 14:11:55 -07:00
Mouse Reeve
37a0ec0ba3 User profile page styles 2020-09-29 13:39:44 -07:00
Mouse Reeve
3dc43aa81c Book and editions page styles 2020-09-29 13:11:52 -07:00
Mouse Reeve
dbc6fb1d18 Status form in book page 2020-09-29 11:48:03 -07:00
Mouse Reeve
61fa15a0c2 Book page and review form 2020-09-29 11:00:54 -07:00
Mouse Reeve
24c28876af Cleans up status display 2020-09-28 21:08:42 -07:00
Mouse Reeve
3eeeb78bd7 Fixes UI for statuses 2020-09-28 18:25:58 -07:00
Mouse Reeve
8dbfa506b8 Cleans up status and shelve button 2020-09-28 18:25:58 -07:00
Mouse Reeve
a4d1985f86 Fixes star rating displays 2020-09-28 18:25:58 -07:00
Mouse Reeve
f77c156733 rename main code directory 2020-09-17 13:30:54 -07:00