refactor: extract desktop shell Blade components#108
Merged
ibourgeois merged 2 commits intomainfrom Mar 21, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Refactors the desktop shell landing page to be composition-focused by extracting repeated UI markup into reusable anonymous Blade components, while documenting the expected componentization approach for future desktop UI work.
Changes:
- Replaced repeated desktop shell markup in
welcome.blade.phpwith<x-desktop.*>anonymous Blade components. - Added new desktop shell primitive components (window frame, feature cards, sidebar blocks, runtime/workspace status cards).
- Documented the desktop UI component convention in
CONTRIBUTING.md.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| resources/views/welcome.blade.php | Switches the desktop shell template to use the new <x-desktop.*> components instead of repeated markup. |
| resources/views/components/desktop/window-frame.blade.php | Introduces a reusable window frame/header component for the desktop shell. |
| resources/views/components/desktop/feature-card.blade.php | Adds a reusable card component for the three “feature” tiles. |
| resources/views/components/desktop/runtime-status-card.blade.php | Extracts the Surreal runtime status panel into a dedicated component. |
| resources/views/components/desktop/workspace-status-card.blade.php | Extracts the preview workspace panel into a dedicated component. |
| resources/views/components/desktop/sidebar-block.blade.php | Adds a reusable sidebar block component for launch kit / notes sections. |
| CONTRIBUTING.md | Adds documented guidance to build desktop UI from small Blade/Livewire components under resources/views/components/desktop/*. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Testing
Refs #101