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

feat: add UI for Import Simulation modal, connect LocalDomain to the vuex store #355

Merged
merged 29 commits into from Sep 9, 2022
Merged

feat: add UI for Import Simulation modal, connect LocalDomain to the vuex store #355

merged 29 commits into from Sep 9, 2022

Conversation

YashKandalkar
Copy link
Collaborator

@YashKandalkar YashKandalkar commented Aug 9, 2022

Description

  • Adds Import Simulation modal in the sidebar (users can upload all the files required by the simulation. If config files are provided, they will be read and the UI will be updated accordingly. If not, the default configs will be used)
  • Connects LocalDomain with the vuex store.
  • Integrates tables endpoint in input db for fetching attribute names.
  • Adds UI for changing table names

Testing

Go to /gcbm and click on "Import" in the sidebar.

Additional Context (Please include any Screenshots/gifs if relevant)

Import Simulation:
image

Change table name:
image

Palaksharma23 and others added 21 commits June 19, 2022 18:54
* feat: changed stepper, prompt from vue 2 to vue 3

* feat: added emits

* feat: fixing lint errors
…om Vue 2 to Vue 3 (#303)

* feat: changed accordion, datepicker, dropdown, fileupload component from vue 2 to vue 3

* feat: changed toast in datepicker component from vue 2 to vue 3

* feat: deleted accordion component folder

* feat: fixing lint errors

Co-authored-by: yash <35102959+YashKandalkar@users.noreply.github.com>
* feat: changed configurationsrothc component from vue 2 to vue 3

* feat: updated files

* feat: updated files

* feat: renamed folder naem to utils/

* feat: fixed build errors

Co-authored-by: yash <35102959+YashKandalkar@users.noreply.github.com>
* refactor: Replace toasts with notifications

Replaces vue-toastification toasts with Ant Design
notifications, allowing us to get rid of the dependency.

Signed-off-by: Amit <amitkulkarni2028@gmail.com>

* build: Remove toast dependency, fix lint errors

Signed-off-by: Amit <amitkulkarni2028@gmail.com>
Signed-off-by: Amit <amitkulkarni2028@gmail.com>
* refactor: ConfigurationsRothC to Composition API

Signed-off-by: Amit <amitkulkarni2028@gmail.com>

* fix: RothC table bug

Signed-off-by: Amit <amitkulkarni2028@gmail.com>
Bumps [flint.cloud](https://github.com/moja-global/flint.cloud) from `977497e` to `d461ec6`.
- [Release notes](https://github.com/moja-global/flint.cloud/releases)
- [Commits](moja-global/FLINT.Cloud@977497e...d461ec6)

---
updated-dependencies:
- dependency-name: flint.cloud
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* add feat/gcbm-simulation-simulator bramch in main.yml

* fix bugs

* add new line
Bumps [flint.cloud](https://github.com/moja-global/flint.cloud) from `d461ec6` to `7d0a391`.
- [Release notes](https://github.com/moja-global/flint.cloud/releases)
- [Commits](moja-global/FLINT.Cloud@d461ec6...7d0a391)

---
updated-dependencies:
- dependency-name: flint.cloud
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [flint.cloud](https://github.com/moja-global/flint.cloud) from `7d0a391` to `089614d`.
- [Release notes](https://github.com/moja-global/flint.cloud/releases)
- [Commits](moja-global/FLINT.Cloud@7d0a391...089614d)

---
updated-dependencies:
- dependency-name: flint.cloud
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* refactor: Migrated Table.vue to Vue 3
Signed-off-by: Disha <dishatalreja1202@gmail.com>

* fix: Improted ref from vue in Table.vue
Signed-off-by: Disha Talreja <dishatalreja1202@gmail.com>
* chore: fix lint error

Signed-off-by: Amit <amitkulkarni2028@gmail.com>

* refactor: ConfigurationsPoint to composition API

Signed-off-by: Amit <amitkulkarni2028@gmail.com>
Bumps [flint.cloud](https://github.com/moja-global/flint.cloud) from `089614d` to `02e97ba`.
- [Release notes](https://github.com/moja-global/flint.cloud/releases)
- [Commits](moja-global/FLINT.Cloud@089614d...02e97ba)

---
updated-dependencies:
- dependency-name: flint.cloud
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix: wrap steps in ref

Signed-off-by: Amit <amitkulkarni2028@gmail.com>

* refactor: PointOuterTable to Composition API

Signed-off-by: Amit <amitkulkarni2028@gmail.com>
* feat : migrate RothCOuterTable to Vue 3 (Composition API)

* refractor: renamed RothCOuterTable to RothCOutputContainer

* fix : "refractor: renamed RothCOuterTable to RothCOutputContainer"

* chore: fix lint errors

* chores: fix linting errors

* fix: refractoring issues

* fix: linting issue 2.0
* refactor: Replace toasts with notifications

Replaces vue-toastification toasts with Ant Design
notifications, allowing us to get rid of the dependency.

Signed-off-by: Amit <amitkulkarni2028@gmail.com>

* build: Remove toast dependency, fix lint errors

Signed-off-by: Amit <amitkulkarni2028@gmail.com>
* feat: add Sidebar, LocalDomain in GCBM. WIP.

* fix: vue-router and router view for new components/configurations, add a landing component

* feat: separated upload files, add collapse for parameters, add input for simulation title

* commit for running checks

* nit: style change

* feat: add alearts for success/error of creating runs
* feat: add Sidebar, LocalDomain in GCBM. WIP.

* fix: vue-router and router view for new components/configurations, add a landing component

* feat: separated upload files, add collapse for parameters, add input for simulation title

* commit for running checks

* nit: style change

* feat: Changed Stepper, Prompt from Vue 2 to Vue 3 (#305)

* feat: changed stepper, prompt from vue 2 to vue 3

* feat: added emits

* feat: fixing lint errors

* feat: Update Accordion, Datepicker, Dropdown, FileUpload component from Vue 2 to Vue 3 (#303)

* feat: changed accordion, datepicker, dropdown, fileupload component from vue 2 to vue 3

* feat: changed toast in datepicker component from vue 2 to vue 3

* feat: deleted accordion component folder

* feat: fixing lint errors

Co-authored-by: yash <35102959+YashKandalkar@users.noreply.github.com>

* feat: add alearts for success/error of creating runs

* feat: Changed ConfigurationsRothc component from Vue 2 to Vue 3 (#311)

* feat: changed configurationsrothc component from vue 2 to vue 3

* feat: updated files

* feat: updated files

* feat: renamed folder naem to utils/

* feat: fixed build errors

Co-authored-by: yash <35102959+YashKandalkar@users.noreply.github.com>

* refactor: Migrate from Toasts to Notifications (#316)

* refactor: Replace toasts with notifications

Replaces vue-toastification toasts with Ant Design
notifications, allowing us to get rid of the dependency.

Signed-off-by: Amit <amitkulkarni2028@gmail.com>

* build: Remove toast dependency, fix lint errors

Signed-off-by: Amit <amitkulkarni2028@gmail.com>

* docs: Update screenshot and dependency in README (#317)

Signed-off-by: Amit <amitkulkarni2028@gmail.com>

* feat: add modules component. WIP.

* feat: add modules. WIP.

* feat: add description and config for Decay Module.

Co-authored-by: Palak Sharma <87171452+Palaksharma23@users.noreply.github.com>
Co-authored-by: Amit <51860725+CrystalSage@users.noreply.github.com>
* feat: Changed Stepper, Prompt from Vue 2 to Vue 3 (#305)

* feat: changed stepper, prompt from vue 2 to vue 3

* feat: added emits

* feat: fixing lint errors

* feat: Update Accordion, Datepicker, Dropdown, FileUpload component from Vue 2 to Vue 3 (#303)

* feat: changed accordion, datepicker, dropdown, fileupload component from vue 2 to vue 3

* feat: changed toast in datepicker component from vue 2 to vue 3

* feat: deleted accordion component folder

* feat: fixing lint errors

Co-authored-by: yash <35102959+YashKandalkar@users.noreply.github.com>

* feat: Changed ConfigurationsRothc component from Vue 2 to Vue 3 (#311)

* feat: changed configurationsrothc component from vue 2 to vue 3

* feat: updated files

* feat: updated files

* feat: renamed folder naem to utils/

* feat: fixed build errors

Co-authored-by: yash <35102959+YashKandalkar@users.noreply.github.com>

* refactor: Migrate from Toasts to Notifications (#316)

* refactor: Replace toasts with notifications

Replaces vue-toastification toasts with Ant Design
notifications, allowing us to get rid of the dependency.

Signed-off-by: Amit <amitkulkarni2028@gmail.com>

* build: Remove toast dependency, fix lint errors

Signed-off-by: Amit <amitkulkarni2028@gmail.com>

* docs: Update screenshot and dependency in README (#317)

Signed-off-by: Amit <amitkulkarni2028@gmail.com>

* refactor: ConfigurationsRothC to Composition API (#319)

* refactor: ConfigurationsRothC to Composition API

Signed-off-by: Amit <amitkulkarni2028@gmail.com>

* fix: RothC table bug

Signed-off-by: Amit <amitkulkarni2028@gmail.com>

* feat: updated documentation link (#315)

* build(deps): bump flint.cloud from `977497e` to `d461ec6` (#321)

Bumps [flint.cloud](https://github.com/moja-global/flint.cloud) from `977497e` to `d461ec6`.
- [Release notes](https://github.com/moja-global/flint.cloud/releases)
- [Commits](moja-global/FLINT.Cloud@977497e...d461ec6)

---
updated-dependencies:
- dependency-name: flint.cloud
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat: add Sidebar, LocalDomain in GCBM. WIP.

* fix: vue-router and router view for new components/configurations, add a landing component

* nit: style change

* feat: add Variables config

Co-authored-by: Palak Sharma <87171452+Palaksharma23@users.noreply.github.com>
Co-authored-by: Amit <51860725+CrystalSage@users.noreply.github.com>
Co-authored-by: Karan Singh Thakur <92504666+thisiskaransgit@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: YashKandalkar <yashsk.yk@gmail.com>
@vercel
Copy link

vercel bot commented Aug 9, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
flint-ui ✅ Ready (Inspect) Visit Preview Sep 3, 2022 at 6:33AM (UTC)
gcbm-editor ✅ Ready (Inspect) Visit Preview Sep 3, 2022 at 6:33AM (UTC)

Implements a check to detect if the pool values are unchanged and
displays a modal if it's not the case. Also adds a toggle feature to the
table.

Signed-off-by: Amit <amitkulkarni2028@gmail.com>
dependabot bot and others added 3 commits August 10, 2022 00:24
Bumps [flint.cloud](https://github.com/moja-global/flint.cloud) from `02e97ba` to `38d890f`.
- [Release notes](https://github.com/moja-global/flint.cloud/releases)
- [Commits](moja-global/FLINT.Cloud@02e97ba...38d890f)

---
updated-dependencies:
- dependency-name: flint.cloud
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…bm-simulation-editor

Signed-off-by: YashKandalkar <yashsk.yk@gmail.com>
Signed-off-by: YashKandalkar <yashsk.yk@gmail.com>
Signed-off-by: YashKandalkar <yashsk.yk@gmail.com>
Signed-off-by: YashKandalkar <yashsk.yk@gmail.com>
Signed-off-by: YashKandalkar <yashsk.yk@gmail.com>
Signed-off-by: YashKandalkar <yashsk.yk@gmail.com>
@YashKandalkar
Copy link
Collaborator Author

YashKandalkar commented Sep 3, 2022

@YashKandalkar YashKandalkar changed the title feat: add UI for upload-all modal, connect LocalDomain the vuex store feat: add UI for Import Simulation modal, connect LocalDomain to the vuex store Sep 3, 2022
Copy link
Member

@Palaksharma23 Palaksharma23 left a comment

Choose a reason for hiding this comment

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

LGTM! @YashKandalkar nice work! 🚀

@YashKandalkar YashKandalkar merged commit 8d7e7a3 into moja-global:feat/gcbm-simulation-editor Sep 9, 2022
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.

None yet

6 participants