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

Fix visualizer #233

Merged
merged 6 commits into from
Jun 5, 2021
Merged

Fix visualizer #233

merged 6 commits into from
Jun 5, 2021

Conversation

mreveil
Copy link
Contributor

@mreveil mreveil commented Jun 3, 2021

Minor improvement to visualizer tab

@mreveil mreveil requested a review from modinikiran June 3, 2021 17:36
@mreveil mreveil requested a review from amjha June 3, 2021 20:30
@amjha amjha merged commit 139fba7 into alpha Jun 5, 2021
@amjha amjha deleted the fix-visualizer branch June 5, 2021 07:06
@mreveil mreveil added the chore label Jun 7, 2021
amjha added a commit that referenced this pull request Jun 7, 2021
* page layout v1

* page header

* designed CITAM header

* updated Corning logo

* created folder structure, configured routing, designed nav com

* updated folder paths in test files

* fixed import ref in dashboard

* fixed basic_map reference

* add new get policy endpoint and update list-run endpoint

* fix formatting

* add sample policy.json

* update sample manifest.json

* update api tests

* fix formatting

* change Campus to FacilityName in test_model.py

* add new required fields in sample manifest.json in test_dash.py

* update asserts in test_server to work in linux-type file systems

* resolved app.vue conflicts

* designed header

* added home component

* Overview initial commit

* created Overview data object with required info.

* show policy details in overview component

* fixed single policy issue

* populated policy list in overview

* added simulation rows - pending feature

* added subrows to policies table

* modified Key metrics to be dynamic

* added vuex store, display policy by selected facility

* Hide simulations when Facility changed

* added new line at the end

* show policy info in simulation maps and visualization components

* initial simulations component design completed

* designed simulation component

* integrated Overview and simulations components, updated Overview styling

* updated map background color

* added button click methods to selected policy

* updated selectedPol obj, fixed btn focus

* Update parser.py to fix bug with reading large traj file

* Add large traj test file and update manifest.json parsing

* Fix linting issue in test-parser

* Change daylength to total_timesteps; ensure keys in manifest.json are consistent; add new get total timesteps API endpoint; and other minor updates

* Fix linting issues

* Ensure the right agent position is updated in visualization.

* removed sim and data viz tabs, updated CITAM title

* Improve memory footprint and speed of trajectory data requests. Remove additional contact data in frontend.

* Hide colorbar and update map controls

* Update tests

* Fix linting issue and animation settings

* Move trajectory loading from basic map to simulation component and keep data in store.

* Move trajectory loading to Vue layer and run in background with GUI indicator

* Remove floorplans tab, change simulation tab name to visualizer, clean up and fix minor issues

* Some more clean up

* Fix issues from peer review

* Solve countdown issue in loader

* Remove commented line

* Add rough estimate of time required to process trajectory data.

* Fix issue where visualizer doesn't work after leaving tab.

* Fix issue with trying to destroy map instance that doesn't exist..

* Fetch trajectory data in store instead of component. Restore visualizer state when user leaves and comes back.

* Code formatting and minor UI copy improvement.

* Do not refetch data after user comes back to the overview tab.

* Remove commented code in basic map

* Remove console logs

* fixed overview layout removed commented code and console.logs

* Update loader.js to show error message when there is an error loading trajectory data.

* Remove catch block with no action.

* added policy data - incomplete

* add sim and run name as required inputs; update overview page with new column names and data

* Change sim name to sim hash and sim ID to run ID in simulation.py

* Output simulation and run names in manifest

* Update local storage unit tests

* Update tests in server.py

* Update tests in test_results_parser.py

* Update remaining tests

* Remove unused import

* Update API and front end to use sim hash and run id.

* Update tests to handle new required fields in manifest file.

* updated policy fields

* fixed issues with policyName and simId properties by replacing with policyHash and runId, fixed UI issues

* added no policy alert msg if no policy json exist

* updated policy page field names

* Update folder names docs-docsrc and public-docs

* Update pull request workflow to build and push docs automatically

* Rename docs and public folders

* Update layout file locations to build docs

* Update makefile to copy files to docs folder

* Update layout file location

* Push docs to current branch

* CI: Automated docs build push

* Update location of home.css

* Remove the push step after building the docs from CI

* Update reference to Home.css in style.css

* Change static folder name to remove underscore

* Change static folder name and force add

* Change folder name back to _static and add .nojekyll

* Rename static folder again

* update reference to _static in tutorial.html

* Regenerate html folder

* Add static files

* Update reference to home.css

* Update folder names

* Change public to docs in other files

* Make sure _modules is in added to branch

* Push to gh-page new attempt

* Update git config

* testing with persist-credentials enaabled

* testing head_ref

* Split merging and branch switching

* Switching persist-credentials back on

* Switching persist-credentials back on

* Push built docs to repo

* Add home.css directly to the citam theme

* Make sure we only have one copy of Home.css

* Remove html and doctrees folder from docsrc and update index.html

* Remove html folder in docs

* Add link for privacy policy

* Fix typo

* updated static page

* Move hero styling from home.css into separate css

* Update homepage with quickstart guide and other improvements

* Update tutorial, input and output desc and visualization details.

* Fix typo in note directive

* Update example input files

* Fix issue with examples

* Add missing init.py files in engine module

* Fix typo in __init__.py filename

* Ignore test files in autoapi

* Use absolute URL for Home

* Add falcon as a requirement to build docs

* Install all CITAM dependencies in build docs step

* Update links in footer

* Create separate workflow to build docs

* Remove docs building from pull-request workflow

* Fix visualizer (#233)

* Rename plotvisualization component to visualizer & fix issue with alert

* Remove stale index.js file

* Add simulation and run names to visualizer tab

* Fix linting issues

* Remove console logs in simulations.vue

Co-authored-by: Amit Jha <JhaA2@corning.com>
Co-authored-by: Modini <ModiniK@corning.com>
Co-authored-by: KiranModini <38769134+modinikiran@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants