Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix view sorting problems #975

Merged
merged 2 commits into from
Dec 1, 2024
Merged

Fix view sorting problems #975

merged 2 commits into from
Dec 1, 2024

Conversation

Acylation
Copy link
Collaborator

@Acylation Acylation commented Nov 30, 2024

When the Projects pane first got mounted, the default view would be the first one in list. Previously, if users want to sort them, due to no active view information was assigned, after sorting, the new first-in-list view will be activated instead. While if in a session, another view was activated once, the sorting will preserve the active view. Fixing this by also assigning active view id when we need to activate a default view.

Another problem is, regardless of the dragged view tab is active or not, the down chevron always got omitted. Fixing it by recognize activated item when drag starts.

@Acylation Acylation added kind/bug Something isn't working area/views Issues related to views. labels Nov 30, 2024
@Acylation Acylation added this to the next milestone Nov 30, 2024
@Acylation Acylation changed the title Fix view sort problems Fix view sorting problems Nov 30, 2024
@Acylation Acylation merged commit 5207cb7 into main Dec 1, 2024
1 check passed
@Acylation Acylation deleted the fix-view-sort branch December 1, 2024 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/views Issues related to views. kind/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant