iTwin / appui

Monorepo for iTwin.js AppUi
MIT License
9 stars 2 forks source link

Update FilterBuilder UI according to UX team's new specs #1059

Closed morganadrales closed 1 month ago

morganadrales commented 1 month ago

Changes

Updated FilterBuilder UI with the following changes:

These changes are based on the UX specifications created by Dan Abney here.

image

Testing

Tested with the presentation test app: Before: image

After: image

Note: the removal of the borders/adjustment of spacing may require CSS changes in the InstanceFilterDialog component

saskliutas commented 1 month ago

Changes looks good to me. I just noticed that some value inputs and toolbar buttons are smaller than property and operator selectors. This results in misaligned UI. As you are updating styles could you fix this as well?

I think value input should have same height as property and operator selectors. Toolbar buttons can be smaller but should be aligned to the middle of rule row.

You can check this in AppUI storybook. Property and operator selectors have heigh of 26px, while value input and toolbar buttons have height of 24px. All components are aligned to the row top.

GerardasB commented 1 month ago

@Mergifyio backport release/4.17.x

mergify[bot] commented 1 month ago

backport release/4.17.x

✅ Backports have been created

* [#1070 Update FilterBuilder UI according to UX team's new specs (backport #1059)](https://github.com/iTwin/appui/pull/1070) has been created for branch `release/4.17.x` but encountered conflicts