Commit graph

298 commits

Author SHA1 Message Date
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
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
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
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
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