Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

LukasHirt
Copy link
Collaborator

Description

We've changed the way we reset the selection when the route changes.

Previously, we were resetting the selection when the route changed, but this was not working as expected. For example, when updating scrollTo route query, the selection was being unintentionally reset.

Now, we're only resetting the selection when the path changes.

Related Issue

Motivation and Context

Users can easily see the resource from the notification

How Has This Been Tested?

  • test environment: macOS
  • test case 1: click on the resource from the notification while in shared with me list

Screenshots (if appropriate):

Zaznam.obrazovky.2025-06-27.v.9.01.11.mov

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests
  • Documentation
  • Maintenance (e.g. dependency updates or tooling)

We've changed the way we reset the selection when the route changes.

Previously, we were resetting the selection when the route changed, but this was not
working as expected. For example, when updating `scrollTo` route query, the selection
was being unintentionally reset.

Now, we're only resetting the selection when the path changes.
@LukasHirt LukasHirt requested a review from mzner June 27, 2025 07:06
@LukasHirt LukasHirt self-assigned this Jun 27, 2025
@LukasHirt LukasHirt added Type:Bug Something isn't working Type:Regression labels Jun 27, 2025
Copy link

@saw-jan saw-jan mentioned this pull request Jun 27, 2025
78 tasks
Copy link
Member

@saw-jan saw-jan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

selection works now 👍

@LukasHirt LukasHirt merged commit d3edc74 into master Jun 27, 2025
4 checks passed
@LukasHirt LukasHirt deleted the fix/shared-list-selection branch June 27, 2025 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type:Bug Something isn't working Type:Regression

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clicking on a shared item from the notification does not select the item

2 participants