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

Support long path #47

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Support long path #47

wants to merge 3 commits into from

Conversation

Leo7654
Copy link

@Leo7654 Leo7654 commented May 25, 2024

Support long file path.

You can check from here.

But it does not support open link in Conversation page. I cannot find the full path of the file.

@@ -0,0 +1 @@
test2
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Fake comment]

@Leo7654
Copy link
Author

Leo7654 commented Oct 28, 2024

chrome.zip
firefox.zip

@alecmev
Copy link

alecmev commented Oct 28, 2024

This PR doesn't fix it for me, but this does:

-       const file = linkElement.innerText
+       const file = linkElement.title
          .split("→") // when file was renamed
          .pop()
          ?.trim()

Have you tried that?

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