Skip to content

Commit 62f0205

Browse files
committed
refactor(config-studio): rename the configuration editor to Config Studio
Preserve schema, language and fragment when redirecting existing editor links. Assisted-by: Codex:gpt-6 Assisted-by: Antigravity:gemini-4-neon
1 parent 11b7899 commit 62f0205

129 files changed

Lines changed: 158 additions & 137 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/deploy.yml‎

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ jobs:
5151

5252
- name: Verify TOML, JSON and YAML round trips
5353
run: |
54-
cargo run --locked --example fixtures -- .cache/config-editor-fixtures
55-
cargo +nightly -Zscript tests/config-editor/roundtrip.rs .cache/config-editor-fixtures/roundtrip.json
54+
cargo run --locked --example fixtures -- .cache/config-studio-fixtures
55+
cargo +nightly -Zscript tests/config-studio/roundtrip.rs .cache/config-studio-fixtures/roundtrip.json
5656
5757
build:
5858
name: Build and test standalone SPA
@@ -82,47 +82,47 @@ jobs:
8282
node-version: '24'
8383
cache: npm
8484
cache-dependency-path: |
85-
config-editor/package-lock.json
86-
tests/config-editor/package-lock.json
85+
config-studio/package-lock.json
86+
tests/config-studio/package-lock.json
8787
8888
- uses: extractions/setup-just@v4
8989

9090
- name: Install frontend dependencies
91-
run: npm ci --prefix config-editor
91+
run: npm ci --prefix config-studio
9292

9393
- name: Build documentation and standalone editor
9494
run: |
9595
just build
96-
cargo +nightly -Zscript tests/config-editor/check-site.rs
96+
cargo +nightly -Zscript tests/config-studio/check-site.rs
9797
9898
- name: Install browser test dependencies
99-
run: npm ci --prefix tests/config-editor
99+
run: npm ci --prefix tests/config-studio
100100

101101
- name: Install Chromium and Firefox
102-
working-directory: tests/config-editor
102+
working-directory: tests/config-studio
103103
run: npx --no-install playwright install --with-deps chromium firefox
104104

105105
- name: Test the assembled WASM application
106-
run: npm run test:site --prefix tests/config-editor
106+
run: npm run test:site --prefix tests/config-studio
107107

108108
- name: Test Svelte components in real browsers
109-
run: npm run test:browser --prefix config-editor
109+
run: npm run test:browser --prefix config-studio
110110

111111
- name: Verify application reuse with a different XML description
112112
env:
113113
CONFIG_SCHEMA: schema/example.xml
114114
run: |
115-
npm run build --prefix config-editor -- --outDir "$PWD/.cache/generic-site"
116-
npm run test:generic --prefix tests/config-editor
115+
npm run build --prefix config-studio -- --outDir "$PWD/.cache/generic-site"
116+
npm run test:generic --prefix tests/config-studio
117117
118118
- name: Upload Playwright report
119119
if: always()
120120
uses: actions/upload-artifact@v6
121121
with:
122122
name: playwright-report
123123
path: |
124-
tests/config-editor/playwright-report/
125-
tests/config-editor/test-results/
124+
tests/config-studio/playwright-report/
125+
tests/config-studio/test-results/
126126
retention-days: 7
127127

128128
- name: Assemble Pages artifact

‎.gitignore‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ build/
33
.venv/
44
.cache/
55
/target/
6-
/config-editor/dist/
7-
/config-editor/.tools/
8-
/config-editor/pkg/
9-
/config-editor/ui/paraglide/
10-
/config-editor/project.inlang/cache/
11-
/config-editor/project.inlang/.meta.json
12-
/config-editor/project.inlang/README.md
13-
/config-editor/.vitest/
14-
/tests/config-editor/test-results/
15-
/tests/config-editor/playwright-report/
6+
/config-studio/dist/
7+
/config-studio/.tools/
8+
/config-studio/pkg/
9+
/config-studio/ui/paraglide/
10+
/config-studio/project.inlang/cache/
11+
/config-studio/project.inlang/.meta.json
12+
/config-studio/project.inlang/README.md
13+
/config-studio/.vitest/
14+
/tests/config-studio/test-results/
15+
/tests/config-studio/playwright-report/
1616
node_modules/
17-
config-editor/Bughunt.md
17+
config-studio/Bughunt.md

‎AGENTS.md‎

Lines changed: 46 additions & 46 deletions

‎Cargo.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[workspace]
2-
members = ["config-editor"]
2+
members = ["config-studio"]
33
resolver = "3"
44

55
[profile.release]
Lines changed: 7 additions & 7 deletions
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "config-editor"
2+
name = "config-studio"
33
version = "0.1.0"
44
edition = "2024"
55
publish = false
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1">
66
<meta name="description" content="在浏览器本地生成配置文件。">
77
<meta name="referrer" content="no-referrer">
8-
<title>配置编辑器</title>
8+
<title>Config Studio</title>
99
<script type="module" src="/ui/main.ts"></script>
1010
</head>
1111
<body>

0 commit comments

Comments
 (0)