Skip to content

Conversation

techbhavin
Copy link
Contributor

@techbhavin techbhavin commented Oct 18, 2021

Description

update in design select / multi-select / multi treeselect / treeselect Widget

Fixes #8308
Fixes #8611

Type of change

  • Bugfix (non-breaking change which fixes an issue)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented on my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Test coverage results 🧪

🔴 Total coverage has decreased
// Code coverage diff between base branch:release and head branch: bug/design-audit-select-multi-tree 
Status File % Stmts % Branch % Funcs % Lines
🔴 total 54.58 (0) 36.33 (-0.11) 33.11 (-0.11) 55.09 (-0.02)
🟢 app/client/src/components/ads/Icon.tsx 50.79 (0.39) 33.54 (0.42) 100 (0) 50.66 (0.4)
✨ 🆕 app/client/src/widgets/DropdownWidget/component/index.styled.tsx 50 11.76 0 50
🔴 app/client/src/widgets/DropdownWidget/component/index.tsx 81.16 (-0.32) 50.77 (-9.7) 68.42 (-7.77) 80.6 (-0.17)
🟢 app/client/src/widgets/DropdownWidget/widget/index.tsx 71.74 (0.63) 23.53 (0) 63.64 (0) 70.73 (0.73)
🔴 app/client/src/widgets/MultiSelectTreeWidget/component/index.styled.tsx 50 (-4.84) 25 (-0.93) 0 (0) 51.52 (-4.04)
🟢 app/client/src/widgets/MultiSelectTreeWidget/component/index.tsx 23.91 (3.46) 0 (0) 0 (0) 26.19 (3.11)
🔴 app/client/src/widgets/MultiSelectWidget/component/index.styled.tsx 51.72 (-40.59) 24.14 (-75.86) 0 (0) 51.85 (-48.15)
🟢 app/client/src/widgets/MultiSelectWidget/component/index.tsx 18.33 (1.02) 0 (0) 0 (0) 19.64 (0.89)
🟢 app/client/src/widgets/MultiSelectWidget/widget/index.tsx 50 (1.02) 0 (0) 50 (0) 51.06 (1.06)
🔴 app/client/src/widgets/SingleSelectTreeWidget/component/index.styled.tsx 52.78 (-5.84) 25.81 (-1.11) 0 (0) 53.13 (-4.56)
🟢 app/client/src/widgets/SingleSelectTreeWidget/component/index.tsx 24.44 (3.51) 0 (0) 0 (0) 26.83 (3.15)

@techbhavin techbhavin requested a review from somangshu October 18, 2021 10:13
@github-actions github-actions bot added the Bug Something isn't working label Oct 18, 2021
@techbhavin techbhavin linked an issue Oct 18, 2021 that may be closed by this pull request
7 tasks
@somangshu somangshu added the Widgets Product This label groups issues related to widgets label Oct 18, 2021
@somangshu somangshu requested review from Tooluloope and removed request for somangshu October 19, 2021 05:23
@somangshu
Copy link
Contributor

/ok-to-test sha=e3c59b2

@Tooluloope
Copy link
Contributor

Tooluloope commented Oct 19, 2021

For some reason the Dropdown is controlled from outside the Form

LOOM DEMO

@Tooluloope
Copy link
Contributor

Tooluloope commented Oct 19, 2021

Also I noticed the Keyboard operations have stopped working on Select widget

Showing it on release
LOOM DEMO

@Tooluloope
Copy link
Contributor

@somangshu I noticed on the Figma, there's a requirement for a label which we don't have currently, should that be taken up here or in another PR

@somangshu
Copy link
Contributor

Suggest we take label as a new requirement. Ill create a requirement and re-assign

@somangshu
Copy link
Contributor

@somangshu I noticed on the Figma, there's a requirement for a label which we don't have currently, should that be taken up here or in another PR

Created this issue > #8611

@Tooluloope
Copy link
Contributor

@techbhavin There's been a change in the disabled state of the widget.
https://www.figma.com/file/w9CaXHF5iYcrLtiEbAHcFu?node-id=469:5847#117536147

@techbhavin
Copy link
Contributor Author

/ok-to-test sha=0573cbb

@techbhavin techbhavin requested review from Tooluloope and removed request for Tooluloope October 20, 2021 10:03
@techbhavin techbhavin added Widgets Product This label groups issues related to widgets UI Building Pod and removed Widgets Product This label groups issues related to widgets UI Building Pod labels Oct 21, 2021
@techbhavin
Copy link
Contributor Author

@shwetha-ramesh
Copy link

shwetha-ramesh commented Nov 10, 2021

@techbhavin Tested PR for #8611.
Issue1: As discussed need not be fixed.
Issue2: FIXED.

Moving #8611 to DONE

@shwetha-ramesh
Copy link

shwetha-ramesh commented Nov 10, 2021

@techbhavin as discussed for #8308 issue 3-to show error state widget tile to appear in red must be fixed. Issue8 - as discussed we are not handling since it does not solve any purpose. Rest all issues are fixed and agreed.

@techbhavin
Copy link
Contributor Author

/ok-to-test sha=cec3151

@techbhavin
Copy link
Contributor Author

@shwetha-ramesh
Copy link

@techbhavin Retested this PR for #8308: as discussed when ’required’ is enabled and there is no selection made the widget tile appears red.

Moving this issue to DONE.

@areyabhishek areyabhishek changed the title fix: updated design as per figma fix: Update designs for select widgets according to Figma Nov 12, 2021
Tooluloope
Tooluloope previously approved these changes Nov 15, 2021
Copy link
Contributor

@Tooluloope Tooluloope left a comment

Choose a reason for hiding this comment

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

Code wise, LGTM

@somangshu
Copy link
Contributor

@techbhavin what is the update here, Please move it to the right pipeline, And let me know how can we close this?

Tooluloope
Tooluloope previously approved these changes Nov 15, 2021
@techbhavin
Copy link
Contributor Author

/ok-to-test sha=27e1315

@github-actions
Copy link

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/1461693159.
Workflow: Appsmith External Integration Test Workflow.
Commit: 27e1315.
PR: 8594.

@techbhavin
Copy link
Contributor Author

/ok-to-test sha=9357533

@github-actions
Copy link

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/1465728201.
Workflow: Appsmith External Integration Test Workflow.
Commit: 9357533.
PR: 8594.

@techbhavin
Copy link
Contributor Author

/ok-to-test sha=9357533

@github-actions
Copy link

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/1465946389.
Workflow: Appsmith External Integration Test Workflow.
Commit: 9357533.
PR: 8594.

@techbhavin techbhavin merged commit 7032ee6 into release Nov 16, 2021
@techbhavin techbhavin deleted the bug/design-audit-select-multi-tree branch November 16, 2021 09:27
@Tooluloope Tooluloope restored the bug/design-audit-select-multi-tree branch December 9, 2021 04:36
@Tooluloope Tooluloope deleted the bug/design-audit-select-multi-tree branch December 9, 2021 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Widgets Product This label groups issues related to widgets
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature]: Label for select and multi-select [Bug] Widget design audit: select / multi-select / multi treeselect / treeselect Widget
5 participants