mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-26 12:27:06 +00:00 
			
		
		
		
	Improve "language stats" UI (#26968)
Before: * The layout is quite complex * The UI flickers when switch the stats (https://try.gitea.io/) After: * Simplify the code * The UI doesn't flicker
This commit is contained in:
		| @@ -11,7 +11,6 @@ import {htmlEscape} from 'escape-goat'; | ||||
| import {initRepoBranchTagSelector} from '../components/RepoBranchTagSelector.vue'; | ||||
| import { | ||||
|   initRepoCloneLink, initRepoCommonBranchOrTagDropdown, initRepoCommonFilterSearchDropdown, | ||||
|   initRepoCommonLanguageStats, | ||||
| } from './repo-common.js'; | ||||
| import {initCitationFileCopyContent} from './citation.js'; | ||||
| import {initCompLabelEdit} from './comp/LabelEdit.js'; | ||||
| @@ -525,7 +524,6 @@ export function initRepository() { | ||||
|  | ||||
|   initRepoCloneLink(); | ||||
|   initCitationFileCopyContent(); | ||||
|   initRepoCommonLanguageStats(); | ||||
|   initRepoSettingBranches(); | ||||
|  | ||||
|   // Issues | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 wxiaoguang
					wxiaoguang