Trevor Buckner
fdf6acd80a
Lint notificationPopup.less
2024-06-07 11:27:51 -04:00
Trevor Buckner
08b61a6bb4
Cleanup comments. Fix Indentation.
2024-06-07 11:26:47 -04:00
G.Ambatte
33c2bee873
Remove unused useState
2024-06-07 16:05:14 +12:00
G.Ambatte
8bbf2e1ce4
Dim background while Modal displayed
2024-06-07 11:25:34 +12:00
G.Ambatte
476002ae4d
Tweak notificationPopup.less
...
Stop the notification from covering the renderWarning when both are present
2024-06-07 11:01:47 +12:00
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
a87d62c9c2
Tweak page line brightness
...
As per Reddit report (https://redd.it/1d8opte ), on dark CodeMirror themes, it can be difficult to read the folded text between the bright backgrounds of `\page` lines.
This PR tweaks the brightness down slightly by reducing opacity of the background from 75% to 50%.
2024-06-07 09:30:09 +12: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
866548deec
Move renderWarnings to use Dialog
2024-06-06 22:12:13 +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
dependabot[bot]
978c0c4c7b
Bump @babel/preset-react from 7.24.1 to 7.24.7
...
Bumps [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react ) from 7.24.1 to 7.24.7.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.24.7/packages/babel-preset-react )
---
updated-dependencies:
- dependency-name: "@babel/preset-react"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-06 03:01:32 +00: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
Trevor Buckner
423413e41b
Merge branch 'master' into addLockNotification-#3326
2024-06-04 16:23:00 -04: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
Trevor Buckner
4033d3ad99
Merge pull request #3513 from naturalcrit/propagateEventsToNavButtons
...
Pass click events to click handler on Nav items
2024-06-04 10:24:14 -04:00
Trevor Buckner
9285d355b2
Merge branch 'master' into propagateEventsToNavButtons
2024-06-04 10:22:12 -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
dependabot[bot]
e0a457bf40
Bump mongoose from 8.4.0 to 8.4.1
...
Bumps [mongoose](https://github.com/Automattic/mongoose ) from 8.4.0 to 8.4.1.
- [Release notes](https://github.com/Automattic/mongoose/releases )
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Automattic/mongoose/compare/8.4.0...8.4.1 )
---
updated-dependencies:
- dependency-name: mongoose
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-03 03:05:35 +00:00
David Bolack
d20c9c502c
Merge branch 'issue_2994_css_style' of github.com:dbolacksn/homebrewery-broken into issue_2994_css_style
2024-06-01 00:35:39 -05:00
David Bolack
8c5e68e571
Merge branch 'master' into issue_2994_css_style
2024-06-01 00:34:43 -05:00
David Bolack
fbe65a4e93
Resolve indentation errors in TOC Generation, adjust partCover class
...
This fixes an error in the recusion that was failing to add children under existing parents.
Index generation now does not overindent when levels are skipped.
PartCover less code as suggesred by CC.
2024-06-01 00:32:25 -05:00
David Bolack
3875dabfd2
Merge branch 'master' of github.com:naturalcrit/homebrewery
2024-05-31 23:32:39 -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
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