This is an automated email from the ASF dual-hosted git repository.
linkinstar pushed a change to branch test
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git
from 1997af87 fix: eslint
add a8e008de feat: Support related and hot questions template
add 916dba3f feat(pager): Show 404 when page is out of range (#1135)
add 23cc755a feat(question): add question linking feature for closing
question
new fe1576ba Merge branch 'dev' 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 | 4 +-
internal/base/pager/pagination.go | 12 ++
internal/controller/question_controller.go | 4 +
internal/controller/tag_controller.go | 5 +
internal/controller/template_controller.go | 78 +++++++++----
internal/service/content/question_service.go | 4 +
internal/service/question_common/question.go | 76 +++++++++++++
internal/service/tag/tag_service.go | 1 -
plugin/importer.go | 124 ++++++++++-----------
ui/src/services/client/question.ts | 5 +-
ui/src/services/common.ts | 10 +-
ui/template/{sidenav.html => hot-question.html} | 37 +++---
ui/template/question-detail.html | 10 +-
ui/template/question.html | 4 +-
.../{sidenav.html => related-question.html} | 37 +++---
15 files changed, 278 insertions(+), 133 deletions(-)
copy ui/template/{sidenav.html => hot-question.html} (50%)
copy ui/template/{sidenav.html => related-question.html} (50%)