Skip to content

Changed Select components from mui/material to fmi-atmos/ui

Ari Myllymäki requested to merge 627-unify-select-component-styles into staging

Description

There is couple of 'Select' components, which uses mui/material package. This MR changes those under the fmi-atmos/ui package. There is also minor changes to Select -component, because everything is not supported correctly. IconComponent, displayEmpty and renderValue are added there.

Files where changed components can found:

-CopyElementToDashboard

-LanguageSelect

-CustomerBasicForm

.PresetEditDialog

-MapProductTimeSlider

-TableComponent

How to test

CopyElementToDashboard

-Choose edit mode in dashboard.

-Select Copy Element from one product. (Click three dots upper right corner and select 'Copy element' -> 'To another dashboard'

-Test dropdown selection: 'Copy element to another dashboard'

LanguageSelect

-Choose user menu. Can found lower left corner in dashboard.

-Choose settings

-Test language selection dropdown

CustomerBasicForm

-Login with admin user

-Choose 'Customer management' -> Customer Account management from dashboard

-Click 'Create new customer account'

-Test customer group selection dropdown

PresetEditDialog

-Go to the fullscreen in map product. Make some changes to layer so saving preset get activated

-Select 'Save as new'

-Check 'Save element to selected dashboard'

-Test activated 'Choose dashboard' selection dropdown

MapProductTimeSlider

-Create new map product

-Go to the Timeline tab in wizard

-There is speed and update interval selection dropdown. Test it

TableComponent

-Go to the table component's fullscreen mode

-Test 'Simple' selection dropdown upper left corner in screen.

Closes #627 (closed)

Edited by Ari Myllymäki

Merge request reports