Skip to content
Merged

V6.7 #1741

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
160 commits
Select commit Hold shift + click to select a range
b700863
feat: add platform resource API service and DVA model
Mar 16, 2026
68fb0cb
feat: add storage page component
Mar 16, 2026
2d82939
feat: add cluster resources page and routes
Mar 16, 2026
702c490
fix: correct service import path in platformResources model
Mar 16, 2026
042d3f6
feat: add platform resources menu entry to enterprise and team sidebar
Mar 16, 2026
d43af86
Revert "feat: add platform resource API service and DVA model"
Mar 16, 2026
c4619a8
feat: add global switch UI and menu entries
Mar 17, 2026
d216e6a
feat: redesign PlatformResources and ResourceCenter pages
Mar 17, 2026
35638e4
fix: fix data not showing for storageclasses/pvs and 500 on platform-…
Mar 17, 2026
8bd7051
fix: run failure
Mar 17, 2026
bf594c4
feat: add cluster resource instance CRUD and fix PV tab page refresh
Mar 17, 2026
aba09cb
feat: sort platform resource types with common kinds first
Mar 17, 2026
7dd6542
feat: add bind-existing-namespace tab to CreateTeam dialog
Mar 18, 2026
19c9c9b
feat: change resource center tabs layout to vertical sidebar
Mar 18, 2026
1e52fae
feat: rename platform resources to storage management and add team re…
Mar 18, 2026
bef9e31
fix: correct response path for clusterNamespaces (bean.list not bean.…
Mar 18, 2026
7428f36
fix: fix bind namespace team creation not sending team_alias and bind…
Mar 18, 2026
791d025
feat: redesign platform resources workspace
Mar 18, 2026
52d3ae4
feat: enhance resource center workload details
Mar 18, 2026
61e8b67
fix: rename workspace navigation labels
Mar 18, 2026
6d29690
fix: polish resource management ui
Mar 18, 2026
29a539a
fix: enable scrolling in resource catalog
Mar 19, 2026
fe10282
feat: redesign resource center workspace
Mar 19, 2026
a45a0fb
fix: load team resource toggle on workspace refresh
Mar 19, 2026
f4d0dbf
refactor: streamline yaml resource modal
Mar 19, 2026
4b02a2a
fix: improve resource center navigation flow
Mar 19, 2026
d28e9e5
feat: simplify platform resource catalog interactions
Mar 19, 2026
d6cbc39
refactor: polish resource center sidebar workspace
Mar 19, 2026
da76392
fix: simplify resource center layout
Mar 19, 2026
d7709b5
docs: add helm release create modes design
Mar 19, 2026
b09b45d
feat: add helm release install modes to resource center
Mar 19, 2026
b2babe9
fix: show helm chart icons in resource center
Mar 19, 2026
30da0a1
refactor: simplify external helm release form
Mar 19, 2026
1ba03a2
fix: add workload detail back navigation
Mar 19, 2026
dc5321a
fix: add pod detail back navigation
Mar 19, 2026
e07df90
feat: add helm chart preview flow to resource center
Mar 19, 2026
d61485a
fix: remove duplicate helm install button
Mar 19, 2026
adcd38a
fix: refine resource center actions
Mar 19, 2026
005437a
refactor: align helm preview flow with legacy install page
Mar 19, 2026
d480a19
refactor: simplify helm values editor in resource center
Mar 19, 2026
7349e33
fix: remove yaml action from workload list
Mar 19, 2026
79e9121
fix: support yaml editing for platform storage resources
Mar 19, 2026
8dc4cf7
fix: handle helm preview failures in resource center
Mar 19, 2026
f04724a
fix: avoid resource center toolbar clipping
Mar 19, 2026
4b6f4c2
fix: remove duplicate helm install fields in resource center
Mar 19, 2026
8c05f02
fix: prevent resource center table clipping
Mar 19, 2026
a75407c
fix: normalize helm release data in resource center
Mar 19, 2026
807dcfb
fix: unify resource center panel layout
Mar 19, 2026
20f1df8
docs: add helm release lifecycle design
Mar 19, 2026
d45dc9a
feat: add helm release upgrade and rollback
Mar 20, 2026
bd8767f
fix: resolve resource center runtime errors
Mar 20, 2026
2f69418
refactor: remove duplicate storage summary cards
Mar 20, 2026
1670f0b
fix: improve resource center helm actions
Mar 20, 2026
ef9a49f
fix: normalize resource center metric cards
Mar 20, 2026
a2e96f7
docs: add helm release detail page design
Mar 20, 2026
af6bbba
feat: add helm release detail page
Mar 20, 2026
bcdb9d6
feat: route helm upgrades by source
Mar 20, 2026
c96a658
fix: initialize helm upgrade modal safely
Mar 20, 2026
ded7697
fix: streamline helm install values flow
Mar 20, 2026
aae5fad
fix: avoid helm detail refresh false error
Mar 20, 2026
a842692
fix: prefer root helm values
Mar 20, 2026
6ee9796
fix: remove helm upgrade preview step
Mar 20, 2026
88b847a
feat: convert helm install modal to step wizard
Mar 20, 2026
c7aebe7
fix: streamline helm wizard source step
Mar 20, 2026
a8dfdb8
fix: reduce helm chart selection whitespace
Mar 20, 2026
c0a127e
feat: add service detail page
Mar 20, 2026
8e0eda5
feat: add service nodeport access links
Mar 20, 2026
7fa9d5a
feat: add app version experience
Mar 24, 2026
77b1674
fix: always route snapshot entry to app version
Mar 24, 2026
c8a729b
feat: route app snapshot through share config
Mar 24, 2026
f8208dd
fix: polish app version upgrade flow
Mar 24, 2026
77c1563
feat: show snapshot components in version timeline
Mar 24, 2026
194defb
fix: allow rollback from latest snapshot
Mar 24, 2026
24a7964
feat: export app version snapshots
Mar 24, 2026
c12770f
docs: add app version delete design
Mar 24, 2026
3e803f2
feat: support deleting historical app snapshots
Mar 24, 2026
0403fde
fix: simplify snapshot version form
Mar 24, 2026
054b060
fix: simplify snapshot create form
Mar 24, 2026
b81ef10
fix: keep snapshot form open on no change
Mar 24, 2026
09082b7
fix: disable stale snapshot creation
Mar 24, 2026
75baf2e
fix: inline app publish flow into version page
Mar 24, 2026
e7a6036
fix: refresh app version rollback state
Mar 24, 2026
9f5cd07
fix: remove redundant snapshot timeline subtitle
Mar 24, 2026
00385ef
fix: update snapshot cancel button copy
Mar 24, 2026
9e351bb
fix: consolidate app version publish actions
Mar 24, 2026
290f3c3
fix: move app version publish records into drawer
Mar 24, 2026
c359c5a
feat: show app version field diff details
Mar 24, 2026
3ef3beb
docs: add app version runtime state timeline design
Mar 24, 2026
93a6e98
feat: show app version runtime state above snapshot baseline
Mar 24, 2026
40ddc85
feat: polish snapshot and publish workspace
Mar 24, 2026
326b3a0
fix: improve app version diff review
Mar 24, 2026
08bca3f
fix: remove top publish action from app version
Mar 25, 2026
6fb865a
fix: reduce publish page layout chrome
Mar 25, 2026
bc9ee56
fix: refresh app version timeline after rollback
Mar 25, 2026
fcd89b4
feat: style change (#1719)
xuzhonglin12138 Mar 25, 2026
b50724f
fix: neutralize rollback event wording
Mar 25, 2026
1701482
fix: support app template export from publish records
Mar 25, 2026
a2a3b66
feat: support cnb build strategy create flow and buildsource ui
zzzhangqi Mar 25, 2026
4318f57
fix: add app version rollback confirmation
Mar 25, 2026
3bc83a7
fix: improve app rollback status drawer
Mar 25, 2026
154c7f9
fix: streamline app rollback status layout
Mar 25, 2026
c29cd2a
fix: improve app publish page layout
Mar 25, 2026
9d84410
fix: exclude optional resources from publish readiness
Mar 25, 2026
5dc7555
fix: keep app version timeline in creation order
Mar 25, 2026
e6df8ef
fix: remove template action from app overview
Mar 25, 2026
906fd96
fix: restore team app template scope options
Mar 25, 2026
1e494c0
fix: route resource center pod logs through sse proxy
Mar 25, 2026
5c83a3f
fix: simplify app publish form flow
Mar 25, 2026
9e11189
fix: keep timeline actions aligned
Mar 25, 2026
a69ae38
fix: avoid export status errors on app version delete
Mar 25, 2026
177eaf2
fix: restore resource center pod log route
Mar 25, 2026
92389b9
fix: improve app version diff readability
Mar 26, 2026
8f3f032
fix: parse scaling config diff details
Mar 26, 2026
09e2d6e
fix: ignore stale helm preview responses
Mar 26, 2026
df21bf2
feat: Team homepage reconstruction (#1720)
xuzhonglin12138 Mar 26, 2026
4e6671b
fix: stop showing loading for silent pod logs
Mar 26, 2026
0af6e87
V6.7.0 release dev (#1721)
xuzhonglin12138 Mar 26, 2026
2ef7fd2
fix: simplify app version diff summaries
Mar 26, 2026
36adc6e
feat: sync source build form params with cnb build config
zzzhangqi Mar 27, 2026
7db98a8
fix: use build strategy aware lang version queries in ui
zzzhangqi Mar 27, 2026
2917239
feat: align java cnb forms with bp contract
zzzhangqi Mar 28, 2026
bca8513
feat: add tooltip to java cnb
zzzhangqi Mar 28, 2026
57e2d8b
feat: redesign python cnb build form
zzzhangqi Mar 28, 2026
af5b0ce
refactor: simplify python cnb build form
zzzhangqi Mar 29, 2026
e6d3a49
feat: redesign golang cnb build form
zzzhangqi Mar 29, 2026
8347bcb
feat: add dotnet cnb build form
zzzhangqi Mar 29, 2026
0adcc83
V6.7.0 release dev (#1722)
xuzhonglin12138 Mar 30, 2026
d76ca17
fix: simplify app version publish page
Mar 30, 2026
da0616a
feat: simplify php cnb build form
zzzhangqi Mar 30, 2026
1f46a4c
fix: sync auto issuance toggles with certs
Mar 30, 2026
e47b0ce
Merge branch 'V6.7' into dev-migration-cnb
zzzhangqi Mar 31, 2026
94e1487
Merge pull request #1723 from goodrain/dev-migration-cnb
zzzhangqi Mar 31, 2026
7a98104
fix: align python cnb fallback defaults
zzzhangqi Apr 1, 2026
5e6c7fd
feat: style change
xuzhonglin12138 Apr 1, 2026
2e47d24
refactor: rely on cnb version policy from api
zzzhangqi Apr 1, 2026
bcf9f97
Merge pull request #1724 from xuzhonglin12138/V6.7-style
zzzhangqi Apr 1, 2026
c4f2c2d
Merge pull request #1725 from zzzhangqi/V6.7-0331
zzzhangqi Apr 1, 2026
ce61578
V6.7.0 release dev (#1726)
ZhangSetSail Apr 1, 2026
14a401d
fix: del useless document
zzzhangqi Apr 1, 2026
a3771e6
Merge pull request #1727 from zzzhangqi/V6.7-0401
zzzhangqi Apr 1, 2026
0644875
fix: preserve team resource view menu state (#1728)
ZhangSetSail Apr 1, 2026
c0f24f4
Merge pull request #1730 from ZhangSetSail/040103
ZhangSetSail Apr 1, 2026
2a6fa49
Revert "Merge pull request #1730 from ZhangSetSail/040103"
zzzhangqi Apr 1, 2026
04e3287
Merge pull request #1731 from goodrain/revert-1730-040103
zzzhangqi Apr 1, 2026
48103ca
refactor: remove package manager version fields from python cnb config
zzzhangqi Apr 1, 2026
a13e189
Merge pull request #1732 from zzzhangqi/V6.7-040122
zzzhangqi Apr 1, 2026
dd36bce
fix: Fixed the issue where k8s resources were not displayed for ordin…
xuzhonglin12138 Apr 2, 2026
5d3d548
V6.7 style (#1734)
xuzhonglin12138 Apr 2, 2026
037bc02
refactor: centralize source demos and remove cnb versions api
zzzhangqi Apr 2, 2026
6ab3d8f
Merge pull request #1735 from zzzhangqi/V6.7-040122
zzzhangqi Apr 2, 2026
d34e088
feat: improve cnb build config and localize resource timestamps
zzzhangqi Apr 2, 2026
072e7a7
Merge pull request #1736 from zzzhangqi/V6.7-040122
zzzhangqi Apr 2, 2026
e423790
fix: align resource center pod log stream route
zzzhangqi Apr 2, 2026
72552fb
Merge pull request #1737 from zzzhangqi/V6.7-0403
zzzhangqi Apr 2, 2026
cd9280b
fix: preserve build env switches when saving code build config
zzzhangqi Apr 3, 2026
b036f96
Merge pull request #1738 from zzzhangqi/V6.7-0403
zzzhangqi Apr 3, 2026
093089d
fix: Remove redundant processes
xuzhonglin12138 Apr 3, 2026
f2eed62
Merge pull request #1739 from xuzhonglin12138/V6.7-4.3
zzzhangqi Apr 3, 2026
37d0b5b
fix: preserve source build envs and derive snapshot version from the …
zzzhangqi Apr 7, 2026
e27fa09
Merge pull request #1740 from zzzhangqi/V6.7-0407
zzzhangqi Apr 7, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .claude/specs/app-version-delete-history.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# App Version Delete History Spec

- Design doc: `/Users/zhangqihang/MyWork/workrc/rainbond-ui/docs/plans/2026-03-24-app-version-delete-design.md`
- Scope: `rainbond-console`, `rainbond-ui`
- Goal: let workspace app version timelines delete historical snapshots while preventing current snapshot deletion.

Execution order:

1. `rainbond-console`
2. `rainbond-ui`

Verification gates:

- `rainbond-console`: `python -m py_compile console/views/app_version.py console/services/app_version_service.py`, `make check`
- `rainbond-ui`: `yarn build`
103 changes: 103 additions & 0 deletions .claude/specs/app-version-delete-history.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
meta:
name: "app-version-delete-history"
version: "1.0"
repo: "/Users/zhangqihang/MyWork/workrc"
branch: "v6.7.0-release-dev"
design_doc: "/Users/zhangqihang/MyWork/workrc/rainbond-ui/docs/plans/2026-03-24-app-version-delete-design.md"

sprints:
- id: sprint-1
name: "Console Snapshot Delete API"
commits:
- id: commit-1
message: "feat: add app snapshot delete api"
tasks: [task-1.1, task-1.2]
tasks:
- id: task-1.1
name: "Add snapshot delete service rule"
status: pending
files:
modify:
- path: "/Users/zhangqihang/MyWork/workrc/rainbond-console/console/services/app_version_service.py"
lines: "250-262,431-460"
steps:
- action: "implement"
description: "Add a delete_snapshot method that loads the hidden template, rejects deleting the latest snapshot, and removes only historical snapshot records."
run: "python -m py_compile console/services/app_version_service.py"
expect: "PASS"
acceptance:
- cmd: "python -m py_compile console/services/app_version_service.py"
expect: "PASS"
references:
- path: "/Users/zhangqihang/MyWork/workrc/rainbond-console/console/services/app_version_service.py:250-262"
note: "Current snapshot list ordering defines which version is current"
- path: "/Users/zhangqihang/MyWork/workrc/rainbond-console/console/services/app_version_service.py:431-460"
note: "Current snapshot lookup and rollback validation"
- id: task-1.2
name: "Expose delete endpoint on snapshot detail route"
status: pending
files:
modify:
- path: "/Users/zhangqihang/MyWork/workrc/rainbond-console/console/views/app_version.py"
lines: "41-46"
steps:
- action: "implement"
description: "Add DELETE handling for app snapshot detail requests and return a success message after the service deletes a historical snapshot."
run: "python -m py_compile console/views/app_version.py"
expect: "PASS"
acceptance:
- cmd: "python -m py_compile console/views/app_version.py"
expect: "PASS"
- cmd: "make check"
expect: "PASS"
references:
- path: "/Users/zhangqihang/MyWork/workrc/rainbond-console/console/views/app_version.py:41-46"
note: "Existing snapshot detail endpoint to extend with DELETE"

- id: sprint-2
name: "UI Historical Snapshot Delete Flow"
commits:
- id: commit-2
message: "feat: support deleting historical app snapshots"
tasks: [task-2.1, task-2.2]
tasks:
- id: task-2.1
name: "Add app snapshot delete service helper"
status: pending
files:
modify:
- path: "/Users/zhangqihang/MyWork/workrc/rainbond-ui/src/services/api.js"
lines: "523-574"
steps:
- action: "implement"
description: "Add a deleteAppVersionSnapshot request helper for the new console DELETE endpoint."
run: "yarn build"
expect: "PASS"
acceptance:
- cmd: "yarn build"
expect: "PASS"
references:
- path: "/Users/zhangqihang/MyWork/workrc/rainbond-ui/src/services/api.js:523-574"
note: "Existing app version overview, list, detail and rollback helpers"
- id: task-2.2
name: "Show delete action on history-only timeline nodes"
status: pending
files:
modify:
- path: "/Users/zhangqihang/MyWork/workrc/rainbond-ui/src/pages/AppVersion/index.js"
lines: "331-350,561-584,936-1065"
steps:
- action: "implement"
description: "Add a delete confirmation flow, show delete only on non-latest snapshot items, and refresh overview plus snapshot timeline after successful deletion."
run: "yarn build"
expect: "PASS"
acceptance:
- cmd: "yarn build"
expect: "PASS"
references:
- path: "/Users/zhangqihang/MyWork/workrc/rainbond-ui/src/pages/AppVersion/index.js:331-350"
note: "Existing snapshot fetch and refresh entrypoint"
- path: "/Users/zhangqihang/MyWork/workrc/rainbond-ui/src/pages/AppVersion/index.js:561-584"
note: "Existing action callback style for snapshot publish flow"
- path: "/Users/zhangqihang/MyWork/workrc/rainbond-ui/src/pages/AppVersion/index.js:936-1065"
note: "Current timeline action rendering area"
16 changes: 16 additions & 0 deletions .claude/specs/team-plugin-tab-integration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Team Plugin Tab Integration Spec

- Design doc: `/Users/guox/Desktop/Project/6.28/rainbond-ui/docs/plans/2026-03-25-team-plugin-tab-integration-design.md`
- Scope: `rainbond-ui`
- Goal: move the plugin home list into the Team settings tabs, retire the standalone `/myplugns` home route, and keep plugin detail plus create/install routes independent.

Execution order:

1. Extract reusable plugin home content
2. Integrate Team page plugin tab and query routing
3. Redirect legacy `/myplugns` home route
4. Unify create and install success navigation

Verification gates:

- `rainbond-ui`: `yarn build`
133 changes: 133 additions & 0 deletions .claude/specs/team-plugin-tab-integration.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
meta:
name: "team-plugin-tab-integration"
version: "1.0"
repo: "/Users/guox/Desktop/Project/6.28/rainbond-ui"
branch: "v6.7.0-release-dev"
design_doc: "/Users/guox/Desktop/Project/6.28/rainbond-ui/docs/plans/2026-03-25-team-plugin-tab-integration-design.md"

sprints:
- id: sprint-1
name: "Extract Reusable Plugin Home Content"
commits:
- id: commit-1
message: "refactor: extract reusable plugin home content"
tasks: [task-1.1, task-1.2]
tasks:
- id: task-1.1
name: "Move plugin home list logic into a reusable content component"
status: pending
files:
create:
- path: "/Users/guox/Desktop/Project/6.28/rainbond-ui/src/pages/Plugin/components/PluginListContent.js"
modify:
- path: "/Users/guox/Desktop/Project/6.28/rainbond-ui/src/pages/Plugin/index.js"
lines: "181-647"
steps:
- action: "implement"
description: "Extract the plugin home card list, default plugin install flow, delete flow, and create/install navigation into a reusable component that does not render its own PageHeaderLayout."
run: "yarn build"
expect: "PASS"
acceptance:
- cmd: "yarn build"
expect: "PASS"
references:
- path: "/Users/guox/Desktop/Project/6.28/rainbond-ui/src/pages/Plugin/index.js:181-647"
note: "Current plugin home list implementation to be extracted"
- id: task-1.2
name: "Keep plugin detail route shell and embedded home usage compatible"
status: pending
files:
modify:
- path: "/Users/guox/Desktop/Project/6.28/rainbond-ui/src/pages/Plugin/index.js"
lines: "651-683"
steps:
- action: "implement"
description: "Update the Plugin route shell so the extracted home content can still be reused where needed, while pluginId-based Manage rendering remains unchanged."
run: "yarn build"
expect: "PASS"
acceptance:
- cmd: "yarn build"
expect: "PASS"
references:
- path: "/Users/guox/Desktop/Project/6.28/rainbond-ui/src/pages/Plugin/index.js:651-683"
note: "Current route split between plugin home and detail pages"

- id: sprint-2
name: "Integrate Team Plugin Tab And Retire Legacy Home Route"
commits:
- id: commit-2
message: "feat: show plugin home in team settings tab"
tasks: [task-2.1, task-2.2, task-2.3]
tasks:
- id: task-2.1
name: "Add plugin tab to Team settings page with query-driven activation"
status: pending
files:
modify:
- path: "/Users/guox/Desktop/Project/6.28/rainbond-ui/src/pages/Team/index.js"
lines: "1-414"
steps:
- action: "implement"
description: "Parse location.search for tab, add a plugin tab gated by team_plugin_manage permission, and render the extracted plugin home content when scope equals plugin."
run: "yarn build"
expect: "PASS"
acceptance:
- cmd: "yarn build"
expect: "PASS"
references:
- path: "/Users/guox/Desktop/Project/6.28/rainbond-ui/src/pages/Team/index.js:27-80"
note: "Current scope initialization logic"
- path: "/Users/guox/Desktop/Project/6.28/rainbond-ui/src/pages/Team/index.js:332-414"
note: "Current Team tab list and tab body rendering"
- id: task-2.2
name: "Redirect legacy /myplugns home route to the Team plugin tab"
status: pending
files:
modify:
- path: "/Users/guox/Desktop/Project/6.28/rainbond-ui/src/pages/Plugin/index.js"
lines: "651-683"
- path: "/Users/guox/Desktop/Project/6.28/rainbond-ui/config/router.config.js"
lines: "568-603"
steps:
- action: "implement"
description: "Keep /myplugns/:pluginId for detail pages, but redirect /myplugns to /team/:teamName/region/:regionName/team?tab=plugin so old links and menu entries still land on the new integrated home."
run: "yarn build"
expect: "PASS"
acceptance:
- cmd: "yarn build"
expect: "PASS"
references:
- path: "/Users/guox/Desktop/Project/6.28/rainbond-ui/config/router.config.js:568-603"
note: "Legacy plugin route definitions"
- path: "/Users/guox/Desktop/Project/6.28/rainbond-ui/src/pages/Plugin/index.js:669-683"
note: "Current pluginId-based render split"
- id: task-2.3
name: "Unify create and market-install success return paths"
status: pending
files:
modify:
- path: "/Users/guox/Desktop/Project/6.28/rainbond-ui/src/pages/Plugin/Create.js"
lines: "16-36"
- path: "/Users/guox/Desktop/Project/6.28/rainbond-ui/src/pages/Create/market_plugin.js"
lines: "495-725,1304-1477"
- path: "/Users/guox/Desktop/Project/6.28/rainbond-ui/src/locales/zh-CN/team.js"
lines: "503-579"
- path: "/Users/guox/Desktop/Project/6.28/rainbond-ui/src/locales/en-US/team.js"
lines: "493-573"
steps:
- action: "implement"
description: "Replace success redirects that still return to /myplugns with /team/:teamName/region/:regionName/team?tab=plugin, and add any missing Team tab locale text for the new plugin entry."
run: "yarn build"
expect: "PASS"
acceptance:
- cmd: "yarn build"
expect: "PASS"
references:
- path: "/Users/guox/Desktop/Project/6.28/rainbond-ui/src/pages/Plugin/Create.js:16-36"
note: "Create plugin success redirect"
- path: "/Users/guox/Desktop/Project/6.28/rainbond-ui/src/pages/Create/market_plugin.js:509-539"
note: "Market install modal success redirect"
- path: "/Users/guox/Desktop/Project/6.28/rainbond-ui/src/pages/Create/market_plugin.js:610-636"
note: "Local market create success redirect"
- path: "/Users/guox/Desktop/Project/6.28/rainbond-ui/src/pages/Create/market_plugin.js:696-724"
note: "Cloud market create success redirect"
13 changes: 7 additions & 6 deletions config/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ if (process.env.SEPARATION === 'true') {
publcPath = `/`;
}
const isHistory = process.env.ROUTE_MODE === 'history';
const proxyTarget = process.env.CONSOLE_PROXY_TARGET || 'http://127.0.0.1:7070';

export default {
history: { type: isHistory ? 'browser' : 'hash' },
Expand Down Expand Up @@ -35,24 +36,24 @@ export default {
routes: routerConfig,
proxy: {
'/console': {
target: 'http://127.0.0.1:7070',
target: proxyTarget,
changeOrigin: true
},
'/data': {
target: 'http://127.0.0.1:7070',
target: proxyTarget,
changeOrigin: true
},
'/openapi/v1': {
target: 'http://127.0.0.1:7070',
target: proxyTarget,
changeOrigin: true
},
'/enterprise-server': {
target: 'http://127.0.0.1:7070',
target: proxyTarget,
changeOrigin: true
},
'/app-server': {
target: 'http://127.0.0.1:7070',
target: proxyTarget,
changeOrigin: true
},
}
};
};
48 changes: 48 additions & 0 deletions config/router.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,12 @@ export default [
name: 'LogManagement',
authority: ['admin', 'user']
},
{
path: '/enterprise/:eid/region/:regionName/platform-resources',
component: './PlatformResources',
name: 'PlatformResources',
authority: ['admin', 'user']
},
{
path: '/enterprise/:eid/extension',
component: './Extension',
Expand Down Expand Up @@ -340,13 +346,55 @@ export default [
authority: ['admin', 'user'],
title: '流水线'
},
{
path: '/team/:teamName/region/:regionName/k8s-center/workloads/:resource/:name',
component: './ResourceCenter/WorkloadDetail',
name: 'ResourceCenterWorkloadDetail',
authority: ['admin', 'user'],
title: '工作负载详情'
},
{
path: '/team/:teamName/region/:regionName/k8s-center/pods/:podName',
component: './ResourceCenter/PodDetail',
name: 'ResourceCenterPodDetail',
authority: ['admin', 'user'],
title: '容器组详情'
},
{
path: '/team/:teamName/region/:regionName/k8s-center/services/:serviceName',
component: './ResourceCenter/ServiceDetail',
name: 'ResourceCenterServiceDetail',
authority: ['admin', 'user'],
title: '服务详情'
},
{
path: '/team/:teamName/region/:regionName/k8s-center/helm/:releaseName',
component: './ResourceCenter/HelmDetail',
name: 'ResourceCenterHelmDetail',
authority: ['admin', 'user'],
title: 'Helm 应用详情'
},
{
path: '/team/:teamName/region/:regionName/k8s-center',
component: './ResourceCenter',
name: 'ResourceCenter',
authority: ['admin', 'user'],
title: 'K8S 原生资源'
},
{
path: '/team/:teamName/region/:regionName/apps/:appID/upgrade',
component: './Upgrade',
name: 'Upgrade',
authority: ['admin', 'user'],
title: '云市应用升级'
},
{
path: '/team/:teamName/region/:regionName/apps/:appID/version',
component: './AppVersion',
name: 'AppVersion',
authority: ['admin', 'user'],
title: '应用版本'
},
{
path: '/team/:teamName/region/:regionName/apps/:appID/plugins/:pluginId',
component: './RbdPlugins',
Expand Down
Loading
Loading