Commit graph

470 commits

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