feat: native Qt start panel + kindred:// URL scheme #169
Reference in New Issue
Block a user
Delete Branch "feat/native-start-panel-167"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Replaces the QWebEngineView-based start page with a rich native Qt panel that fetches data directly from the Silo REST API.
QWebEngineView(PySide6.QtWebEngineWidgets) is not available on conda-forge for Qt6, so the start page was always falling back to a bare offline widget showing only a status banner and recent files.Also adds
kindred://URL scheme support so users can open items in Create from a web browser.Changes
Native Start Panel (
mods/silo/freecad/silo_start.py)SiloClient.list_items()SiloEventListenersignals)QDesktopServices.openUrl()QWebEngineView/_SiloPagecode pathskindred://URL Schemesilo_commands.py: Addedhandle_kindred_url()— parseskindred://item/{part_number}and calls_sync.open_item()kindred-create.desktop: Changed%F→%U, addedx-scheme-handler/kindredMIME typeMainWindow.cpp: ExtendedprocessMessages()to detectkindred://URLs in IPC messages and dispatch to PythonInitGui.py: Added startup hook for cold-startkindred://URL argumentsSubmodule Note
The
mods/silosubmodule points to branchfeat/native-start-panel-167onsilo-mod— that branch must be merged first or simultaneously.Testing
Open in Browserbutton → launches system browser to Silo web UIkindred-create kindred://item/PN-001from terminal → opens item (running instance via IPC, or cold start)Closes #167