Skip to content

feat(es2): Only show non-cedar templates when adding metadata#1007

Open
adlius wants to merge 2 commits into
CenterForOpenScience:feature/es2-consolidationfrom
adlius:fix-add-metadata-page
Open

feat(es2): Only show non-cedar templates when adding metadata#1007
adlius wants to merge 2 commits into
CenterForOpenScience:feature/es2-consolidationfrom
adlius:fix-add-metadata-page

Conversation

@adlius

@adlius adlius commented Jun 8, 2026

Copy link
Copy Markdown
Contributor
  • Ticket: []
  • Feature flag: n/a

Purpose

Summary of Changes

Screenshot(s)

Side Effects

QA Notes

@adlius adlius requested a review from nsemets June 8, 2026 15:53
export class GetCedarMetadataTemplates {
static readonly type = '[Metadata] Get Cedar Metadata Templates';
constructor(public url?: string) {}
constructor(public options: { url?: string } = {}) {}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Why did you change it to an object instead of using a string?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I was planning on adding a filter here to filter for is_for_collection=false but then decided that filtering in memory is perhaps better. Do you want me to revert?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants