-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Custom tabs for projects in web ui #1199
Comments
It should be not very difficult to implement I think. |
@lunny Where would the data be stored? I am not familiar with that part of gitea yet, |
Did someone wrote I give this one a 👎 . |
I think we need a plugin system. a plugin could setup a tab on the repository and user could chose repository should use which tabs. |
I think you can try this: |
@zhv9 That's not the same thing. |
Currently, if a repo is in an organization, you could define which |
@lunny I think he wants to add new tab with custom name (same as code, issues, pr, ...) as bookmark to other page or to be able to load that page to iframe inside that tab. So when you click on tab, it will show you page from from another url (maybe tables, graphs, map, ...). |
But why? That is literaly what the Wiki is for... 😒 |
Wouldn't mind having the ability to link to page (e.g., adding a forum tab or something like that to a project). But, personally, I wouldn't want an iframe option. |
IMHO I am against that feature as @bkcsoft mentioned the existing wiki. |
Hi, I could use a feature like this or even better the plugin system discussed in other issues (linked below). I'm writing a tool as a single-page web application that uses the HTTP API. Being able to add links to the navigation menus / tabs from the configuration would make such single-page web mini-applications dead simple. The link specification string would need placeholders for parameters such as the current repository full name: that's what I do in However, it should stop at plain links, not iframes because they bring all kind of problems. For the cases where we want to insert extra content in the interface, a plugin system that allows specifying additional routes to new templates is more useful. If I understand correctly, I can add new I'm looking now at the templates, thinking what a configuration entry might look like, and I just realized that it would have some issues, particularly with i18n. After a quick test it seems to work wonderfully, so I've made a pull request: This also solves "Custom Routing / new Pages?! #2115", which asked about custom routing but just needed to add links to pages like "imprint" (German "Impressum", noting who is responsible for the site and other legalities) and "privacy policy". Those pages can be put under "custom/public/". Related issues about the plugin system:
|
@AlbertoGP I would like a new tab type |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions. |
so, this has been implemented here: #3308 ? |
@warnat If you mean custom template, it did. |
We also link to add custom tabs to repos. Unfortunately the approach using templates does not work for us as they can only be edited by system administrators. We want to allow repo managers to be able to add custom tabs, e.g. linking to external apps/resources etc. So it would be great if the repo settings could be extended so custom links can be registered. |
@sebthom Why do you not just include a README.md and include these links there? Or enable the wiki and provide these links there? |
It would be nice to be able to add custom tabs to the web ui, because then people can link to important places and have it fit in with the rest of the ui. There should be an option to have it be an iframe (for integration), or a standard link.
The text was updated successfully, but these errors were encountered: