Esri / calcite-design-system

A monorepo containing the packages for Esri's Calcite Design System
https://developers.arcgis.com/calcite-design-system/
Other
269 stars 75 forks source link

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

Open emmilaakso212 opened 3 months ago

emmilaakso212 commented 3 months ago

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:

Content order:

*optional content

UI/behavior

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

Esri team

ArcGIS Map Viewer

Related issues

emmilaakso212 commented 3 months ago

cc: @jcfranco

github-actions[bot] commented 2 months ago

cc @geospatialem, @brittneytewks

geospatialem commented 2 months ago

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

AdelheidF commented 2 months ago

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

jcfranco commented 1 week ago

Belated update on this one, the following enhancements to combobox have been addressed this release to match the proposed design spec:

The following are adjustments to the original requirements (per conversation w/ @emmilaakso212 and @ashetland):

  1. Country and city will be the only additions for now.
  2. Options will be grouped by IANA region and not continent per se.
  3. Time zones should not be duplicated due to DST as this new mode will be primarily geographically-driven (searching by region, continent, country, etc.).
  4. The dropdown already displays the selected value when opened, so no adjustments needed.
  5. We'll consider using the exiting Intl offset format vs using decimal format.
  6. Offset can be displayed as is (i.e., no need to change from () to []) since it will be displayed differently once https://github.com/Esri/calcite-design-system/issues/3695 lands.
  7. We'll consider changing the offsetStyle default in a breaking change release. For now, internal apps need to opt into using UTC.

The grouping and additional metadata for improved search UX will be tackled in the July release.