Skip to content

Sorts the files in tableview by their depth in directory tree - #625

Merged
OmkarPh merged 1 commit into
developfrom
improve/depth-based-tableview-sort
Jan 22, 2024
Merged

OmkarPh merged 1 commit into
developfrom
improve/depth-based-tableview-sort

Conversation

@OmkarPh

@OmkarPh OmkarPh commented Jan 10, 2024

Copy link
Copy Markdown
Collaborator

No description provided.

Signed-off-by: Omkar Phansopkar <omkarphansopkar@gmail.com>

@AyanSinhaMahapatra AyanSinhaMahapatra left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @OmkarPh LGTM!

As a side effect, we are having a lot of directories bundled together in the Table view, far from where the files in them are, so these are not very helpful and should we either apply the filter for type as show only files, or only show files in the Table view (I'm not sure if they have some useful context for looking at scans)?
What do you think we should do here?

@OmkarPh

OmkarPh commented Jan 15, 2024

Copy link
Copy Markdown
Collaborator Author

Thanks @OmkarPh LGTM!

As a side effect, we are having a lot of directories bundled together in the Table view, far from where the files in them are, so these are not very helpful and should we either apply the filter for type as show only files, or only show files in the Table view (I'm not sure if they have some useful context for looking at scans)? What do you think we should do here?

Usually, there's not much we understand looking at directories, but we have for_packages value for some directories.
For example, these paths: postgresml-2.8.1/pgml-sdks/pgml/javascript/examples, postgresml-2.8.1/pgml-sdks/pgml/javascript/examples/webpack

@OmkarPh

OmkarPh commented Jan 22, 2024

Copy link
Copy Markdown
Collaborator Author

Merging the PR, let's discuss more based on feedback

@OmkarPh
OmkarPh merged commit b5ea739 into develop Jan 22, 2024
@pombredanne
pombredanne deleted the improve/depth-based-tableview-sort branch December 10, 2024 22:58
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.

2 participants