Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

manage journals through sidebar + context menu #209

Merged
merged 1 commit into from
Jul 20, 2024

Conversation

cloverich
Copy link
Owner

@cloverich cloverich commented Jul 19, 2024

  • Move journal CRUD from its own page to the sidebar, driven by a context menu
  • Add radix dependencies (colors, context menu, dialog)
  • Implement a Sidesheet (shadcn) and replace evergreen-ui based sidesheet

Goal was to make journal management a bit more folder nav like, with a sub-goal of using it to get a basic context menu going. Also realized evergreen-ui has become unmaintained, which was motivation to begin moving it out. Will replace with radix and shadcn or fully custom components, as part of design sprint.

This PR intentionally does minimal design wise, and focuses on getting it working. Moved state over to mobx after some back and forth; uncommitted on mobx or even naming patterns at this point, but going to try hard and ignore that for a while, focusing on features and design instead.

Action buttons from the prior screen moved to context menu.

Screenshot 2024-07-19 at 10 26 43 PM

Renaming / Add uses an inline input to toggle only journal feature you edit (the name). Also added some validation to name (max length, empty string check).

Screenshot 2024-07-19 at 10 27 08 PM

Closes #187

@cloverich cloverich force-pushed the cloverich/sidebar-context branch 3 times, most recently from 730060d to cd5a715 Compare July 20, 2024 05:20
@cloverich cloverich changed the title wip: sidebar context menu add sidebar context menu Jul 20, 2024
- Move journal CRUD from its own page to the sidebar, driven by a context menu
- Remove journal management page / header link
- Add radix dependencies (colors, context menu, dialog)
- Implement a Sidesheet (shadcn) and replace evergreen-ui based sidesheet
- Add basic name validation for journals
@cloverich cloverich force-pushed the cloverich/sidebar-context branch from cd5a715 to cfb5373 Compare July 20, 2024 05:31
@cloverich cloverich changed the title add sidebar context menu manage journals through sidebar + context menu Jul 20, 2024
@cloverich cloverich merged commit 1819844 into master Jul 20, 2024
2 checks passed
@cloverich cloverich deleted the cloverich/sidebar-context branch July 20, 2024 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move journals management to context menu
1 participant