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

to add historic functionallity to webpage package. #29

Open
Ginxo opened this issue Jul 13, 2022 · 0 comments
Open

to add historic functionallity to webpage package. #29

Ginxo opened this issue Jul 13, 2022 · 0 comments
Assignees

Comments

@Ginxo
Copy link
Collaborator

Ginxo commented Jul 13, 2022

The idea is to offer to the user the chance to navigate throw dates, dates are basically status snapshots. See https://github.com/kiegroup/droolsjbpm-build-bootstrap/tree/gh-pages/data/productization-jobs

So the idea is to add a new component here (any of the red boxes)
image

As you probably notice already we are using ant components library https://ant.design/ so maybe we can reuse this component https://ant.design/components/timeline/ (just vertical format which I guess does not fit to our horizontal requirement), or it is maybe better to look for a new timeline specific library.

The idea would be to show date + header information on every timeline spot and comparison with current status
image

The only problem I see here is how to load the different dates we have, because we are not able to ask filesystem to get all ${date}.json files since there's no server, just browser. So probably we should replace generate-data package to additionally add a new date entry on a new snapshots.json file (this would require for us to probably manually create them either for https://github.com/kiegroup/droolsjbpm-build-bootstrap/tree/gh-pages/data and https://github.com/kiegroup/optaplanner/tree/gh-pages/data)

Whenever you click on any date the information will be shown and all the data will be compared with latest (current) like
image
see https://ant.design/components/statistic/
it has to be very clear for the user the view belongs to an old version, maybe we can use ribbon component https://emanuelescarabattoli.github.io/react-ribbons/index.html

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

No branches or pull requests

2 participants