fix(files): sort not working after changing views - #50161
Merged
Conversation
Member
Author
|
/backport to stable30 |
Member
Author
|
/backport to stable29 |
st3iny
force-pushed
the
fix/files/sort-after-view-change
branch
from
January 14, 2025 13:16
446823a to
1c3ec2a
Compare
st3iny
marked this pull request as ready for review
January 14, 2025 13:16
susnux
reviewed
Jan 14, 2025
st3iny
marked this pull request as draft
January 14, 2025 14:54
st3iny
force-pushed
the
fix/files/sort-after-view-change
branch
2 times, most recently
from
January 15, 2025 16:32
b97a3d2 to
c966e04
Compare
st3iny
marked this pull request as ready for review
January 15, 2025 17:26
ShGKme
approved these changes
Jan 15, 2025
Comment on lines
-47
to
-51
| // Init Navigation Service | ||
| // This only works with Vue 2 - with Vue 3 this will not modify the source but return just a observer | ||
| const Navigation = Vue.observable(getNavigation()) | ||
| Vue.prototype.$navigation = Navigation | ||
|
|
skjnldsv
approved these changes
Jan 15, 2025
st3iny
force-pushed
the
fix/files/sort-after-view-change
branch
from
January 15, 2025 21:24
189daf0 to
18a670b
Compare
st3iny
enabled auto-merge
January 15, 2025 21:25
Member
|
|
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
st3iny
force-pushed
the
fix/files/sort-after-view-change
branch
from
January 16, 2025 07:57
18a670b to
835994a
Compare
This comment was marked as resolved.
This comment was marked as resolved.
2 tasks
Merged
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
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
Sorting the tabular view in files breaks if the view is changed twice.
How to reproduce?
Problem: The global
$navigationobject is not reactive enough and misses some changes.Before
2025-01-14.13-49-24.mp4
After
2025-01-14.13-51-11.mp4
TODO
Checklist