Centralize auth messages #269

Merged
josefarias merged 7 commits from jose/centralize-auth-msgs into main 2024-02-04 04:17:49 +08:00
josefarias commented 2024-02-03 14:06:53 +08:00 (Migrated from github.com)

Closes https://github.com/maybe-finance/maybe/issues/264

At first, I thought by "centralize" we meant we wanted all the copy for the messages in a single place for easy editing. So I added rudimentary i18n, as well as i18n-tasks, which helps keep i18n files tidy. (That's on me for not paying attention, sorry I jumped the gun here)

Then I realized we actually wanted the messages to all appear in a single place for auth-related forms, so I pulled out a helper for that, too.

Let me know if we don't want the i18n part of this. Happy to take it out.

To be clear, there's still plenty of i18n work left to do — this was more meant to organize the auth messages. The rest of the app needs to be configured still. We can tackle that work as part of https://github.com/maybe-finance/maybe/issues/256.

Closes https://github.com/maybe-finance/maybe/issues/264 At first, I thought by "centralize" we meant we wanted all the copy for the messages in a single place for easy editing. So I added rudimentary i18n, as well as [i18n-tasks](https://github.com/glebm/i18n-tasks), which helps keep i18n files tidy. (That's on me for not paying attention, sorry I jumped the gun here) Then I realized we actually wanted the messages to all appear in a single place for auth-related forms, so I pulled out a helper for that, too. Let me know if we don't want the i18n part of this. Happy to take it out. To be clear, there's still plenty of i18n work left to do — this was more meant to organize the auth messages. The rest of the app needs to be configured still. We can tackle that work as part of https://github.com/maybe-finance/maybe/issues/256.
Shpigford commented 2024-02-04 00:18:33 +08:00 (Migrated from github.com)

@josefarias Couple of conflicts that popped up from a PR merge this morning.

@josefarias Couple of conflicts that popped up from a PR merge this morning.
Sign in to join this conversation.