Skip to content

Commit eb07983

Browse files
committed
text changes per discourse discussion for ECB-93 and ECB-96
1 parent 2afc2d4 commit eb07983

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

apps/app/public/locales/en/common.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@
264264
"body": "Find more information about your rights.",
265265
"buttons": {
266266
"btn-1": {
267-
"text": "Anti-Trans Risk Map (Erin Reed)",
267+
"text": "Anti-Trans Risk Map (Erin In The Morning)",
268268
"link": "https://www.erininthemorning.com/p/post-election-2024-anti-trans-risk"
269269
},
270270
"btn-2": {

packages/db/prisma/data-migrations/2025-03-01_update-nationwide-locationbased-alert.ts packages/db/prisma/data-migrations/2025-03-05_update-nationwide-locationbased-alert.ts

+4-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { type JobDef } from '~db/prisma/jobPreRun'
33

44
/** Define the job metadata here. */
55
const jobDef: JobDef = {
6-
jobId: '2025-03-01_update-nationwide-based-alert-text',
6+
jobId: '2025-03-05_update-nationwide-based-alert-text',
77
title: 'change the nationwide alert text string',
88
createdBy: 'Diana Garbarino',
99
/** Optional: Longer description for the job */
@@ -12,7 +12,7 @@ const jobDef: JobDef = {
1212
/**
1313
* Job export - this variable MUST be UNIQUE
1414
*/
15-
export const job20250301_update_nationwide_based_alert = {
15+
export const job20250305_update_nationwide_based_alert = {
1616
title: `[${jobDef.jobId}] ${jobDef.title}`,
1717
task: async (ctx, task) => {
1818
const { createLogger, formatMessage, jobPostRunner, prisma } = ctx
@@ -23,7 +23,8 @@ export const job20250301_update_nationwide_based_alert = {
2323
// Variables for the update
2424
const key = 'locationBasedAlert.alrt_01J1D1GAT5G5S6QNMCND5PMDAX'
2525
const ns = 'org-data'
26-
const newTextValue = 'Check out our list of recommended links for trans and immigrant communities'
26+
const newTextValue =
27+
'Check out our list of <Link>recommended links</Link> for trans and immigrant communities'
2728
// Perform the update
2829
const update1 = await prisma.translationKey.update({
2930
where: { ns_key: { key, ns } },

packages/db/prisma/data-migrations/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ export * from './2025-02-17_new_mental-health-service-tag'
2626
export * from './2025-02-17_new-cost-attribute'
2727
export * from './2025-02-17_update-medical-tags'
2828
export * from './2025-03-01_update-locationbased-alert-string-add-emoji'
29-
export * from './2025-03-01_update-nationwide-locationbased-alert'
29+
export * from './2025-03-05_update-nationwide-locationbased-alert'
3030
// codegen:end

packages/ui/components/core/LocationBasedAlertBanner/index.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ export const LocationBasedAlertBanner = ({ lat, lon, type, onClick }: LocationBa
106106
components={{
107107
Link: <Link external variant={variants.Link.inheritStyle} target='_blank' />,
108108
}}
109-
// as={Text}
110109
/>
111110
</Text>
112111
</Box>

0 commit comments

Comments
 (0)