@@ -61,7 +61,6 @@ type UIStruct struct {
6161 FeedMaxCommitNum * config.Value [int ]
6262 FeedPagingNum * config.Value [int ]
6363 PackagesPagingNum * config.Value [int ]
64- GraphMaxCommitNum * config.Value [int ]
6564 CodeCommentLines * config.Value [int ]
6665 ShowUserEmail * config.Value [bool ]
6766 SearchRepoDescription * config.Value [bool ]
@@ -79,7 +78,6 @@ func (u *UIStruct) ToStruct(ctx context.Context) UIForm {
7978 FeedMaxCommitNum : u .FeedMaxCommitNum .Value (ctx ),
8079 FeedPagingNum : u .FeedPagingNum .Value (ctx ),
8180 PackagesPagingNum : u .PackagesPagingNum .Value (ctx ),
82- GraphMaxCommitNum : u .GraphMaxCommitNum .Value (ctx ),
8381 CodeCommentLines : u .CodeCommentLines .Value (ctx ),
8482 ShowUserEmail : u .ShowUserEmail .Value (ctx ),
8583 SearchRepoDescription : u .SearchRepoDescription .Value (ctx ),
@@ -98,7 +96,6 @@ type UIForm struct {
9896 FeedMaxCommitNum int
9997 FeedPagingNum int
10098 PackagesPagingNum int
101- GraphMaxCommitNum int
10299 CodeCommentLines int
103100 ShowUserEmail bool
104101 DefaultShowFullName bool
@@ -138,7 +135,6 @@ func initDefaultConfig() {
138135 FeedMaxCommitNum : config.ValueJSON [int ]("ui.feed_max_commit_num" ).WithFileConfig (config.CfgSecKey {Sec : "ui" , Key : "FEED_MAX_COMMIT_NUM" }).WithDefault (20 ),
139136 FeedPagingNum : config.ValueJSON [int ]("ui.feed_paging_num" ).WithFileConfig (config.CfgSecKey {Sec : "ui" , Key : "FEED_PAGE_NUM" }).WithDefault (20 ),
140137 PackagesPagingNum : config.ValueJSON [int ]("ui.packages_paging_num" ).WithFileConfig (config.CfgSecKey {Sec : "ui" , Key : "PACKAGES_PAGING_NUM" }).WithDefault (20 ),
141- GraphMaxCommitNum : config.ValueJSON [int ]("ui.graph_max_commit_num" ).WithFileConfig (config.CfgSecKey {Sec : "ui" , Key : "GRAPH_MAX_COMMIT_NUM" }).WithDefault (100 ),
142138 CodeCommentLines : config.ValueJSON [int ]("ui.code_comment_lines" ).WithFileConfig (config.CfgSecKey {Sec : "ui" , Key : "CODE_COMMENT_LINES" }).WithDefault (4 ),
143139 ShowUserEmail : config.ValueJSON [bool ]("ui.show_user_email" ).WithFileConfig (config.CfgSecKey {Sec : "ui" , Key : "SHOW_USER_EMAIL" }).WithDefault (true ),
144140 SearchRepoDescription : config.ValueJSON [bool ]("ui.search_repo_description" ).WithFileConfig (config.CfgSecKey {Sec : "ui" , Key : "SEARCH_REPO_DESCRIPTION" }).WithDefault (false ),
0 commit comments