Skip to content

Commit f14bcc2

Browse files
feat: brand Ulysses and expose background effects
1 parent ea9f275 commit f14bcc2

10 files changed

Lines changed: 192 additions & 40 deletions

File tree

‎static/app.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ function initializeEventListeners() {
509509
e.stopPropagation();
510510
exportMenu.classList.remove('open');
511511
const meta = sessionModule.getSessions().find(s => s.id === sessionModule.getCurrentSessionId());
512-
const sessionName = meta ? meta.name : 'Odysseus Chat';
512+
const sessionName = meta ? meta.name : 'Οδυσσέας Chat';
513513
const originalTitle = document.title;
514514
document.title = sessionName;
515515
const chatHistory = document.getElementById('chat-history');
@@ -2396,7 +2396,7 @@ function initializeEventListeners() {
23962396
textarea.setAttribute('placeholder', 'Swipe to toggle plan');
23972397
return;
23982398
}
2399-
textarea.setAttribute('placeholder', width < PLACEHOLDER_COMPACT_WIDTH ? 'Message...' : 'Message Odysseus...');
2399+
textarea.setAttribute('placeholder', width < PLACEHOLDER_COMPACT_WIDTH ? 'Message...' : 'Message Οδυσσέας...');
24002400
}
24012401

24022402
if (_isMobile && textarea && !textarea._odysseusPlanPlaceholderHint) {

‎static/index.html‎

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0, interactive-widget=resizes-content, viewport-fit=cover" />
6-
<title>Odysseus Chat</title>
6+
<title>Οδυσσέας · Ulysses</title>
77
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 4L16 22L6 22Z' fill='%23e06c75'/%3E%3Cpath d='M16 8L16 22L24 22Z' fill='%23e06c75' opacity='0.6'/%3E%3Cpath d='M4 24Q10 20 16 24Q22 28 28 24' stroke='%23e06c75' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E">
88
<link rel="manifest" href="/static/manifest.json">
99
<meta name="theme-color" content="#282c34">
@@ -169,14 +169,14 @@
169169
apple.href = href;
170170
// Also customize the page title so the bookmark inherits a useful name.
171171
var titles = {
172-
'/calendar': 'Calendar — Odysseus',
173-
'/notes': 'Notes — Odysseus',
174-
'/cookbook': 'Cookbook — Odysseus',
175-
'/email': 'Email — Odysseus',
176-
'/memory': 'Memory — Odysseus',
177-
'/gallery': 'Gallery — Odysseus',
178-
'/tasks': 'Tasks — Odysseus',
179-
'/library': 'Library — Odysseus',
172+
'/calendar': 'Calendar — Οδυσσέας',
173+
'/notes': 'Notes — Οδυσσέας',
174+
'/cookbook': 'Cookbook — Οδυσσέας',
175+
'/email': 'Email — Οδυσσέας',
176+
'/memory': 'Memory — Οδυσσέας',
177+
'/gallery': 'Gallery — Οδυσσέας',
178+
'/tasks': 'Tasks — Οδυσσέας',
179+
'/library': 'Library — Οδυσσέας',
180180
};
181181
if (titles[path]) document.title = titles[path];
182182
// Per-route Android home-screen icon. We swap the <link rel="manifest">
@@ -186,8 +186,8 @@
186186
try {
187187
if (inner && typeof Blob !== 'undefined') {
188188
var pwa = {
189-
name: (titles[path] || 'Odysseus'),
190-
short_name: (titles[path] || 'Odysseus').split('—')[0].trim(),
189+
name: (titles[path] || 'Οδυσσέας · Ulysses'),
190+
short_name: (titles[path] || 'Οδυσσέας').split('—')[0].trim(),
191191
start_url: path,
192192
scope: '/',
193193
display: 'standalone',
@@ -554,7 +554,7 @@ <h2><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentC
554554
<div class="theme-adv-group">
555555
<div class="theme-adv-group-label">Sidebar</div>
556556
<div class="theme-custom">
557-
<div class="color-row"><label>Odysseus Logo</label><input type="color" id="adv-brandColor"><button class="color-reset-btn" data-reset-adv="brandColor" title="Reset this color" aria-label="Reset color">&#x21BA;</button></div>
557+
<div class="color-row"><label>Οδυσσέας Logo</label><input type="color" id="adv-brandColor"><button class="color-reset-btn" data-reset-adv="brandColor" title="Reset this color" aria-label="Reset color">&#x21BA;</button></div>
558558
<div class="color-row"><label title="Hamburger menu"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" style="vertical-align:-2px;"><line x1="3" y1="6" x2="21" y2="6"/><line x1="3" y1="12" x2="21" y2="12"/><line x1="3" y1="18" x2="21" y2="18"/></svg></label><input type="color" id="adv-hamburgerColor"><button class="color-reset-btn" data-reset-adv="hamburgerColor" title="Reset this color" aria-label="Reset color">&#x21BA;</button></div>
559559
</div>
560560
</div>
@@ -749,7 +749,7 @@ <h2><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentC
749749
<div class="sidebar-header">
750750
<button class="sidebar-hamburger" id="sidebar-toggle-btn" title="Toggle sidebar"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"><line x1="3" y1="6" x2="21" y2="6"/><line x1="3" y1="12" x2="21" y2="12"/><line x1="3" y1="18" x2="21" y2="18"/></svg></button>
751751
<div class="sidebar-brand" id="sidebar-brand-btn" style="cursor:pointer;" title="New chat">
752-
<span class="sidebar-brand-title">Odysseus</span>
752+
<span class="sidebar-brand-title">Οδυσσέας</span>
753753
</div>
754754
</div>
755755
<div class="sidebar-inner">
@@ -966,12 +966,12 @@ <h4>Memory</h4>
966966
never affects layout, but always present inside the main landmark
967967
(the sidebar that shows the visible brand is hidden off-canvas on
968968
mobile) so the page always exposes a single level-1 heading. -->
969-
<h1 class="a11y-visually-hidden">Odysseus</h1>
969+
<h1 class="a11y-visually-hidden">Οδυσσέας · Ulysses</h1>
970970
<div class="chat-top-bar">
971971
<button type="button" class="incognito-indicator" id="incognito-indicator" title="Nobody mode active — click to deactivate" style="display:none;"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"/><line x1="8" y1="16" x2="16" y2="8"/><line x1="8" y1="8" x2="16" y2="16"/></svg></button>
972-
<div class="chat-meta-overlay"><span id="current-meta">Odysseus Chat</span><span id="current-meta-count" class="chat-meta-count" aria-hidden="true"></span><span id="session-cost-display" class="session-cost-display" style="display:none;"></span><button type="button" class="chat-context-pill" id="chat-context-pill" title="Chat context" hidden><span class="chat-context-dot"></span><span id="chat-context-pill-label">0%</span></button><span class="export-dropdown-wrap" id="export-dropdown-wrap"><button type="button" class="export-dl-btn" id="export-dl-btn" title="More"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg></button><div class="export-dropdown-menu" id="export-dropdown-menu"><div class="export-dropdown-item" id="export-rename-btn"><span class="dropdown-icon"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M17 3a2.83 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z"/></svg></span><span>Rename</span></div><div class="export-dropdown-item" id="export-compact-btn"><span class="dropdown-icon"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 7h16"/><path d="M7 12h10"/><path d="M10 17h4"/></svg></span><span class="export-compact-pill">Compact</span></div><div class="export-dropdown-item" id="export-copy-btn"><span class="dropdown-icon"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="9" y="9" width="13" height="13" rx="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg></span><span>Copy Chat</span></div><div class="export-dropdown-item" id="export-pdf-btn"><span class="dropdown-icon"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/><path d="M9 15v-2h2a1.5 1.5 0 0 1 0 3H9z"/></svg></span><span>PDF</span></div><div class="export-dropdown-item" id="export-doc-btn"><span class="dropdown-icon"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/><line x1="16" y1="13" x2="8" y2="13"/><line x1="16" y1="17" x2="8" y2="17"/><polyline points="10 9 9 9 8 9"/></svg></span><span>Save to Documents</span></div><div class="export-dropdown-item dropdown-item-danger" id="export-delete-btn"><span class="dropdown-icon"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 6h18"/><path d="M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"/><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6"/></svg></span><span>Delete Chat</span></div></div></span></div> </div>
972+
<div class="chat-meta-overlay"><span id="current-meta">Οδυσσέας Chat</span><span id="current-meta-count" class="chat-meta-count" aria-hidden="true"></span><span id="session-cost-display" class="session-cost-display" style="display:none;"></span><button type="button" class="chat-context-pill" id="chat-context-pill" title="Chat context" hidden><span class="chat-context-dot"></span><span id="chat-context-pill-label">0%</span></button><span class="export-dropdown-wrap" id="export-dropdown-wrap"><button type="button" class="export-dl-btn" id="export-dl-btn" title="More"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg></button><div class="export-dropdown-menu" id="export-dropdown-menu"><div class="export-dropdown-item" id="export-rename-btn"><span class="dropdown-icon"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M17 3a2.83 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z"/></svg></span><span>Rename</span></div><div class="export-dropdown-item" id="export-compact-btn"><span class="dropdown-icon"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 7h16"/><path d="M7 12h10"/><path d="M10 17h4"/></svg></span><span class="export-compact-pill">Compact</span></div><div class="export-dropdown-item" id="export-copy-btn"><span class="dropdown-icon"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="9" y="9" width="13" height="13" rx="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg></span><span>Copy Chat</span></div><div class="export-dropdown-item" id="export-pdf-btn"><span class="dropdown-icon"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/><path d="M9 15v-2h2a1.5 1.5 0 0 1 0 3H9z"/></svg></span><span>PDF</span></div><div class="export-dropdown-item" id="export-doc-btn"><span class="dropdown-icon"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/><line x1="16" y1="13" x2="8" y2="13"/><line x1="16" y1="17" x2="8" y2="17"/><polyline points="10 9 9 9 8 9"/></svg></span><span>Save to Documents</span></div><div class="export-dropdown-item dropdown-item-danger" id="export-delete-btn"><span class="dropdown-icon"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 6h18"/><path d="M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"/><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6"/></svg></span><span>Delete Chat</span></div></div></span></div> </div>
973973
<div id="welcome-screen">
974-
<div class="welcome-name"><svg class="welcome-boat" viewBox="0 0 32 32"><path d="M16 4L16 22L6 22Z" fill="currentColor"/><path d="M16 8L16 22L24 22Z" fill="currentColor" opacity="0.6"/><path d="M4 24Q10 20 16 24Q22 28 28 24" stroke="currentColor" stroke-width="2.5" fill="none" stroke-linecap="round"/></svg>Odysseus</div>
974+
<div class="welcome-name"><svg class="welcome-boat" viewBox="0 0 32 32"><path d="M16 4L16 22L6 22Z" fill="currentColor"/><path d="M16 8L16 22L24 22Z" fill="currentColor" opacity="0.6"/><path d="M4 24Q10 20 16 24Q22 28 28 24" stroke="currentColor" stroke-width="2.5" fill="none" stroke-linecap="round"/></svg>Οδυσσέας</div>
975975
<div class="welcome-sub" id="welcome-sub">New chat ready.</div>
976976
<div class="welcome-tip" id="welcome-tip"></div>
977977
<button type="button" class="incognito-btn" id="incognito-btn" title="Enable Nobody mode — no memory, no history saved">
@@ -1027,7 +1027,7 @@ <h1 class="a11y-visually-hidden">Odysseus</h1>
10271027
<div class="chat-input-bar">
10281028
<div class="chat-input-top">
10291029
<div id="message-ghost" class="ghost-text-overlay" aria-hidden="true"></div>
1030-
<textarea id="message" placeholder="Message Odysseus..." required autocomplete="off" aria-label="Message input" rows="1" autofocus></textarea>
1030+
<textarea id="message" placeholder="Message Οδυσσέας..." required autocomplete="off" aria-label="Message input" rows="1" autofocus></textarea>
10311031
<div id="plan-mode-status" class="plan-mode-status" hidden>
10321032
<span class="plan-mode-status-label">Plan mode</span>
10331033
<button type="button" id="plan-mode-status-toggle" class="plan-mode-status-toggle" aria-label="Turn off plan mode" aria-pressed="true">
@@ -1770,7 +1770,7 @@ <h2 style="display:flex;align-items:center;gap:8px;"><svg width="14" height="14"
17701770
<div class="vis-toggles">
17711771
<label class="vis-row">
17721772
<span class="vis-icon"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"><circle cx="12" cy="12" r="10"/><path d="M8 12l2.5 2.5L16 9"/></svg></span>
1773-
<span class="vis-label">Odysseus <span class="vis-hint">Brand name</span></span>
1773+
<span class="vis-label">Οδυσσέας <span class="vis-hint">Brand name</span></span>
17741774
<input type="checkbox" checked data-ui-key="sidebar-brand"><span class="vis-switch"></span>
17751775
</label>
17761776
<label class="vis-row">
@@ -2086,7 +2086,7 @@ <h2 style="display:flex;align-items:center;gap:6px;"><svg width="14" height="14"
20862086
</div>
20872087
<div class="admin-card">
20882088
<h2><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="vertical-align:-2px;margin-right:5px;opacity:0.6"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg>Public App URL</h2>
2089-
<div class="admin-toggle-sub" style="margin-bottom:8px">Used to build clickable links back to Odysseus inside outgoing reminder / urgent-email emails (e.g. <code>https://chat.yourdomain.com</code>). Leave blank to omit links.</div>
2089+
<div class="admin-toggle-sub" style="margin-bottom:8px">Used to build clickable links back to Οδυσσέας inside outgoing reminder / urgent-email emails (e.g. <code>https://chat.yourdomain.com</code>). Leave blank to omit links.</div>
20902090
<div class="settings-col">
20912091
<div class="settings-row">
20922092
<label class="settings-label">URL</label>
@@ -2344,7 +2344,7 @@ <h2>
23442344
</svg>
23452345
Terminal Logs
23462346
</h2>
2347-
<div class="admin-toggle-sub settings-system-logs-toggle-sub">Live diagnostic logs and system output from the Odysseus process.</div>
2347+
<div class="admin-toggle-sub settings-system-logs-toggle-sub">Live diagnostic logs and system output from the Ulysses process.</div>
23482348

23492349
<div class="settings-col settings-system-logs-col">
23502350
<!-- Controls row -->

‎static/js/keyboard-shortcuts.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ export function initKeyboardShortcuts(modules) {
211211
} else {
212212
sessionModule.setCurrentSessionId(null);
213213
el('chat-history').innerHTML = '';
214-
el('current-meta').textContent = 'Odysseus Chat';
214+
el('current-meta').textContent = 'Οδυσσέας Chat';
215215
Storage.remove('lastSessionId');
216216
if (chatModule && chatModule.showWelcomeScreen) chatModule.showWelcomeScreen();
217217
}

‎static/js/sessions.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ function _deselectCurrentSession(sid) {
286286
if (currentSessionId !== sid) return;
287287
currentSessionId = null;
288288
uiModule.el('chat-history').innerHTML = '';
289-
uiModule.el('current-meta').textContent = 'Odysseus Chat';
289+
uiModule.el('current-meta').textContent = 'Οδυσσέας Chat';
290290
Storage.remove('lastSessionId');
291291
history.replaceState(null, '', window.location.pathname);
292292
if (window.chatModule && window.chatModule.showWelcomeScreen) {
@@ -1914,7 +1914,7 @@ export async function selectSession(id, { keepSidebar = false, showLoading = tru
19141914

19151915
const currentMetaEl = uiModule.el('current-meta');
19161916
if (currentMetaEl) {
1917-
currentMetaEl.textContent = meta ? meta.name : 'Odysseus Chat';
1917+
currentMetaEl.textContent = meta ? meta.name : 'Οδυσσέας Chat';
19181918
}
19191919
// Update model picker visibility
19201920
updateModelPicker();

0 commit comments

Comments
 (0)