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

Dashboard: Camera image should expires #1880

Merged
merged 5 commits into from
Sep 15, 2023

Conversation

Pierre-Gilles
Copy link
Contributor

@Pierre-Gilles Pierre-Gilles commented Sep 12, 2023

Pull Request check-list

To ensure your Pull Request can be accepted as fast as possible, make sure to review and check all of these items:

  • If your changes affects code, did your write the tests?
  • Are tests passing? (npm test on both front/server)
  • Is the linter passing? (npm run eslint on both front/server)
  • Did you run prettier? (npm run prettier on both front/server)
  • If you are adding a new features/services, did you run integration comparator? (npm run compare-translations on front)
  • Did you test this pull request in real life? With real devices? If this development is a big feature or a new service, we recommend that you provide a Docker image to the community (french forum/english forum) for testing before merging.

Description of change

Close #1878

Screenshot 2023-09-15 at 12 03 41

@codecov
Copy link

codecov bot commented Sep 12, 2023

Codecov Report

Patch coverage is 100.00% of modified lines.

Files Changed Coverage
server/lib/device/camera/camera.getImage.js 100.00%

📢 Thoughts on this report? Let us know!.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Sep 12, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: cbf3257
Status: ✅  Deploy successful!
Preview URL: https://65ab2a7d.gladys-plus.pages.dev
Branch Preview URL: https://return-error-when-camera-ima.gladys-plus.pages.dev

View logs

@relativeci
Copy link

relativeci bot commented Sep 12, 2023

Job #1792: Bundle Size — 8.66MiB (~+0.01%).

cbf3257(current) vs 8cf9f08 master#1774(baseline)

⚠️ Bundle contains 4 duplicate packages

Metrics (3 changes)
                 Current
Job #1792
     Baseline
Job #1774
Initial JS 4.69MiB(~+0.01%) 4.69MiB
Initial CSS 299.99KiB 299.99KiB
Cache Invalidation 63.68% 0%
Chunks 48 48
Assets 151 151
Modules 1361(+0.07%) 1360
Duplicate Modules 19 19
Duplicate Code 0.69% 0.69%
Packages 124 124
Duplicate Packages 4 4
Total size by type (2 changes)
                 Current
Job #1792
     Baseline
Job #1774
CSS 315.65KiB (+0.06%) 315.44KiB
Fonts 93.55KiB 93.55KiB
HTML 13.58KiB 13.58KiB
IMG 1.92MiB 1.92MiB
JS 6.31MiB (~+0.01%) 6.31MiB
Media 0B 0B
Other 15.4KiB 15.4KiB

View job #1792 reportView return-error-when-camera-image-i... branch activity

@Pierre-Gilles Pierre-Gilles merged commit 5a1f873 into master Sep 15, 2023
@Pierre-Gilles Pierre-Gilles deleted the return-error-when-camera-image-is-too-old branch September 15, 2023 11:58
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.

Dashboard: Camera image should not be displayed if not recent
1 participant