1
0
Fork 0
Commit graph

259 commits

Author SHA1 Message Date
Andy Maloney
89c1edac36 Improve Open Graph data for books and add it for lists 2023-01-18 10:30:26 -05: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
105144a026
New approach: Event Delegation
This works as follows:

The div where the input fields for the subjects live got an id. The script now listens to all keypresses in this div, but only does something if it is within an INPUT field. If it is an INPUT field within this div, it looks for keyCode 13. If it is 13, preventDefault() is triggered.  Else nothing happens.
2022-12-20 11:36:14 +01:00
ac8b060d58
Isfdb ID for books and authors (#2482)
* New ID: Audible ASIN

Audible belongs to Amazon BUT they do not share the same IDs. The Audible ASIN of an audiobook is never the same as the Amazon ASIN.

Yeah, I know, Amazon is great. The fact that the ASIN is a good distinction for different works and editions bothers me more than I will ever be willing to admint.

* New ID "ISFDB"

Internet Speculative Ficiton Database ID for books and authors.
Links to the entry if set.

* Added aasin to test

Added aasin to test

* the answer expects more emptxy fields...
2022-12-11 11:33:33 -08:00
8325fbd772
goodreads_key for books editable
The field goodreads_key is now editable.
ID shows in ID section of book.
2022-12-10 10:50:25 +01:00
a80e020344 Add direction to book page fields 2022-12-06 12:26:52 -08:00
8d5192c816 Don't show HR under last author item in confirm view 2022-12-06 12:26:35 -08:00
aecb2d38d6 Visually separate authors when creating book 2022-12-05 17:44:08 -08:00
Vivianne Langdon
ab43134cc0 many minor visual tweaks to fix spacing and usability 2022-11-26 15:29:08 -08:00
Vivianne Langdon
9738c96175 fix css which caused weird spacing for desc. field 2022-11-26 15:29:08 -08:00
81ab08aaa3 Fixes editing links 2022-11-25 08:28:45 -08:00
7c7df99cef Fixes template syntax error 2022-08-05 11:14:14 -07:00
4dd7f88e0a Updates all links that open in new tabs 2022-08-05 10:20:43 -07:00
ab5e4128e6 Merge branch 'main' into tour
Also fixes conflict
2022-07-09 20:54:48 +10:00
4d843b583d move shelve button tour id to prevent duplicates 2022-07-09 10:32:04 +10:00
53a89f69e7 guided tour only for request.user 2022-07-09 10:23:09 +10:00
d4f8a5f448 Fixes links to report modals 2022-07-05 17:43:03 -07:00
0be4fec167 Don't assume that link domains have a known user
This is an edge case, and they OUGHT to have a user, but if the user was
deleted for a remote link, the field won't be able to resolve and the
user will be unset.
2022-07-05 16:51:03 -07: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
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
6d7bb33683 Fixes urls in edit book form 2022-05-19 09:32:01 -07:00
241169650d
Merge pull request #2007 from viviicat/url-names
Add names of books/lists/authors/etc as slugs, redirect to slugified version of the page
2022-05-16 08:04:58 -07:00
Vivianne Langdon
d3992802f2 use a new has-text-default instead of has-text-black 2022-04-08 23:14:30 -07:00
Vivianne
5a2bf64864
Merge branch 'bookwyrm-social:main' into url-names 2022-04-08 21:45:37 -07:00
a701bfcf8e Uses custom date select widget for publication dates 2022-03-19 08:45:10 -07:00
713391f468 Fixes edit book page 2022-03-18 07:28:07 -07:00
2047365d31
Merge pull request #1973 from bookwyrm-social/add-edition
Create another edition for existing work
2022-03-17 08:51:13 -07:00
a684d86d15 Fixes subjects in add edition view 2022-03-17 08:02:59 -07:00
26f0501e2f SHow editions link on all book pages 2022-03-17 07:40:55 -07:00
997a671cfb Consistent style for edit book confirm mode 2022-03-17 07:34:59 -07:00
0cf2c07069
Merge branch 'main' into url-names 2022-03-16 16:32:07 -07:00
68dc5962ee Merge branch 'main' into add-edition 2022-03-16 16:16:55 -07:00
da100cd114 Adds context and fixes whitespace in translation strings
Also updates locales
2022-03-16 16:13:15 -07:00
716e357060 Use plus icon on add field button 2022-03-14 12:54:50 -07:00
35e6dede09 Script to remove input fields 2022-03-14 12:41:41 -07:00
a2f2104a08 Create non-functional UI for editing array fields 2022-03-14 12:41:41 -07:00
bfb8fc800a Moves duplicate field script into its own file 2022-03-14 10:59:24 -07:00
6ddf1aad91
Merge pull request #2000 from Tak/edit-subjects
Allow book subjects to be edited
2022-03-14 09:46:05 -07:00
c7efa23405 Display error message for remote failure 2022-03-13 12:38:29 -07:00
Vivianne
9fa8caba45
Merge branch 'bookwyrm-social:main' into url-names 2022-03-11 19:55:06 -08:00
20453a9977 Delete readthrough and add cover modals 2022-03-10 09:57:55 -08:00
8b4c9483ea Udates sync modals 2022-03-10 09:49:27 -08:00
672eee9c9c Updates add file link modal 2022-03-10 09:41:32 -08:00
1657f28c5e Updates verification modal button positions 2022-03-10 09:30:39 -08:00
Levi Bard
0c0d0b6299 Allow book subjects to be edited 2022-03-09 10:33:59 +01:00
Vivianne Langdon
ebf463fc91 Generation of slugs and new urls to handle slugs
- TODO: redirect to correct slug if not found.
2022-03-02 00:21:23 -08:00
202696f913 Don't show lists a book is already on in add form 2022-02-28 10:03:24 -08:00
b001c31f97 Save author along with added edition 2022-02-25 16:54:03 -08:00
c67f92af46 Add editions view 2022-02-25 16:40:34 -08:00
1d99e455e8 Adds link to add edition to editions page 2022-02-25 16:40:21 -08:00