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

Added directory breadcrumb buttons to see path and navigate back #141

Merged
merged 9 commits into from
Sep 5, 2023

Conversation

ptandler
Copy link
Contributor

Added directory breadcrumbs to

  • be able to view the current path one came to the current directory
  • be able to quickly navigate upwards

Before, you need to click Return several times - and you could not see the path.

Please note, this is the first time I'm using React, so I'd be glad if someone could have a look and check if this is the way to go.

- be able to view the current path one came to the current directory
- be able to quickly navigate upwards
@ptandler ptandler changed the title Added directory breadcrumbs to see path and navigate back Added directory breadcrumb buttons to see path and navigate back Mar 15, 2023
@jkowalski
Copy link
Contributor

I took a quick look, the idea is great, but we need to work on layout:

I suggest using links via React Breadcrumbs component: https://react-bootstrap.github.io/components/breadcrumb/
Also, we're displaying the OID, which does not seem necessary, at least on screen (can be in a tooltip).

@ptandler
Copy link
Contributor Author

Thanks you for your feedback, as soon as I have some spare time, I'll give this a try.

WRT the OID, I agree that it is distracting in most cases, but I'd like to have it in a way that I could copy it if required (e.g. for some CLI actions). Maybe this works with a tooltip.

@ptandler
Copy link
Contributor Author

@jkowalski I now had time to do the changes you suggested. What do you think?
I like it better 🙂

Screenshot_20230611_160704
Screenshot_20230611_161045

@jkowalski
Copy link
Contributor

This is very cool, can you rebase to latest main and we can merge...

# Conflicts:
#	src/App.css
#	src/uiutil.jsx
@ptandler
Copy link
Contributor Author

@jkowalski merged main

@jkowalski jkowalski merged commit db097d2 into kopia:main Sep 5, 2023
2 checks passed
jkowalski added a commit to jkowalski/kopia that referenced this pull request Sep 5, 2023
jkowalski added a commit to kopia/kopia that referenced this pull request Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants