3 comments (3 comments)0 reactions (0 reactions)0 assignees (0 assignees)Java29,769 stars (29,769 stars)10,177 forks (10,177 forks)batch import
help wanted
Description
在生产环境,修改者和发布者不是同一个人,他们可能处于不同的办公区。这种情况下,修改者在修改完配置之后,若能预览发布的内容:添加了什么、修改了什么、删除了什么等等(就和点击发布看到的效果是一样的)的话,那么对于发布的内容(运维同事)比较的放心。
这可以提高配置的正确性。
Contributor guide
- Tech stack
- java
- Domain
- backendfrontend
- Issue type
- feature
- DifficultyEstimated implementation difficulty for a new contributor, from 1 for very small changes to 5 for expert-level work.
- 4
- Estimated timeA rough time range for an experienced contributor to investigate, implement, test, and prepare a pull request.
- over 1 week
- Activity statusHow available the issue appears right now: fresh, active, stale, blocked, or waiting on maintainer input.
- stale
- ClarityHow clearly the issue explains the expected change, acceptance criteria, and next step.
- mostly clear
- Prerequisites
- Knowledge of Apollo's architectureJava developmentWeb UI development
- Newbie friendlinessA 1-100 score estimating how approachable this issue is for first-time contributors.
- 25
- Research direction
- This is a feature request for a preview function before releasing configuration changes. The issue describes a scenario where a modificator and publisher are different, and they want to see a diff (additions, modifications, deletions) before publishing. To implement, first understand the current publish flow in Apollo's core modules, such as ConfigFileController and ConfigService. Look for any existing diff endpoints or preview mechanisms. The body implies the preview should be similar to what is shown after clicking publish. Consider implementing a REST endpoint that computes and returns the diff, and update the UI to display it before the final publish action. Since the issue is from 2019 and has no linked PRs, starting with a design proposal in the comments would be appropriate.