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

Project is now preselected based on previously selected project when running new calculation #11

Merged
merged 4 commits into from
Jun 12, 2022

Conversation

div-yam
Copy link
Contributor

@div-yam div-yam commented Jun 9, 2022

Now the previously selected project is preselected, when we open the new calculation page. If there is no preselected project, it will by default select the project alphabetically. I have used localStorage for this implementation (It stores data without any expiration date) and using the database was unnecessary for this purpose. Below is the screen recording of the implementation.

https://drive.google.com/file/d/1HBEBgid9jqkifrktpU9oRJ-qTyLaAD7C/view?usp=sharing

Copy link
Collaborator

@RaphaelRobidas RaphaelRobidas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice addition, just needs a little tweak to load the right project presets automatically

frontend/templates/frontend/launch.html Outdated Show resolved Hide resolved
@RaphaelRobidas RaphaelRobidas merged commit e2d3d91 into cyllab:develop Jun 12, 2022
@div-yam div-yam deleted the Preselect-project-launch-page branch June 20, 2022 18:26
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.

2 participants