This is an automated email from the ASF dual-hosted git repository.
shuai pushed a change to branch test
in repository https://gitbox.apache.org/repos/asf/answer.git
from 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
new 4f0fa4d1 Merge branch 'ui-optimization' into test
The 1 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.
Summary of changes:
cmd/wire_gen.go | 24 +-
docs/docs.go | 19 --
docs/swagger.yaml | 17 --
i18n/en_US.yaml | 1 +
i18n/zh_CN.yaml | 1 +
internal/service/mock/siteinfo_repo_mock.go | 19 --
ui/config-overrides.js | 11 +-
ui/package.json | 1 +
ui/pnpm-lock.yaml | 21 ++
ui/src/common/constants.ts | 7 +
ui/src/common/sideNavLayout.scss | 15 +-
ui/src/components/AccordionNav/index.css | 18 ++
ui/src/components/AccordionNav/index.tsx | 11 +-
ui/src/components/AdminSideNav/index.scss | 17 ++
ui/src/components/AdminSideNav/index.tsx | 64 ++++
ui/src/components/Customize/index.tsx | 1 +
ui/src/components/Footer/index.tsx | 49 ++-
ui/src/components/Header/index.scss | 7 +-
ui/src/components/Header/index.tsx | 311 ++++++++++---------
ui/src/components/MobileSideNav/index.scss | 7 +
ui/src/components/MobileSideNav/index.tsx | 26 ++
ui/src/components/SideNav/index.scss | 38 +--
ui/src/components/SideNav/index.tsx | 113 +++----
ui/src/components/index.ts | 4 +
ui/src/pages/Admin/Answers/index.tsx | 6 +-
ui/src/pages/Admin/Badges/index.tsx | 20 +-
ui/src/pages/Admin/Questions/index.tsx | 6 +-
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 -
ui/src/pages/SideNavLayout/index.tsx | 24 +-
ui/src/stores/sideNav.ts | 8 -
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 | 142 +++++----
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 | 443 ++++++++++++++++++++++++++++
43 files changed, 1442 insertions(+), 913 deletions(-)
create mode 100644 ui/src/components/AdminSideNav/index.scss
create mode 100644 ui/src/components/AdminSideNav/index.tsx
create mode 100644 ui/src/components/MobileSideNav/index.scss
create mode 100644 ui/src/components/MobileSideNav/index.tsx
create mode 100644 ui/test.html