Skip to content

Improve the welcome page & Open the walkthrough instead of the welcome if qt-sm is installed#508

Open
OrkunTokdemir wants to merge 3 commits into
qt-labs:devfrom
OrkunTokdemir:orkun_qt_core_qt_sm_welcome_22_06_2026
Open

Improve the welcome page & Open the walkthrough instead of the welcome if qt-sm is installed#508
OrkunTokdemir wants to merge 3 commits into
qt-labs:devfrom
OrkunTokdemir:orkun_qt_core_qt_sm_welcome_22_06_2026

Conversation

@OrkunTokdemir

Copy link
Copy Markdown
Collaborator
  • qt-core: Restore Welcome page webview on window reload
  • qt-core: Add Qt setup walkthrough entry to Welcome page
  • qt-core: Open qt-sm walkthrough on activation until completed

The Welcome page webview was not restored after a window reload because
no WebviewPanelSerializer was registered for it.

Register a serializer that re-attaches the restored panel to
WelcomePageController, and add the corresponding onWebviewPanel
activation event so the extension activates to perform the restore.

Also give the Welcome page a unique view type
('ViewTypeWelcomePage'); it previously reused the Courses browser's
'ViewTypeCoursesBrowser', which would have prevented the serializer
from distinguishing the two panels.
Add a "Set up Qt" item to the Get started section of the Welcome page
that opens qt-sm's guided walkthrough via the qt-sm.openWalkthrough
command.

The item is shown dynamically: the data reply now reports whether the
qt-sm extension (theqtcompany.qt-sm) is installed, and the Get started
list only includes the walkthrough entry when it is available. The
list is made reactive so it updates once the availability is loaded.
On activation, open the qt-sm "Get Started" walkthrough instead of the
welcome page while it is available and not yet completed. Availability
is detected via the theqtcompany.qt-sm extension, and completion via
the qt-sm.getStartedDone setting that qt-sm maintains. Once onboarding
is done (or qt-sm is not installed), the welcome page is shown as
before, subject to showWelcomePageOnActivation.

Move the qt-sm availability check into a shared welcome/walkthrough
module so both the activation flow and the data dispatcher use it.
@OrkunTokdemir OrkunTokdemir changed the title orkun qt core qt sm welcome 22 06 2026 Improve the welcome page & Open the walkthrough instead of the welcome if qt-sm is installed Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant