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: update record screen styling #147

Merged
merged 8 commits into from
Jun 2, 2022

Conversation

NSwanson1
Copy link
Contributor

web styling changes to recording screen

Recording Screen
Recording Screen no selected Item
Recording Screen Super Small

Closes #112

@nx-cloud
Copy link

nx-cloud bot commented Jun 1, 2022

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 3e58f24. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 2 targets

Sent with 💌 from NxCloud.

let icon = <ChangeCircle />;

switch (status) {
case 200:
Copy link
Collaborator

Choose a reason for hiding this comment

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

@NSwanson1 I would have done something like x >= 200 && x <= 299 is green, and so on for 4xx and 5xx.

Also while not implemented with UI yet we may want a color for requests in flight (right now items only show up when response is completed), first implementation I had those as yellow but maybe gray or something is fine.

If you really want a switch you could do something funky like switch on Math.floor(status/100) and use case 2, 4, and 5

@sdg9 sdg9 merged commit 9ee800f into main Jun 2, 2022
@sdg9 sdg9 deleted the NJSwanson1/feat/updateRecordScreenStyling branch June 2, 2022 00:46
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.

Make recording UI pretty
2 participants