Commit Graph
2911 Commits
Author SHA1 Message Date
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
Stephen Zhou 14b1aa50b8 chore: no drag for react scan 2024-12-13 17:02:26 +08:00
Innei d4dd4fb68d feat: integrate react-query for fetching unread feed items by view
- Added useQuery to fetch unread items based on the current view with a 10-minute refetch interval.
- Updated imports to include necessary hooks and actions for managing unread feed state.

Signed-off-by: Innei <tukon479@gmail.com>
2024-12-13 16:19:48 +08:00
Innei 351f34289f fix: update SupportCreator component styles for better layout
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-13 13:26:42 +08:00
Innei 3e2603c3ea refactor: enhance icon transition handling and improve Zustand store proxy functionality
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-13 13:23:25 +08:00
Stephen Zhou 3365d7afa0 chore: fix lint 2024-12-13 10:56:14 +08:00
Stephen Zhou dbcd56f468 chore: eslint to check package & only run type-aware rules in CI 2024-12-13 10:51:33 +08:00
Stephen Zhou 84698e139b chore: fix user handle type 2024-12-13 09:43:07 +08:00
Stephen Zhou aeaf79522b fix: update user profile 2024-12-13 09:32:01 +08:00
Innei fb08ee964d fix(ci): should upload render assets
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-12 22:18:02 +08:00
Innei 40dc4c6775 chore: toast bg color
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-12 21:17:24 +08:00
XandInnei 008cc98f8a fix: image error ui (#2124)
Co-authored-by: Innei <i@innei.in>
2024-12-12 21:01:21 +08:00
Innei a10b78a79c feat: optimize action pages
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-12 19:32:57 +08:00
DIYgod e9f7ff3176 feat: reduce the size of the list in feed list 2024-12-12 18:48:35 +08:00
DIYgod 4035a6b7b8 fix: feed column pb in mobile 2024-12-12 18:30:41 +08:00
DIYgod 74ba483b0d fix: values().map is undefined 2024-12-12 18:01:52 +08:00
Innei 96b892923a fix: login override provider icon
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-12 18:00:48 +08:00
Innei cae7fa6715 fix: article render container responsive width
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-12 17:57:36 +08:00
Innei 4cde1acbf0 fix: add electron as root package deps
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-12 15:32:34 +08:00
Innei 28a287c974 chore(release): release v0.2.7-beta.0 2024-12-12 15:14:19 +08:00
Innei 4355e316a9 chore: update changelog
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-12 15:13:57 +08:00
DIYgod 3e9a92d16a feat: bigger font size in mobile 2024-12-12 14:11:04 +08:00
Stephen Zhou 7c44d3d3cc chore: react scan style 2024-12-12 11:19:30 +08:00
daianddai 06c7730ad4 chore: Update 3 ja.json (#2107)
* 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

---------

Co-authored-by: dai <dai@users.noreply.github.com>
2024-12-12 11:16:56 +08:00
Stephen Zhou 6d9212ef48 feat: action page (#2006) 2024-12-12 11:16:30 +08:00
X 0ae6ec954a fix: discover form button disable state error (#2113) 2024-12-12 11:16:17 +08:00
Innei 0eed6d1b23 fix(video): open entry url directly on mobile
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-11 19:24:47 +08:00
Innei 9bcb268d3f fix: downgrade electron
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-11 19:22:11 +08:00
Stephen Zhou 8ce4702df3 fix: remove URL.canParse
close #2103
2024-12-11 15:38:13 +08:00
DIYgod b22f32594c fix: types 2024-12-11 00:16:45 +08:00
DIYgod ae390f7afa feat: list preview 2024-12-11 00:08:48 +08:00
Innei 9d62c55d06 fix: try fix appImage icon config
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-10 23:38:23 +08:00
Innei c8db70b6ff fix: try to fix linux appImage icon
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-10 23:14:37 +08:00
Innei bb529c498a fix: break hono types
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-10 22:27:42 +08:00
Innei 9a84ed40a1 fix: filter no picture breaking logic
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-10 22:22:36 +08:00
Innei 2b93dfd58f fix: grid virtualizer on mobile can't show any items
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-10 22:18:56 +08:00
Innei 5bb01006ad fix: modal exiting transition type
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-10 19:17:22 +08:00
Innei 2d31b646fd fix: update electron to resolve present context menu
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-10 19:14:30 +08:00
DIYgod 03858b18b8 feat: add list madeby 2024-12-10 12:43:55 +08:00