Compare commits
3 commits
47e106171e
...
c3695de5ca
| Author | SHA1 | Date | |
|---|---|---|---|
| c3695de5ca | |||
| b45f92a574 | |||
| b7d9d91b1a |
3 changed files with 11 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue