Shortcuts you invent, rules you write, gestures you own - all still just data

Claude-Session: https://claude.ai/code/session_01Ms2FbjQy31TVf3CEvQhGM8
This commit is contained in:
Gabriel Brown
2026-08-25 01:51:59 -04:00
parent f9e5d3f470
commit 06c53d6c21
48 changed files with 4749 additions and 140 deletions
@@ -22,6 +22,20 @@ Rectangle {
return SettingsRoutes.breadcrumb(page);
}
// A result that names a section opens the page ON that section rather than
// on whichever tab the page opens by default -- finding "Theme editor" and
// landing on the Themes tab is the search half-working. Results without one
// go through pageRequested exactly as before, which is every result the
// schema produces.
function openResult(result: var): void {
const section = String(result.section ?? "");
if (section === "") {
root.pageRequested(String(result.page));
return;
}
ShellState.openSettingsSection(String(result.page), section);
}
// One row per category. SettingsRoutes owns the taxonomy; a category with
// tabs is opened at its first available tab by ShellState's resolution.
readonly property var destinations: SettingsRoutes.categories
@@ -186,7 +200,7 @@ Rectangle {
hoverEnabled: true
cursorShape: Qt.PointingHandCursor
onClicked: {
root.pageRequested(hit.modelData.page);
root.openResult(hit.modelData);
searchInput.text = "";
}
}