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

Functionality that is useful for Gitea's administrative workflow #8659

Open
13 of 17 tasks
guillep2k opened this issue Oct 24, 2019 · 22 comments
Open
13 of 17 tasks

Functionality that is useful for Gitea's administrative workflow #8659

guillep2k opened this issue Oct 24, 2019 · 22 comments
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first. type/summary This issue aggregates a bunch of other issues

Comments

@guillep2k
Copy link
Member

guillep2k commented Oct 24, 2019

As the move to gitea.com is getting closer, I was thinking about those useful features that we as maintainers will miss after we move; I mean those specifically needed for the workflow of maintaining Gitea itself.

The idea is to make a list of those features we consider the most useful, so contributors can have specific goals to help with.

As a maintainer I'm not familiar with many of the tasks involved in the administration of Gitea, so I'll start with my short list to open the discussion.

NOTE: in this list I'm collecting ideas from the comments below

@davidsvantesson
Copy link
Contributor

  • A count of approvals in the PR page.

You already have that?
This Pull Request doesn't have enough approvals yet. 1 of 2 approvals granted.
Or do you mean the list of reviewers in the right sidebar? That I think would be useful to have.

@zeripath
Copy link
Contributor

He means on the list of PRs page. In GitHub we use labels to set this but Gitea has that built in

@lunny
Copy link
Member

lunny commented Oct 24, 2019

It could be `Show approvals counts on Pull request list page"

@lunny lunny added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label Oct 24, 2019
@guillep2k
Copy link
Member Author

For this one:

  • Does it produce conflicts.

I think a small client-side button to check could be used? I mean, it could show something like ❔ that, when pressed, a request is sent to the server and the button is changed into ✔️ or ❌.

@blueworrybear
Copy link
Contributor

It's better to add Expand Up and Expand Down button too IMO. 🤔

@guillep2k
Copy link
Member Author

It's better to add Expand Up and Expand Down button too IMO. 🤔

Sorry, are you referring to the "does it produce conflicts" option?

@jolheiser
Copy link
Member

jolheiser commented Oct 30, 2019

Suggestions! 😢
(Meaning the ones you can commit)

@jamesorlakin
Copy link
Contributor

jamesorlakin commented Oct 30, 2019

Number of required approvals still remaining, or the number approvals obtained.

I came across this issue seeing if this exact feature was possibly in progress already, or whether it was worth me having an attempt. I've never touched Go before (I'm a full-stack TypeScript dev) but love the work put into Gitea!

After some playing about for over an hour I have this:
image

The first number being the number of granted approvals, and the second the required ones. Let me know if you would be interested in a PR 👍 .

@lafriks
Copy link
Member

lafriks commented Oct 30, 2019

@jamesorlakin sure send PR ;)

@jamesorlakin
Copy link
Contributor

@lafriks Sure thing, I'll try to get it out tomorrow

@blueworrybear
Copy link
Contributor

@guillep2k
I mean the code folding/unfolding. Here is an example:
expand

@guillep2k
Copy link
Member Author

@guillep2k
I mean the code folding/unfolding. Here is an example:

Oh, of course!

blueworrybear added a commit to blueworrybear/gitea that referenced this issue Oct 31, 2019
blueworrybear added a commit to blueworrybear/gitea that referenced this issue Nov 10, 2019
lunny pushed a commit that referenced this issue Nov 15, 2019
…#8924)

* update #8659 fold/unfold code diffs

* add fold button style

* update #8659 implement expand up/down codes (blob excerpt)

* fix golint errors

* fix expand direction

* remove debug message

* update css style for blob exceprt

* fix typo in comment

* update style sheet with less

* update expect diff (add SectionInfo)

* update #8942 accept suggested change (fix typo)

* close reader and check file type before get tail section

* adjust button position and check file type before insert fold button

* move index js to web_src

* merge index.js with master

* generate index.js

* update js coding style
@jolheiser
Copy link
Member

Changelog tool now supports Gitea. 🎉

@jamesorlakin
Copy link
Contributor

jamesorlakin commented Feb 2, 2020

  • Does it produce conflicts. (Much harder, probably)

Would this just mean making use of the ConflictedFiles array on the pull model? If so, I whipped up this in a few lines by tweaking the template:
image

@guillep2k
Copy link
Member Author

Would this just mean making use of the ConflictedFiles array on the pull model? If so, I whipped up this in a few lines by tweaking the template:

@jamesorlakin Care to submit a PR? 😁

@lunny
Copy link
Member

lunny commented Feb 3, 2020

It seems it's easier to diaplsy files conflicted.

@zeripath
Copy link
Contributor

zeripath commented Feb 3, 2020

This is on the PRs list page not on a particular pr page.

@6543
Copy link
Member

6543 commented Apr 8, 2020

@guillep2k you can add #11012

@6543
Copy link
Member

6543 commented Jul 28, 2020

@guillep2k you can check Require branches to be up to date before merging by the way :)

@6543 6543 added the type/summary This issue aggregates a bunch of other issues label Jan 26, 2021
@6543 6543 mentioned this issue May 3, 2021
12 tasks
@6543
Copy link
Member

6543 commented Apr 28, 2022

wow now it's near of complete 🎉

@6543
Copy link
Member

6543 commented May 7, 2022

Select specific commits when reviewing code.

can this be specified bit more please?

@delvh
Copy link
Member

delvh commented May 7, 2022

Also, what I noticed is missing:

  • multiline comments
  • comments on commits as well as in PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first. type/summary This issue aggregates a bunch of other issues
Projects
None yet
Development

No branches or pull requests

10 participants