This is an automated email from the ASF dual-hosted git repository.

kumfo pushed a change to branch feat/1.8.0/menu
in repository https://gitbox.apache.org/repos/asf/answer.git


    from d65e257f feat(docs): add Apache License 2.0 header to wire_gen.go
     add b5ae2d03 fix:  admin/themes add layout config
     add 2ae309ab fix:  delete log
     add 92d853ce fix: add i18n
     add f92d3a34 fix: update zh_CN.ymal content
     add c8881889 fix: admin.themes layout initial value
     add d3a29e7a feat(theme): add layout options for site theme configuration
     add 462931a3 Merge remote-tracking branch 'origin/feat/1.7.2/layout' into 
test
     add cf7f601c Merge branch 'test' of github.com:apache/answer into test
     add 3000e3ae Fix/translation (#1460)
     add 9ef55ca0 feat(editor): integrate TipTap WYSIWYG editor with Markdown 
support and enhance editor functionalities
     add 762773ce chore: clean up pnpm-lock.yaml by removing unused 
dependencies and updating existing ones
     add 3d437005 refactor(editor): streamline editor component structure and 
enhance command methods
     add 498c1421 feat(editor): rename WYSIWYG editor to Rich editor and 
implement new RichEditor component
     add d87726bd refactor(editor): enhance editor components with base props 
and initialization logic
     add 7a4b57d1 refactor(editor): improve editor component functionality and 
code clarity
     add ffa8dc2b feat(editor): update TipTap dependencies and enhance table 
functionality
     add 1c2c7331 feat(editor): enhance plugin system and improve command 
methods
     add 0bad2c72 chore(dependencies): update TipTap packages to version 3.13.0
     add aa7e19b8 Remove TipTap editor utility files including commands, 
constants, error handling, events, position conversion, and table extension to 
streamline the editor's functionality and reduce code complexity.
     add 78714e83 feat(editor): implement image upload functionality with 
validation and hooks
     add 762e8a73 fix(gitignore): correct node_modules entry and remove 
specific plugin exceptions
     add 9e236f65 Merge remote-tracking branch 'origin/feat/1.7.2/ui' into test
     add d5c07f18 Merge remote-tracking branch 'origin/dev' into test
     add d7d692bb fix: Fixed-layout navigation aligns with the width of the 
main content.
     add 6b834c74 Merge remote-tracking branch 'origin/dev' into test
     add f05f1eb8 feat(menu): update admin menu settings to include questions, 
tags, and advanced options
     add 9efa9471 feat(menu): update admin menu settings to include questions, 
tags, and advanced options
     add c2a0bee7 feat(siteinfo): add users settings endpoint and update 
interface settings structure
     add 3264fdd1 feat(siteinfo): refactor site legal and security settings to 
use new policies and security endpoints
     add 128c44f5 feat(menu): update schema to remove deprecated min_tags and 
add MinimumTags to SiteQuestionsReq
     add 63690569 feat(siteinfo): fix GetSiteTag method to correctly assign 
response from siteInfoCommonService
     add 18b76f3e feat(siteinfo): add site_security to response structure and 
update related schemas
     add 73cfbace feat(menu): deprecate default_avatar and gravatar_base_url in 
SiteInterfaceReq schema
     add 86c2d64d feat(docs): add Apache License 2.0 header to docs.go and 
swagger.yaml
     add f3dddfeb Merge remote-tracking branch 'origin/feat/1.8.0/menu' into 
feat/1.8.0/menu

No new revisions were added by this update.

Summary of changes:
 i18n/en_US.yaml                                    |   4 +
 i18n/zh_CN.yaml                                    |  15 +-
 internal/base/constant/site_info.go                |   3 +
 internal/migrations/init.go                        |   2 +-
 internal/migrations/v5.go                          |   3 +-
 internal/schema/siteinfo_schema.go                 |   2 +
 internal/service/mock/siteinfo_repo_mock.go        |  19 --
 internal/service/siteinfo/siteinfo_service.go      |   3 +
 .../service/siteinfo_common/siteinfo_service.go    |   4 +
 ui/.gitignore                                      |   4 +-
 ui/pnpm-lock.yaml                                  | 371 +++++++++++++++------
 ui/src/common/interface.ts                         |   1 +
 ui/src/components/Customize/index.tsx              |  35 ++
 ui/src/components/Editor/EditorContext.ts          |   4 +-
 ui/src/components/Editor/MarkdownEditor.tsx        |  98 ++++++
 ui/src/components/Editor/ToolBars/blockquote.tsx   |  21 +-
 ui/src/components/Editor/ToolBars/bold.tsx         |  10 +-
 ui/src/components/Editor/ToolBars/chart.tsx        | 181 ----------
 ui/src/components/Editor/ToolBars/code.tsx         |  32 +-
 ui/src/components/Editor/ToolBars/file.tsx         |  15 +-
 ui/src/components/Editor/ToolBars/heading.tsx      |  24 +-
 ui/src/components/Editor/ToolBars/hr.tsx           |  11 +-
 ui/src/components/Editor/ToolBars/image.tsx        | 199 ++++-------
 ui/src/components/Editor/ToolBars/indent.tsx       |  15 +-
 ui/src/components/Editor/ToolBars/index.ts         |   2 -
 ui/src/components/Editor/ToolBars/italic.tsx       |  11 +-
 ui/src/components/Editor/ToolBars/link.tsx         |  27 +-
 ui/src/components/Editor/ToolBars/ol.tsx           |  19 +-
 ui/src/components/Editor/ToolBars/outdent.tsx      |  16 +-
 ui/src/components/Editor/ToolBars/table.tsx        |  67 +---
 ui/src/components/Editor/ToolBars/ul.tsx           |  19 +-
 ui/src/components/Editor/hooks/useImageUpload.ts   | 129 +++++++
 ui/src/components/Editor/index.scss                |  36 ++
 ui/src/components/Editor/index.tsx                 | 165 ++++++---
 ui/src/components/Editor/toolItem.tsx              |  42 +--
 ui/src/components/Editor/types.ts                  |  56 +++-
 .../components/Editor/utils/codemirror/adapter.ts  |  59 ++++
 ui/src/components/Editor/utils/codemirror/base.ts  | 110 ++++++
 .../components/Editor/utils/codemirror/commands.ts | 279 ++++++++++++++++
 .../components/Editor/utils/codemirror/events.ts   |  98 ++++++
 ui/src/components/Editor/utils/extension.ts        | 255 --------------
 ui/src/components/Editor/utils/index.ts            |  32 +-
 ui/src/components/Header/index.scss                |  21 ++
 ui/src/components/Header/index.tsx                 |   8 +-
 ui/src/components/PluginRender/index.tsx           | 105 ++++--
 ui/src/pages/{ => 404}/403/index.tsx               |   0
 ui/src/pages/Admin/Themes/index.tsx                |  12 +
 ui/src/pages/Layout/index.tsx                      |  11 +-
 ui/src/pages/Questions/Detail/index.scss           |   9 +-
 ui/src/stores/themeSetting.ts                      |   2 +
 ui/src/utils/pluginKit/index.ts                    | 143 +++++++-
 ui/src/utils/pluginKit/interface.ts                |   2 +
 52 files changed, 1740 insertions(+), 1071 deletions(-)
 create mode 100644 ui/src/components/Editor/MarkdownEditor.tsx
 delete mode 100644 ui/src/components/Editor/ToolBars/chart.tsx
 create mode 100644 ui/src/components/Editor/hooks/useImageUpload.ts
 create mode 100644 ui/src/components/Editor/utils/codemirror/adapter.ts
 create mode 100644 ui/src/components/Editor/utils/codemirror/base.ts
 create mode 100644 ui/src/components/Editor/utils/codemirror/commands.ts
 create mode 100644 ui/src/components/Editor/utils/codemirror/events.ts
 delete mode 100644 ui/src/components/Editor/utils/extension.ts
 rename ui/src/pages/{ => 404}/403/index.tsx (100%)

Reply via email to