-
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: add status icon to details header #908
Conversation
variant, | ||
}: { | ||
className?: string; | ||
variant?: string | boolean; |
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.
Status (from types/database) | boolean
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.
now that we have pydantic we can guarantee that is a literal
variant?: string | boolean; | ||
}): JSX.Element => { | ||
return match(variant) | ||
.with(P.union('PASS', true), _ => ( |
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
8404154
to
d372cb2
Compare
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.
LGTM
d372cb2
to
6b3e8da
Compare
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.
Looks pretty good to me
6b3e8da
to
7dfe38f
Compare
Closes #895
Visual Reference
Pass
![image](https://private-user-images.githubusercontent.com/53281123/412124406-d6c3da03-dd30-44e2-aa66-9296ad3dd9de.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NzIyMDEsIm5iZiI6MTczOTY3MTkwMSwicGF0aCI6Ii81MzI4MTEyMy80MTIxMjQ0MDYtZDZjM2RhMDMtZGQzMC00NGUyLWFhNjYtOTI5NmFkM2RkOWRlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE2VDAyMTE0MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRiYzE4MWQ4ZjBiMmQ3ODRhMDlkOGZiNmNhMmM5ZWRkY2YxODBlM2M3NjdjODRiNDg1ODkxYjFkNjc2YTcxZGQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.cs116tQg_BkvFV0kVxNSKc1IAFKMVqje-HEV92PFhfg)
http://localhost:5173/test/maestro%3A67aa5897b27a1f56cc36ee53?ls=10&p=t&ti%7Cc=v6.9-12136-gf5d74f9f7c3b&ti%7Cch=f5d74f9f7c3b2495596b43c01f5747b66c8ef70d&ti%7Cgb=nvme-rx-offload-v25&ti%7Cgu=https%3A%2F%2Fgithub.com%2Faaptel%2Flinux.git&ti%7Ct=aaptel
Fail
![image](https://private-user-images.githubusercontent.com/53281123/412124282-2f2b20f2-ec67-43a1-96be-8c53cadc306c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NzIyMDEsIm5iZiI6MTczOTY3MTkwMSwicGF0aCI6Ii81MzI4MTEyMy80MTIxMjQyODItMmYyYjIwZjItZWM2Ny00M2ExLTk2YmUtOGM1M2NhZGMzMDZjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE2VDAyMTE0MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWNkZmE2NmY4ZDkyNjgwMWJkYzNhNDUxZDk4MDE0MTE5ZDFiMWY0MDAwZGRlOGI2NmQ2NWE5NDI1ZTQ5NWRiMjkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.fdVDVv9iIiSR4jRSGL_Uj_scvaEGYV3ViwKvHl6SvRk)
http://localhost:5173/test/maestro%3A67a861e8661a7bc874947206?et=1739214000&iv=1&p=bt&st=1738782000&tf%7Cb=a&tf%7Cbt=f&tf%7Ct=a
Inconclusive
![image](https://private-user-images.githubusercontent.com/53281123/412565470-48b58d81-cb9b-4bf7-afa2-c043625898de.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NzIyMDEsIm5iZiI6MTczOTY3MTkwMSwicGF0aCI6Ii81MzI4MTEyMy80MTI1NjU0NzAtNDhiNThkODEtY2I5Yi00YmY3LWFmYTItYzA0MzYyNTg5OGRlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE2VDAyMTE0MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTgwNWRjYjE3Zjg1ZDY4ZTM2ZTQ2Y2RmMmVkZjBjYjIzOGJhMjQ0MzgwODYzNmFiZmU5OTBiNmExMDM1N2FlZmQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.-PijRSXKX89u5bsKQuRCp79k6w59jcmY6M7QsLs2cVs)
http://localhost:5173/test/maestro%3A67aa5acdb27a1f56cc36f15b?p=t&tf%7Cb=a&tf%7Cbt=a&tf%7Ct=i&ti%7Cc=v6.9-12136-gf5d74f9f7c3b&ti%7Cch=f5d74f9f7c3b2495596b43c01f5747b66c8ef70d&ti%7Cgb=nvme-rx-offload-v25&ti%7Cgu=https%3A%2F%2Fgithub.com%2Faaptel%2Flinux.git&ti%7Ct=aaptel