Commit graph

3458 commits

Author SHA1 Message Date
Fabien Basmaison
23985e4357 Merge branch 'main' into frontend-book-cover 2021-04-25 11:24:21 +02:00
reese
61f1e07db4 as far as i can tell, fr-dev is literally exactly the same as bw-dev 2021-04-24 23:39:46 -05:00
reese
6a203f9738 update translations 2021-04-24 23:04:32 -05:00
Mouse Reeve
bb44ede2e7 Show book preview in full statuses on mobile 2021-04-24 12:56:53 -07:00
Fabien Basmaison
cf5a4ebe90 Fix typo:
Addresses https://github.com/bookwyrm-social/bookwyrm/pull/994#discussion_r619688900.
2021-04-24 21:27:05 +02: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
Mouse Reeve
7be456836d
Merge pull request #997 from GuDzpoz/main
Locale `zh-cn` should be `zh-hans`
2021-04-24 12:18:45 -07: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
GuDzpoz
72d92343aa zh-cn should be zh-hans 2021-04-24 22:32:04 +08:00
Mouse Reeve
deb1257114
Merge pull request #995 from bookwyrm-social/show-subtitles
Show subtitles when titles are very short
2021-04-24 06:58:00 -07:00
Mouse Reeve
8e6642b322
Merge pull request #996 from arkhi/stars-no-wrap
Prevent stars from wrapping on multiple lines
2021-04-24 06:51:42 -07: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
75a69988e4 cover: List:
- Reduce Padding around covers.
- Remove `content` which is applying too extensive default styles.
2021-04-24 14:24:25 +02:00
Fabien Basmaison
32fb06c9e6 Prevent stars from wrapping on multiple lines. 2021-04-24 13:23:03 +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
179ba24115 Safely handle invalid book 2021-04-23 15:29:55 -07:00
Mouse Reeve
a499259163 Fixes python formatting 2021-04-23 15:01:35 -07:00
Mouse Reeve
9ba0aec6d9 Show subtitles when titles are very short 2021-04-23 14:58:48 -07:00
Mouse Reeve
126594ec49 Cleans up queryset declarations 2021-04-23 13:47:13 -07:00
Mouse Reeve
888930f891 User request path for pagination 2021-04-23 13:35:12 -07:00
Mouse Reeve
d2b2065db8 Show user's book content 2021-04-23 13:32:58 -07:00
Mouse Reeve
cbdf573261
Merge pull request #991 from bookwyrm-social/character-encoding
Fixes character encoding bug
2021-04-23 12:06:04 -07:00
Mouse Reeve
d31827e5aa
Merge pull request #975 from reesporte/main
spanish translation updates
2021-04-23 12:03:03 -07:00
Mouse Reeve
013d5f1db3
Merge pull request #987 from bookwyrm-social/duplicate-boosts
Don't broadcast boosts twice
2021-04-23 11:58:01 -07:00
Mouse Reeve
607e98b331 Fixes character encoding error 2021-04-23 11:53:45 -07:00
Mouse Reeve
c907b1ff09 Test to replicate character encoding bug 2021-04-23 11:07:19 -07:00
Mouse Reeve
79424f7bfb Python formatting 2021-04-23 10:56:17 -07:00
Mouse Reeve
32e694032b Fixes duplicate boost model verification 2021-04-23 10:49:17 -07:00
Joachim
de19c7d7a6 Update status_header.html 2021-04-23 18:38:33 +02:00
Mouse Reeve
b457446f2f Don't save duplicate boosts 2021-04-22 19:36:27 -07:00
Mouse Reeve
359061f507
Merge pull request #988 from bookwyrm-social/remove-tags
Remove unused code for tagging books
2021-04-22 19:35:58 -07:00
Mouse Reeve
f9c40aadd9 Python formatting 2021-04-22 18:30:58 -07:00
Mouse Reeve
74ccaf27fa Tag removal migration 2021-04-22 18:23:23 -07:00
Mouse Reeve
a3f91d991f Remove tag form 2021-04-22 18:19:42 -07:00
Mouse Reeve
563623616c Merge branch 'main' into remove-tags 2021-04-22 18:18:24 -07:00
Mouse Reeve
9148f36719 Fixes duplicate boosts 2021-04-22 18:16:00 -07:00
Mouse Reeve
adb8f6f90f
Merge pull request #986 from bookwyrm-social/scroll-behavior
Removes scroll padding
2021-04-22 14:38:46 -07:00
reese
648b990aab realized Read was in the past tense lol 2021-04-22 16:28:57 -05:00
reese
e4b432246a replace venv3 with venv, makemessages for es, compilemessages for es 2021-04-22 16:28:57 -05:00
reese
9400510b21 compile messages, fix typos 2021-04-22 16:28:57 -05:00
reese
c8de7890c6 finally finished 2021-04-22 16:28:57 -05:00
reese
e6bd89e10b more translations 2021-04-22 16:28:57 -05:00
reese
ca63bd6947 more translations 2021-04-22 16:28:57 -05:00
reese
d526fdc92f more translations 2021-04-22 16:28:57 -05:00
reese
6915b195ce translated some strings 2021-04-22 16:28:57 -05:00
Mouse Reeve
e546b1b1ad
Merge pull request #984 from joachimesque/a11y-html-lang
Accessibility: add language to `lang` attr on `html` tag
2021-04-22 13:29:22 -07:00
Mouse Reeve
c6e8161a9f Removes scroll padding 2021-04-22 13:08:22 -07:00