-
-
Couldn't load subscription status.
- Fork 6.2k
Description
Bug
This title format lacks full file path context. In Rust projects, for example, multiple mod.rs files may exist at different paths such as repo/api/mod.rs and repo/types/mod.rs, but they all display the same page title.
https://***gitea***/org/rust-project/src/branch/master/src/api/mod.rshttps://***gitea***/org/rust-project/src/branch/master/src/types/mod.rs
current page title : rust-project/mod.rs at master - rust-project - Gitea:***
Expected Behavior: The page title should include the full file path, similar to GitHub’s format.
gitea/assets/emoji.json at main - go-gitea/giteaGitea Repo link
OR/api/mod.rs at master - rust-project - Gitea:***
Feature Request Description
Update the browser tab title (document.title) to show the currently viewed file when a user clicks on a file in the file tree.
Currently, when navigating between files via the file tree, the page title remains static. This can make it difficult to identify which file is currently open, especially when working across multiple tabs.
https://stackoverflow.com/a/51640162
@bytedream — you previously worked on the Ctrl + Click navigation issue, I believe this change might be in same section of the code. Would you be open to taking a look?
Thank you
Screenshots
