-
Notifications
You must be signed in to change notification settings - Fork 37
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Highlight new implementations in summary #852
base: main
Are you sure you want to change the base?
Highlight new implementations in summary #852
Conversation
@Julian , does the change in the UI look good ? |
Cool! Let's maybe use some bright color for "new implementation" rather than the same gray as what we use for "active row" -- can you perhaps check to see whether we have some light pink or green maybe in the CSS theming we're using, I suspect so since we're using Bootstrap. |
There's also a small problem I suppose with my suggestion which I'm just thinking of -- essentially this will only show an implementation as new for 24 hours, when ideally we'd show it for some longer period, maybe a week or something. But I don't have a good idea for how to do that yet, and I think the work you've done is anyways useful for day-over-day information, so maybe the right thing for now is to keep going and we can change/improve this when we have another idea. |
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.
I haven't looked at this fully yet, so here's just a first pass with one comment that I expect may take a little refactoring.
Co-authored-by: Julian Berman <Julian@GrayVines.com>
@Julian , I have used http streaming now using fetch itself to just fetch the metadata of the report for finding about new implementations. Please have a look |
for more information, see https://pre-commit.ci
@Julian ig you missed this |
Yes, thanks for the ping, looking again. |
It also occurs to me that with @adwait-godbole's change to add an |
Oh okay so the implementations.json file has a list of all implementations ? Also @Julian I just checked ig the regenerate test reports workflow hasnt run succesfully after merging the previous report changes. So the previous reports still arent accessible at bowtie.report/previous/some_draft.json |
I'm having a look to address the disk space issue which has been annoying, I'll get you a working run. |
for more information, see https://pre-commit.ci
@Julian, I have taken into consideration the review comments and have made the changes. Please review |
@Julian Please have a look at this as well when you get time |
It looks good from the first glance but I'm playing still with the disk space issue. |
(There's a working run with previous implementations FWIW now) |
Is it always a report from 1 day ago? I'm just thinking if a new implementation appears then it should be marked as new for a longer period of time, even like a month |
@harrel56 Yeah currently it would vanish after 24 hrs when the workflow runs again. Ig to ensure that it stays for some time we would need the date when a particular implementation was added stored somewhere. |
Hmm, actually having previous report from one month ago in a current setup is a bit hard to achieve. We use https://github.com/dawidd6/action-download-artifact action for downloading artifacts and unfortunately it doesn't have option to somehow filter by creation date. But it uses GH API (https://docs.github.com/en/rest/actions/artifacts?apiVersion=2022-11-28#list-workflow-run-artifacts) and here each artifact has its creation date, so it's totally doable. But i don't know if it's worth to implement on our own |
I think doing fancier things there will be easier if we control more of the site generation from inside Bowtie rather than in the workflow -- specifically getting us to having a Obviously I agree a day is too short, and a month sounds good there -- trying to also unblock our real current issue (the disk size nonsense) which is more pressing, but I'm certainly open to any kind of idea for this -- whether we delay a bit, merge this as is and improve after, or yeah anything. |
Closes #448.
Implemented a way to fetch older reports as well and check which implementations are new by comparing both the reports and highlight such implementations in the UI in summary table.
Implementation :
Showing a small + sign in front of implementations that are new i.e. not present in the previous build report and on hovering over the + sign, the user sees a
Newly Added Implementation Tooltip
Sample :
Screen.Recording.2024-02-14.at.5.28.21.PM.mp4
馃摎 Documentation preview 馃摎: https://bowtie-json-schema--852.org.readthedocs.build/en/852/