Merge branch 'worktree-agent-abf55bbee56e6ed70' into claude/relaxed-maxwell-c10wof
# Conflicts: # src/i18n/locales/ar.ts # src/i18n/locales/de.ts # src/i18n/locales/en.ts # src/i18n/locales/es.ts # src/i18n/locales/fr.ts # src/i18n/locales/hi.ts # src/i18n/locales/id.ts # src/i18n/locales/it.ts # src/i18n/locales/ja.ts # src/i18n/locales/ko.ts # src/i18n/locales/nl.ts # src/i18n/locales/pl.ts # src/i18n/locales/pt.ts # src/i18n/locales/ru.ts # src/i18n/locales/th.ts # src/i18n/locales/tr.ts # src/i18n/locales/vi.ts # src/i18n/locales/zh.ts # src/lib/backup.ts
This commit is contained in:
30 files changed
+2472
-6
No files matched your search
@@ -7,6 +7,7 @@ import Avatar from '../components/social/Avatar'
|
||||
import FriendsFeed from '../components/social/FriendsFeed'
|
||||
import Poster from '../components/Poster'
|
||||
import TopFive from '../components/TopFive'
|
||||
import ChallengesCard from '../components/challenges/ChallengesCard'
|
||||
import Recommendations from '../components/Recommendations'
|
||||
import HomeHero, { ContinueCard } from '../components/HomeHero'
|
||||
import type { Tab } from '../components/BottomNav'
|
||||
@@ -241,6 +242,8 @@ export default function HomePage({ onOpen, onAdd, onNavigate, onRoulette, onCale
|
||||
</>
|
||||
)}
|
||||
|
||||
<ChallengesCard onOpen={onOpen} />
|
||||
|
||||
{toWatch.length > 0 && (
|
||||
<>
|
||||
<SectionTitle action={seeAll}>{t('status.a_voir')}</SectionTitle>
|
||||
|
||||
@@ -18,6 +18,7 @@ import { cx } from '../lib/utils'
|
||||
import { useEscape } from '../lib/escape'
|
||||
import { useBackToClose } from '../lib/backNav'
|
||||
import { useMedia } from '../store'
|
||||
import { mergeImportedSettings } from '../lib/challenges'
|
||||
|
||||
type Message = { kind: 'ok' | 'error'; text: string }
|
||||
|
||||
@@ -125,7 +126,7 @@ export default function SettingsPage({ onOpenAdmin }: { onOpenAdmin: () => void
|
||||
if (!pending) return
|
||||
setConfirm(null)
|
||||
await importItems(pending.items, mode)
|
||||
if (pending.settings) updateSettings(pending.settings)
|
||||
if (pending.settings) updateSettings(mode === 'merge' ? mergeImportedSettings(pending.settings, settings) : pending.settings)
|
||||
if (pending.lists) mergeLists(pending.lists, mode)
|
||||
setMessage({
|
||||
kind: 'ok',
|
||||
|
||||
Reference in new issue
Block a user