data-umbrella / event-board-web

Event Board: front-end code
https://events.dataumbrella.org
GNU Affero General Public License v3.0
10 stars 13 forks source link

make regions consistent; alphab order #389

Closed reshamas closed 1 year ago

reshamas commented 1 year ago

PR Overview

Type of contribution

Reference: Issue or Pull Request (PR)

References:

Description of Changes

  1. use "canada-usa" instead of "usa-canda"
  2. use "latin-america" instead of "latin-america-caribbean"
  3. put regions in alphabetical order; with exception of moving canada-usa to position 2 because most events are currently in that region.
export const REGION_OPTIONS = [
  { label: 'All', value: '' },
  { label: 'Canada / USA', value: 'canada-usa' },
  { label: 'Africa', value: 'africa' },
  { label: 'Asia', value: 'asia' },
  { label: 'Europe', value: 'europe' },
  { label: 'Latin America', value: 'latin-america' },
  { label: 'Middle East', value: 'middle-east' },
  { label: 'Oceania', value: 'oceania' },
  { label: 'Online', value: 'online' },
];

Before and After for UI Updates

<-- You should have 2 images minimum, for desktop, 4 for mobile and desktop combined -->

Before:

After:

For PR Reviewer

reshamas commented 1 year ago

Superceded by #391