0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-30 08:52:38 +00:00
Commit Graph

1776 Commits

Author SHA1 Message Date
G.Ambatte
54ec1b8827 Comment out dialog.less reference 2024-06-07 10:50:57 +12:00
Trevor Buckner
7bb92bc790 Refactor slightly 2024-06-06 18:10:04 -04:00
G.Ambatte
8c315980e9 Revert dismiss styling to opacity change on hover 2024-06-06 22:37:01 +12:00
G.Ambatte
359a64968c Nudge popups left 2024-06-06 22:31:05 +12:00
G.Ambatte
ed39852a8f Move dialog[open] to Dialog component styling 2024-06-06 22:00:28 +12:00
G.Ambatte
38fc647495 Change NotificationPopup to inline-block from block 2024-06-06 21:46:34 +12:00
G.Ambatte
fa7b3ea2a0 Shift dismiss button, tweak local storage check 2024-06-06 21:41:33 +12:00
G.Ambatte
9e041d26bd Fix display property on dialog causing close() to not work 2024-06-06 21:40:54 +12:00
G.Ambatte
4f4cef0f6c Tweak LockNotification styling 2024-06-06 12:02:07 +12:00
G.Ambatte
556ded9b08 Tweak Dialog to work with showModal and show LockNotifications 2024-06-06 12:01:55 +12:00
G.Ambatte
0efcd5d258 Shift LockNotification to use Dialog 2024-06-05 13:03:26 +12:00
G.Ambatte
31b6e0c4f6 Show dialog when dismissKey prop is not specified 2024-06-05 12:33:13 +12:00
G.Ambatte
ec514cdb51 Set local storage only if dismissKey prop exists 2024-06-05 07:49:29 +12:00
Trevor Buckner
7272544724 Convert LockNotification.jsx to functional component 2024-06-04 14:53:19 -04:00
Trevor Buckner
99ff7fdf14 linting 2024-06-04 12:32:21 -04:00
Trevor Buckner
491b38c330 Small cleanup of Dialog component
Reduce number of `useEffects` needed
2024-06-04 12:29:13 -04:00
G.Ambatte
24e67e2270 Restore Info Circle to notification 2024-06-04 17:47:17 +12:00
G.Ambatte
5f6d5f53cc Change dismiss button to use fa-dismiss 2024-06-04 17:38:06 +12:00
G.Ambatte
865c5678bc Change all Modal references to Dialog 2024-06-04 17:34:26 +12:00
G.Ambatte
05ba7b41d1 Tweak NotificationPopup 2024-06-04 17:29:34 +12:00
G.Ambatte
e7735e242a Add closeText prop 2024-06-04 17:28:29 +12:00
G.Ambatte
1111d8275c Tweak dismiss button styling 2024-06-04 17:27:45 +12:00
G.Ambatte
f3b01bc75c Fix for modals 2024-06-04 16:51:43 +12:00
G.Ambatte
8685c5cae4 Break Dialog out of NotificationPopup, restore NotificationPopup to original position 2024-06-04 16:26:51 +12:00
David Bolack
510d8f410d Resolve timing issue with liveScroll on linking.
Checks to see if prevProps.livescroll has a proper Bool value. If not, do not brewJump() in editor.componantSDidUpdate.
2024-06-03 22:45:22 -05:00
David Bolack
ea9f9a8c36 Missed a couple of variable repalcements. 2024-06-03 02:39:20 -05:00
David Bolack
cca79d4b17 Merge branch 'master' into Issue_241_Part_II 2024-06-03 02:29:19 -05:00
David Bolack
a715c9e1e6 Store livescrolling in local storage
Small fixes for loading the correct current state.
2024-06-03 02:26:56 -05:00
David Bolack
5442f232d5 Merge branch 'master' into brew_themes_user_selection 2024-05-31 22:32:14 -05:00
G.Ambatte
930709223a Lint fix 2024-06-01 12:42:40 +12:00
G.Ambatte
a6ce36689c Shift NotificationPopup to shared components & update BrewRenderer ref 2024-06-01 12:38:01 +12:00
G.Ambatte
2424d34682 Merge branch 'master' into addLockNotification-#3326 2024-06-01 12:14:04 +12: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
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
Trevor Buckner
ac3168e365 Move "printPage()" to helpers.js for reuse in multiple pages 2024-05-24 19:28:02 -04: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
Trevor Buckner
a227a792c0 Replace print redirect with print contentWindow on all pages 2024-05-22 15:54:01 -04:00
Trevor Buckner
2453b623db tweak names in editor.jsx 2024-05-21 17:45:50 -04:00
Trevor Buckner
783e88b5e6 Merge branch 'master' into pr/3477 2024-05-21 17:42:03 -04:00
Trevor Buckner
e62e185214 Lint a bunch of things 2024-05-21 17:32:17 -04:00
David Bolack
54d2709d6a Merge 2024-05-20 17:58:22 -05:00
David Bolack
916bd5f4d6 Merge branch 'master' into brew_themes_user_selection 2024-05-20 17:56:21 -05:00
David Bolack
835ca0de32 WIP 2024-05-20 16:21:02 -05:00
David Bolack
bacdd65025 Add a CR. 2024-05-19 11:52:16 -05:00
David Bolack
86887b536e Update Jump keys to match parent PR and shift live scrolling to scroll-lock.
Needs non-PC testing.
2024-05-19 11:16:50 -05:00
David Bolack
b7dc47fe9e Add a Live Scroll lock/unlock below Brew/Source Jump buttons.
The button displays the *next* state of the toggle. IE, if the current state is locked ( Live scrolling is active ) the icon is unlock with a corresponding mouse-over.

It may be desirable to invert this.
2024-05-18 22:17:29 -05:00
David Bolack
8ece54701d Add live scrolling to keep the preview in sync with editor position.
This catchs CTRL-HOME, CTRL-END, and mouseclicks.

It tests for changes on arrow keys and enter.

Not sure if it's the best way to do this, but it works quickly on a large, crappy brew.
2024-05-18 01:44:42 -05:00