Repository navigation
feat: display provisioner jobs and daemons for an organization - #16532
Conversation
|
@jaaydenh I would appreciate a first review on this PR. |
|
@BrunoQuaresma can you include in the description the issue this PR is resolving? Trying to understand the reason for the name change OrganizationProvisionersPage to just ProvisionersPage? Is the provisioners page now meant to be used outside organizations as well? |
|
|
Ya, the issue is that most of the components have the Organization Prefix so its more confusing if its only removed for some of them. |
buenos-nachos
left a comment
There was a problem hiding this comment.
Didn't find anything major here – just had a few recommendations. Not approving because I don't know how much more needs to be added to get the PR out of the draft stage, but I can do another pass once the PR goes live
| parameters: { | ||
| chromatic: { disableSnapshot: true }, | ||
| }, |
There was a problem hiding this comment.
Is this what we're doing for any frontend testing that's more involved? Wondering if React Testing Library still ever makes sense for our components, or if we can offload everything to Storybook
There was a problem hiding this comment.
Is this what we're doing for any frontend testing that's more involved?
In this case, I only want to test the behavior since a snapshot is not valuable at all. I'm guessing disabling unnecessary snapshots can make our test suite faster.
Wondering if React Testing Library still ever makes sense for our components, or if we can offload everything to Storybook
With interaction tests, I think we can offload everything to Storybook - just a guess, but I think storybook uses testing library under the hood.
Actually looking at this again, I agree it does make more sense to move the Provisioners files to their own folder and removing the prefix. |
|
@Parkreiner @jaaydenh I'm planning to add the storybook tests for the pages after getting this merged on main and having a QA from Christin and Bartek so I can avoid wasting time on testing something that is not what we want. |
mtojek
left a comment
There was a problem hiding this comment.
LGTM. Let's play with it in dogfood!
Nice job, Bruno 👍
| @@ -1,48 +0,0 @@ | |||
| import { buildInfo } from "api/queries/buildInfo"; | |||
There was a problem hiding this comment.
Perhaps I'm missing some context, could you explain why are we removing these pages? Will they be replaced now?
PS. It would be convenient to add Changes: to the PR description.
There was a problem hiding this comment.
Yes, they will be replaced.

Jobs:

Figma Link
Daemons:

Figma Link
Closes #15192 and Closes #15193