Closed amnambiar closed 1 year ago
This pull request introduces significant changes across the application, focusing on performance optimization, user experience enhancement, and code maintainability. It includes updates to HTML, TypeScript, React components, CSS stylesheets, and test cases. The changes range from simplifying external dependencies in HTML, improving error handling in API requests, restructuring routing configuration, enhancing component styling, to updating state management in React components.
File(s) | Summary |
---|---|
public/index.html |
Optimized performance by reducing external requests and removing unnecessary dependencies. |
src/api/onRequest.ts |
Improved error handling for unauthorized requests. |
src/app/App.tsx |
Restructured route hierarchy and updated suspense fallback component. |
src/components/Button/... |
Enhanced button styling and customization options. |
src/components/CreateCertificate/CreateCertificate.tsx |
Updated state management and function calls. |
src/components/LogsView/... |
Renamed components, updated props, and improved scroll behavior. Test cases are currently commented out. |
src/pages/session/index.css , tailwind.config.js |
Updated class names and added new color definitions and theme extensions. |
"With each commit, we hop ahead, 🐇
In the garden of code, where we tread. 🌱
From the roots of logic, branches spread, 🌳
Blooming solutions, beautifully bred. 🌼
So here's to the changes, big and small, 🥂
In the end, they matter to us all." 🌟
When looking at the full report, there are 2 horizontal scroll bars. Can we have at most 1 or even better 0 and line wrap the text?
There is a vertical scroll bar but it's kind of hidden on the far right and you need to use the right horizontal scroll bar to find it. Can we have it, on the right, at all times? I don't think people use the scroll bar to actually navigate but it will display that there is more information to see.
It is unclear on this screen that you can click on the properties to show more information Maybe just an arrow pointing downwards, with still the possibility to click anywhere you want to open the details.
The "Purchase a Certificate (1 ADA)" should not be here for failed runs.
The log opens all over everything. Can we have it open in between the timeline and the PBT results?
At the end of testing, the timeline is removed and no testing results is displayed to the user:
Could we have instead this kind of nice visualization, without the possibility to open the properties to see more detail results?
The testing time is still displayed from a previous run:
Pressing test again gives you this screen:
Not too sure what's going on, I think a new timeline has been fitted in the middle. The testing information on the left is empty. The previous "Full report" and "Download report" from the previous run should not be here anymore.
You have exceeded the limit for the number of files or commits that can be reviewed per hour. Please wait 29 minutes and 59 seconds before requesting another review.
To re-trigger a review, convert this PR to a draft and then mark it as ready for review again. Alternatively, you can push a new commit to this PR.
@RSoulatIOHK , Fixes are in place to re-review.
Full Report View
Scrolling
FIXED
Display more information - Maybe just an arrow pointing downwards, with still the possibility to click anywhere you want to open the details.
DONE ; added up/down clickable arrows to see the details, retaining click on row
The "Purchase a Certificate (1 ADA)" should not be here for failed runs.
FIXED ; This button will not be present if there any failures in unit tests or other tasks
Testing View
Logs - Can we have it open in between the timeline and the PBT results?
DONE
"Blank" page at the end of testing
FIXED ; the same table while the run in-progress will be shown
Testing time still here from a precedent run
FIXED ; all other issues related to state retention are as well fixed, PLT-7245 as well
Test again - bug
FIXED ; all states in New test and Test again are fixed
Others
Open
Still have the double scrolling bars and the vertical one is far away to see.
When the repo doesn't exist, I get this Uncaught error
Tool tip and check for repo accessibility are over one another:
I know it's in the open issues but the progress % are not fine for most of the properties on some repo testing: But is correct on the full report:
I still see the previous testing time:
Also the Github repo check is a bit agressive. I haven't managed to type the repo myself without triggering the check, could we just have it when you're no longer in the input bar?
All the rest looks fixed :)
@RSoulatIOHK , Thank you for the patience :bowing_woman:
Still have the double scrolling bars and the vertical one is far away to see.
Fixed for good now. Pardon :disappointed:
Reason - mui-Container element had maxWidth
defaulted to 'lg'
. I had changed it to 'xl'
instead of setting it false
. Is set to false
now.
- When the repo doesn't exist, I get this Uncaught error
- Tool tip and check for repo accessibility are over one another:
Fixed
I still see the previous testing time:
Fixed :sweat_smile:
Github repo check - could we just have it when you're no longer in the input bar
Triggering the check on blur breaks at multiple scenarios, hence retained the check on type itself but with a lesser timeout than the older version of tool. It is more quicker, doesn't let PLT-7458 happen (Test btn will be disabled until the repo is accessible).
progress % issue
Raised PLT-7646 to track this
I still have the scroll bars :( If I put the window on my 4k screen, i don't have them but that might be a strong requirement for our users 😄 (Let's put this one on the Tech debt if you want)
Rest is fine :) (apart from the tickets you have raised to track some of the bigger issues)
@RSoulatIOHK ,
Multiple scrollbars above 4k
I've added a fix for the multiple scrollbars. Hope it is resolved for you now. Anyhow I've raised a ticket PLT-7656. We can track it there.
Thanks!
Rechecked 'Testing' the form, timeline view, full report, state retention and it looks fine.
Apart from the issues in the timeline results when it ends (sometimes)
The rest looks good!
https://input-output.atlassian.net/browse/PLT-7344 https://input-output.atlassian.net/browse/PLT-7052
BE: PR #90
origin/feat/l1-certificate
(also contains profile field modifications)@coderabbitai: ignore
Summary by CodeRabbit
Release Notes:
Session
,Landing
,Certification
, andTestingHistory
routes for enhanced navigation.icon
prop to theButton
component for improved customization.public/index.html
for better performance.onRequestError
function insrc/api/onRequest.ts
to handle unauthorized requests more effectively.Loader
component withCircularProgress
as the fallback for suspense inApp.tsx
.CreateCertificate
component to use updated keys fromstate.auth
object.LogsView
component (currently commented out).tailwind.config.js
.