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 59b21984 fix: Optimization of request parameters
add 666ab706 feat(ui): add min values for inputs and context-based
keyboards for inputs
add 157dbfd0 feat(ui): add types, logic and defaults for min, max value of
input component of form
add 54e602c5 fix(ui): refactor number input props (min,max)
add 9a7eb0f4 fix(service): set default language to "en_US" if invalid
language is provided
add 09b6b34b fix(comment): decode CommentID using DeShortID for consistency
add a15dd415 refactor(internal): compile regex once while clearing text
add ce053ccf fix: multi byte run boundary for cut long title
add 0777291e fix(ui): null pointer access if get branding fails
add bc629db1 chore(deps): bump mockgen to 0.6.0 for go1.25 support
add fc2a1d8a fix(answer): update QuestionID handling in answer update
process
new 5c2c63f8 Merge branch 'dev' into test
new b54e734e fix: footer layout adjustment
new d67c7e2c fix: footer layout adjustment
The 3 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:
Makefile | 4 +-
README.md | 2 +-
cmd/wire_gen.go | 8 +--
docs/docs.go | 32 ++++++++----
docs/swagger.json | 32 ++++++++----
docs/swagger.yaml | 28 ++++++----
go.mod | 14 ++---
go.sum | 36 ++++++-------
i18n/en_US.yaml | 5 +-
i18n/zh_CN.yaml | 4 +-
internal/controller/answer_controller.go | 1 -
internal/controller/comment_controller.go | 1 +
internal/router/ui.go | 6 +--
.../siteinfo_service_test.go => router/ui_test.go} | 48 +++++++++--------
internal/schema/answer_schema.go | 1 -
internal/service/content/answer_service.go | 19 ++++---
internal/service/siteinfo/siteinfo_service.go | 6 +--
pkg/htmltext/htmltext.go | 60 +++++++++++-----------
pkg/htmltext/htmltext_test.go | 22 ++++++++
ui/src/common/sideNavLayout.scss | 10 ++--
ui/src/components/Footer/index.tsx | 56 ++++++++++----------
ui/src/components/SchemaForm/components/Input.tsx | 21 ++++++++
ui/src/components/SchemaForm/index.tsx | 12 +++++
ui/src/components/SchemaForm/types.ts | 12 +++++
ui/src/index.scss | 2 -
ui/src/pages/Admin/Privileges/index.tsx | 2 +
ui/src/pages/Admin/Write/index.tsx | 10 ++++
ui/src/pages/Admin/index.tsx | 8 ++-
ui/src/pages/SideNavLayout/index.tsx | 8 ++-
ui/template/footer.html | 34 ++++++------
30 files changed, 321 insertions(+), 183 deletions(-)
copy internal/{service/siteinfo_common/siteinfo_service_test.go =>
router/ui_test.go} (56%)