Open
Description
Improvements for the "Accounts" Page
We’re looking to make a few small but impactful improvements to the "Accounts" page. These tasks are perfect for new contributors who want to get familiar with the codebase and make their first contribution!
Task / Acceptance Criteria
Trim and Normalize Whitespaces in Input Fields
Description:
When users input values for the following fields, leading and trailing whitespaces are currently saved as-is in the database:
- Name
- Region
This causes issues later when searching or comparing these values, as whitespaces can lead to mismatches or failed lookups. For example, searching for "RegionName"
won’t return results if the saved value is " RegionName "
(with spaces).
To fix this, we should:
- Trim leading and trailing spaces: Remove spaces at the start and end of the input.
- Normalize internal spaces: Reduce multiple spaces between words to a single space.
Example:
- Input:
" Region "
→ Output:"Region"
.
Additional Notes
- These tasks are beginner-friendly, so don’t hesitate to ask questions if you need help!
- If you’re new to open source, check out our contributing guide
Why This Matters
These improvements will:
- Prevent future issues with data quality/consistency/usability and search functionality.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Triaged