Commit graph

765 commits

Author SHA1 Message Date
Mouse Reeve
e3cbf30684 Local discovery view 2021-08-07 14:43:05 -07:00
Mouse Reeve
68e4462486 Make email a required html field in register form 2021-08-07 07:43:30 -07:00
Joachim
6a365eafb4
Merge branch 'main' into images-django-imagekit 2021-08-06 19:16:01 +02:00
Mouse Reeve
699d9307e3
Merge pull request #1251 from bookwyrm-social/prospective-follow-display
Prospective follow display
2021-08-04 14:58:52 -06:00
Mouse Reeve
f5c129dce7 Also in suggestion area 2021-08-04 13:38:06 -07:00
Mouse Reeve
a679a46bca Limit authors displayed in status 2021-08-04 12:36:54 -07:00
Mouse Reeve
bd7bf4ee96 Resolve conflict between inherited privacy and default privacy 2021-08-04 10:55:03 -07:00
Mouse Reeve
63c8301eb9 Merge branch '253-user-post-privacy-v2' of https://github.com/ibrand/bookwyrm into ibrand-253-user-post-privacy-v2 2021-08-04 10:44:30 -07:00
Joachim
73fd098068 Better naming of context variable 2021-08-04 11:42:18 +02:00
Joachim
14bf7fca2e Update book_cover.html 2021-08-03 18:03:34 +02:00
Joachim
ce4553b367 Add simple tag to provide fallback if original image doesn't exist 2021-08-03 17:45:52 +02:00
Mouse Reeve
fc8db58cdb Merge branch 'main' into suggestions-redis 2021-08-02 16:40:57 -07:00
Mouse Reeve
2370f60436
Update bookwyrm/templates/snippets/book_cover.html
Co-authored-by: Joachim <joachim.robert@protonmail.com>
2021-08-02 14:46:56 -06:00
Mouse Reeve
9b97fbc0ae
Fixes error in merge 2021-08-02 12:56:11 -07:00
Mouse Reeve
af34dc6520
Merge branch 'main' into images-django-imagekit 2021-08-02 13:43:59 -06:00
Joachim
3ea1bcb256
Merge branch 'main' into storage-s3 2021-07-05 13:06:19 +02:00
Joachim
7818a4347f Specify width (250px) on Instance Description image 2021-06-20 15:57:08 +02:00
Joachim
e251b687dc Merge remote-tracking branch 'upstream/main' into images-django-imagekit 2021-06-19 19:32:56 +02:00
Joachim
dee63d8825 Rename MEDIA_PATH to MEDIA_FULL_URL and handle protocol 2021-06-19 17:09:53 +02:00
Joachim
c9c7a673d7 Fix template dependency 2021-06-19 12:02:48 +02:00
Joachim
6607c8b185 Better handling of absolute URLs with domain + scheme 2021-06-19 11:54:19 +02:00
Joachim
d862be0564 Merge remote-tracking branch 'upstream/main' into storage-s3 2021-06-19 11:53:05 +02:00
Mouse Reeve
5b6048e4c6 Merge branch 'main' into suggestions-redis 2021-06-18 16:48:04 -07:00
Mouse Reeve
ea556bd83b
Merge pull request #1142 from joachimesque/opengraph-image-generation
Generate OpenGraph images for books, users, and site.
2021-06-18 14:47:54 -07:00
Joachim
5d41781e6a Fix scheme 2021-06-18 19:15:24 +02:00
Mouse Reeve
22636041ba Use null instead of zero for unrated review 2021-06-17 17:47:46 -07:00
Mouse Reeve
973b23856c
Merge branch 'main' into opengraph-image-generation 2021-06-17 15:17:54 -07:00
Mouse Reeve
27a3d0ae96
Merge branch 'main' into 253-user-post-privacy-v2 2021-06-14 16:47:57 -07:00
Mouse Reeve
c4f7f34ad4 Fixes edit readthrough toggle display 2021-06-14 16:04:58 -07:00
Mouse Reeve
ce4a57e5c9 Reading status view name 2021-06-09 11:16:52 -07:00
Mouse Reeve
3c7c8a1797 Fixes urls in fallback mode 2021-06-09 11:05:05 -07:00
Mouse Reeve
113ced2900 Merge reading status views into one view 2021-06-09 10:53:52 -07:00
Mouse Reeve
eb12506985 No script fallback mode 2021-06-08 12:40:01 -07:00
Mouse Reeve
1231d40e80 Want to read view 2021-06-08 11:23:53 -07:00
Joachim
d105ae9c78 Merge remote-tracking branch 'upstream/main' into images-django-imagekit 2021-06-07 19:53:11 +02:00
Joachim
2731ea9aa9 Add env var to enable/disable thumbnail generation 2021-06-07 19:52:25 +02:00
Joachim
b448d40514 Use the right snippets on Templates 2021-06-07 18:13:24 +02:00
Joachim
1f2c296cfd This should now work 2021-06-06 21:12:21 +02:00
Joachim
49c057625a Smol fixes 2021-06-02 18:30:36 +02:00
Joachim
7d1e4aebbc Better forms 2021-06-02 18:17:53 +02:00
Joachim
f206f61e9a Use global switch to enable/disable preview images 2021-05-28 17:00:07 +02:00
Joachim
36f447210a Specify sizes on all templates 2021-05-24 16:18:05 +02:00
Joachim
dc49432322 Change img_path to external_path 2021-05-24 16:17:39 +02:00
Joachim
c1456ce853 Update .cover-caption name and styles 2021-05-24 16:16:33 +02:00
Joachim
4c55f07f2a Update book_cover.html 2021-05-24 16:16:09 +02:00
Mouse Reeve
bdf267dea5 Refactors block button for query efficiency 2021-05-22 20:36:30 -07:00
Mouse Reeve
7a4c4248df Improves status template performance
Reduces queries about about 65
2021-05-22 19:01:40 -07:00
Mouse Reeve
3d3ab6433e Improves query efficiency for shelve buttons
About 50 fewer queries (yikes)
2021-05-22 17:58:08 -07:00
Mouse Reeve
368d2cd716 Reduces feed page queries for goals
9 fewer queries
2021-05-22 17:34:16 -07:00
Mouse Reeve
0044dc6587 Show suggested users when the feed is empty 2021-05-22 11:29:41 -07:00
Mouse Reeve
00eba98e9f Fixes display of announcement show/hide button on mobile 2021-05-21 09:50:23 -07:00
Mouse Reeve
c52b26f404 Moves rss templates to base level directory 2021-05-20 16:12:24 -07:00
Mouse Reeve
cefc5994a6 Makes extra content optional 2021-05-20 12:40:03 -07:00
Mouse Reeve
2e193aa3c6 Delete announcements 2021-05-20 12:08:12 -07:00
Mouse Reeve
b8e9b9f57e Cleans up show/hide behavior 2021-05-20 11:46:24 -07:00
Mouse Reeve
d64e0c4aa8 Adds admin view for individual announcement 2021-05-20 08:09:35 -07:00
Mouse Reeve
5cd5a6107f Show text with buttons in most places 2021-05-18 10:45:51 -07:00
Mouse Reeve
7dccce6b1f Adds keyboard focus to add readthrough form 2021-05-18 09:59:40 -07:00
Mouse Reeve
3b9fed1b31 Filter for concise status timestamps 2021-05-11 18:59:31 -07:00
Mouse Reeve
65f78b45da Merge branch 'main' into templatetags 2021-05-11 15:41:07 -07:00
Mouse Reeve
87bf863ac6
Revert "Preserve width when cover images fail to load" 2021-05-11 15:29:18 -07:00
Mouse Reeve
ac2b63d0cd More templatetag files 2021-05-11 15:14:42 -07:00
Mouse Reeve
58da17d694 Use smaller templatetag modules 2021-05-11 14:41:28 -07:00
Mouse Reeve
f5eb5f982a Removes filter for checking for follow requests 2021-05-11 14:05:46 -07:00
Mouse Reeve
680f300e7c Preserve width when cover images fail to load 2021-05-11 08:15:02 -07:00
Mouse Reeve
9bfe4f4e91 Uses a different snippet for previewing books on author page 2021-05-10 16:43:40 -07:00
Mouse Reeve
485f4b7eba Revert "Replaces date elements with datepicker"
This reverts commit 869cfa6d34.
2021-05-10 14:56:33 -07:00
Mouse Reeve
dcde3ded95
Merge pull request #1049 from bookwyrm-social/datepicker
Datepicker
2021-05-05 07:00:07 -07:00
Mouse Reeve
748810cd41 Use reverse lookups for urls 2021-05-04 09:34:16 -07:00
Mouse Reeve
869cfa6d34 Replaces date elements with datepicker 2021-05-04 09:04:21 -07:00
Mouse Reeve
93959fc600
Merge pull request #1036 from SavinaRoja/pagination-list
pagination list navigation using a range of pages such as provided by get_elided_page_range
2021-05-03 10:57:38 -07:00
Mouse Reeve
c47f672238 Removes aria-hidden from covers 2021-05-02 06:59:47 -07:00
Pablo Barton
e71a0dd7e8 pagination list navigation using a range of pages such as provided by get_elided_page_range 2021-05-01 19:30:43 -04:00
Mouse Reeve
ad8666ebec Removes extra "content" field in status editor that broke dms 2021-05-01 07:20:54 -07:00
Mouse Reeve
b4ef800505 Hide start list item in readthrough if absent 2021-04-30 12:07:59 -07:00
Mouse Reeve
57454afa42 Creates visual separation between reading activity and reviews 2021-04-30 12:02:19 -07:00
Fabien Basmaison
bcafc1bc6a Merge branch 'main' into frontend-book-cover 2021-04-30 09:54:42 +02:00
Mouse Reeve
095b60bff1 Show search result context for inventaire results 2021-04-29 11:22:09 -07:00
Fabien Basmaison
91c42b497e cover: Tweak width and height of cover on feeds. 2021-04-28 20:54:35 +02:00
Fabien Basmaison
a5359d1f80 cover: Update author. 2021-04-27 20:30:10 +02:00
Fabien Basmaison
8ddc292ee6 cover: Change the logic again:
- Work on feeds.
- Add `.is-cover` to modify the behaviours of columns.
- Only apply logic for dimensions on the cover container; too many contextual side effects otherwise.
- Add classes to dimension and align, including auto margins for flex.
- Rename classes in templates accordingly.
2021-04-27 16:24:20 +02:00
Fabien Basmaison
56d821970a Merge branch 'main' into frontend-book-cover 2021-04-27 09:16:10 +02:00
Mouse Reeve
64c2313a5d Merge branch 'main' into inventaire 2021-04-26 14:22:05 -07:00
Mouse Reeve
df31ac9742 Show rating in statuses 2021-04-26 11:33:17 -07:00
Fabien Basmaison
30bed6c963 Merge branch 'main' into frontend-book-cover 2021-04-26 11:35:10 +02:00
Mouse Reeve
aa557e4758
Merge pull request #971 from joachimesque/smaller-statuses-dense-cards
Move some status footer elements to the header
2021-04-25 10:39:23 -07:00
Fabien Basmaison
953dff90bb cover: tweak styles:
- `optimizeQuality` > `smooth` (CSS language evolution)
- Use `auto` instead of a fixed width.
- Add exceptions for heights and apply them to some previously modified templates.
- Remove `is-large` exception.
- Widen the content column on list curation.
2021-04-25 15:37:46 +02:00
Fabien Basmaison
23985e4357 Merge branch 'main' into frontend-book-cover 2021-04-25 11:24:21 +02:00
Mouse Reeve
bb44ede2e7 Show book preview in full statuses on mobile 2021-04-24 12:56:53 -07:00
Fabien Basmaison
eea8b4e750 cover: Handle covers with specific heights:
- Have an explicit contextual class on `cover-container`.
- Use more flexible, consistent and searchable variable name for passing classes to covers.
- Consistently use `'…'` with django variables.
- Give the option to not hide covers to screen readers.
- consitently give a title to the cover container if `alt_text` exists.
- [lists] Remove `.content` which is applying too extensive default styles.
2021-04-24 21:27:05 +02:00
Joachim
04e1806482 Update status_header.html 2021-04-24 20:47:39 +02:00
Joachim
59ed49f082 Update status_header.html 2021-04-24 20:39:54 +02:00
Joachim
e06154c457
Merge branch 'main' into smaller-statuses-dense-cards 2021-04-24 20:07:13 +02:00
Fabien Basmaison
783cc6edf0 cover: List curation:
- Reduce Padding around covers.
- Remove `content` which is applying too extensive default styles.
- Style headings.
- Replace table with definition list.
- Clip cover container to avoid caption overflowing.
2021-04-24 15:49:30 +02:00
Fabien Basmaison
9ea91d8e7c cover: Search layout: Reduce padding around covers. 2021-04-24 12:56:38 +02:00
Fabien Basmaison
7f0b3184a1 cover: Use book-cover as component:
- Avoid specifying context-dependent values in CSS for components. Those values can be defined by the context calling the component.
- Use `<figure>` with optional caption.
- Reduce redundant markup.
- Allow more variables to be passed to the book-cover (image path and class for the container).
- Hide the book cover to screen readers.
2021-04-24 12:48:55 +02:00
Mouse Reeve
9ba0aec6d9 Show subtitles when titles are very short 2021-04-23 14:58:48 -07:00
Mouse Reeve
607e98b331 Fixes character encoding error 2021-04-23 11:53:45 -07:00
Joachim
de19c7d7a6 Update status_header.html 2021-04-23 18:38:33 +02:00
Mouse Reeve
74ccaf27fa Tag removal migration 2021-04-22 18:23:23 -07:00
Mouse Reeve
1472f7d919 Restores markdown rendering in book description previews 2021-04-22 06:58:21 -07:00
Joachim
7a5ea31ee7 Fix progress display in title 2021-04-21 22:32:26 +02:00
Joachim
0b0a283e64 Fix buttons styles 2021-04-21 22:32:14 +02:00
Joachim
b1fea98458 Use one card-footer-item per footer button 2021-04-21 22:31:27 +02:00
Joachim
415a12cf78 Move H3 tag 2021-04-21 22:30:52 +02:00
Mouse Reeve
85b1c920cd
Merge pull request #973 from joachimesque/dropdown-style
Dropdown component design fixes
2021-04-21 13:08:41 -07:00
Joachim
53b47aa264 Revert "Move card footer container inside the card-footer component"
This reverts commit 58aeb72afa.
2021-04-21 21:48:31 +02:00
Joachim
17436b6657 Header fixes 2021-04-21 21:48:19 +02:00
Joachim
720109564d Fix condition 2021-04-21 21:35:42 +02:00
Joachim
265c38e877 Update direct message button style 2021-04-21 21:31:58 +02:00
Joachim
2987029a7d Remove useless style on non-dropdown element 2021-04-21 19:37:12 +02:00
Joachim
df72061c57 Improve menu action styles 2021-04-21 19:36:11 +02:00
Joachim
544dbda4ad Move menu item styles to menu item 2021-04-21 19:35:50 +02:00
Joachim
f01b7fbd15 Design and a11y fixes on Create Status forms
- Use `field` CSS class to better respect Bulma styles
- Fix buggy `id` on content field, causing a11y problems
- Fix progress control & select styles
- Various small style fixes
2021-04-21 18:34:04 +02:00
Joachim
2cacf5146b
Merge branch 'main' into smaller-statuses-dense-cards 2021-04-21 17:40:20 +02:00
Joachim
f7adaee0ed Verbosify buttons 2021-04-21 17:35:55 +02:00
Joachim
13957c2f44 Move footer some items to header
- Header elements are now enclosed in a media layout
- Footer elements are not in a card-footer anymore
2021-04-21 17:32:35 +02:00
Joachim
58aeb72afa Move card footer container inside the card-footer component 2021-04-21 17:23:48 +02:00
Mouse Reeve
d62cf3fecb Merge branch 'main' into smaller-statuses 2021-04-20 14:02:23 -07:00
Mouse Reeve
92bd5ab291
Merge pull request #970 from bookwyrm-social/display-fixes
Display fixes
2021-04-20 13:59:32 -07:00
Mouse Reeve
f4abd7b797 Linter fix 2021-04-20 13:50:53 -07:00
Mouse Reeve
5fc1e3f2fe Fixes merge regression for localized timestamps 2021-04-20 13:50:05 -07:00
Mouse Reeve
afde94d4c2
Merge branch 'main' into smaller-statuses 2021-04-20 13:48:21 -07:00
Mouse Reeve
c07dcb5458 Remove spaceless templatetags that cause rendering issues in statuses 2021-04-20 13:38:25 -07:00
Mouse Reeve
cbccb07252 Fixes display of replies 2021-04-20 11:18:59 -07:00
Mouse Reeve
9e5ebf9807 Move stars into header for ratings 2021-04-20 11:06:14 -07:00
Mouse Reeve
07dbc4c6c0 Much longer "full" version of trimmed text 2021-04-20 09:56:01 -07:00
Mouse Reeve
978760475f More compact display of statuses 2021-04-20 09:54:02 -07:00
Mouse Reeve
70a819951e Fixes localization weirdness with dates 2021-04-19 16:18:29 -07:00
Mouse Reeve
e0c16b21e9 Fixes form for reporting users 2021-04-17 10:28:03 -07:00
Fabien Basmaison
ec2b4e533e Merge branch 'main' into frontend 2021-04-10 19:57:23 +02:00
Fabien Basmaison
37e48988b1 Don’t use linebreak in DTL block comments. (might break the linter on the length of line) 2021-04-10 00:07:01 +02:00
Fabien Basmaison
4c4801e2da Add structured data to Book (#84). 2021-04-09 23:57:49 +02:00
Fabien Basmaison
be0cabc415 [css] Improve quotes. 2021-04-07 18:07:32 +02:00
Fabien Basmaison
f77088b964 [assets] Remove redundant class already provided by bulma:
Replace all classes `hidden` with `is-hidden` in templates, CSS and JS.
2021-04-07 17:31:00 +02:00
Mouse Reeve
fba44206ac Adds separate view and load links for book search results 2021-04-06 12:17:58 -07:00
Fabien Basmaison
5d3f00a537 [l10n] Add and update i18n strings for French:
- Fix typo in English.
- Add translations for missing strings.
- Update translations for fuzzy strings.
2021-04-05 12:46:34 +02:00
Mouse Reeve
ea837a3879
Merge pull request #864 from mouse-reeve/delete-and-redraft
Delete and redraft
2021-04-04 11:00:09 -07:00
Mouse Reeve
abd6a78295
Merge pull request #862 from mouse-reeve/disabled-link
Valid html solution to disabling pagination links
2021-04-04 10:59:22 -07:00
Mouse Reeve
be8c3b7904 Handles delete and redraft replies 2021-04-04 09:18:52 -07:00
Mouse Reeve
936d68f0ed Don't allow delete and redraft of ratings 2021-04-04 09:08:44 -07:00
Mouse Reeve
521f917d01 Pass existing rating to stars form element as variable 2021-04-04 09:05:21 -07:00
Mouse Reeve
4c2f1db6a6 Merge branch 'main' into delete-and-redraft 2021-04-04 09:05:12 -07:00
Mouse Reeve
b3535d9a90 Hides disabled pagination links for screenreaders 2021-04-04 08:42:01 -07:00
Fabien Basmaison
485b0fa0f3 Simplify rating form:
- Create a snippet to regroup similar code.
- Reduce and document tricky logic of CSS.
- Add i18n strings.
2021-04-04 15:08:42 +02:00
Mouse Reeve
d5643047e1 hidden checkbox should always be hidden 2021-04-03 15:49:27 -07:00
Mouse Reeve
ffb7f8f7ce Populate redraft form 2021-04-03 15:47:47 -07:00
Mouse Reeve
2a4fc8fb9a Adds model-to-form helper for statuses 2021-04-03 14:55:13 -07:00
Mouse Reeve
029913de32 Logic for rendering a particular compose tab server-side 2021-04-03 13:12:55 -07:00
Mouse Reeve
3cb91098e6 Valid html solution to disabling pagination links 2021-04-03 11:54:15 -07:00
Mouse Reeve
bb9e49c8fa Show disabled placeholders in pagination 2021-04-02 09:54:32 -07:00
Mouse Reeve
86b519b844 Uses translates pages snippet for progress note on statuses 2021-04-01 20:28:08 -07:00
Mouse Reeve
fdfbf29744 i18n for "page x of y" 2021-04-01 20:22:42 -07:00
Mouse Reeve
265c2f8d9d Show current shelf in move menu 2021-04-01 19:41:01 -07:00
Mouse Reeve
62bd744b69 Sort and filter mutually respect each other 2021-04-01 17:38:53 -07:00
Mouse Reeve
c7863ec8f0 Fixes re-shelving books from all books view 2021-03-31 15:00:49 -07:00
Mouse Reeve
e78982b4c7 Simplifies reading goal progress covers view 2021-03-31 11:42:57 -07:00
Mouse Reeve
83e4ec00f9 Renames "shelves" in the UI to "books"
Still haven't figure out the create/edit wording tho
2021-03-31 09:22:23 -07:00
Mouse Reeve
e86f160c53
Merge pull request #812 from SavinaRoja/357-tz-in-datetimes
357 Users set preferred timezone, used for readthroughs
2021-03-29 15:20:01 -07:00
Mouse Reeve
cc00a66b90
Merge pull request #800 from SavinaRoja/716-book-multiple-shelves
716 books can be on multiple shelves, but only on one shelf for reading status
2021-03-29 12:59:49 -07:00
Mouse Reeve
794b47d119 Unshelve option in shelve button menu 2021-03-29 12:27:12 -07:00
Mouse Reeve
e9f202b9e0 Paginate shelf page
Also removes some fields from the table
2021-03-29 11:48:19 -07:00
Mouse Reeve
b13e8d75cd Introduces filters snippets 2021-03-29 10:39:13 -07:00
Mouse Reeve
b58ed244b0 Preserve request.GET params in pagination 2021-03-29 08:19:17 -07:00
Pablo Barton
765e6b542f adding middleware and use in readthrough template 2021-03-29 08:20:35 -04:00
Mouse Reeve
43fc940a07 Adds user admin view 2021-03-28 14:20:49 -07:00
Mouse Reeve
7373a7e8c4 Sort federated servers list 2021-03-28 13:36:05 -07:00
Mouse Reeve
ecf5ee4afc margin between quote and attribution 2021-03-28 11:30:53 -07:00
Mouse Reeve
f0876b57c5 Fixes change shelf menu display on shelf page 2021-03-28 11:25:05 -07:00
Mouse Reeve
b0e1095fe6 Adds "suggested follows" panel 2021-03-26 10:32:42 -07:00
Pablo Barton
daf69d2375 716 books can be on multiple shelves, but only on one shelf for reading status 2021-03-26 08:21:42 -04:00
Mouse Reeve
c1e0471d1a Don't use html in article names for mastodon 2021-03-24 10:57:17 -07:00
Mouse Reeve
30cebc017f Updates tests to catch decimal/float/int errors in status serialization 2021-03-24 10:31:05 -07:00
Mouse Reeve
73e38f9050 Fixes formatting rating value in template 2021-03-24 10:07:39 -07:00
Mouse Reeve
1d53a06e35 Fixes decimaal formatting 2021-03-24 09:51:49 -07:00
Mouse Reeve
bde6ce8525 Fixes review name in pure serialization 2021-03-24 09:31:45 -07:00
Mouse Reeve
ba00672e66 Directory view 2021-03-21 16:37:52 -07:00
Mouse Reeve
d3a4282f11 Show progress on status 2021-03-20 18:03:20 -07:00
Mouse Reeve
17489f002f html linter fixes 2021-03-20 17:43:51 -07:00
Mouse Reeve
dd15e87073 Merge branch 'main' into progress-update-ui 2021-03-20 17:38:22 -07:00
Mouse Reeve
daa0268eb3 Update progress with comments 2021-03-20 17:35:10 -07:00
Mouse Reeve
942c4a6664 Move progress updates into modal 2021-03-20 17:18:18 -07:00
Fabien Basmaison
b9a61162d7 Merge branch 'main' into ci 2021-03-20 15:26:51 +01:00
Mouse Reeve
90cfff67d6 Updaates locale files 2021-03-19 11:58:27 -07:00
Mouse Reeve
1ad7d88cc8
Merge pull request #760 from mouse-reeve/reveal-cws
Remove a step when unfurling statuses with content warnings
2021-03-18 09:21:42 -07:00
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