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

Coverage Report page should show the date #939

Open
mozfreddyb opened this issue Nov 21, 2023 · 0 comments
Open

Coverage Report page should show the date #939

mozfreddyb opened this issue Nov 21, 2023 · 0 comments
Assignees

Comments

@mozfreddyb
Copy link

mozfreddyb commented Nov 21, 2023

When going to an unpublished coverage Report Summary, e.g., covmanager/collections/xyz/summary/, it should show the date of said run.

If the stars align (and the django models have the right data somewhere nearby), I can try and give this a try, so I will assign it to myself.

@mozfreddyb mozfreddyb self-assigned this Nov 21, 2023
mozfreddyb pushed a commit that referenced this issue Nov 22, 2023
This only adds a _created_ field during cache generation, which
wouldn't make it work for old, cached reports.
It also involved quite a bit of vue hackery, due to the data
not being available during django page render.
Maybe the model ought to change to take not only a `collectionid`
but also a `collection.created`?
This is also WIP because I'm literally dumping the Python `created`
attribute into the JSON and reading it out in JS. There is no explicit
serialization/parsing of the date and I'm not sure what format
is going to be used. Heh.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant