Commit graph

7433 commits

Author SHA1 Message Date
Mouse Reeve
6e70ceb094 More mocks 2022-07-02 19:43:59 -07:00
Hugh Rundle
06b4a55979 add lists to guided tour
Takes user through the main /list page, as well as the options for creating a list.
2022-07-03 09:10:43 +10:00
Mouse Reeve
46421f9672 Mocks for lists model 2022-07-02 13:48:15 -07:00
Mouse Reeve
495bf203b0 Mocks inbox and search tests 2022-07-02 13:45:53 -07:00
Mouse Reeve
3ad0a5d073 Use update_fields to limit remove_list_tasks
If we know what fields were updated, we can avoid running this task.
This also adds some mocks where they are needed for the list view.
2022-07-02 13:23:23 -07:00
Mouse Reeve
13605b7d6a
Merge pull request #2164 from bookwyrm-social/federated-servers-admin
Federated servers admin
2022-07-02 12:17:14 -07:00
Mouse Reeve
aae02dff9a Merge branch 'main' into list-privacy 2022-07-02 12:16:39 -07:00
Mouse Reeve
94a6675dc4 Pylint fixes 2022-07-02 12:07:22 -07:00
Mouse Reeve
13e23a868d Adds instance name filter to federated instance list view
This lets you look for a specific server in your (probably very long)
instance list.
2022-07-02 11:12:15 -07:00
Mouse Reeve
43f3d69821
Merge pull request #2163 from bookwyrm-social/revert-2143-async_broadcast
Revert "Use async requests for broadcasting"
2022-07-02 11:11:48 -07:00
Mouse Reeve
e0a67f5e18 Uses := syntax in user admin view
I learned this! It's cool.
2022-07-02 11:06:48 -07:00
Mouse Reeve
cbb979242d
Revert "Use async requests for broadcasting" 2022-07-02 10:56:18 -07:00
Mouse Reeve
f68c80dfff Adds line length and import-error to .pylintrc 2022-07-02 10:50:17 -07:00
Mouse Reeve
f5d6a18ce0 Alphabetize list of software options in federated instances list 2022-07-02 10:49:57 -07:00
Mouse Reeve
be76fe1494
Merge pull request #2143 from bookwyrm-social/async_broadcast
Use async requests for broadcasting
2022-07-02 10:23:02 -07:00
Hugh Rundle
827a63b4eb add shelves to guided tour 2022-07-02 18:46:16 +10:00
Hugh Rundle
d1079a1f7d remove console log from guided_tour.js 2022-07-02 18:44:18 +10:00
Mouse Reeve
e7b0a84ded
Merge pull request #2142 from bookwyrm-social/load-data-duration
Split expand book data task into per-edition tasks
2022-06-30 11:47:23 -07:00
Mouse Reeve
4e2fcc552a
Merge pull request #2160 from bookwyrm-social/locales
Updates locales
2022-06-30 10:37:21 -07:00
Mouse Reeve
beb85ba94f Updates locales 2022-06-30 10:23:25 -07:00
Mouse Reeve
5f266c0cfd
Merge pull request #2159 from JamieSlome/main
Create SECURITY.md
2022-06-30 09:52:06 -07:00
Jamie Slome
1609b9b74c Create SECURITY.md 2022-06-30 05:46:41 +01:00
Hugh Rundle
bc4a1c6c41 Guided tour of book page
This is intended to be one of the earlier pages in the tour. It should show users the concept of reading status, editions, and other useful points.
2022-06-19 14:06:36 +10:00
Hugh Rundle
ff37b77be9 clean up search guided tour code 2022-06-19 11:13:04 +10:00
Hugh Rundle
fef66a7cfe guided tour for book search
Adds a guided tour for book search page including logic for differing messages depending on what results are visible.
2022-06-19 11:08:01 +10:00
Hugh Rundle
0e06143c31 add guided tour to user shelves 2022-06-18 17:17:22 +10:00
Hugh Rundle
044a173095 remove CSRF from tour scripts 2022-06-18 17:16:43 +10:00
Hugh Rundle
57965973dc make guided tour cancel button DRY
Move cancel button function into a separate JS file.
The selector JS for this function cannot be within bookwyrm.js because the guided tour elements load after bookwyrm.js.
2022-06-18 13:27:00 +10:00
Hugh Rundle
5bf835b965 fix typos 2022-06-18 10:49:42 +10:00
Hugh Rundle
d36dd9ce96 guided tour for user groups
Includes adding creating a new group.
2022-06-18 10:48:14 +10:00
Hugh Rundle
00df3c94df add guided tour for user groups page
- add ID for add group button
- add tour steps for user groups page
- trigger tour steps if guided tour is turned on
2022-06-13 20:27:36 +10:00
Hugh Rundle
7fbc9914de change cancel buttons for guided tour
The first pop up in the guided tour on each page should provide a button to switch off the guided tour altogether, not simply cancel the current iteration.
If we don't do this, then the only way to turn off the guided tour is to go right to the end, which could be really irritating, especially for people who star the tour and then start exploring on their own.
2022-06-13 20:25:42 +10:00
Hugh Rundle
fbf7f37664 user profile tour only on activity tab 2022-06-13 19:36:14 +10:00
Hugh Rundle
aebeac9112 add guided tour to user profile
- adds ids to relevant elements to enable tour
- adds guided tour using Shepherd
2022-06-13 17:26:53 +10:00
Hugh Rundle
83e7302bc1 update home feed guided tour 2022-06-13 16:56:07 +10:00
Hugh Rundle
2030dc834f clean up tour files 2022-06-13 16:48:49 +10:00
Hugh Rundle
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
Hugh Rundle
6ffb0863d1 update tour link in main template 2022-06-13 15:27:05 +10:00
Hugh Rundle
8cadb3dc3b fix guided tour url
Use a url fragment (<tour>) instead of a classic url param (/?tour=True)
2022-06-13 15:22:23 +10:00
Hugh Rundle
07225c6ddc add guided tour link 2022-06-13 13:14:31 +10:00
Hugh Rundle
6b7caa9c71 url for setting show_guided_tour
Uses a URL param to indicate whether the value should be set to True or False.
Redirects to home page.
2022-06-13 13:10:31 +10:00
Hugh Rundle
80c71928c3 add show_guided_tour value to User
This boolean value indicates whether the user wishes to be show the guided tour.
It defaults to True but will be able to be easily set to False.
2022-06-13 13:07:48 +10:00
Hugh Rundle
2b431986d6 help tour button styling updates 2022-06-12 20:39:37 +10:00
Hugh Rundle
e768cf49a3 add barcode reader to home feed tour 2022-06-12 20:11:21 +10:00
Hugh Rundle
c614aeb28e add shepherd tours
This file creates and triggers tours using shepherd.

Initially this is a tour on the home feed page, triggered by clicking on the help button in the top nav.
2022-06-12 19:43:21 +10:00
Hugh Rundle
806e2778df add help button if page has tour
- include logic in main layout to add button if there is a page tour available
- add button for main user feed page
2022-06-12 19:41:50 +10:00
Hugh Rundle
f81095cb64 give suggested books block an id 2022-06-12 19:40:36 +10:00
Hugh Rundle
cfa659748c add shepherd styles for guided tour
Adds a sass file based on the v10.0.0 Shepherd CSS. Original Shepherd styles are kept where appropriate, otherwise this is intended to inherit whatever styles are being used through the Bulma and Bookwyrm SASS, so that it uses appropriate colours in both light and dark modes.
2022-06-12 13:42:06 +10:00
Hugh Rundle
b6cd64f82a add Shepherd version 10.0.0 2022-06-11 14:19:03 +10:00
Mouse Reeve
e3471fcc35
Merge pull request #2148 from hughrun/quotes
add page numbers to comment and quote statuses
2022-06-10 17:35:15 -07:00