-
Notifications
You must be signed in to change notification settings - Fork 469
GitHub Actions Extension Configuration #5883
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
base: main
Are you sure you want to change the base?
GitHub Actions Extension Configuration #5883
Conversation
…tent to use makeWithOverrides with a layout config item. Signed-off-by: dambrose <[email protected]>
…ions-extension-configuration Signed-off-by: dambrose <[email protected]>
Signed-off-by: dambrose <[email protected]>
Signed-off-by: dambrose <[email protected]>
…n-configuration' into dambrose/github-actions-extension-configuration Signed-off-by: dambrose <[email protected]> # Conflicts: # workspaces/github-actions/.changeset/nine-jars-travel.md
Signed-off-by: dambrose <[email protected]>
…ated test environment. Added a test case for the content card layout variant. Updated test cases to include null cases for the opposite layout to what's being tested. Signed-off-by: dambrose <[email protected]>
Changed Packages
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Couple small nits
workspaces/github-actions/plugins/github-actions/src/alpha/entityContent.test.tsx
Outdated
Show resolved
Hide resolved
| await waitFor( | ||
| () => { | ||
| expect(screen.getByText('backstage/backstage')).toBeInTheDocument(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noting for readers that this test didn't behave as expected, it hid an issue where routing didn't work and the page blew up after initial render.
Signed-off-by: dambrose <[email protected]>
Co-authored-by: Patrik Oldsberg <[email protected]> Signed-off-by: Dan Ambrose <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs an API report update. Let's fix the extension name while at it and add that to the changeset
| layout: z => z.enum(['table', 'cards']).default('table'), | ||
| }, | ||
| }, | ||
| name: 'github-actions-entity-content', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I realized this name should go away. The previous 'entity' doesn't really make sense either tbh and I think it's worth shipping a breaking change, especially since we're adding config with this.
The default full ID for this extension without a name is entity-content:github-actions. If we set the name to this the full name is gonna be entity-content:github-actions/github-actions-entity-content 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 0a1061b
Signed-off-by: dambrose <[email protected]>
…n-configuration' into dambrose/github-actions-extension-configuration Signed-off-by: dambrose <[email protected]>
Signed-off-by: dambrose <[email protected]>
Signed-off-by: dambrose <[email protected]>
Hey, I just made a Pull Request!
Follow up task to #5678,
EntityContentBlueprintto allow it to switch betweentableandcardsview.compatWrapperto the factory loader, and route refs to the tests.cardlayout.✔️ Checklist
Signed-off-byline in the message. (more info)