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

Fix tab names not displaying #95

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

shef-ski
Copy link

…by extracting filenames and directories from leaf.getViewState() in getFilename and getDirname, and remove file extensions from tab names.

Hello, I created this issue today and also managed to solve it by updating the Tabs.svelte file. I am not proficient in JavaScript but managed to resolve this through some trial & error, (docs) as well as ChatGPT.

I was not able to replicate your build because I couldn't install the TypeScript version you have but I made some adjustments in main and created my own build. With the fixed versions of getFilename and getDirname, the issue seems to be resolved. I tested it in 2 desktop vaults and one mobile vault by replacing the main.js there.

I hope this works the same way with you build.
Best,
Leon

…from leaf.getViewState() in getFilename and getDirname, and remove file extensions from tab names
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.

1 participant