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

[broken workflow] New UI: Please backport nested folders #23

Open
tushev opened this issue May 14, 2023 · 5 comments
Open

[broken workflow] New UI: Please backport nested folders #23

tushev opened this issue May 14, 2023 · 5 comments
Labels
enhancement New feature or request testing

Comments

@tushev
Copy link

tushev commented May 14, 2023

I have the following folder structure with GPX tracks, collected over many years:

  • Hiking
    • City
      • District A
        • Watch
        • Phone
      • District B
        • Watch
        • Phone
    • Mountains
    • Abroad
      • Country 1
      • Country 2
  • Paragliding
    • Domestic
    • Country 1
    • Country 2

In old UI, there was an option to select tracks from 'Hiking' or 'Abroad' and get all tracks from all nested folders. There's no such an option in new UI.

Please add it, maybe with an extra option in settings to turn this on or off. It really breaks my workflow and makes me use the old UI.

@julien-nc
Copy link
Owner

I'll see if it can easily be brought to the new UI. The logical problem is that tracks could be displayed multiple times in the new UI because multple folders can be enabled. So if Hiking contains all its tracks recursively and District A is displayed as well, we end up seeing tracks from District A twice...

The good things is that the backend code related with the new UI still has the ability to recursively get tracks in a directory. Only the UI needs adjustments. To be continued.

@julien-nc julien-nc added enhancement New feature or request TODO labels May 14, 2023
@tushev
Copy link
Author

tushev commented May 15, 2023

Well, the simplest thing that comes to mind is simply removing duplicates from the final listOfTracksToRender (if it works that way). As an alternative, there could be an option that turns recursive display on while simultaneously disabling multi-folder selection.

@tushev
Copy link
Author

tushev commented May 15, 2023

Also, it would be nice to have recursive display. Currently I see my structure as (I've edited the first post to reflect it):

  • Hiking
  • City
  • District A
  • District B
  • Mountains
  • Abroad
  • Country 1
  • Country 2
  • Paragliding
  • Domestic
  • Country 1
  • Country 2

So I cannot tell whether Country 1 refers to Hiking or Paragliding as easily as with old UI.

I would prefer to have an option to display folder recursively as well.
Possibly, it would also solve duplicates problem?

@julien-nc
Copy link
Owner

Hey there, have you tried v5.0.12? It brings the ability to display a directory recursively. In a directory's context menu: More actions -> Display recursively.

I'm interested in your feedback.

@julien-nc julien-nc added testing and removed TODO labels Jul 9, 2023
@tushev
Copy link
Author

tushev commented Jul 10, 2023

Hello Julien! Thank you very much for the update!

I tried it, and it really works by displaying all tracks from the child directories on the right.

Unfortunately, this does not fix my workflow completely.
I see only the tracks, and not the subdirectories, and it's impossible to tell what's going on (I have hundreds of files and lots of directories - please see the diagram below).

What I would like (and what was possible with old UI):

image

  1. IMO, tree-like display is a must. I (and many other users) have tons of nested subdirectories with the same names. So I cannot tell whether Country 1 refers to Hiking or Paragliding at all. Or where does each of these eight Watch directories belong?

    When I select Hiking, ALL tracks, from all child directories should be displayed on the map (and on the list). By clicking on City or District A, the selection becomes more and more refined.

  2. When adding Hiking directory (=parent directory, does not contain any files, only nested directories) recursively, it does not appear at all. Only 'end' directories appear (and in my case, I get tons of Phone and Watch directories). When adding recursively, I should be able to add only Hiking and Paragliding "roots", and these two (along with every nested folder) should appear in the tree.

    We already have well-structured collections of GPX tracks. Ideally, the software should just display this directory tree, without having to re-create or re-implement it (aside from selecting roots).

  3. Currently, in 'non-compact' list ALL child tracks are displayed without grouping. IMO, it would be better if they would be grouped under 'directory path' headers: i.e., when I click City, the right list displays headers like District A\Watch, followed by all 'direct descendant' files from that subdirectory.
    With Compact navigation view the tracks just fall each under their parent directory.

  4. Intuitively, when I click on a directory, I 'want' its contents to be displayed on the map immediately. There should be a setting for that (again, it's possible with old UI)

And I also have a little feedback for tracks UI:
image
There's too little place for names. IMO, names are very important, and should not be cut at all. Date could be on the bottom, along with other metadata.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request testing
Projects
None yet
Development

No branches or pull requests

2 participants