forked from forgejo/forgejo
Add buttons to allow loading of incomplete diffs (#16829)
This PR adds two buttons to the stats and the end of the diffs list to load the (some of) the remaining incomplete diff sections. Contains #16775 Signed-off-by: Andrew Thornton <art27@cantab.net> ## Screenshots ### Show more button at the end of the diff  ### Show more button at the end of the diff stats box 
This commit is contained in:
parent
bdfd751af8
commit
a889d0cc8c
12 changed files with 228 additions and 155 deletions
|
@ -27,6 +27,7 @@ import {initNotificationsTable, initNotificationCount} from './features/notifica
|
|||
import {initLastCommitLoader} from './features/lastcommitloader.js';
|
||||
import {initIssueContentHistory} from './features/issue-content-history.js';
|
||||
import {initStopwatch} from './features/stopwatch.js';
|
||||
import {initDiffShowMore} from './features/diff.js';
|
||||
import {showLineButton} from './code/linebutton.js';
|
||||
import {initMarkupContent, initCommentContent} from './markup/content.js';
|
||||
import {stripTags, mqBinarySearch} from './utils.js';
|
||||
|
@ -2881,6 +2882,7 @@ $(document).ready(async () => {
|
|||
initFileViewToggle();
|
||||
initReleaseEditor();
|
||||
initRelease();
|
||||
initDiffShowMore();
|
||||
initIssueContentHistory();
|
||||
initAdminUserListSearchForm();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue