3DuF icon indicating copy to clipboard operation
3DuF copied to clipboard

[Story] Create Connection Dialog in Vue.js Framework

Open rkrishnasanka opened this issue 3 years ago • 4 comments

Description

When the user clicks on the CONNECTION button, a dialog pops up on the top-left corner of the canvas that tells the user to follow through each of the steps. The dialog will have the following features:

  1. parameters sliders where the user can change the parameters
  2. a small area where the mouse click instructions at each state of the connection tool
  3. a small area that uses vuetify chips (https://vuetifyjs.com/en/components/chips/) that show the source and sinks of the connection in use

A different variation of this dialog should appear when the user is editing the connection.

Additional Description: This entire UI should be built only using the components available in Vuetify (https://vuetifyjs.com/) and should match the mockup. Utilise the Property Drawer.vue as a starting point and build the design to match

Screen Shot 2021-06-08 at 9 01 42 PM

Acceptance Criteria:

  • [x] The entire UI should match the layout shown in the mockup
  • [ ] Add methods for all the button clicks and programmatically adding new sources and sink chips
  • [ ] Should not have any linting errors (must be fixed before the pull request
  • [ ] Should have methods for opening and closing the dialog via EventBus

rkrishnasanka avatar Mar 17 '21 01:03 rkrishnasanka

I'm working on this

vyiu avatar Jun 10 '21 04:06 vyiu

To activate Connection tool check - Line-186 componentToolBar

Check connectionTool to get the data about the connection

rkrishnasanka avatar Jun 23 '21 01:06 rkrishnasanka

This line should activate itRegistry.viewManager.activateTool("Connection", "Connection");

rkrishnasanka avatar Jul 01 '21 00:07 rkrishnasanka

@vyiu I fixed the issues with the mouseclicks not registering. Changes that need to be made:

  • [x] You should update the dialog so that it opens at a fixed position on the canvas (top) as shown in the mockup. Right now it's opening wherever the button is.
Screen Shot 2021-07-08 at 8 34 36 PM Screen Shot 2021-07-08 at 8 34 18 PM
  • [ ] You should fix the width of the dialog window to be smaller than the canvas and potentially reduce the size of the profile panel and the sink+source panel.

rkrishnasanka avatar Jul 09 '21 00:07 rkrishnasanka