Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance catalog entry and code mode RHS panel to be able to create new catalog entry #1993

Merged
merged 44 commits into from
Jan 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
b8cdbe7
update catalog entry card
tintinthong Jan 14, 2025
de4baaa
add boxel spec component
tintinthong Jan 14, 2025
f488ac9
fix re-exports not being detected by the schema editor
tintinthong Jan 14, 2025
1a24148
integrate boxxel spec in code submode
tintinthong Jan 14, 2025
47b8e08
get select disabled to not display down arrow
tintinthong Jan 14, 2025
30732e5
sort catalog entry by latest created
tintinthong Jan 14, 2025
4d5451b
enable boxel spec instance to be created via create-file-modal
tintinthong Jan 14, 2025
651302e
fix test
tintinthong Jan 14, 2025
63222a9
Update everything to new schema
tintinthong Jan 14, 2025
997799a
fix lint
tintinthong Jan 14, 2025
6b26bef
fix seed instances
tintinthong Jan 14, 2025
ac05498
fix instances in base
tintinthong Jan 14, 2025
dc40e25
filer by type attribute
tintinthong Jan 14, 2025
a6dcabf
fix all test that query by isField
tintinthong Jan 14, 2025
d9978cd
Revert "fix re-exports not being detected by the schema editor"
tintinthong Jan 14, 2025
80a7386
fix test that use title. Change to name
tintinthong Jan 14, 2025
e8ac5db
fix test
tintinthong Jan 14, 2025
35d479f
fix more test
tintinthong Jan 14, 2025
b21fbb4
fix test to use isField to signal field or card
tintinthong Jan 14, 2025
0baf052
fix lint
tintinthong Jan 14, 2025
1ec41ea
readd show boxel spec preview
tintinthong Jan 14, 2025
5102958
add test
tintinthong Jan 14, 2025
adab3db
add snapshot
tintinthong Jan 14, 2025
99c4674
use README title in all caps
tintinthong Jan 14, 2025
d3244be
string boxel spec thru creation file args to impute specType
tintinthong Jan 15, 2025
d4a6244
fix default
tintinthong Jan 15, 2025
6a2b2aa
add test boxel spec
tintinthong Jan 15, 2025
cae1a39
fix lint
tintinthong Jan 15, 2025
453be4e
fix lint for test
tintinthong Jan 17, 2025
95235df
rename type -> specType
tintinthong Jan 17, 2025
18643fc
fix type
tintinthong Jan 17, 2025
58801d8
fix test data-test-field-type
tintinthong Jan 17, 2025
9cc39f3
fix test again
tintinthong Jan 17, 2025
63ed23a
fix specType test
tintinthong Jan 17, 2025
36de466
add linkedExamples + containedExamples field
tintinthong Jan 18, 2025
c6c26ff
fix lint
tintinthong Jan 18, 2025
f5e5845
render cardTypeIcon. Need to load card from code ref
tintinthong Jan 18, 2025
1bc9750
render containedExamples only when the specType is a field
tintinthong Jan 20, 2025
a6402ac
Merge branch 'main' into introduce-boxel-spec
tintinthong Jan 22, 2025
c231d13
fix lint
tintinthong Jan 22, 2025
08cce23
add Loader
tintinthong Jan 23, 2025
a4801a0
fix test
tintinthong Jan 23, 2025
32be607
Merge branch 'main' into introduce-boxel-spec
tintinthong Jan 24, 2025
4a32548
fix test
tintinthong Jan 24, 2025
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
8 changes: 7 additions & 1 deletion packages/base/cards-grid.gts
Original file line number Diff line number Diff line change
Expand Up @@ -384,13 +384,19 @@ class Isolated extends Component<typeof CardsGrid> {
on: catalogEntryRef,
eq: { ref: activeFilterRef },
},
sort: [
{
by: 'createdAt',
direction: 'desc',
},
],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Focus on the last newly created catalog entry, if there are more than one

};
}
let card = await chooseCard<CatalogEntry>(
{
filter: {
on: catalogEntryRef,
every: [{ eq: { isField: false } }],
every: [{ eq: { specType: 'card' } }],
},
},
{ preselectedCardTypeQuery },
Expand Down
Loading
Loading