Skip to content

Back Arrow goes back to existing parent #979

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

Merged
merged 1 commit into from
Oct 7, 2024
Merged

Conversation

oneirocosm
Copy link
Member

This change makes the preview back arrow take you back to a parent directory that already exists if you are stuck in a bad state. this prevents it from opening a directory that doesn't exist as a file, which can happen if you use the typeahead to reach a file that doesn't exist inside a directory that doesn't exist.

@sawka sawka merged commit 0ca1dbf into main Oct 7, 2024
5 checks passed
@sawka sawka deleted the sylvie/back-to-only-existing branch October 7, 2024 16:58
xxyy2024 pushed a commit to xxyy2024/waveterm_aipy that referenced this pull request Jun 24, 2025
This change makes the preview back arrow take you back to a parent
directory that already exists if you are stuck in a bad state. this
prevents it from opening a directory that doesn't exist as a file, which
can happen if you use the typeahead to reach a file that doesn't exist
inside a directory that doesn't exist.
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