1
0
Fork 0
Commit graph

112 commits

Author SHA1 Message Date
Christof Dorner
6af1be28f3 Always expand content status on single status view
On the feed view along with other statuses, the body will be trimmed,
but on the single view, there's no need to trim it. This preserves the
logic for spoiler alerts.
2023-02-04 12:52:09 +01:00
Andy Maloney
b4aa39f0ed Move all opengraph (/twitter) metadata into one template
This makes it easier to modify & allows us to set title & description for specific types of pages.

Sets us up for #2575
2023-01-11 16:17:41 -05:00
Vivianne Langdon
ab43134cc0 many minor visual tweaks to fix spacing and usability 2022-11-26 15:29:08 -08:00
43c598d92c remove DMs from guided tour 2022-07-17 11:11:34 +10:00
8fbd634ee8 add id to dm box 2022-07-09 20:52:03 +10:00
48bcb85e24 resolve conflict 2022-07-09 20:12:46 +10:00
245120e7ca resolve git conflict with main branch 2022-07-09 20:08:23 +10:00
2f2ab5c24a add DM tour
- rearrange script includes on feed pages
- add DM tour to close
2022-07-09 19:27:42 +10:00
53a89f69e7 guided tour only for request.user 2022-07-09 10:23:09 +10:00
3f67bc3b61 standardise ids for tour anchors
To make it harder to accidentally mess up the tour when making changes to pages, this commit adds ids with 'tour' prefixes to (nearly) all elements used by the guided tour as anchor points. The exception is where an element already had an id that is being used by something else in Bookwyrm.

Some minor changes also made to clean up the wording of the tour.
2022-07-03 15:57:10 +10:00
2030dc834f clean up tour files 2022-06-13 16:48:49 +10:00
5f0e14934f add guided tour to main feed page
This uses an embedded script tag so that we can use django templates for logic - most importantly, we need to be able to use translations within the tour text.
2022-06-13 15:29:20 +10:00
f81095cb64 give suggested books block an id 2022-06-12 19:40:36 +10:00
3f7afc9014 Adds prompt to import books in null state of suggested books 2022-03-21 12:24:31 -07:00
cec7625e1e Moves tabs script to main scripts directory
It's our own custom script at this point
2022-02-25 12:47:46 -08: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
3fc690e763 Calculate and translate unread status counts in view 2022-01-22 17:03:48 -08:00
33c6e5aabe Moves remaining tags into new files 2022-01-18 12:28:59 -08:00
5fd0115216 Use translation snippet 2022-01-11 12:10:30 -08:00
abcae9e6c4 Removes caches that cause CSRF token failures 2022-01-07 09:47:58 -08:00
b3bfaf0586 Use 6 month cache for items that don't really need to expire 2022-01-06 10:27:12 -08:00
ad6d7d5eca Caches suggested books 2022-01-05 13:43:15 -08:00
cccd28cb74
Merge pull request #1726 from joachimesque/options-panels
Front-end: New look and behavior for Filters and Result panels
2022-01-03 09:23:12 -08:00
265fd1cb52 Default to hidden state for local storage visibility toggle 2022-01-01 13:09:24 -08:00
cefd0e4d5d
Merge pull request #1728 from joachimesque/summary-feed-panel-smol-fix
Front-end: Update Feed summary card style
2021-12-29 13:41:53 -08:00
Joachim
383f9fa228 Front-end: Update Feed summary card style
Now the header's background is contained by the border-radius
2021-12-29 20:41:11 +01:00
Joachim
4cb520f242 Front-end: New look and behavior for Filters and Result panels 2021-12-29 19:50:32 +01:00
9facaf404f Validates html in feed views 2021-12-29 10:20:54 -08:00
e6b15f25eb Fixes variable name 2021-12-27 14:22:09 -08:00
3cddd69274 Option to hide the annual summary card 2021-12-27 14:12:57 -08:00
Joachim
1022e3e165 Add basic key verification and change voice in template 2021-12-22 15:11:05 +01:00
Joachim
b7545bf0dd Style fixes 2021-12-21 13:50:05 +01:00
Joachim
ce6ca49620 Add link to current summary on home feed 2021-12-21 11:43:39 +01:00
597d537461 Display "saved!" indicator in status form 2021-12-04 13:43:01 -08:00
c813ce1144 Creates consistent styling for details element 2021-12-04 10:41:42 -08:00
f6dfe3530a Use book preview card for social media on status page 2021-12-03 09:58:14 -08:00
Joachim
db5e7a886a Handle count of notifications banner 2021-11-24 19:00:30 +01:00
Joachim
40e4591a24 Apply review suggestions 2021-11-24 11:59:45 +01:00
Joachim
47cfc2f157 Hardcode form 2021-11-22 18:52:57 +01:00
Joachim
a0093a8a2e Add status type filters 2021-11-22 00:25:47 +01:00
4dae851da0 Adds breadcrumbs 2021-11-13 11:18:10 -08:00
3c82230eed Load subclasses 2021-10-02 19:24:23 -07:00
c821aaa18e Load status ancestors 2021-10-02 19:22:11 -07:00
7caaddbb22 Get thread children with depth first recusive search 2021-10-02 15:50:09 -07:00
29ee99c03e Styles for the thread page 2021-10-01 18:05:48 -07:00
565c9dfa72 Removes block div from thread markup 2021-10-01 14:12:34 -07:00
a1eaae1d5e Fixes markup syntax errors 2021-09-29 09:48:17 -07:00
5f3df11e56 Moves goal card to feed dir 2021-09-29 09:24:51 -07:00
c8aa0e9330 Send dms through http post 2021-09-18 16:28:38 -07:00
a4e6f610cd Adds javascript cache value to templates 2021-09-10 10:57:16 -07:00