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

Fix deployment date labels #481

Merged
merged 1 commit into from
Aug 4, 2024
Merged

Fix deployment date labels #481

merged 1 commit into from
Aug 4, 2024

Conversation

annavik
Copy link
Member

@annavik annavik commented Aug 2, 2024

If deployment has no captures, we show no start or end labels. Workaround for #461 to avoid confusions in upcoming launch, but feel free to do a proper fix BE side when there is time :)

@annavik annavik requested a review from mihow August 2, 2024 16:04
Copy link

netlify bot commented Aug 2, 2024

Deploy Preview for ami-storybook ready!

Name Link
🔨 Latest commit a84ccf6
🔍 Latest deploy log https://app.netlify.com/sites/ami-storybook/deploys/66ad0388d8360d00087f6882
😎 Deploy Preview https://deploy-preview-481--ami-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Aug 2, 2024

Deploy Preview for ami-web ready!

Name Link
🔨 Latest commit a84ccf6
🔍 Latest deploy log https://app.netlify.com/sites/ami-web/deploys/66ad0388660d400008fab1c6
😎 Deploy Preview https://deploy-preview-481--ami-web.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 71
Accessibility: 95
Best Practices: 92
SEO: 92
PWA: 70
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@mihow mihow self-assigned this Aug 2, 2024
Copy link
Collaborator

@mihow mihow left a comment

Choose a reason for hiding this comment

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

Thanks! I think the backend behavior is what is expected. If there are no images, then the first & last image dates of the deployment are null. When we have shared types then it will be easy to see which fields can be null!

            "first_date": null,
            "last_date": null,

@mihow mihow merged commit b3efa9d into main Aug 4, 2024
6 checks passed
@mihow mihow deleted the fix/deployment-date-labels branch August 4, 2024 22:50
mihow added a commit that referenced this pull request Aug 4, 2024
* Update layout to support new way to navigate captures

* Setup session slider component + cleanup

* Fix confidence threshold score bug

* Adjust updated sidebar layout for smaller screens

* Show active capture timestamp in slider

* Update detection frame logic and tweak appearance

* Show session activity in a chart and make timestamp slider fully interactive

* New endpoint with data for Session Detail timeline component

* Default the resolution minutes to 1, add validation

* Ensure all source images don't have null detections

* Fetch full timeline instead of capture page

* Adjust hover labels

* Adjust plot range based on session start and end

* Skip line shape spline for now

* Show capture info inline

* Select first capture on session details load

* Always snap to closest capture on slider commit

* Add numCaptures to session timeline

* Update detections & next/prev in captures endpoints:

- Add next/prev captures to detail endpoint
- Remove detections[] list from list view by default
- Detections detail always has detections
- Return all detections if classification_score param is not passed

* Return all unfiltered detections for captures

* Fix missing captures at end of timeline

* Add detections count to session detail

* Fix missing "detection scores" now that we are showing unfiltered detections

* Add num detections to session detail view

* Use newly available detection score property instead of workaround

* Add current index of capture within event, update prop names

* Update step navigation 

* Render capture stepper also during loading to avoid flickering

* Do not allow line breaks for slider labels

* Disable populate for starred collection (#478)

* Fix deployment date labels (#481)

* Limit top species to 10 in top species chart

* Update allowed fields for ordering 

---------

Co-authored-by: Michael Bunsen <notbot@gmail.com>
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.

2 participants