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

WISH: Option to set default search parameters for 'Issues' and 'Pull requests' (or custom 'Tabs') #8143

Open
2 of 7 tasks
HenrikBengtsson opened this issue Sep 10, 2019 · 1 comment
Labels
topic/ui Change the appearance of the Gitea UI type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@HenrikBengtsson
Copy link
Contributor

  • Gitea version (or commit ref):
  • Git version: 1.9.3
  • Operating system: Linux, CentOS
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

When viewing a repository's 'Issues' page, the default URL is of kind:

Although, no query parameters are used, this defaults to listing/searching open issues.

My proposal is to make the default search query to be configurable per repository. For instance, for some repositories we might want to list all open issues with a certain set of labels, milestones, and so on, set, e.g.

This would provide a poor man's solution to displaying only issues of certain importance, e.g. those labelled say 'High priority', 'Pinned', ...

The downside would be the "surprise factor" that it could be confusing when 'Issue' works differently across repositories. An alternative would be to add support for per-repository customized 'Tabs' that repos owners can inject in the 'Code', 'Issues', 'Pull requests', 'Releases', 'Wiki', 'Activity' suite, e.g.

  • 'Code', 'Issues', 'High Priority Issues', 'Pull requests', 'Releases', 'Wiki', 'Activity'

Related to

This is related to feature requests on Pinned Issues, cf. Issue #2616.

@techknowlogick techknowlogick added type/proposal The new feature has not been accepted yet but needs to be discussed first. topic/ui Change the appearance of the Gitea UI labels Sep 11, 2019
@Harfusha
Copy link

I would love this feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic/ui Change the appearance of the Gitea UI type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

3 participants