-
Notifications
You must be signed in to change notification settings - Fork 3
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
Conversation
☁️ Nx Cloud ReportCI 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 targetsSent with 💌 from NxCloud. |
let icon = <ChangeCircle />; | ||
|
||
switch (status) { | ||
case 200: |
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.
@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
web styling changes to recording screen
Closes #112