Gazook89
7c9cc25923
update editor ref's in edit, home, and new pages.
2024-05-16 23:29:30 -05:00
Gazook89
78ce8aa6e3
remove unused ref attributes
...
from editPage, homePage, newPage, and printPage, as well as splitPane. The refs were declared, but never used.
2024-05-16 23:25:22 -05:00
Gazook89
8ae22bdc27
fix refs in codeEditor.jsx
2024-05-16 23:15:54 -05:00
Gazook89
46c14ef23b
fix refs in editor.jsx
...
now has refs `editorWrapper` and `editor`-- the former includes the snippet bar and codemirror editor, and the latter includes only the codemirror editor.
2024-05-16 23:12:10 -05:00
Gazook89
52904eea09
add a comment
2024-04-13 20:47:38 -05:00
Gazook89
ff84ded547
Convert page to functional component
2024-04-13 11:10:43 -05:00
Gazook89
6220e4f63f
Remove unused defaultProps
...
The defaultProps are not used, and may be a relic of previous error page function.
2024-04-13 10:30:04 -05:00
Gazook89
ed85f77c48
ESLint linting (one small whitespace change).
2024-04-06 21:34:04 -05:00
Gazook89
777438fd94
rename props.brew.uiItems to ...accountDetails
...
and destructure props at start of account page component.
`accountDetails` is more descriptive of what set of info is being passed through props to the account page, info which is only *then* displayed as UI items.
2024-04-06 21:23:26 -05:00
Gazook89
08406de5cc
add code comments for each step.
2024-04-06 15:44:19 -05:00
Gazook89
e1599909bc
change name of render method to be more discriptive
...
"UiItems" is not descriptive enough for a render method because most anything that is rendered is part of the UI. This could be left as just `render()`, but `renderAccountPage()` provides best context of what is happening.
2024-04-06 15:30:18 -05:00
Gazook89
e7eda1f5ec
Convert class component to functional component
...
Used OpenAI ChatGPT to do the bulk of this, and then fixed some formatting and looked for obvious mistakes.
2024-04-06 15:26:40 -05:00
Gazook89
9f2aaf01c7
Remove unnecessary Nav components and methods.
2024-04-06 14:50:20 -05:00
Gazook89
3b2a48eabf
remove + 1 from editor height
2024-04-03 22:52:16 -05:00
Gazook89
e324de8f4f
remove 'remake' from font names
2024-04-03 14:09:07 -05:00
Gazook89
7954ae8692
set a min-width on icons, reduce font sizes
2024-04-03 12:57:24 -05:00
Gazook89
59b3038b9b
small style changes to terminal output of server start
2024-03-29 20:42:07 -05:00
Gazook89
31cf8b7d28
add browser-readable address and some styling to log.
2024-03-28 14:58:05 -05:00
Gazook89
323d84974c
Combine nav and navbar styles
...
- moves all the nav.less styling to navbar.less in the `client` directory
- deletes nav.less
- changes the nav.jsx import of styles to navbar.less
- stylelint navbar.less
- added a couple comments about easy future changes.
2024-02-10 22:29:16 -06:00
Gazook89
d648bacd26
Merge branch 'master' into theme-selector-styling
2024-01-13 15:28:51 -06:00
Gazook89
1ca5ba1086
Merge branch 'theme-selector-styling' of https://github.com/Gazook89/homebrewery into theme-selector-styling
2024-01-13 15:19:40 -06:00
Gazook89
7c28f60e0a
fix z-index layering issue
2024-01-13 15:19:38 -06:00
Gazook89
8674bc9da2
change gray to #999
2023-12-23 20:49:59 -06:00
Gazook89
407c35d9f7
switch to gray 'active' color
2023-12-22 23:40:29 -06:00
Gazook89
8575d72f6e
add e.target check to prevent dismissal of select menu
2023-12-22 23:36:46 -06:00
Gazook89
7b8e398891
improve simple styling on theme selector. nest inside toggle.
2023-12-22 22:58:13 -06:00
Gazook89
3cf6691e67
remove width constraint on editors in snippet bar.
2023-09-29 09:31:20 -05:00
Gazook89
8077a91ff7
add foldAll and unfoldAll buttons to snippet bar.
2023-09-29 09:31:20 -05:00
Gazook89
09670b8535
Stylelint the v3 PHB theme.
2023-09-28 00:04:21 -05:00
Gazook89
36f8f39486
Tweak monster H3 sizing and spacing per recommendation
2023-09-28 00:02:57 -05:00
Gazook89
1556cf361a
Check for author in author list before increasing views.
2023-09-27 23:46:38 -05:00
Gazook89
c6ef051232
Stylelint the editor.less file.
2023-09-27 22:56:20 -05:00
Gazook89
2c130d1943
add styling for definition lists in the editor.
2023-09-27 22:46:51 -05:00
Gazook89
f1e6a9a41e
add syntax highlighting for definition lists
2023-09-27 22:46:51 -05:00
Gazook89
8d3329069a
remove logs
2023-08-01 14:16:31 -05:00
Gazook89
2e13eed2ef
revert moving pointerMove & pointerUp, now on splitPane
2023-08-01 13:53:38 -05:00
Gazook89
310faa449d
set editor font size to 16px on touchscreens
...
iOS requires minimum 16px font to prevent auto-zooming into input fields.
2023-08-01 13:29:57 -05:00
Gazook89
0bde336226
move all pointer events to divider, not splitPane
2023-07-31 22:20:27 -05:00
Gazook89
73e44b8d7a
add touch-action css property to splitPane
2023-07-31 15:06:09 -05:00
Gazook89
a8db7353b0
preventDefaults on pointerEvents to prevent some default behavior.
2023-07-30 20:49:16 -05:00
Gazook89
bda8037cd6
change onMouse events to onPointer events for mobile use.
2023-07-30 20:12:16 -05:00
Gazook89
1f173814ec
Add viewport meta tag for mobile view.
2023-07-30 19:40:39 -05:00
Gazook89
deb0e2f85b
add meta viewport tag in header
2023-07-30 15:00:42 -05:00