Skip to content

Conversation

@anonymoususer72041
Copy link
Contributor

@anonymoususer72041 anonymoususer72041 commented Dec 5, 2025

Summary

Replace textarea-based address fields with single-line <input> fields across the main UI and the careers portal and add “Address Line 2” (address2) support for candidates, contacts, and companies.

Add schema upgrades for existing installations and migrate legacy multi-line address values into address (line 1) and address2 (remaining lines).

Motivation

A large multi-line textarea often implies "enter a full postal block here" while many users (depending on country) expect a single street line. At the same time, international addresses commonly require an additional line (suite/floor/building).

@anonymoususer72041 anonymoususer72041 force-pushed the refactor/ui-single-line-address branch from 3dd96ef to e187c3d Compare December 5, 2025 12:17
anonymoususer72041 added a commit to anonymoususer72041/OpenCATS that referenced this pull request Dec 11, 2025
commit 1176778
Author: anonymoususer72041 <[email protected]>
Date:   Fri Dec 5 14:54:37 2025 +0100

    Drop legacy address2 from candidates add form

commit e187c3d
Author: anonymoususer72041 <[email protected]>
Date:   Fri Dec 5 10:52:02 2025 +0100

    Use single-line address input in careers portal apply form

commit 44320d6
Author: anonymoususer72041 <[email protected]>
Date:   Fri Dec 5 09:04:02 2025 +0100

    Use single-line address inputs for candidates, contacts and companies
@anonymoususer72041
Copy link
Contributor Author

It looks like the fix for #356 (merged into develop via #526) never made it into master, so this Pull Request includes the missing id="address" behavior again.

@RussH RussH self-assigned this Jan 26, 2026
Copy link
Member

@RussH RussH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While this cleans up the UI, shrinking the address to a single line breaks formatting for international users (specifically in the UK). Addresses often require multiple lines for Suite/Floor/Business Center details before the street address. I recommend keeping the multi-line support or using a textarea.

@anonymoususer72041
Copy link
Contributor Author

Thanks for calling this out – agreed that UK/international addresses often need additional lines.

At the same time, there are also regions where a single address line is the norm, so I’d like to avoid presenting a large textarea by default (especially for candidates), since that can imply "write a full postal block here".

Instead of only keeping multi-line addresses as free-form text, I can re-introduce proper "Address Line 2" support end-to-end. On the recruiter-facing side, I’d make Address Line 2 optional. For the careers portal, I’d keep it optional as well, so you can use it in your template if need.

Would you be happy with that approach?

@anonymoususer72041 anonymoususer72041 changed the title Single line address instead of textareas in UI feature: single line address instead of textareas in UI Jan 27, 2026
@anonymoususer72041 anonymoususer72041 changed the title feature: single line address instead of textareas in UI feat: single line address instead of textareas in UI Jan 27, 2026
@anonymoususer72041 anonymoususer72041 marked this pull request as draft January 27, 2026 12:58
@anonymoususer72041 anonymoususer72041 marked this pull request as ready for review January 27, 2026 16:03
@anonymoususer72041
Copy link
Contributor Author

If this PR gets merged, #697 will need adjustments

@anonymoususer72041 anonymoususer72041 changed the title feat: single line address instead of textareas in UI feat: introduce address2 and replace address textareas with inputs Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants