You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 06a629e
Browse filesBrowse the repository at this point in the historyBrowse files
* feat: speed up icon-button tooltips with a 300ms hover delay
Obsidian's native aria-label tooltips use a 1000ms cold-start delay and a
100ms warm window, so hovering across the chat toolbar feels inconsistent
and sluggish compared to common web toolbars (200-700ms initial, ~300ms
warm). Route the navigation buttons (new tab, new conversation, chat
history) and the tab-bar badges through a shared setButtonTooltip helper
built on the official setTooltip API with a 300ms delay, keeping native
rendering and accessibility intact. The obsidian test mock mirrors
setTooltip so unit tests exercise the new path.
Co-authored-by: QoderAI (Qwen 3.8 Max) <qoder_ai@qoder.com>
* fix: give the credits button a static native tooltip like other nav buttons
The credits usage button set a browser `title` attribute with the live
usage percentage, so its tooltip rendered in the OS/browser style and
read differently from the other nav-row buttons, which use aria-label
and Obsidian's native tooltip. Drop the percentage from the trigger
copy in all ten locales and set a static aria-label ("Usage") instead,
so the gauge button looks and behaves like its neighbors; the popover
panel keeps the detailed numbers.
Co-authored-by: QoderAI (Qwen 3.8 Max) <qoder_ai@qoder.com>
* fix: localize nav-row button tooltips and the blank tab title
The nav-row buttons hardcoded English strings ("New tab",
"New conversation", "Chat history") and getTabTitle fell back to a
hardcoded "New Chat", so non-English locales (e.g. zh-CN) saw English
tooltips next to the localized credits button. Route them through the
i18n catalog: reuse commands.newTab for the new-tab button and add a
nav group (newConversation / chatHistory / newChat) in all ten locales.
Co-authored-by: QoderAI (Qwen 3.8 Max) <qoder_ai@qoder.com>
* fix: persist declarative setting changes and live-localize views on switch
On Obsidian 1.13+ the declarative settings base class persists control
changes into the plugin data file, but Qoderian loads its settings from
.qoderian/qoderian-settings.json, so simple controls (language,
auto-scroll, and the other toggles) silently reverted on restart. Per
the API contract, override setControlValue to write to our own data
source: mutate the settings bag and save once through saveSettings(),
skipping the base class' data.json write. After a language change,
open chat views also re-apply localized static text (nav-row tooltips,
tab titles, and the credits button label/panel) via a new
refreshLocalizedChrome() instead of keeping the old language until the
view reopens.
Co-authored-by: QoderAI (Qwen 3.8 Max) <qoder_ai@qoder.com>
* refactor: route the credits button tooltip through the shared helper
The credits button still wrote its aria-label directly, keeping the
default 1s native delay while the other nav-row buttons use the shared
setButtonTooltip helper (300ms). Use the same helper so the button is
built and hinted exactly like its neighbors; only its click behavior
(opening the usage popover) differs.
Co-authored-by: QoderAI (Qwen 3.8 Max) <qoder_ai@qoder.com>
---------
Co-authored-by: QoderAI (Qwen 3.8 Max) <qoder_ai@qoder.com>
Copy file name to clipboardExpand all lines: src/i18n/locales/de.json
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,11 @@
38
38
"newSession": "Neue Sitzung (im aktuellen Tab)",
39
39
"closeCurrentTab": "Aktuellen Tab schließen"
40
40
},
41
+
"nav": {
42
+
"newConversation": "Neue Unterhaltung",
43
+
"chatHistory": "Chatverlauf",
44
+
"newChat": "Neuer Chat"
45
+
},
41
46
"chat": {
42
47
"rewind": {
43
48
"confirmMessage": "Zu diesem Punkt zurückspulen? Dateiänderungen nach dieser Nachricht werden rückgängig gemacht. Das Zurückspulen betrifft keine manuell oder über Bash bearbeiteten Dateien.",
Copy file name to clipboardExpand all lines: src/i18n/locales/en.json
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,11 @@
38
38
"newSession": "New session (in current tab)",
39
39
"closeCurrentTab": "Close current tab"
40
40
},
41
+
"nav": {
42
+
"newConversation": "New conversation",
43
+
"chatHistory": "Chat history",
44
+
"newChat": "New Chat"
45
+
},
41
46
"chat": {
42
47
"rewind": {
43
48
"confirmMessage": "Rewind to this point? File changes after this message will be reverted. Rewinding does not affect files edited manually or via bash.",
Copy file name to clipboardExpand all lines: src/i18n/locales/es.json
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,11 @@
38
38
"newSession": "Nueva sesión (en la pestaña actual)",
39
39
"closeCurrentTab": "Cerrar pestaña actual"
40
40
},
41
+
"nav": {
42
+
"newConversation": "Nueva conversación",
43
+
"chatHistory": "Historial del chat",
44
+
"newChat": "Nuevo chat"
45
+
},
41
46
"chat": {
42
47
"rewind": {
43
48
"confirmMessage": "¿Rebobinar a este punto? Los cambios de archivos después de este mensaje serán revertidos. El rebobinado no afecta archivos editados manualmente o mediante bash.",
"confirmMessage": "Rembobiner jusqu'à ce point ? Les modifications de fichiers après ce message seront annulées. Le rembobinage n'affecte pas les fichiers modifiés manuellement ou via bash.",
0 commit comments