Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
b40aa83
Add option to lock realm in card chooser
backspace May 26, 2026
886f109
Merge remote-tracking branch 'origin/main' into edit-realm-config-cs-…
backspace May 26, 2026
e0d62f1
Add isolated and embedded templates for RealmConfig
backspace May 27, 2026
f206151
Merge remote-tracking branch 'origin/main' into edit-realm-config-cs-…
backspace May 27, 2026
77ea06b
Merge remote-tracking branch 'origin/main' into edit-realm-config-cs-…
backspace May 27, 2026
de21c51
Close the workspace chooser when opening realm settings
backspace May 27, 2026
5f1da88
Test that the routing rule card chooser locks to the consuming realm
backspace May 28, 2026
8c2b42e
Polish the RealmConfig edit and routing rule editor
backspace May 28, 2026
c279720
Merge remote-tracking branch 'origin/main' into edit-realm-config-cs-…
backspace Jun 2, 2026
cafd966
Drop the leftover inline realm.json block from workspace-chooser-test
backspace Jun 3, 2026
f5294c8
Warn when routing rules share a path in the RealmConfig editor
backspace Jun 3, 2026
08be2fa
Merge remote-tracking branch 'origin/main' into edit-realm-config-cs-…
backspace Jun 3, 2026
833caaf
Warn on a routing rule whose path is malformed
backspace Jun 3, 2026
898192a
Allow percent-encoded characters in routing rule paths
backspace Jun 3, 2026
f29771c
Extract and unit-test the routing rule advisory validators
backspace Jun 3, 2026
d405a5f
Integration-cover the path advisories on the realm config edit
backspace Jun 4, 2026
199b957
Limit RealmConfig's custom edit to the routing rules section
backspace Jun 4, 2026
834eef8
Restore the custom edit template on RealmConfig
backspace Jun 4, 2026
0ed934b
Add a per-usage edit option to field declarations
backspace Jun 4, 2026
b6a6e1d
Scope the atomic-field edit override to contains and linksTo
backspace Jun 4, 2026
ffe8f12
Render the leading slash as a fixed accessory on the path input
backspace Jun 4, 2026
c903dbe
Tighten the gap between the slash accessory and the path input
backspace Jun 4, 2026
16265b7
Pierce BoxelInputGroup styles to actually tighten the slash gap
backspace Jun 4, 2026
4a46ea5
Extend the per-usage edit override to linksTo and linksToMany
backspace Jun 4, 2026
9ce3a26
Merge remote-tracking branch 'origin/main' into edit-realm-config-cs-…
backspace Jun 5, 2026
04b380e
Restore lockConsumingRealm on BoxComponentSignature
backspace Jun 5, 2026
cb5845f
Merge remote-tracking branch 'origin/main' into edit-realm-config-cs-…
backspace Jun 5, 2026
86119d4
Normalize unset routing-rule paths to "/" on mount
backspace Jun 5, 2026
62d0dfd
Defer the path normalization past the current render
backspace Jun 5, 2026
2bcbe89
Hide the picker remove button when the picker is disabled
backspace Jun 8, 2026
a2cd778
Show the linked card title in the isolated routing-rules list
backspace Jun 8, 2026
127a3ba
Render each routing rule as its atom in the isolated list
backspace Jun 8, 2026
95c370b
Switch RealmConfig to a custom static edit template
backspace Jun 8, 2026
93aa280
Place the duplicate-path warning beside the routing rules section
backspace Jun 8, 2026
3dbacb6
Merge remote-tracking branch 'origin/main' into edit-realm-config-cs-…
backspace Jun 8, 2026
47a18b5
Fix lint:types errors in RealmConfigEdit
backspace Jun 8, 2026
8aa0311
Wait on data-test-realm-url to dodge the realm.info race
backspace Jun 8, 2026
27fa92d
Wait for the realm picker to load before asserting it is locked
backspace Jun 8, 2026
80eb0e5
[diagnostic] surface lockConsumingRealm value at LinksToEditor
backspace Jun 9, 2026
bf57f0e
[diagnostic] surface picker-locked attribute value on failure
backspace Jun 9, 2026
ac9bfa4
[diagnostic] console.log lockConsumingRealm at chooseCard + modal
backspace Jun 9, 2026
1580773
Scope the chooser-locked assertions to the card-catalog modal
backspace Jun 9, 2026
a24d562
[diagnostic] log SearchPanel.realmFilter on each access
backspace Jun 9, 2026
8bd1de8
[diagnostic] log @filter.locked at RealmPicker render time
backspace Jun 9, 2026
e1297c5
[diagnostic] enumerate matched pickers + ancestor paths
backspace Jun 9, 2026
113e39e
Reactively render the realm-picker locked attribute on a wrapper
backspace Jun 9, 2026
86d537f
[diagnostic] post-fix picker enumeration
backspace Jun 9, 2026
5ef018c
Keep data-test-realm-picker on the Picker, lift only locked to wrapper
backspace Jun 9, 2026
6dfd900
Plain-text the realm-picker template comment
backspace Jun 9, 2026
d8e8b51
Merge remote-tracking branch 'origin/main' into edit-realm-config-cs-…
backspace Jun 9, 2026
b2197a6
[diagnostic] enumerate locked-attribute matches with modal ancestor c…
backspace Jun 9, 2026
9b6cba5
Test picker-locked via aria-disabled instead of a custom data-test attr
backspace Jun 9, 2026
b4c44ab
Correct the SharedTests import path: helpers is a directory
backspace Jun 9, 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
2 changes: 2 additions & 0 deletions packages/base/card-api.gts
Original file line number Diff line number Diff line change
Expand Up @@ -1567,6 +1567,7 @@ class LinksTo<CardT extends LinkableDefConstructor> implements Field<CardT> {
format?: Format;
displayContainer?: boolean;
typeConstraint?: ResolvedCodeRef;
lockConsumingRealm?: boolean;
};
};
Blocks: {};
Expand All @@ -1583,6 +1584,7 @@ class LinksTo<CardT extends LinkableDefConstructor> implements Field<CardT> {
@field={{linksToField}}
@brokenLink={{broken}}
@typeConstraint={{@typeConstraint}}
@lockConsumingRealm={{@lockConsumingRealm}}
@createCard={{cardCrudFunctions.createCard}}
...attributes
/>
Expand Down
7 changes: 7 additions & 0 deletions packages/base/field-component.gts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ export interface BoxComponentSignature {
format?: Format;
displayContainer?: boolean;
typeConstraint?: ResolvedCodeRef;
/**
* When true (only meaningful on linksTo / linksToMany editors),
* hard-scope the card chooser to the consuming realm — the realm
* picker in the catalog modal is locked and the user cannot pick
* a card from another realm. UI hint only; no runtime validation.
*/
lockConsumingRealm?: boolean;
};
};
Blocks: {};
Expand Down
7 changes: 7 additions & 0 deletions packages/base/links-to-editor.gts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ interface Signature {
field: Field<LinkableDefConstructor>;
brokenLink?: BrokenLink;
typeConstraint?: ResolvedCodeRef;
/**
* When true, hard-scope the card chooser to the consuming realm
* (the realm of the parent card). The catalog modal's realm picker
* is locked. UI hint only; no runtime validation.
*/
lockConsumingRealm?: boolean;
createCard?: CreateCardFn;
};
}
Expand Down Expand Up @@ -235,6 +241,7 @@ export class LinksToEditor extends GlimmerComponent<Signature> {
},
createNewCard: this.args.createCard,
consumingRealm: this.realmURL,
lockConsumingRealm: this.args.lockConsumingRealm,
},
);
if (cardId) {
Expand Down
Loading
Loading