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

As a user, I want to be able to find previous versions of a report #4048

Open
RomijnHumanoids opened this issue Jan 27, 2025 · 0 comments
Open
Assignees

Comments

@RomijnHumanoids
Copy link

RomijnHumanoids commented Jan 27, 2025

Now that a report ooi renews itself on the recipe's recurrence instead of creating separate new report ooi's per run, the report history only shows the most recent version of every report. There is now a technical problem making it difficult to show all versions of all reports chronologically in this overview. I think we need to discuss the technical solution for this use case in order to look if it still fits the design of the history tab or that a redesign is needed.

Context on the technical problem:

  • Asking the database for all reports is possibly being a very large call. Ooi versions unfortunately is not a variable that we can ask look up in the database as far as I understand.
  • A possible solution was suggested where we look at the recurrence of the recipe and count back to conclude for how far back in time we need to ask the database for the report versions. This is not optimal because if someone changes the recurrence from 'every hour' to 'every year' and asks for previous versions of a report it can still break.
@RomijnHumanoids RomijnHumanoids self-assigned this Jan 27, 2025
@RomijnHumanoids RomijnHumanoids converted this from a draft issue Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To be discussed
Development

No branches or pull requests

1 participant