Skip to content

Commit 125f1fa

Browse files
authored
Refactor conference details and improve component visibility (#332)
1 parent a198cd6 commit 125f1fa

46 files changed

Lines changed: 4284 additions & 732 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

AGENTS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,9 @@ The project uses Chromatic for visual regression testing. PRs automatically trig
288288
- **Storybook Build:** `pnpm build-storybook` - Builds static Storybook for deployment.
289289
- **Storybook Tests:** `pnpm run storybook:test` - Runs Storybook interaction tests (requires Storybook running).
290290
- **Storybook Tests (CI):** `pnpm run storybook:test-ci` - Builds Storybook and runs tests in CI mode.
291+
- **Qodo CLI:** `pnpm qodo` - Main Qodo CLI for AI-powered development assistance.
292+
- **Qodo Chat:** `pnpm qodo:chat` - Interactive AI chat in terminal for code questions and generation.
293+
- **Qodo Review:** `pnpm qodo:review` - Review PR suggestions from Qodo Merge (auto-detects current branch PR, or pass PR number like `pnpm qodo:review 332`).
291294
- Run sanity commands with `pnpm sanity {command}` (e.g., `pnpm sanity deploy`) - do not use `npx sanity` directly.
292295

293296
## Code Organization & Refactoring

__tests__/api/badge/badge-e2e.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import type { Conference } from '@/lib/conference/types'
1313
import type { BadgeAssertion, BadgeGenerationParams } from '@/lib/badge/types'
1414
import type { SignedCredential } from '@/lib/openbadges/types'
1515

16-
const TEST_HOST = 'cloudnativeday.no'
16+
const TEST_HOST = 'cloudnativedays.no'
1717

1818
/**
1919
* End-to-End Badge System Tests

__tests__/testdata/conference.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export function createMockConference(
1919
contactEmail: 'contact@example.com',
2020
programDate: '2026-06-15',
2121
registrationEnabled: true,
22-
domains: ['2026.cloudnativeday.no'],
22+
domains: ['2026.cloudnativedays.no'],
2323
formats: [],
2424
topics: [],
2525
organizers: [],

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
"build-storybook": "storybook build",
2525
"storybook:test": "test-storybook --maxWorkers=2",
2626
"storybook:test-ci": "concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"pnpm build-storybook --quiet && npx http-server storybook-static --port 6006 --silent\" \"wait-on tcp:127.0.0.1:6006 && pnpm storybook:test\"",
27+
"qodo": "qodo",
28+
"qodo:chat": "qodo chat",
29+
"qodo:review": "qodo merge",
2730
"sanity": "sanity",
2831
"manage-orphaned-files": "tsx scripts/manage-orphaned-files.ts"
2932
},
@@ -87,6 +90,7 @@
8790
},
8891
"devDependencies": {
8992
"@jest/globals": "^30.2.0",
93+
"@qodo/command": "^0.36.0",
9094
"@sanity/client": "^7.14.1",
9195
"@sanity/migrate": "^5.2.3",
9296
"@sanity/vision": "^5.8.1",

pnpm-lock.yaml

Lines changed: 2126 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/app/api/proposal/[id]/action/route.test.ts.skip

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -225,11 +225,11 @@ describe('POST /api/proposal/[id]/action', () => {
225225
registration_enabled: true,
226226
contact_email: 'contact@example.com',
227227
organizers: [],
228-
domains: ['cloudnativeday.no'],
228+
domains: ['cloudnativedays.no'],
229229
formats: [],
230230
topics: [],
231231
},
232-
domain: 'cloudnativeday.no',
232+
domain: 'cloudnativedays.no',
233233
error: null,
234234
})
235235

@@ -283,11 +283,11 @@ describe('POST /api/proposal/[id]/action', () => {
283283
registration_enabled: true,
284284
contact_email: 'contact@example.com',
285285
organizers: [],
286-
domains: ['cloudnativeday.no'],
286+
domains: ['cloudnativedays.no'],
287287
formats: [],
288288
topics: [],
289289
},
290-
domain: 'cloudnativeday.no',
290+
domain: 'cloudnativedays.no',
291291
error: null,
292292
})
293293

@@ -365,11 +365,11 @@ describe('POST /api/proposal/[id]/action', () => {
365365
registration_enabled: true,
366366
contact_email: 'contact@example.com',
367367
organizers: [],
368-
domains: ['cloudnativeday.no'],
368+
domains: ['cloudnativedays.no'],
369369
formats: [],
370370
topics: [],
371371
},
372-
domain: 'cloudnativeday.no',
372+
domain: 'cloudnativedays.no',
373373
error: null,
374374
})
375375

src/components/CallToAction.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ type Story = StoryObj<typeof meta>
2222

2323
const baseConference = {
2424
_id: 'conf-1',
25-
title: 'Cloud Native Day Bergen 2026',
26-
organizer: 'Cloud Native Bergen',
25+
title: 'Cloud Native Days Norway 2026',
26+
organizer: 'Cloud Native Days Norway',
2727
city: 'Bergen',
2828
country: 'Norway',
2929
startDate: '2026-09-15',

0 commit comments

Comments
 (0)