mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Expand/Collapse all changed files (#23639)
close #23628 Now in `...` dropdown, you can expand or collapse all diff files that have loaded. https://user-images.githubusercontent.com/33891828/227749688-2d406916-3347-49f6-93a5-4092a00e8809.mov Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
		@@ -21,14 +21,8 @@ import {initRepoIssueContentHistory} from './features/repo-issue-content.js';
 | 
			
		||||
import {initStopwatch} from './features/stopwatch.js';
 | 
			
		||||
import {initFindFileInRepo} from './features/repo-findfile.js';
 | 
			
		||||
import {initCommentContent, initMarkupContent} from './markup/content.js';
 | 
			
		||||
import {initDiffFileTree} from './features/repo-diff-filetree.js';
 | 
			
		||||
 | 
			
		||||
import {initUserAuthLinkAccountView, initUserAuthOauth2} from './features/user-auth.js';
 | 
			
		||||
import {
 | 
			
		||||
  initRepoDiffConversationForm,
 | 
			
		||||
  initRepoDiffFileViewToggle,
 | 
			
		||||
  initRepoDiffReviewButton, initRepoDiffShowMore,
 | 
			
		||||
} from './features/repo-diff.js';
 | 
			
		||||
import {
 | 
			
		||||
  initRepoIssueDue,
 | 
			
		||||
  initRepoIssueReferenceRepositorySearch,
 | 
			
		||||
@@ -68,7 +62,7 @@ import {
 | 
			
		||||
  initRepoSettingsCollaboration,
 | 
			
		||||
  initRepoSettingSearchTeamBox,
 | 
			
		||||
} from './features/repo-settings.js';
 | 
			
		||||
import {initViewedCheckboxListenerFor} from './features/pull-view-file.js';
 | 
			
		||||
import {initRepoDiffView} from './features/repo-diff.js';
 | 
			
		||||
import {initOrgTeamSearchRepoBox, initOrgTeamSettings} from './features/org-team.js';
 | 
			
		||||
import {initUserAuthWebAuthn, initUserAuthWebAuthnRegister} from './features/user-auth-webauthn.js';
 | 
			
		||||
import {initRepoRelease, initRepoReleaseNew} from './features/repo-release.js';
 | 
			
		||||
@@ -151,11 +145,6 @@ onDomReady(() => {
 | 
			
		||||
  initRepoCommentForm();
 | 
			
		||||
  initRepoEllipsisButton();
 | 
			
		||||
  initRepoCommitLastCommitLoader();
 | 
			
		||||
  initRepoDiffConversationForm();
 | 
			
		||||
  initRepoDiffFileViewToggle();
 | 
			
		||||
  initRepoDiffReviewButton();
 | 
			
		||||
  initRepoDiffShowMore();
 | 
			
		||||
  initDiffFileTree();
 | 
			
		||||
  initRepoEditor();
 | 
			
		||||
  initRepoGraphGit();
 | 
			
		||||
  initRepoIssueContentHistory();
 | 
			
		||||
@@ -190,5 +179,5 @@ onDomReady(() => {
 | 
			
		||||
  initUserAuthWebAuthn();
 | 
			
		||||
  initUserAuthWebAuthnRegister();
 | 
			
		||||
  initUserSettings();
 | 
			
		||||
  initViewedCheckboxListenerFor();
 | 
			
		||||
  initRepoDiffView();
 | 
			
		||||
});
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user