Commit 00e7735
fix(studio): label the Form sub-modes' data source — draft vs published (#2167)
预览 renders the PUBLISHED definition on purpose (structural draft changes have no
physical columns until publish), but the UI never said so — after arranging a draft
in 布局, switching to 预览 silently showed the old shape, reading as "changes lost".
Captions now state the source (布局 = 草稿 · 含未发布改动 / 预览 = 已发布定义; the
view-level badge follows the sub-mode), and with unpublished changes the preview
shows an amber note pointing to 布局 for draft confirmation and the top-bar 发布 for
the post-publish effect. Publishing stays a deliberate user action.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 2d785c8 commit 00e7735
2 files changed
Lines changed: 33 additions & 2 deletions
File tree
- .changeset
- packages/app-shell/src/views/studio-design
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
Lines changed: 16 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
978 | 978 | | |
979 | 979 | | |
980 | 980 | | |
981 | | - | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
982 | 987 | | |
983 | 988 | | |
984 | 989 | | |
| |||
1072 | 1077 | | |
1073 | 1078 | | |
1074 | 1079 | | |
1075 | | - | |
| 1080 | + | |
1076 | 1081 | | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
1077 | 1091 | | |
1078 | 1092 | | |
1079 | 1093 | | |
| |||
0 commit comments