This is an automated email from the ASF dual-hosted git repository.
linkinstar pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/answer.git
from 282e47c9 docs(README): update Docker command to use version 1.4.5
add ab35a9d4 fix: List avatar size optimization, Views color rule
optimization
add 2372699f Merge branch 'dev' into test
add 7511778b fix: update codemirror/language-data to 6.4.0 and run
prettier
add 5d1b9dcf fix: run prettier to format codes
add 276a22f1 Merge branch 'ui-optimization' into test
add 1fcf0363 fix: development warning
add 8bc6837b fix: Optimize sidebar navigation style
add 308f3cf3 fix: uypdate seo template codes
add 568f1e9f fix: update seo template for questions page
add 105cd37d fix: update seo template for footer template
add 4f0fa4d1 Merge branch 'ui-optimization' into test
add d3fea587 fix: restore code
add bebf5931 style: admin ui style changed
add ff3066d2 style: resole conflict
add 91f831a0 fix: Optimize template code
add fae5f914 Merge branch 'ui-optimization' into test
add 1131b50d fix: Navigation style optimization
add 061f0403 style: Mobile navigation style optimization
add 7b95e5b1 style: mobile side nav style optimization
add 688d2523 style: delete logs
add 3f87e163 Merge branch 'ui-optimization' into test
add 989b2b36 feat: support using search plugin to search similar question
in ask question page
add 3b07b39d remove unused service in question service
add d48b633b fix: get tag with page nil pointer error
add f92860e8 chore: remove duplicated security requirements (#1302)
add 4040450c fix: add ExternalContentDisplay field to Env
add a46b3e06 fix: resolve output path to absolute path in newAnswerBuilder
add 28df3022 fix(i18n): correct typo in link description
add 934f7cea fix: correct hover background color for dark theme in
reaction button
add 840f6bfd feat: add support for multiple timezones and set local
timezone in site info
add d8ab25d5 fix: dedup questions in GetQuestionPage
add ef30ef22 feat(user): user can't login when suspended
add 6495414d fix: Remove suspended user-related route blocking
add 64e2ffe4 fix: clear suspended user information
add 5b7cdce8 Merge branch 'suspended' into feat/1.5.0/user
add 5b9c00c4 Merge remote-tracking branch 'origin/feat/1.5.0/user' into
test
add e8a6c3f1 fix(notification): check user status before sending
notification
add 4bfcabde Merge remote-tracking branch 'origin/feat/1.5.0/user' into
test
add 42fb0428 fix: sidenav style optimization
add d2831a8a fix: change dashbord download url
add b2d5e9ba refactor(controller): optimize embed controller and update
related components
add 32be6c8b Merge remote-tracking branch 'origin/feat/1.5.0/user' into
test
add 36d2904b fix: dashboard unified download link
add 59f0c3fb fix: Username minimum length still set to 4
add 30bac18a fix: add signal exit on build failure
add 6abf8222 feat: add MergeTag functionality to merge tags and update
followers
add 9c0844f0 feat: implement MergeTag functionality with UI and backend
support
add ab04d85d feat: implement migration of followers and tag objects during
tag merge
add 7b459283 optimize for no result
add 9b0a86f4 feat: enhance MergeTagModal with debounced tag search and
replace with searchTag
add 537b7210 feat: refactor tag migration logic to streamline object
relations and remove unused code
add 83145487 fix: Optimize the internal logic of merge tags and ui #1110
add 9f420e67 Merge branch 'dev' into test
add d2efdade feat: implement dark mode support for reaction buttons and
update styles accordingly
add f9362749 update reaction button styles for dark mode and enhance hover
effects
add e4322d62 Merge remote-tracking branch 'origin/dev' into test
add fc3f6384 build: pin mockgen version to v0.5.0
add e9c403c8 docs(Makefile): upgrade version to 1.5.0
add 02c1304b feat(docs): Add Apache License header
No new revisions were added by this update.
Summary of changes:
Makefile | 6 +-
README.md | 2 +-
cmd/command.go | 11 +-
docs/docs.go | 63 ++-
docs/swagger.json | 63 ++-
docs/swagger.yaml | 37 +-
i18n/en_US.yaml | 16 +-
i18n/zh_CN.yaml | 14 +-
internal/base/constant/constant.go | 40 ++
internal/cli/build.go | 2 +-
internal/controller/embed_controller.go | 10 +-
internal/controller/report_controller.go | 2 -
internal/controller/review_controller.go | 1 -
internal/controller/revision_controller.go | 2 +-
internal/controller/tag_controller.go | 33 ++
internal/controller/user_controller.go | 6 +-
internal/entity/revision_entity.go | 4 +-
internal/install/install_from_env.go | 61 +--
internal/migrations/init.go | 22 +-
internal/repo/activity_common/follow.go | 107 +++++
internal/repo/question/question_repo.go | 2 +
internal/repo/tag/tag_rel_repo.go | 55 +++
internal/router/answer_api_router.go | 1 +
internal/schema/tag_schema.go | 16 +
internal/schema/user_schema.go | 2 +-
internal/service/activity_common/follow.go | 1 +
internal/service/content/question_service.go | 31 +-
internal/service/dashboard/dashboard_service.go | 2 +-
.../service/notification/external_notification.go | 14 +
.../notification/invite_answer_notification.go | 6 +-
.../notification/new_answer_notification.go | 6 +-
.../notification/new_comment_notification.go | 6 +-
.../notification/new_question_notification.go | 3 +
internal/service/permission/permission_name.go | 2 +
internal/service/permission/tag_permission.go | 11 +-
internal/service/tag/tag_service.go | 60 ++-
internal/service/tag_common/tag_common.go | 8 +
ui/config-overrides.js | 11 +-
ui/package.json | 7 +-
ui/pnpm-lock.yaml | 296 +++++++------
ui/src/common/_variable.scss | 6 +-
ui/src/common/color.scss | 76 ++--
ui/src/common/constants.ts | 7 +
ui/src/common/sideNavLayout.scss | 15 +-
ui/src/components/AccordionNav/index.css | 20 +-
ui/src/components/AccordionNav/index.tsx | 11 +-
.../Admin => components/AdminSideNav}/index.tsx | 57 +--
ui/src/components/BaseUserCard/index.tsx | 2 +-
ui/src/components/Counts/index.tsx | 4 +-
ui/src/components/Editor/toolItem.tsx | 1 -
ui/src/components/Editor/utils/index.ts | 1 -
ui/src/components/Footer/index.tsx | 49 +--
.../Header/components/NavItems/index.tsx | 8 +-
.../Header/components/SearchInput/index.tsx | 78 ++++
ui/src/components/Header/index.scss | 55 ++-
ui/src/components/Header/index.tsx | 297 +++++--------
.../InitialLoadingPlaceholder/index.scss | 10 +-
.../MobileSideNav/index.scss} | 21 +-
.../index.tsx | 29 +-
ui/src/components/QueryGroup/index.scss | 1 -
ui/src/components/SchemaForm/README.md | 36 +-
ui/src/components/SideNav/index.scss | 38 +-
ui/src/components/SideNav/index.tsx | 113 +++--
ui/src/components/TagSelector/index.scss | 1 -
ui/src/components/TagSelector/index.tsx | 1 -
ui/src/components/index.ts | 4 +
ui/src/index.scss | 19 +-
ui/src/pages/Admin/Answers/index.tsx | 12 +-
ui/src/pages/Admin/Badges/index.tsx | 20 +-
.../Dashboard/components/HealthStatus/index.tsx | 7 +-
ui/src/pages/Admin/Questions/index.tsx | 12 +-
ui/src/pages/Admin/Users/index.tsx | 6 +-
ui/src/pages/Admin/index.scss | 5 -
ui/src/pages/Admin/index.tsx | 88 ++--
ui/src/pages/Layout/index.tsx | 3 -
.../Detail/components/InviteToAnswer/index.scss | 1 -
.../Detail/components/Reactions/index.tsx | 16 +-
ui/src/pages/Questions/Detail/index.scss | 28 +-
ui/src/pages/SideNavLayout/index.tsx | 24 +-
.../Tags/Info/components/MergeTagModal}/index.scss | 9 +-
.../Tags/Info/components/MergeTagModal/index.tsx | 206 +++++++++
ui/src/pages/Tags/Info/index.tsx | 277 ++++++------
.../components/Achievements/index.scss | 2 +-
ui/src/pages/Users/Notifications/index.scss | 2 +-
ui/src/router/routes.ts | 6 +-
ui/src/services/client/tag.ts | 6 +
ui/src/stores/sideNav.ts | 8 -
ui/src/utils/guard.ts | 32 +-
ui/src/utils/request.ts | 1 +
ui/template/footer.html | 26 +-
ui/template/header.html | 18 +-
ui/template/homepage.html | 154 +++----
ui/template/question-detail.html | 312 +++++++-------
ui/template/question.html | 140 ++++---
ui/template/sidenav.html | 35 +-
ui/template/sort-btns.html | 37 +-
ui/template/tag-detail.html | 132 +++---
ui/template/tags.html | 88 ++--
ui/test.html | 463 +++++++++++++++++++++
99 files changed, 2755 insertions(+), 1423 deletions(-)
copy ui/src/{pages/Admin => components/AdminSideNav}/index.tsx (63%)
create mode 100644 ui/src/components/Header/components/SearchInput/index.tsx
copy ui/src/{common/sideNavLayout.scss => components/MobileSideNav/index.scss}
(80%)
copy ui/src/components/{InitialLoadingPlaceholder => MobileSideNav}/index.tsx
(59%)
copy ui/src/{components/CardBadge =>
pages/Tags/Info/components/MergeTagModal}/index.scss (85%)
create mode 100644 ui/src/pages/Tags/Info/components/MergeTagModal/index.tsx
create mode 100644 ui/test.html