calcite-design-system icon indicating copy to clipboard operation
calcite-design-system copied to clipboard

[input time zone] Update and re-organize timezone dropdown options for improved usability

Open emmilaakso212 opened this issue 10 months ago • 5 comments

Check existing issues

Description

As a user who wants to select a time zone using the time zone picker, I want to be able to easily identify which time zone is relevant to me.

Acceptance Criteria

Replace "name" mode of the time zone picker with a new version, or create this as a third version, if needed.

Content:

Add the following data to timezone options:

  • Country, unless the name of the country is the name of the timezone
  • State or province, if there is more than one timezone in the country. Countries that have more than one timezone.
  • Always show offset in UTC (https://github.com/Esri/calcite-design-system/issues/8716)

Content order:

  • Show dropdown items in format of city, state/province*, country* [UTC-offset]
  • Group timezone data by continent, and show continent name once as a group label
  • Organize dropdown results alphabetically by city name (some timezones/offsets will appear more than once. That’s ok)

*optional content

UI/behavior

  • If timezone picker had an existing value, by default scroll in the results such that the previous value is at the top
  • Allow searching within the options by city, state or province, country, or offset

See Figma for designs

Relevant Info

Agreed upon enhancement work for Map Viewer team for implementation by 24-R3

Which Component

Time zone picker

Example Use Case

No response

Priority impact

impact - p2 - want for an upcoming milestone

Calcite package

  • [x] @esri/calcite-components
  • [ ] @esri/calcite-components-angular
  • [ ] @esri/calcite-components-react
  • [ ] @esri/calcite-design-tokens
  • [ ] @esri/eslint-plugin-calcite-components

Esri team

ArcGIS Map Viewer

Related issues

  • https://github.com/Esri/calcite-design-system/issues/8716
  • https://github.com/Esri/calcite-design-system/issues/9026

emmilaakso212 avatar Mar 29 '24 14:03 emmilaakso212

cc: @jcfranco

emmilaakso212 avatar Apr 01 '24 15:04 emmilaakso212

cc @geospatialem, @brittneytewks

github-actions[bot] avatar Apr 18 '24 15:04 github-actions[bot]

Aiming for dev implementation prior to R3 based on Online priorities - currently targeted for May. cc @emmilaakso212

geospatialem avatar Apr 18 '24 16:04 geospatialem

I guess this won't make it for Online release R2 then, unfortunately.

AdelheidF avatar Apr 24 '24 20:04 AdelheidF