CIDARLAB / 3DuF

Interactive microfluidic design editor
http://3duf.org
BSD 2-Clause "Simplified" License
72 stars 69 forks source link

[Story] Create Connection Dialog in Vue.js Framework #229

Open rkrishnasanka opened 3 years ago

rkrishnasanka commented 3 years ago

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:

vyiu commented 3 years ago

I'm working on this

rkrishnasanka commented 3 years ago

To activate Connection tool check - Line-186 componentToolBar

Check connectionTool to get the data about the connection

rkrishnasanka commented 3 years ago

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

rkrishnasanka commented 3 years ago

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

Screen Shot 2021-07-08 at 8 34 36 PM Screen Shot 2021-07-08 at 8 34 18 PM