0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-02 23:42:44 +00:00
Commit Graph

7871 Commits

Author SHA1 Message Date
Víctor Losada Hernández
f23c0bccbc "Added onKeyPress event handler to zoom input and page number input to blur the target on Enter key press." 2024-05-31 19:46:40 +02:00
Víctor Losada Hernández
69db1e2cb7 change page works, added change zoom via input too 2024-05-31 19:43:09 +02:00
Víctor Losada Hernández
acbdd1b801 "Removed iframe parameter from scrollToPage and getPageContainingElement functions, instead getting iframe element by id 'BrewRenderer' inside the functions." 2024-05-31 17:13:29 +02:00
Víctor Losada Hernández
933dc372d2 "Refactor scrollToPage function to retrieve iframe element internally and add page not found logging" 2024-05-31 17:10:35 +02:00
Víctor Losada Hernández
d012a09346 "Refactor BrewRenderer: updated iframe handling and scrolling logic in useEffect and scrollToPage function" 2024-05-31 17:06:47 +02:00
Víctor Losada Hernández
3cca38302a "Refactor BrewRenderer component: removed unnecessary code, reorganized useEffect hooks, and simplified getPageContainingElement function." 2024-05-31 17:00:03 +02:00
Víctor Losada Hernández
f9352a94c6 "Refactor BrewRenderer: simplify URL param extraction, remove iframe existence checks, and update scrollIntoView behavior" 2024-05-31 16:47:17 +02:00
Víctor Losada Hernández
1add97b1b2 scrolls to page 100 ms after page load 2024-05-31 16:38:08 +02:00
Víctor Losada Hernández
176766dfe7 change in themes.json apparently 2024-05-31 16:25:29 +02:00
Víctor Losada Hernández
6fb185a964 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into pdf-tools 2024-05-31 16:23:55 +02:00
Víctor Losada Hernández
1442414299 scroll to page 2024-05-31 16:23:47 +02:00
Víctor Losada Hernández
f6161abf52 bottom margin to prevent bottom clip 2024-05-29 16:23:32 +02:00
Trevor Buckner
8fc224e9a1 Update themes/V3/5ePHB/snippets.js 2024-05-28 17:33:52 -04:00
Trevor Buckner
98fc007efd Merge branch 'master' into issue_2994_css_style 2024-05-28 17:31:14 -04:00
Trevor Buckner
7fb23c7362 Pass click events to click handler 2024-05-28 16:25:39 -04:00
Trevor Buckner
a2f0546a6d Merge pull request #3491 from naturalcrit/Print-directly-from-edit/share-page
Print directly from Edit/Share/New pages
2024-05-28 16:14:08 -04:00
Trevor Buckner
8a55658bd7 Rename printPage function to printCurrentBrew()
Avoid confusion with other "page" components.
2024-05-28 16:11:18 -04:00
Trevor Buckner
01d60c4520 lint 2024-05-28 13:22:33 -04:00
Trevor Buckner
b4349a0476 iframe hotkey printing only works in Edit/Share/New
Default browser printing still works
2024-05-28 12:51:58 -04:00
Trevor Buckner
695b9916dd Remove old /print page 2024-05-28 12:39:43 -04:00
Víctor Losada Hernández
4543881808 functional zoom 2024-05-28 08:51:23 +02:00
Víctor Losada Hernández
6e0aff525f Updated rate limiter window name 2024-05-25 20:51:44 +02:00
Trevor Buckner
ac3168e365 Move "printPage()" to helpers.js for reuse in multiple pages 2024-05-24 19:28:02 -04:00
Víctor Losada Hernández
748c25aae4 "Added express-rate-limit package and implemented rate limiting for admin API login attempts" 2024-05-24 20:42:25 +02:00
Trevor Buckner
e396211f92 remove duplicate button 2024-05-23 17:13:44 -04:00
Trevor Buckner
4ce68b86ed Fix hotkey printing on focused iframe 2024-05-23 17:09:03 -04:00
Trevor Buckner
24769d69d4 Force browser repaint after closing Print dialog 2024-05-23 17:08:24 -04:00
Víctor Losada Hernández
609f5a3330 more logs 2024-05-23 14:08:37 +02:00
Víctor Losada Hernández
058d70ed82 auto, not scroll 2024-05-23 13:37:23 +02:00
Víctor Losada Hernández
cbdf06f39d oops 2024-05-23 13:35:00 +02:00
Víctor Losada Hernández
6f6c142aa2 fixes scrolling error 2024-05-23 13:32:09 +02:00
Víctor Losada Hernández
72cb8e7db9 remove console logs and add forced space to brew count 2024-05-23 13:18:07 +02:00
David Bolack
fc22e6cd53 Smidge of documentation 2024-05-22 23:17:22 -05:00
David Bolack
62ed026757 Hopeflly final class renaming sessions. 2024-05-22 21:25:10 -05:00
David Bolack
7cef4316d7 Flag Table of Contents as "Experimental" 2024-05-22 21:04:32 -05:00
David Bolack
0df53daa4c Another attempt at clearer classnames for the Table of contents snippet 2024-05-22 17:25:52 -05:00
David Bolack
b496ef3597 Remove completely redundant checks for class based exclusion from ToC Snippet 2024-05-22 16:34:00 -05:00
David Bolack
3ae5d4c1e3 Slight reworking of style naming for Table of Contents
Also uses :is operator for cleaner? looking CSS

Lastly, removes {{partCover}} from automatic exclusion.
2024-05-22 16:30:12 -05:00
Trevor Buckner
a227a792c0 Replace print redirect with print contentWindow on all pages 2024-05-22 15:54:01 -04:00
Víctor Losada Hernández
133295c225 big changes to the UI 2024-05-22 20:10:54 +02:00
Víctor Losada Hernández
54efc18ad4 minimum range text to 3 2024-05-22 19:55:20 +02:00
Víctor Losada Hernández
43f77dc525 fix valid check 2024-05-22 19:49:06 +02:00
David Bolack
d9d4d74b71 Add CR wrappers around addTOC snippet insertions. 2024-05-22 12:44:19 -05:00
David Bolack
af82d71e4f Merge branch 'master' into issue_2994_css_style 2024-05-22 11:52:43 -05:00
David Bolack
f897cbfdf4 Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-05-22 11:51:45 -05:00
David Bolack
1773e77cb9 Fix missed issues with converting to delightfully recursive function 2024-05-22 11:47:12 -05:00
Víctor Losada Hernández
34d37b24f1 "Update text in 'noBrews' div from 'Whenever you want, just start typing...' to 'No search yet'" 2024-05-22 12:33:11 +02:00
Víctor Losada Hernández
1e6427ca56 non selection , as per request 2024-05-22 12:28:57 +02:00
Víctor Losada Hernández
b9152867b8 "Refactor UpdateURL function" 2024-05-22 12:26:47 +02:00
Víctor Losada Hernández
879a1f5a57 fix page size to count 2024-05-22 08:51:49 +02:00