-
Notifications
You must be signed in to change notification settings - Fork 595
Feat web app landing settings #1255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat web app landing settings #1255
Conversation
@MonkeyCode-AI 干活了 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我是 MonkeyCode AI 编程助手,你可以在 GitHub 任意仓库的任意 Issue 或 PR 中 at @MonkeyCode-AI 来呼唤我。
Pull Request 概述
此 PR 主要添加了一个新的配置项 WebAppLandingSettings
,用于支持 Web App 的着陆页设置。从代码质量和安全性等方面来看,没有发现明显的问题。
Pull Request 变更详情
此 PR 添加了 Web App 着陆页的相关配置及数据结构。
变更详情
文件路径 | 变更类型 | 变更内容 |
---|---|---|
backend/docs/docs.go | 修改 | 添加了 WebAppLandingSettings 的 Swagger 文档定义 |
backend/docs/swagger.json | 修改 | 添加了 WebAppLandingSettings 的 JSON Schema 定义 |
backend/docs/swagger.yaml | 修改 | 添加了 WebAppLandingSettings 的 YAML Schema 定义 |
backend/domain/app.go | 修改 | 定义了 WebAppLandingSettings 数据结构,并将其集成到 AppSettings 和 AppSettingsResp 中 |
backend/usecase/app.go | 修改 | 在应用设置的响应中增加了 WebAppLandingSettings 字段 |
172c9fe
to
775802e
Compare
e8e7615
to
03dab76
Compare
@MonkeyCode-AI review一下 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces web app landing page settings functionality to the PandaWiki system. The changes enable configuration of customizable landing pages for web applications with various content sections including banners, document categories, carousels, and FAQ sections.
Key changes include:
- Added new
WebAppLandingSettings
domain structure with comprehensive configuration options - Enhanced the node recommendation API to support categorized document lists
- Updated app settings to include home page configuration and landing page settings
Reviewed Changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
backend/usecase/node.go | Modified node recommendation logic to support categorized document lists and new response structure |
backend/usecase/app.go | Added node repository dependency and integrated landing page settings into app configuration |
backend/handler/share/node.go | Updated API handler to use new structured response format for node recommendations |
backend/domain/app.go | Added comprehensive WebAppLandingSettings structure and HomePageSetting enum |
backend/consts/app.go | Added HomePageSetting constants for doc and custom page types |
backend/cmd/api/wire_gen.go | Updated dependency injection to include node repository in app usecase |
backend/api/share/v1/node.go | Restructured API types to support categorized node recommendations |
backend/docs/* | Updated API documentation to reflect new response structures |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
03dab76
to
a43ffdc
Compare
PR 标题
Web App 的着陆页设置
相关 Issue
变更类型
请勾选适用的变更类型:
变更内容
详细描述本次 PR 的具体变更内容:
测试情况
描述本次变更的测试情况:
其他说明
任何其他需要说明的事项: