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

[Epic]: Select widget family - stability #11902

Closed
5 of 10 tasks
somangshu opened this issue Mar 16, 2022 · 13 comments
Closed
5 of 10 tasks

[Epic]: Select widget family - stability #11902

somangshu opened this issue Mar 16, 2022 · 13 comments
Assignees
Labels
Epic A zenhub epic that describes a project Select Widget Select or dropdown widget Widgets Product This label groups issues related to widgets

Comments

@somangshu
Copy link
Contributor

somangshu commented Mar 16, 2022

Objective

Improve the select widgets by addressing code, default and consistency behaviours which will stabilise the widget

Select and multi select widgets

The select widget today has too many breaking use case, specially after the v2. Even the codebase has a lot of unused styles which is difficult to maintain, more things can be observed if an in-depth analysis of code is conducted. We also need to think about the DX consistently across select family, Like handling the validations on default value in different widgets.

Success Metrics

Goal Metric
Consistent UI and UX We need to look at the interactions the widget has and make it consistent, This needs to happen for the UI too
Simplify DX User should not have a hard time setting up properties like default value.

Requirements

Requirement User Story
code refactor use the minimum code that is required, abstract the styles common to all widgets in the family, performance profile and find out any other changes
default value & validations refactor The select widget family has been reported to produce inconsistent DX and Bugs while setting up the default value, Wrong or unclear validation was also shown
UI and UX consistency UI and interactions need to be made consistent across the select widgets, ex the popup opening, or the selected and hover state of options etc.

Documentation

  • some changes will be required around the fixes made on DX / default value / validation

Out of Scope

  • Other enhancements that are listed by users or otherwise

Developer Handoff Document in Figma

No response

RACI matrix

Responsible @souma-ghosh
Accountable @souma-ghosh
Consulted @ashit-rath @Nikhil-Nandagopal @Tooluloope
Informed @somangshu @dilippitchika
@somangshu somangshu added Enhancement New feature or request Select Widget Select or dropdown widget labels Mar 16, 2022
@github-actions github-actions bot added Widgets Product This label groups issues related to widgets UI Building Pod labels Mar 16, 2022
@Nikhil-Nandagopal
Copy link
Contributor

@somangshu can we add #11844 also to this

@Nikhil-Nandagopal Nikhil-Nandagopal added the Epic A zenhub epic that describes a project label Mar 17, 2022
@Tooluloope
Copy link
Contributor

@Nikhil-Nandagopal I think this is being fixed here #10600

@Tooluloope
Copy link
Contributor

@momcilo-appsmith @jsartisan, Currently, is there any design fix in the Select family?

@momcilo-appsmith
Copy link

There are no updates to functionality that I know of. The only updates are the ones for the inconsistencies between the widgets that we found earlier @Tooluloope.

@dilippitchika
Copy link
Contributor

Priority issues for me, which should be picked up right now (outside of this epic)

  1. [Bug]: Focus lossing while click on multi dropdown list #11849 - Raised by community and very annoying experience
  2. [Bug]-[350]:Clicking on Tree and Multi-Tree-select dropdown inside tab widget the focus jumps to the top area on the canvas #11485 - Same issue as [Bug]: Focus lossing while click on multi dropdown list #11849 happening in tabs
  3. [Bug]: Multi Select options are being picked from the default value instead of the label field #12020 - Default value should first search in the options.

Looks like multi-select widget needs some more effort than select widget.

@somangshu
Copy link
Contributor Author

@dilippitchika iin case we want to take this up separately lets create a new issue / epic and address it, Is our goal clear?

@Tooluloope
Copy link
Contributor

#12020 is waiting to be merged.
Gone through QA

@somangshu
Copy link
Contributor Author

Cc @souma-ghosh

@dilippitchika
Copy link
Contributor

@somangshu a valid suggestion from Nikhil was to use epic currently for select and multi select widgets and not the tree select widget because of the lower reach of the widgets, barring one issue #11485

We could re-evaluate if we want to work on tree and multi-tree-select once we are done with the milestone 1 and we should be okay to to pick them up later. This would also shorten the scope a lot. Any concerns with this approach?

@dilippitchika
Copy link
Contributor

Updated the scope of the epic to only contain select and multiselect for now

@dilippitchika
Copy link
Contributor

dilippitchika commented May 18, 2022

18 May

Action items

  • @dilippitchika to update the issues in the epic so that they are linked - Deadline 18 May
  • @souma-ghosh to go over all the issues in the epic and understand the context better with Tolu and Ashit's help - Deadline 24 May
  • @souma-ghosh to work on a tech spec and get back to us.
  • @souma-ghosh develop a test plan around the select widget stability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Epic A zenhub epic that describes a project Select Widget Select or dropdown widget Widgets Product This label groups issues related to widgets
Projects
None yet
Development

No branches or pull requests

5 participants