1
0
Fork 0
Commit graph

7194 commits

Author SHA1 Message Date
4d843b583d move shelve button tour id to prevent duplicates 2022-07-09 10:32:04 +10:00
389da79af4 fix missing hyphen 2022-07-09 10:31:40 +10:00
53a89f69e7 guided tour only for request.user 2022-07-09 10:23:09 +10:00
3365bb6d35 show_guided_tour is not added to AP serialisation 2022-07-09 10:17:10 +10:00
d1180d4216 linting fix for linting fix 2022-07-03 17:24:33 +10:00
b82cf887e2 linting fixes 2022-07-03 17:14:13 +10:00
f8e51b5826 format guided tour js with prettier 2022-07-03 16:24:34 +10:00
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
04324c00b4 back button on all tour modals 2022-07-03 16:12:17 +10:00
39efb90870 add noscript message for guided tour 2022-07-03 16:10:32 +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
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
4ccbfb6b31
Merge pull request #2057 from bookwyrm-social/list-privacy
Re-consider list privacy on edit
2022-07-02 20:07:00 -07:00
6e70ceb094 More mocks 2022-07-02 19:43:59 -07:00
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
46421f9672 Mocks for lists model 2022-07-02 13:48:15 -07:00
495bf203b0 Mocks inbox and search tests 2022-07-02 13:45:53 -07:00
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
13605b7d6a
Merge pull request #2164 from bookwyrm-social/federated-servers-admin
Federated servers admin
2022-07-02 12:17:14 -07:00
aae02dff9a Merge branch 'main' into list-privacy 2022-07-02 12:16:39 -07:00
94a6675dc4 Pylint fixes 2022-07-02 12:07:22 -07:00
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
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
e0a67f5e18 Uses := syntax in user admin view
I learned this! It's cool.
2022-07-02 11:06:48 -07:00
cbb979242d
Revert "Use async requests for broadcasting" 2022-07-02 10:56:18 -07:00
f68c80dfff Adds line length and import-error to .pylintrc 2022-07-02 10:50:17 -07:00
f5d6a18ce0 Alphabetize list of software options in federated instances list 2022-07-02 10:49:57 -07:00
be76fe1494
Merge pull request #2143 from bookwyrm-social/async_broadcast
Use async requests for broadcasting
2022-07-02 10:23:02 -07:00
827a63b4eb add shelves to guided tour 2022-07-02 18:46:16 +10:00
d1079a1f7d remove console log from guided_tour.js 2022-07-02 18:44:18 +10:00
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
4e2fcc552a
Merge pull request #2160 from bookwyrm-social/locales
Updates locales
2022-06-30 10:37:21 -07:00
beb85ba94f Updates locales 2022-06-30 10:23:25 -07:00
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
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
ff37b77be9 clean up search guided tour code 2022-06-19 11:13:04 +10:00
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
0e06143c31 add guided tour to user shelves 2022-06-18 17:17:22 +10:00
044a173095 remove CSRF from tour scripts 2022-06-18 17:16:43 +10:00
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
5bf835b965 fix typos 2022-06-18 10:49:42 +10:00
d36dd9ce96 guided tour for user groups
Includes adding creating a new group.
2022-06-18 10:48:14 +10:00
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
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
fbf7f37664 user profile tour only on activity tab 2022-06-13 19:36:14 +10:00
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
83e7302bc1 update home feed guided tour 2022-06-13 16:56:07 +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