Mouse Reeve
4905652e22
Handle stopped reading special case in javascript
...
This should be refactored, but maybe not today
2022-05-26 12:23:13 -07:00
Mouse Reeve
375c5a8789
Adds stopped date separate from finish date on readthrough
2022-05-26 11:36:37 -07:00
Mouse Reeve
1f6fbd8d29
Fixes stopped reading button logic
...
The stopped state is similar to finished
2022-05-26 11:28:54 -07:00
Mouse Reeve
9b4a498661
Don't show a button for the shelf a book is currently on
...
This will lead to nonsensical modal states
2022-05-26 11:19:49 -07:00
Mouse Reeve
92dbfec5f8
Adds status header for stopped reading statuses
2022-05-26 11:10:14 -07:00
Mouse Reeve
6848616ff1
Fixes reading status field in stop modal
...
The value of the reading status needs to match one of the database
options for `reading_status` in the `Comment` model
2022-05-26 11:09:11 -07:00
Mouse Reeve
88b2cffcf2
Merge pull request #2035 from bookwyrm-social/stopped-shelf
...
Stopped shelf
2022-05-26 10:11:32 -07:00
Vivianne Langdon
d3992802f2
use a new has-text-default instead of has-text-black
2022-04-08 23:14:30 -07:00
Mouse Reeve
ec21d20b90
Merge branch 'main' into stopped-shelf
2022-03-26 13:06:06 -07:00
Mouse Reeve
3ebc800a9b
Fixes progress bar color in dark mode
2022-03-26 11:38:00 -07:00
Mouse Reeve
0666a2d02f
Remove transparent class on interaction buttons
2022-03-26 11:07:58 -07:00
Mouse Reeve
b23f4a7e18
Clip statuses
2022-03-26 11:00:53 -07:00
Mouse Reeve
55dc998d03
Retain start date when updating from modal
2022-03-18 19:20:43 -07:00
Mouse Reeve
da100cd114
Adds context and fixes whitespace in translation strings
...
Also updates locales
2022-03-16 16:13:15 -07:00
Thomas Versteeg
9e6dfb4706
Merge branch 'main' into partially-read-shelf
2022-03-12 10:38:56 +00:00
Mouse Reeve
e0ffcddd3c
Merge pull request #2003 from bookwyrm-social/modal-button-pattern
...
Consistent positioning of success buttons
2022-03-10 14:29:39 -08:00
Mouse Reeve
dbf925f176
Removes trailing whitespace
2022-03-10 10:52:39 -08:00
Mouse Reeve
d4be0ca58b
Report modal
2022-03-10 10:02:18 -08:00
Mouse Reeve
cc2b774fb5
Updates wording on content warning field
2022-03-10 09:16:50 -08:00
Mouse Reeve
a922b8fd04
Uses details to show/hide content warning field
2022-03-10 09:03:24 -08:00
Mouse Reeve
e2476d1ad3
Move content warning toggle out of post options block
2022-03-10 08:38:06 -08:00
Mouse Reeve
34a4c18397
Merge branch 'main' into partially-read-shelf
2022-03-05 19:23:35 -08:00
Mouse Reeve
07daa24a72
Merge branch 'main' into themes
2022-03-01 11:46:02 -08:00
Mouse Reeve
41ea7db8b6
Removes hardcoded white in announcements
2022-03-01 11:06:15 -08:00
Vivianne Langdon
b4222bead4
Remove uuid for status reply panel
...
- The focus target did not include this uuid, so was throwing `Uncaught TypeError: node is null` when clicking on Reply button.
- I wasn't able to figure out how to share the uuid between blocks but it doesn't seem like the uuid is really needed -- the same block has other ids that do not have the uuid in them.
2022-02-28 23:01:33 -08:00
Mouse Reeve
5837c37a32
Hide followers info slug
2022-02-28 11:55:54 -08:00
Thomas Versteeg
539775f370
Merge remote-tracking branch 'upstream/main' into partially-read-shelf
2022-02-28 20:44:55 +01:00
Mouse Reeve
7d6032e110
Fixes calls to filter
2022-02-28 11:18:03 -08:00
Mouse Reeve
ffb4098cfb
Fixes translation of "remove from shelf" string
2022-02-28 11:07:12 -08:00
Mouse Reeve
0f5fd6be15
Move translations to filter
2022-02-28 11:05:12 -08:00
Thomas Versteeg
8deee2220e
Fix stopped reading status model in non-javascript environment
2022-02-25 22:39:42 +01:00
Thomas Versteeg
e9dfa42e11
Merge branch 'main' into partially-read-shelf
2022-02-25 21:00:29 +00:00
Mouse Reeve
ad41f19dc5
Updates report model
2022-02-24 13:00:41 -08:00
Mouse Reeve
2457315ed8
Adds missing tag
2022-02-21 08:44:04 -08:00
Mouse Reeve
4672294d7c
Cache fix ( #1961 )
2022-02-19 16:34:48 -08:00
Mouse Reeve
c77e5a1a90
Split css ( #1959 )
...
Divides the css into sub-files and normalizes how colors are defined.
Co-authored-by: Joachim <joachim.robert@protonmail.com>
2022-02-19 16:34:17 -08:00
Mouse Reeve
98736925f7
Fixes cache translation
2022-02-17 18:59:35 -08:00
Mouse Reeve
d510299ae4
Reverts change to shelve button dropdown
2022-02-17 16:51:54 -08:00
Mouse Reeve
561eaeaf54
Merge pull request #1935 from joachimesque/accessibility/fixes
...
[Accessibility] Fixes
2022-02-17 16:50:32 -08:00
Mouse Reeve
8e3c39d319
Adds admin key field to admin user setup form
2022-02-17 10:39:08 -08:00
Thomas Versteeg
d67dac4519
Merge branch 'main' into partially-read-shelf
2022-02-17 16:34:10 +00:00
Thomas Versteeg
d63e5ab2d2
Fix tests
2022-02-14 18:12:08 +01:00
Thomas Versteeg
c88b34814f
Rename 'Partially Read' to 'Stopped Reading'
2022-02-12 19:49:54 +01:00
Joachim
c33cf60624
aria-hidden elements do not contain focusable elements
...
https://dequeuniversity.com/rules/axe/4.3/aria-hidden-focus
2022-02-12 16:33:16 +01:00
Joachim
7877524116
ARIA button, link, and menuitem must have an accessible name
...
https://dequeuniversity.com/rules/axe/4.3/aria-command-name
In this case, the menuitem wasn't displayed (because the div was hidden). I prefer not to include the menuitem in that situation.
2022-02-12 16:25:40 +01:00
Joachim
f742cc023b
ARIA attributes must conform to valid values
...
https://dequeuniversity.com/rules/axe/4.3/aria-valid-attr-value
2022-02-12 16:18:56 +01:00
Joachim
b27b6a5980
Certain ARIA roles must contain particular children
...
https://dequeuniversity.com/rules/axe/4.3/aria-required-children
In order to make this work, I had to translate Bulma's style so it doesn't use `ul` and `li` anymore.
The JS code had to be adapted, I also changed `button` to `tab` (seemed like a more relevant name) and added a `scrollIntoView()` on load the active tab is always visible.
2022-02-12 16:14:35 +01:00
Thomas Versteeg
bc89dd7041
Change shelf Finished label
...
When the shelf is read the label is 'Finished', otherwise it's 'Until'.
2022-02-12 11:19:00 +01:00
Mouse Reeve
b95f0ed287
Use color in announcement
2022-02-11 14:43:37 -05:00
Mouse Reeve
ee23aba994
Use details and summary for announcement panel
2022-02-11 13:50:55 -05:00