diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 5c0ed37..f3348bf 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -30,6 +30,7 @@ jobs: NUXT_PUBLIC_COMING_SOON: 'false' NODE_ENV: development ALLOW_DEV_TEST_ENDPOINTS: 'true' + BASE_URL: http://localhost:3000 steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -100,6 +101,7 @@ jobs: NUXT_PUBLIC_COMING_SOON: 'false' NODE_ENV: development ALLOW_DEV_TEST_ENDPOINTS: 'true' + BASE_URL: http://localhost:3000 steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 diff --git a/app/pages/events/index.vue b/app/pages/events/index.vue index 3a64189..66c90e9 100644 --- a/app/pages/events/index.vue +++ b/app/pages/events/index.vue @@ -232,8 +232,12 @@ const isAlmostFull = (event) => { .event-row:hover { padding-left: 4px; } -.event-row.is-cancelled { - opacity: 0.5; +.event-row.is-cancelled .event-title a { + text-decoration: line-through; + text-decoration-thickness: 1px; +} +.event-row.is-cancelled .event-tagline { + text-decoration: line-through; } .event-date-col { diff --git a/server/api/admin/board-channels.post.js b/server/api/admin/board-channels.post.js index b49d81f..bc4a9f8 100644 --- a/server/api/admin/board-channels.post.js +++ b/server/api/admin/board-channels.post.js @@ -25,7 +25,9 @@ export default defineEventHandler(async (event) => { if (!slackChannelId) { if (process.env.ALLOW_DEV_TEST_ENDPOINTS === 'true') { - slackChannelId = `dev-stub-${Date.now()}` + // Match the Slack channel ID format (^[A-Z0-9]+$) so the value + // round-trips through boardChannelUpdateSchema on subsequent edits. + slackChannelId = `CDEV${Date.now().toString(36).toUpperCase()}` console.log('[slack] DEV MODE — skipping createChannel', { name: body.name, slackChannelId }) } else { const slack = getSlackAdminService()