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

Add file sorting #1891

Merged
merged 6 commits into from
Aug 2, 2024
Merged

Add file sorting #1891

merged 6 commits into from
Aug 2, 2024

Conversation

Kr0nox
Copy link
Member

@Kr0nox Kr0nox commented Jul 27, 2024

This PR adds a selector at the top of the comparison view to the top of the comparison view.
grafik
Files can be sorted

  • Alphabetically
  • By the percent of tokens that are part of a match
  • The number of matches in a file
  • The size of the matches in the files

…-sorting

# Conflicts:
#	report-viewer/src/components/fileDisplaying/FilesContainer.vue
#	report-viewer/src/views/ComparisonView.vue
@Kr0nox Kr0nox added this to the 6.0.0 milestone Jul 27, 2024
@Kr0nox Kr0nox linked an issue Jul 27, 2024 that may be closed by this pull request
@Kr0nox Kr0nox added report-viewer PR / Issue deals (partly) with the report viewer and thus involves web-dev technologies enhancement Issue/PR that involves features, improvements and other changes labels Jul 27, 2024
@Kr0nox Kr0nox requested review from TwoOfTwelve and a team July 29, 2024 10:27
Copy link
Member

@tsaglam tsaglam left a comment

Choose a reason for hiding this comment

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

Just a comment regarding tooltips, but besides that it is ready to merge.

report-viewer/src/model/ui/FileSortingOptions.ts Outdated Show resolved Hide resolved
Co-authored-by: Timur Sağlam <[email protected]>
Copy link

sonarcloud bot commented Aug 2, 2024

@tsaglam
Copy link
Member

tsaglam commented Aug 2, 2024

@TwoOfTwelve ready from your side?

@tsaglam tsaglam merged commit a0a6233 into develop Aug 2, 2024
49 checks passed
@tsaglam tsaglam deleted the report-viewer/file-sorting branch August 2, 2024 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issue/PR that involves features, improvements and other changes report-viewer PR / Issue deals (partly) with the report viewer and thus involves web-dev technologies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add default file sorting options
3 participants