-
Notifications
You must be signed in to change notification settings - Fork 117
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
allow sending reports to external users with magic tokens #5778
Conversation
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.
LGTM!
* Use magic tokens to access reports * Cleanup
web-admin/src/routes/[organization]/[project]/-/reports/[report]/export/+page.svelte
Show resolved
Hide resolved
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.
Also note the merge conflict
2333e07
to
a8558aa
Compare
a8558aa
to
7bf38fd
Compare
@AdityaHegde @ericpgreen2 does the UI changes need review or are we good to merge ? |
I took a quick look & looks pretty good, but I'll do a final review tomorrow. |
@ericpgreen2 for the empty download whats the url ? is it missing the |
web-admin/src/routes/[organization]/[project]/-/reports/[report]/export/+page.svelte
Show resolved
Hide resolved
In case it helps to repro, here's my project: https://github.com/ericpgreen2/rill-test-covid |
@ericpgreen2 I think its because the watermark used to run this report is trigger time and that is used in time filter so there won't be any data. I confirmed this was the behaviour is past as well. I think if we configure |
Ah! Makes sense! |
333ad8a
to
de05a8f
Compare
Once @ericpgreen2 is ok with the frontend changes, I will resolve the conflicts and merge the PR. |
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.
LGTM
Fixes #5273
Clean up of unused magic tokens for reports directly created in code (not through UI) needs to be done. Its a bit tricky, may be some background job is required that queries
report_tokens
table and for eachreport_name
queries the runtime and then does clean up.