Project format updates
This commit is contained in:
@@ -45,7 +45,7 @@ Pass `groupFolder: true` to `createProjectClient` to use the extension’s folde
|
||||
|
||||
### Project overview
|
||||
|
||||
Use the ISA Match layout for a project-based extension. Show recent activity on the left and **Projects** (**Projecten**) on the right. Place **+ Create project** at the top right of the Projects panel. Populate this list on launch with `await client.list()`, which returns active projects for the configured storage mode. `client.recent()` supplies optional personal shortcuts. Use the project rows to open existing projects and the create button to launch the setup form.
|
||||
The shared project picker provides the ISA Match layout using the host theme tokens. Its header cards count active projects and accessible recent projects across the full inventory, including while searching. An embedded picker keeps its host extension’s summary header. While the inventory loads, the picker shows animated placeholder rows and keeps existing rows visible during refresh. Extensions can also use `mountProjectListSkeleton(target)` from `@isa-warden/isa-project-format/dom` during startup. Show recent activity on the left and **Projects** (**Projecten**) on the right. Place **+ Create project** at the top right of the Projects panel. Populate this list on launch with `await client.list()`, which returns active projects for the configured storage mode. `client.recent()` supplies optional personal shortcuts. Use the project rows to open existing projects and the create button to launch the setup form.
|
||||
|
||||
Use the shared `ProjectWorkspace` or `mountProjectWorkspace` with the extension display name, locale and launch-scoped client. Custom overviews in picker-based mode can call `client.pickFolder()` from a user action and refresh `client.list()` after a selection. The picker can select a container such as `/shared` or a single existing `.isap` folder. The extension remembers selected paths for the launch scope and reads only through its ordinary filesystem grants. Use `client.openListed(row)` to reopen a project, `client.create(name, operationId)` to create it in an editable container, and `client.setArchived(row, archived)` to update the manifest. Extensions need the host permissions for filesystem reads, optional writes, and private preferences.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user