Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add visual highlighting for selected projects on homepage#2834

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
Copilot wants to merge2 commits intodevelop
base:develop
Choose a base branch
Loading
fromcopilot/fix-2812

Conversation

Copy link

CopilotAI commentedAug 17, 2025
edited
Loading

This PR adds visual feedback when a project is clicked on the Meshroom homepage, addressing the lack of UI indication for project selection.

Changes

The implementation adds a red border highlighting system to the project grid view:

  • Selection State Management: AddedselectedIndex property to track which project is currently selected
  • Visual Highlighting: Selected projects now display a 2px red border (#ff0000) with rounded corners
  • Interactive Feedback: Selection updates immediately when clicking projects, before opening them
  • State Management: Selection is properly cleared when deleting projects or switching tabs

Technical Implementation

The changes are minimal and focused, modifying onlymeshroom/ui/qml/Homepage.qml:

  • AddedselectedIndex: -1 property to the GridView component
  • Enhanced the Button delegate with conditional border styling using a Rectangle background
  • Updated click handlers to set selection state before executing project actions
  • Added cleanup logic for invalid selections when the model changes

Visual Effect

Before: No visual feedback when clicking projects

┌─────────┐  ┌─────────┐  ┌─────────┐│project1 │  │project2 │  │project3 │└─────────┘  └─────────┘  └─────────┘

After: Clear visual indication of selected project

┌─────────┐  ┏━━━━━━━━━┓  ┌─────────┐│project1 │  ┃project2┃  │project3 │  ← Red border indicates selection└─────────┘  ┗━━━━━━━━━┛  └─────────┘

The implementation maintains all existing functionality while providing the visual feedback shown in the issue's reference image.

Fixes#2812.


✨ Let Copilot coding agentset things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: fabiencastan <153585+fabiencastan@users.noreply.github.com>
CopilotAI changed the title[WIP] [request] Home page: Highlight Project selectionAdd visual highlighting for selected projects on homepageAug 17, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabiencastanfabiencastanAwaiting requested review from fabiencastan

At least 1 approving review is required to merge this pull request.

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[request] Home page: Highlight Project selection

2 participants

@fabiencastan

[8]ページ先頭

©2009-2025 Movatter.jp