Hugh Rundle
3365bb6d35
show_guided_tour is not added to AP serialisation
2022-07-09 10:17:10 +10:00
Hugh Rundle
d1180d4216
linting fix for linting fix
2022-07-03 17:24:33 +10:00
Hugh Rundle
b82cf887e2
linting fixes
2022-07-03 17:14:13 +10:00
Hugh Rundle
f8e51b5826
format guided tour js with prettier
2022-07-03 16:24:34 +10:00
Hugh Rundle
0e9dc66ffa
Merge branch 'main' into tour
...
Merging in latest changes from main, since I got covid and missed a few weeks.
2022-07-03 16:18:50 +10:00
Hugh Rundle
04324c00b4
back button on all tour modals
2022-07-03 16:12:17 +10:00
Hugh Rundle
39efb90870
add noscript message for guided tour
2022-07-03 16:10:32 +10:00
Hugh Rundle
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
Hugh Rundle
a8940b8e12
Fix order of tour
...
The tour now shows users how to add a book first, then bookshelves, lists, and finally groups.
2022-07-03 14:48:23 +10:00
Mouse Reeve
4ccbfb6b31
Merge pull request #2057 from bookwyrm-social/list-privacy
...
Re-consider list privacy on edit
2022-07-02 20:07:00 -07:00
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_task
s
...
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