Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
61d11cc
feat: localize app routes and optimize login hanok
yshls Nov 17, 2026
0088882
feat(i18n): localize hanok-archive, sorimaru-audio, and map UI with 4โ€ฆ
yshls Nov 17, 2026
2537295
refactor(journey): restore original home discovery view on home page
yshls Nov 17, 2026
05e1662
fix(auth): restore Korean labels and text in login page
yshls Nov 17, 2026
58ea2de
Merge remote-tracking branch 'origin/develop' into feature/interactivโ€ฆ
yshls Nov 17, 2026
2c0b929
Merge pull request #454 from YRootLab/feature/interactive-ai-journey
yshls Nov 17, 2026
24b12bf
feat(journey): navigate to dedicated chat page on search and retain oโ€ฆ
yshls Nov 17, 2026
2e2713d
fix(layout): move theme-mode-init script to head to prevent React 19 โ€ฆ
yshls Nov 17, 2026
c4a4095
fix(layout): add suppressHydrationWarning to body to prevent extensioโ€ฆ
yshls Nov 17, 2026
5ba6629
fix(journey): harden SSE conversation recovery
yshls Nov 17, 2026
ecf600c
fix(theme): use useServerInsertedHTML for theme script to prevent Reaโ€ฆ
yshls Nov 17, 2026
ccb5e52
fix(layout): remove duplicate Header, PageContainer, and Footer in [lโ€ฆ
yshls Nov 17, 2026
f682ee1
fix(i18n): wrap next.config with withNextIntl and handle locale rewriโ€ฆ
yshls Nov 17, 2026
d57e707
fix(theme): guard against browser extensions mutating userSelect befoโ€ฆ
yshls Nov 17, 2026
0cf61a1
Potential fix for pull request finding 'CodeQL / Unused variable, impโ€ฆ
yshls Nov 18, 2026
917cc6f
fix(i18n): preserve public 3D asset routes
yshls Nov 18, 2026
2e66689
fix(deps): declare next-intl as direct dependency
yshls Nov 18, 2026
f731b48
Merge pull request #456 from YRootLab/feature/interactive-ai-journey
yshls Nov 18, 2026
04b8e27
fix(api): add typeof guard on mock handler dispatch to satisfy CodeQL
yshls Nov 18, 2026
0f515dd
fix(storybook): add NextIntlClientProvider decorator for i18n context
yshls Nov 18, 2026
a8a83ce
fix(test): add next-intl mocks for components using useTranslations
yshls Nov 18, 2026
765ebf3
fix(test): update source-assertion tests to match current code
yshls Nov 18, 2026
7ee6fc5
Merge pull request #457 from YRootLab/fix/codeql-storybook-i18n
yshls Nov 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 33 additions & 29 deletions .storybook/preview.tsx
Original file line number Diff line number Diff line change
@@ -1,30 +1,34 @@
import type { Preview } from '@storybook/nextjs-vite';
import React from 'react';
import '../src/app/globals.css';
import { OnmaruThemeProvider } from '../src/design-system/ThemeProvider';

const preview: Preview = {
decorators: [
(Story) => (
<OnmaruThemeProvider defaultMode="light">
<Story />
</OnmaruThemeProvider>
),
],
parameters: {
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/i,
},
},
a11y: {
test: 'todo',
},
},
async beforeEach() {
localStorage.setItem('onmaru-color-mode', 'light');
},
};

import type { Preview } from '@storybook/nextjs-vite';
import React from 'react';
import { NextIntlClientProvider } from 'next-intl';
import '../src/app/globals.css';
import { OnmaruThemeProvider } from '../src/design-system/ThemeProvider';
import koMessages from '../messages/ko.json';

const preview: Preview = {
decorators: [
(Story) => (
<NextIntlClientProvider locale="ko" messages={koMessages}>
<OnmaruThemeProvider defaultMode="light">
<Story />
</OnmaruThemeProvider>
</NextIntlClientProvider>
),
],
parameters: {
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/i,
},
},
a11y: {
test: 'todo',
},
},
async beforeEach() {
localStorage.setItem('onmaru-color-mode', 'light');
},
};

export default preview;
1,252 changes: 1,252 additions & 0 deletions messages/en.json

Large diffs are not rendered by default.

1,252 changes: 1,252 additions & 0 deletions messages/ja.json

Large diffs are not rendered by default.

1,252 changes: 1,252 additions & 0 deletions messages/ko.json

Large diffs are not rendered by default.

1,252 changes: 1,252 additions & 0 deletions messages/zh.json

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion next.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import type { NextConfig } from "next";
import path from "path";
import createNextIntlPlugin from 'next-intl/plugin';

const withNextIntl = createNextIntlPlugin('./src/i18n/request.ts');

function resolveKakaoMapKey(env: Record<string, string | undefined>): string | undefined {
const key = env.NEXT_PUBLIC_KAKAO_MAP_KEY?.trim() || env.KAKAO_MAP_KEY?.trim();
return key || undefined;
Expand Down Expand Up @@ -44,4 +48,5 @@ const nextConfig: NextConfig = {
},
};

export default nextConfig;
export default withNextIntl(nextConfig);

Loading
Loading