Gitea: Proposal: Pin Issues

Created on 17 Jul 2017  路  8Comments  路  Source: go-gitea/gitea

I don't know if this is overkill or if there is a better solution, but i'd like to have the abililty to pin issues to have them sticking at the top of the issues page.

This could be useful for general information you don't want to put in the readme or issues everyone in the team should comment.

More Context:
I'm currently working on a project with a bunch of other guys. We don't know each other, so someone opened an "introduce yourself"-issue. But now we have so many issues that this one is already on the second page, so noone recognizes it anymore and until now, only two people introduced themselves.

kinfeature kinproposal

Most helpful comment

I've been working on it :)

All 8 comments

This could be implemented by a default label like pinned or on top. This would not change a lot of code and let people remove the default tag if they want. And without a sort applyed they should be display on top.

Adding Issue Priority and being able to sort on that would make more sense to me. Anyone else?

@bkcsoft Yes, a priority in database column, but we could also has a button to pin it.

@bkcsoft @lunny The pin button has the advantage that the issues are still sorted by date and pinned issues only appear above.

@daviian Yes. I mean, we only need to add one column priority to implement it. We can add an order SQL before all other order

order by `priority` desc,  ...

When you pin an issue, we will set the issue's priority as max priority + 10 , and when you unpin it, we could set priority = 0

@lunny i like the idea. Also priority would be a cool feature :grinning: (but wouldn't this be a seperate issue?)

I've been working on it :)

update?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

adpande picture adpande  路  3Comments

internalfx picture internalfx  路  3Comments

lunny picture lunny  路  3Comments

thehowl picture thehowl  路  3Comments

tuxfanou picture tuxfanou  路  3Comments