- Removed unused imports and simplified the use of commands in `useEntryActions`.
- Updated `EntryItemWrapper`, `HeaderActions`, and `MoreActions` components to utilize `CommandActionButton` for better command handling.
- Introduced `CommandDropdownMenuItem` for consistent command representation in dropdowns.
- Enhanced readability and maintainability by reducing redundant code and improving type safety.
Signed-off-by: Innei <tukon479@gmail.com>
* feat: login with password
* chore: auto-fix linting and formatting issues
* feat: show email
* refactor: login form
* chore: update
* fix: show login error
* chore: update
* credential provider
* feat: confirm password
* chore: update
* revokeOtherSessions when update password
* changelog
* typecheck
* chore: update
* chore: update hono
* feat: forget password
* chore: update
* feat: reset password page
* feat: register form
* chore: update
* chore: update
* chore: update
* chore: update
* fix: email login handler
* fix: navigate to login after register
* chore: remove forget password button for now
* chore: update
* feat: forget password page
* chore: update hono
* fix: forget-password link
* feat: login email text
* refactor: enhance login and forget password functionality
- Updated the forget password page to include a back navigation button using MotionButtonBase.
- Refactored the login component to utilize the new Login module, simplifying the structure.
- Adjusted translations for consistency in the login text across English and German locales.
- Improved the useAuthProviders hook to return a more structured AuthProvider interface.
Signed-off-by: Innei <tukon479@gmail.com>
* feat: add form validation and UI enhancements for login-related pages
- Introduced form validation state management in forget-password, register, and reset-password components.
- Updated button states to be disabled when forms are invalid, improving user experience.
- Enhanced UI elements with consistent styling and layout adjustments, including the addition of MotionButtonBase for navigation.
- Improved accessibility and responsiveness of card components.
Signed-off-by: Innei <tukon479@gmail.com>
* feat: enhance login component with dynamic provider buttons
- Added MotionButtonBase for improved button animations and interactions.
- Refactored the rendering logic to conditionally display login options based on the presence of credential providers.
- Introduced a new icon mapping for providers to enhance visual representation.
- Improved layout and styling for better user experience during login.
Signed-off-by: Innei <tukon479@gmail.com>
* feat: add GitHub provider icon and adjust button margin in login component
- Introduced a GitHub icon to the provider icon map for enhanced visual representation.
- Adjusted the margin of the submit button to improve layout consistency.
Signed-off-by: Innei <tukon479@gmail.com>
* chore: update
---------
Signed-off-by: Innei <tukon479@gmail.com>
Co-authored-by: hyoban <hyoban@users.noreply.github.com>
Co-authored-by: DIYgod <i@diygod.me>
Co-authored-by: Innei <tukon479@gmail.com>
Signed-off-by: Innei <tukon479@gmail.com>
* feat: login with password
* chore: auto-fix linting and formatting issues
* feat: show email
* refactor: login form
* chore: update
* fix: show login error
* chore: update
* credential provider
* feat: confirm password
* chore: update
* revokeOtherSessions when update password
* changelog
* typecheck
* chore: update
* chore: update hono
* feat: forget password
* chore: update
* feat: reset password page
* feat: register form
* chore: update
* chore: update
* chore: update
* chore: update
* fix: email login handler
* fix: navigate to login after register
* chore: remove forget password button for now
* chore: update
* feat: forget password page
* chore: update hono
* fix: forget-password link
* feat: login email text
* refactor: enhance login and forget password functionality
- Updated the forget password page to include a back navigation button using MotionButtonBase.
- Refactored the login component to utilize the new Login module, simplifying the structure.
- Adjusted translations for consistency in the login text across English and German locales.
- Improved the useAuthProviders hook to return a more structured AuthProvider interface.
Signed-off-by: Innei <tukon479@gmail.com>
* feat: add form validation and UI enhancements for login-related pages
- Introduced form validation state management in forget-password, register, and reset-password components.
- Updated button states to be disabled when forms are invalid, improving user experience.
- Enhanced UI elements with consistent styling and layout adjustments, including the addition of MotionButtonBase for navigation.
- Improved accessibility and responsiveness of card components.
Signed-off-by: Innei <tukon479@gmail.com>
* feat: enhance login component with dynamic provider buttons
- Added MotionButtonBase for improved button animations and interactions.
- Refactored the rendering logic to conditionally display login options based on the presence of credential providers.
- Introduced a new icon mapping for providers to enhance visual representation.
- Improved layout and styling for better user experience during login.
Signed-off-by: Innei <tukon479@gmail.com>
* feat: add GitHub provider icon and adjust button margin in login component
- Introduced a GitHub icon to the provider icon map for enhanced visual representation.
- Adjusted the margin of the submit button to improve layout consistency.
Signed-off-by: Innei <tukon479@gmail.com>
* chore: update
---------
Signed-off-by: Innei <tukon479@gmail.com>
Co-authored-by: hyoban <hyoban@users.noreply.github.com>
Co-authored-by: DIYgod <i@diygod.me>
Co-authored-by: Innei <tukon479@gmail.com>
- Introduced a new setting to automatically expand long social media entries.
- Removed the ReactVirtuosoItemPlaceholder component, replacing it with null returns for better handling of empty entries.
- Updated relevant settings files and translations for the new feature.
Signed-off-by: Innei <tukon479@gmail.com>
* fix: downgrade electron version from 33.2.1 to 33.2.0
Co-authored-by: Eric Zhu <eric@zhu.email>
* chore: dedupe
* chore: update .npmrc to include package-import-method workaround
* chore: tweak lock
* fix: update node-gyp dependency to use tarball URL instead of git URL
---------
Co-authored-by: Eric Zhu <eric@zhu.email>