ems-frontend icon indicating copy to clipboard operation
ems-frontend copied to clipboard

Feat/AB#93294 : First part of "Improve UI filter dropdown / tagbox in dashboard filter"

Open LenaelleRelief opened this issue 1 year ago • 0 comments

Description

Only addresses the first part of the ticket "Enable auto-expansion of the filter dropdown menu to always show the full text of the dropdown options" Solution found : add a new property in surveyJS form builder to specify a minimum popup width in pixels. If the value entered is inferior to the width by default, the width by default is used. Also works for other forms than dashboard filter, this can be removed if needed

Useful links

  • Please insert link to ticket : https://dev.azure.com/WHOHQ/EMSSAFE/_workitems/edit/93294

Type of change

Please delete options that are not relevant.

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [x] Improvement (refactor or addition to existing functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [ ] This change requires a documentation update

How Has This Been Tested?

  • [ ] Tested in back-office with dropdown question in dashboard filter

Screenshots

ticket93294

Checklist:

( * == Mandatory )

  • [x] * I have set myself as assignee of the pull request
  • [x] * My code follows the style guidelines of this project
  • [x] * Linting does not generate new warnings
  • [x] * I have performed a self-review of my own code
  • [ ] * I have put the ticket for review, adding the oort-frontend team to the list of reviewers
  • [x] * I have commented my code, particularly in hard-to-understand areas
  • [x] * I have put JSDoc comment in all required places
  • [x] * My changes generate no new warnings
  • [x] * I have included screenshots describing my changes if relevant
  • [x] * I have selected labels in the Pull Request, according to the changes with code brings
  • [ ] I have made corresponding changes to the documentation ( if required )
  • [ ] 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
  • [ ] Any dependent changes have been merged and published in downstream modules

More explanation

https://www.loom.com/share/05a716d61b9744faaf51fb304c21d1e5?sid=f87cf896-582a-4f76-93ae-8ceed801b145

LenaelleRelief avatar May 21 '24 14:05 LenaelleRelief