Commit Graph
2956 Commits
Author SHA1 Message Date
Stephen Zhou 405ee42e8a fix: auth in electron 2024-12-25 10:02:06 +08:00
Stephen Zhou d42f52d3f1 fix: can not update profile image, close #2267 2024-12-25 09:45:24 +08:00
Stephen Zhou 14784466dd chore: update hono type 2024-12-25 09:29:59 +08:00
DIYgod fedf2af984 fix: login page redirection 2024-12-24 13:39:46 +08:00
Stephen Zhou 36f0d00b07 style: use prettier-plugin-tailwindcss and disable sort in lint 2024-12-23 22:19:45 +08:00
KC 86b57120fc fix(media): adjust inline media size and alignment for better display #2251 (#2254) 2024-12-23 21:34:07 +08:00
Innei 8bf9dd07e5 feat(auth): enhance login modal with email login
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-23 21:32:48 +08:00
Innei d9a26387c5 feat(auth): add credential provider icon and update email translation in login flow
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-23 21:11:24 +08:00
天空的盡頭 f734e6cfa3 feat(locales): update zh-TW translations (#2290) 2024-12-23 20:02:05 +08:00
Ethan Wong 1b0f62fbfe fix: clicking a media should mark the social media item as read (#2297) 2024-12-23 20:00:06 +08:00
DIYgod c5d4e72b6d docs: update badge 2024-12-23 11:59:05 +08:00
Stephen Zhou 626db9a7ed fix: parse auth cookie 2024-12-19 22:22:13 +08:00
DIYgod 8a666e5f1b feat: update text 2024-12-19 21:25:53 +08:00
Stephen Zhou acc628ade1 chore: bring credential provider back 2024-12-19 20:56:55 +08:00
Jerry Wong 2ecd89ffde feat(locales): enhance zh-HK translations (#2208)
* feat: update zh-HK file

* feat: add translation for "show more"
feat: Improve the zh-hk file

* feat: update zh-HK
2024-12-19 16:51:11 +08:00
Innei f9ee93d91f chore(release): release v0.2.8-beta.0 2024-12-19 16:47:44 +08:00
Stephen Zhou 3f91883f5e fix: secure session token 2024-12-19 15:08:26 +08:00
X aab23d3a34 fix(animation): preserve exit transition for smoother animations (#2237) 2024-12-19 13:36:45 +08:00
Innei 49470821dc feat: re-design pwa updated notice
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-19 00:01:50 +08:00
Innei 926b409611 chore: update gitignore
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-18 23:51:58 +08:00
daianddai 88458bd7a3 fix: update Japanese translations for user actions and login prompts (#2188)
* chore: update ja.json

* chore: update 6 ja.json files

chore: update and bump 6 ja.json files.

* chore: update error/ja.json

fix locale/error/ja.json

* chore: auto-fix linting and formatting issues

* chore: update app/ja.json

* chore: update ja.json

* chore: update ja.json

* chore: update ja.json and tested local.

* chore: update ja.json

update settings/ja.json

* feat(i18n): update Japanese locale files with new error messages and dialog options

* chore(vscode): set default formatter for JSON and JSONC files

* Remove JSON and JSONC formatter settings

so sorry, @hyoban 😢

Perhaps my local settings are in. I have restored it to the original. Thanks for your kindness. 
You have always been a great help.

* chore: auto-fix linting and formatting issues

* chore: update ja.json

sync and update settings/ja.json

* chore: update Japanese translations for clarity and consistency

* chore: update some ja.json

* chore(locales): update Japanese translations with new entry actions and settings

* fix: update Japanese translations for user actions and login prompts

---------

Co-authored-by: dai <dai@users.noreply.github.com>
2024-12-17 20:46:23 +08:00
Innei 633c0b235a refactor: streamline entry action handling and replace ActionButton with CommandActionButton (#2194) 2024-12-17 20:33:30 +08:00
Innei 77fa6088fb refactor: streamline entry action handling and replace ActionButton with CommandActionButton
- 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>
2024-12-17 20:07:33 +08:00
Innei 1e12588111 feat: copy profile email
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-17 19:37:06 +08:00
Stephen Zhou ead7b3a2f1 chore: fix merge conflict 2024-12-17 15:36:42 +08:00
Innei 0e86a24b58 Merge remote-tracking branch 'origin/main' into dev
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-17 14:43:55 +08:00
Whitewater faebe6c819 fix: update linkedom to version 0.18.6 (#2185) 2024-12-17 09:54:51 +08:00
Stephen Zhou 3ff8e244a6 chore: remove default category when following from user profile 2024-12-17 09:43:46 +08:00
Stephen Zhou b3ee5727e2 feat: copy button for ai summary 2024-12-17 09:38:50 +08:00
Innei 91724cd223 fix: login with credential (#2183) 2024-12-17 01:10:47 +08:00
Innei 7dcf006735 chore(release): hotfix to release v0.2.7-beta.1 2024-12-17 01:05:42 +08:00
Innei 9d6e7d4436 fix: import
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-17 01:05:01 +08:00
Innei de8d337671 fix(auth): handle optional icon class names for providers in login components
- Updated the LoginModalContent and Login components to safely access provider icon class names using optional chaining.
- Excluded the "credential" provider from the list of displayed auth providers to streamline the login options.

Signed-off-by: Innei <tukon479@gmail.com>
2024-12-17 01:04:12 +08:00
Innei e0661ff2b9 perf(external): hydrate auth providers
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-17 01:03:14 +08:00
Stephen Zhou 3497623b85 feat: email verification
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-17 01:02:45 +08:00
ae0dc2c30d feat: register or login with email and password (#2075)
* 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>
2024-12-17 01:02:17 +08:00
Eric Zhuandericyzhu 0dcfde5ea4 fix: update zh-CN translations and remove unused setting (#2132)
* chore(translations): update zh-CN locale files for accuracy

* chore: auto-fix linting and formatting issues

* update

* update

* chore: auto-fix linting and formatting issues

* update

* update

---------

Co-authored-by: ericyzhu <ericyzhu@users.noreply.github.com>
2024-12-17 00:51:34 +08:00
Innei ffca1301b4 fix: commands in action responsive
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-17 00:45:23 +08:00
Innei d0bf0fb657 refactor: replace useGetCommand with getCommand for improved command retrieval
- Updated the command retrieval method in various hooks and components to use the new getCommand function instead of the deprecated useGetCommand.
- Refactored related tests to ensure type correctness with the new command retrieval approach.
- Enhanced the PictureWaterFallItem component by optimizing mouse event handling with useCallback for better performance.
- Improved animation handling in the PictureWaterFallItem component for smoother transitions.

This change streamlines command access and enhances component performance.

Signed-off-by: Innei <tukon479@gmail.com>
2024-12-17 00:32:28 +08:00
Stephen Zhou edc9e3008e chore: update hono api type 2024-12-16 22:11:29 +08:00
Stephen Zhou d4905fd008 feat: email verification 2024-12-16 22:02:55 +08:00
Innei 8ad40c004e feat(settings): clean web app service worker cache
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-16 20:15:13 +08:00
Stephen Zhou 5ac203f6ee chore: rewrite for vercel 2024-12-16 20:06:39 +08:00
Innei efcbecbd94 perf(external): hydrate auth providers
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-16 19:53:12 +08:00
Stephen Zhou 1d4a1e5a00 chore: use correct tailwind config for apps server for lint 2024-12-16 19:38:29 +08:00
7a6edb4575 feat: register or login with email and password (#2075)
* 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>
2024-12-16 19:13:46 +08:00
天空的盡頭 45e37a07e8 feat(i18n): translations (zh-TW) (#2166) 2024-12-16 18:41:03 +08:00
X ffe535d5e7 fix: feed column flickering (#2143)
* fix: feed column flickering

* fix: update
2024-12-16 18:40:37 +08:00
ktKongTong 0505e3df3f fix(header): improve border visibility for meta display (#2138) 2024-12-14 00:36:15 +08:00
Stephen Zhou cdd76d00d2 chore: update lint message 2024-12-13 19:18:52 +08:00