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

Feat: scheduled change request dialogs #5267

Merged
merged 12 commits into from
Nov 6, 2023

Conversation

andreas-unleash
Copy link
Contributor

@andreas-unleash andreas-unleash commented Nov 3, 2023

Creates the Apply and Reject scheduled change request dialogs

Closes # 1-1584

Closes # 1-1586

Screenshot 2023-11-03 at 14 43 17 Screenshot 2023-11-03 at 14 43 28

UI e2e tests will be in a follow up PR

Copy link

vercel bot commented Nov 3, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 3, 2023 1:53pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Nov 3, 2023 1:53pm

Signed-off-by: andreas-unleash <[email protected]>
Signed-off-by: andreas-unleash <[email protected]>
Signed-off-by: andreas-unleash <[email protected]>
Copy link
Contributor

@thomasheartman thomasheartman left a comment

Choose a reason for hiding this comment

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

Looks pretty good! I'd prefer to avoid using HTML for styling (so don't use the br element), but otherwise good. I've already voiced my concerns for the time handling, but we don't need to address that just yet.

<StyledAlert icon={false}>
There is a scheduled time to apply these changes set for{' '}
<strong>
<br />
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are we using the br element? If we need to space this out, we should do that with styling, not html, I think.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The reason I user br is that the designs look to me to require it be in a new line. What would be a better way to do it?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, this sounds like a styling thing to me. The way I've always learnt is that visual-only things should be done with CSS, not HTML. So for instance, if you need the strong element to be on its own line, you could use css to give it display: block instead. It's not a super important thing, but more of a ... best practices thing. At least as far as I'm aware.

@andreas-unleash
Copy link
Contributor Author

re your concerns: are the tests not (good) enough?

@andreas-unleash andreas-unleash merged commit 2262ca1 into main Nov 6, 2023
12 checks passed
@andreas-unleash andreas-unleash deleted the feat/scheduled_change_request_dialogs branch November 6, 2023 09:13
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