-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
topic/uiChange the appearance of the Gitea UIChange the appearance of the Gitea UItype/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.
Description
- Gitea version (or commit ref):
- Git version:
- Operating system:
- Database (use
[x]
):- PostgreSQLMySQLMSSQLSQLiteTo pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)NoNot relevantTo pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
- Log gist:
Description
Hello,Currently, the new commit comes before the old one in the pr commits list.I don't like this style, suggest displaying it in the old to new order, which is the same as github. Thanks
compare view:
gitea:
github:
maybe we can use this way to change, but I'm not confirm this way is right.
diff --git a/modules/git/repo.go b/modules/git/repo.go
index 644ff0928..491a97889 100644
--- a/modules/git/repo.go
+++ b/modules/git/repo.go
@@ -65,7 +65,7 @@ func (repo *Repository) parsePrettyFormatLogToList(logs []byte) (*list.List, err
if err != nil {
return nil, err
}
- l.PushBack(commit)
+ l.PushFront(commit)
}
return l, nil
Metadata
Metadata
Assignees
Labels
topic/uiChange the appearance of the Gitea UIChange the appearance of the Gitea UItype/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
a1012112796 commentedon Sep 7, 2020
stale?