You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/my-book-dropper.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,9 +21,9 @@ Graphics, code snippets, and notes would be useful for each of the following:
21
21
22
22
*_many compact droppers rendered next to each item; these frequently rely on async inner loading to remain performant._
23
23
24
-
## Technical
24
+
## Technical
25
25
26
-
The **My Books Dropper** -- implemented and DOCUMENTED in https://github.com/internetarchive/openlibrary/pull/8019 -- extends the generic Dropper comprised of a primary button and dropdown content. The template for the dropper takes a rendered HTML string for each of these. The template also takes a additional classes as a string, enabling the dropper to be styled as needed.
26
+
The **My Books Dropper** -- implemented and DOCUMENTED in https://github.com/internetarchive/openlibrary/pull/8019 -- extends the generic Dropper comprised of a primary button and dropdown content. The template for the dropper takes a rendered HTML string for each of these. The template also takes a additional classes as a string, enabling the dropper to be styled as needed.
- Role: generic primary-button + dropdown HTML structure the My Books templates use.
51
-
51
+
52
52
Internationalization for the My Books Dropper:
53
53
- openlibrary/i18n/messages.pot and **i18n** language .po files (e.g., hi/messages.po) contain “Want to Read”, “Currently Reading”, and “Already Read” references (helpful to find template usages).
0 commit comments