uaem-na / donations-tracker

General-purpose distribution platform developed for the McGill chapter of the Universities Allied for Essential Medicine.
https://donations-tracker-dev.uaem.org
8 stars 1 forks source link

Inconsistent Postal Code Display in App Inputs, Views and Database #79

Closed shjryan closed 8 months ago

shjryan commented 10 months ago

Description

Ensure the uniformity and consistency of postal code handling throughout the application. This request covers input fields, views, and database storage.

Issue Details

  1. Input Fields: The current implementation lacks consistency in postal code formatting and validation across various parts of the application. Users may encounter varying rules and formats when entering postal codes.
  2. Views: Postal codes displayed in different views may not adhere to a uniform format, which can lead to a fragmented user experience.
  3. Database: The database storage of postal codes may lack standardization, making it difficult to retrieve and manage data consistently.

Expected Behavior

Standard format: "A1A1A1" - without any space or symbols, and all capital case

  1. Postal code input fields should consistently enforce the same formatting and validation rules across the application.
  2. Postal codes displayed in views should follow a standardized format.
  3. Postal codes should be stored in the database in a uniform manner.

Acceptance Criteria

Implementation Guidelines

shjryan commented 8 months ago

Dev instance updated with the script.