You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by sh...@apache.org on 2024/03/15 02:57:17 UTC
(incubator-answer) branch feat/1.3.0/ui created (now 14b9cb70)
This is an automated email from the ASF dual-hosted git repository.
shuai pushed a change to branch feat/1.3.0/ui
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git
at 14b9cb70 fix: rename click file
This branch includes the following new commits:
new 38270329 Merge branch 'dev' into feat/1.3.0/ui
new 14b9cb70 fix: rename click file
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(incubator-answer) 02/02: fix: rename click file
Posted by sh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
shuai pushed a commit to branch feat/1.3.0/ui
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git
commit 14b9cb70d32b61113573aa34f23152c041eea9b2
Author: shuai <li...@sifou.com>
AuthorDate: Fri Mar 15 10:57:04 2024 +0800
fix: rename click file
---
ui/src/behaviour/{clicks.tsx => useLegalClick.tsx} | 0
ui/src/pages/Users/Register/components/SignUpForm/index.tsx | 2 +-
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/src/behaviour/clicks.tsx b/ui/src/behaviour/useLegalClick.tsx
similarity index 100%
rename from ui/src/behaviour/clicks.tsx
rename to ui/src/behaviour/useLegalClick.tsx
diff --git a/ui/src/pages/Users/Register/components/SignUpForm/index.tsx b/ui/src/pages/Users/Register/components/SignUpForm/index.tsx
index c865f048..0a04c550 100644
--- a/ui/src/pages/Users/Register/components/SignUpForm/index.tsx
+++ b/ui/src/pages/Users/Register/components/SignUpForm/index.tsx
@@ -27,7 +27,7 @@ import type { FormDataType, RegisterReqParams } from '@/common/interface';
import { register } from '@/services';
import userStore from '@/stores/loggedUserInfo';
import { handleFormError } from '@/utils';
-import { useLegalClick } from '@/behaviour/clicks';
+import { useLegalClick } from '@/behaviour/useLegalClick';
interface Props {
callback: () => void;
(incubator-answer) 01/02: Merge branch 'dev' into feat/1.3.0/ui
Posted by sh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
shuai pushed a commit to branch feat/1.3.0/ui
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git
commit 38270329d12cf8ab0e27493eba068b961cff80d6
Merge: 6df4d792 7e1d03e2
Author: shuai <li...@sifou.com>
AuthorDate: Fri Mar 15 10:53:01 2024 +0800
Merge branch 'dev' into feat/1.3.0/ui
i18n/en_US.yaml | 3 ++
i18n/zh_CN.yaml | 3 ++
internal/schema/siteinfo_schema.go | 1 +
internal/service/dashboard/dashboard_service.go | 12 ++++-
.../service/siteinfo_common/siteinfo_service.go | 2 +-
internal/service/user_service.go | 9 +++-
ui/src/behaviour/clicks.tsx | 32 ++++++++++++
ui/src/common/constants.ts | 1 +
ui/src/common/interface.ts | 2 +
ui/src/components/QuestionList/index.tsx | 5 +-
ui/src/hooks/index.ts | 2 +
ui/src/hooks/useSkeletonControl/index.tsx | 61 ++++++++++++++++++++++
ui/src/hooks/useToast/index.tsx | 6 +--
.../Dashboard/components/HealthStatus/index.tsx | 4 +-
ui/src/pages/Admin/General/index.tsx | 13 +++++
ui/src/pages/Questions/Detail/index.tsx | 5 +-
ui/src/pages/Search/index.tsx | 5 +-
ui/src/pages/Tags/index.tsx | 8 ++-
.../Users/Register/components/SignUpForm/index.tsx | 30 +++--------
ui/src/stores/siteInfo.ts | 1 +
20 files changed, 166 insertions(+), 39 deletions(-)