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

No way to go back up in Tree Mode #123

Open
kugiigi opened this issue Jun 13, 2021 · 4 comments
Open

No way to go back up in Tree Mode #123

kugiigi opened this issue Jun 13, 2021 · 4 comments

Comments

@kugiigi
Copy link

kugiigi commented Jun 13, 2021

Describe the bug
When in tree mode, the item to go back up is not displayed,

To Reproduce
Steps to reproduce the behavior:

  1. Switch to Tree Mode

Expected behavior
An item is displayed at the top that can be used to go back up.

Smartphone (please complete the following information):

  • Device: Lenovo Tab M10 Plus
  • OS version: UBports custom channel
  • App version: 1.1.0
@milikhin
Copy link
Owner

milikhin commented Jul 2, 2021

First of all, thank you for the feature request!

Hm, I'm not sure on how to implement this.
The idea of the "tree mode" is that it shows "project tree".
Kind of like "Explorer" tab in vscode:
image

In order to open project folder in desktop editors like vscode user usually clicks "Open folder" button and then just selects folder using the file manager. In Ubuntu touch we have no way to open a folder using the File Manager app, so as a quick alternative Seabass provides another mode for the file tree (to implement features that are usually provided by desktop OS).

So here we are now, having two alternative modes for the file tree:

  • one to select project folder (as an alternative to File -> Open folder...)
  • another one to work on the project (tree mode)

The problem here is that Tree Mode doesn't handle navigation up and down the file tree (similarly to vscode Explorer tab).
And while we can provide .. button to handle navigation up the tree, there would still be no way to navigate down the tree.

So, I just have no good ideas on how we can merge the two file tree modes into one that could provide both navigation and tree view :)

@kugiigi
Copy link
Author

kugiigi commented Jul 2, 2021

Wow, thank you very much for the explanation. Honestly, I didn't really think this through. I just preferred tree view when working on a project and I was looking for a way to go back up while already in a tree view. I realized I think I'm looking for things I do on Geany's tree view. It has a button to go back up and to set the root path of the tree from the current document or by righ clicking.

@milikhin
Copy link
Owner

milikhin commented Jul 2, 2021

Thank you, Geany's tree view UI looks promising to me.
Maybe it could be adopted for Seabass :)

@kugiigi
Copy link
Author

kugiigi commented Jul 5, 2021

That would be cool especially for me since it's what I use on my desktop. Maybe you get good stuffs from there like the tree view UI and termnal at the bottom 😝

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

No branches or pull requests

2 participants