This is an automated email from the ASF dual-hosted git repository.
linkinstar pushed a change to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git
from ad951c8c fix: table responsive
new 283aa092 update
new 80bd8cd0 finish backend api and frontend
new 255f985c add i18n
new 7d2fd400 add transaction when add or update reactions and fix other
issues
new a6838eb4 update frontend to support only activate and deactivate
new 9e76872d add Apache header for wire_gen.go
new d9cca1ba refactor meta_service and meta_common_service and fix other
issues
new 31a6fc9c convert tooltip in backend and refactored the ReactionResp
structure
new caadd99b update
new 8950df85 update styles based on comments
new ae2d4a33 count real users and bug fix
new d5092998 update
new a7c44de0 update header for wire_gen.go
The 13 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 | 13 +-
i18n/en_US.yaml | 25 ++-
i18n/zh_CN.yaml | 14 +-
.../constant/{plugin_config_key.go => meta.go} | 2 +-
internal/base/reason/reason.go | 1 +
internal/controller/controller.go | 1 +
internal/controller/meta_controller.go | 82 ++++++++
internal/entity/meta_entity.go | 1 +
internal/repo/meta/meta_repo.go | 34 +++-
internal/router/answer_api_router.go | 9 +
.../schema/{sitemap_schema.go => meta_schema.go} | 27 ++-
internal/service/activity/activity.go | 9 +-
internal/service/content/question_service.go | 6 +-
internal/service/meta/meta_service.go | 224 ++++++++++++++++-----
.../meta_common_service.go} | 31 +--
internal/service/mock/siteinfo_repo_mock.go | 19 --
internal/service/provider.go | 4 +-
internal/service/question_common/question.go | 12 +-
ui/src/common/interface.ts | 13 ++
ui/src/components/Comment/index.tsx | 219 ++++++++++----------
.../Detail/components/Reactions/index.tsx | 154 ++++++++++++++
ui/src/pages/Questions/Detail/index.scss | 52 ++++-
ui/src/services/common.ts | 10 +
23 files changed, 738 insertions(+), 224 deletions(-)
copy internal/base/constant/{plugin_config_key.go => meta.go} (95%)
create mode 100644 internal/controller/meta_controller.go
copy internal/schema/{sitemap_schema.go => meta_schema.go} (55%)
copy internal/service/{meta/meta_service.go =>
meta_common/meta_common_service.go} (63%)
create mode 100644 ui/src/pages/Questions/Detail/components/Reactions/index.tsx