refactor: rename workspace branding and update project overview

This commit is contained in:
2026-09-28 18:54:10 +09:00
parent 1cf32705a7
commit 57882cf5f9
13 changed files with 79 additions and 66 deletions
+1 -1
View File
@@ -548,7 +548,7 @@ export function HomePage() {
))}
</section>
<Link to="/deck" className="home-deck-link">
Explore in Twitter Lite
Explore in Research
<ArrowUpRight className="size-4" />
</Link>
</aside>
+1 -1
View File
@@ -148,7 +148,7 @@ describe('home natural-language proposals', () => {
['連絡を開いて', '/support'],
['記録', '/journal'],
['リーダーを開く', '/inbox'],
['Twitter Liteに移動', '/deck'],
['Researchに移動', '/deck'],
])('recognizes navigation: %s', (input, to) => {
expect(interpretAction(input, tasks, contacts)).toMatchObject({
action: { type: 'navigate', to },
+4 -4
View File
@@ -38,13 +38,13 @@ export function interpretAction(
return { error: 'Please review this action in the relevant screen.' }
text = text
.replace(
/^open (messages|journal|reader|twitter lite|deck)$/i,
/^open (messages|journal|reader|research|deck)$/i,
(_, name: string) =>
({
messages: '連絡',
journal: '記録',
reader: 'リーダー',
'twitter lite': 'Twitter Lite',
research: 'Research',
deck: 'デッキ',
})[name.toLowerCase()] ?? name,
)
@@ -83,7 +83,7 @@ export function interpretAction(
連絡: '/support',
記録: '/journal',
リーダー: '/inbox',
'Twitter Lite': '/deck',
Research: '/deck',
デッキ: '/deck',
}
const destination = text.replace(/(?:を開いて|を開く|に移動)$/, '')
@@ -93,7 +93,7 @@ export function interpretAction(
if (route)
return {
action: { type: 'navigate', to: route },
label: `Open ${{ '/support': 'Messages', '/journal': 'Journal', '/inbox': 'Reader', '/deck': 'Twitter Lite' }[route]}`,
label: `Open ${{ '/support': 'Messages', '/journal': 'Journal', '/inbox': 'Reader', '/deck': 'Research' }[route]}`,
}
const note = text.match(/^(メモ|再開地点)[::\s]+(.+)$/s)