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

refactor: remove highlightedFile getter from store #10349

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

JammingBen
Copy link
Collaborator

Description

Removes the highlightedFile getter from the vuex file store. The reason behind this decision is that the getter was really opaque to use as it sometimes referred to the current folder and sometimes to the first selected file (which is already confusing in itself since the user can highlight more than 1 resources).

Related Issue

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)

Removes the `highlightedFile` getter from the vuex file store. The reason behind this decision is that the getter was really opaque to use as it sometimes referred to the current folder and sometimes to the first selected file (which is already confusing in itself since the user can highlight more than 1 resources).
@JammingBen JammingBen self-assigned this Jan 16, 2024
Copy link

update-docs bot commented Jan 16, 2024

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

Copy link

sonarcloud bot commented Jan 16, 2024

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

1 New issue
0 Security Hotspots
53.3% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

@JammingBen JammingBen merged commit a074763 into master Jan 17, 2024
3 checks passed
@delete-merged-branch delete-merged-branch bot deleted the remove-highlighted-file-final branch January 17, 2024 11:36
ownclouders pushed a commit that referenced this pull request Jan 17, 2024
refactor: remove highlightedFile getter from store
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate from vuex store to pinia
2 participants