Skip to content

Commit 75fbb8d

Browse files
committed
chore(changeset): the catalog's create asks at Save
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibzywxH36FPH6ayWMUe
1 parent 6b589fc commit 75fbb8d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.changeset/38149-create-asks-for-package.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Metadata-protocol: none
1212
The console no longer saves a new item naming no package. Where a create's package is not named, the person is asked to choose one of the packages the server says they may write (`writable: true` on `GET /api/v1/packages`, kernel packages left out), or to create a new one with the Packages page's create dialog. Nothing is written until they answer, and Cancel writes nothing.
1313

1414
- Setup's metadata lists: New on a list scoped by the list's own heuristic pick (no `?package=` in the address, or the one the list wrote itself) asks, with that pick pre-selected. A `?package=` the person put in the address, by a link or by the scope selector, opens the create there with no ask, as before. New waits while the package list loads.
15-
- Setup's catalog (`?scope=environment`) and Studio's cross-package leg (`/studio/~all/metadata/TYPE`): New asks, with nothing pre-selected.
15+
- Setup's catalog (`?scope=environment`): New opens the create in the environment scope, and the editor's Save asks for the package, once. Studio's cross-package leg (`/studio/~all/metadata/TYPE`): New asks, with nothing pre-selected.
1616
- The item editor at a create address naming no package (a deep link to `/new`): Save asks first; the item is saved as a draft in the chosen package and published at once, and the editor opens it under that package. A position or a permission set takes this path too, instead of the live package-less create.
1717
- A new view or report in an app: saved into the app's writable package or its customization package, as before; where neither can be had the person is asked. In a system app the create is refused with the reason (a view: save it to My views or add it in a business app; a report: create it in a business app). Where the customization package's door refuses the caller (`403`), the create is refused with the door's reason. The "saved outside this app" notice no longer runs.
1818
- The console's create-app route asks for the package, then saves the wizard's app as a draft there and publishes it. `CreateAppPage` (plugin-designer) takes an optional `saveApp(name, app)` that replaces its own save; answering `false` keeps the wizard open with nothing done.

0 commit comments

Comments
 (0)