2021-01-03 14:25:43 +05:30
|
|
|
import { fetchCommitMergeRequests } from '~/commit_merge_requests';
|
2021-04-17 20:07:23 +05:30
|
|
|
import { initCommitPipelineMiniGraph } from './init_commit_pipeline_mini_graph';
|
2021-03-11 19:13:27 +05:30
|
|
|
import { initDetailsButton } from './init_details_button';
|
|
|
|
import { loadBranches } from './load_branches';
|
2022-06-21 17:19:12 +05:30
|
|
|
import initCommitPipelineStatus from './init_commit_pipeline_status';
|
2021-01-03 14:25:43 +05:30
|
|
|
|
2021-04-29 21:17:54 +05:30
|
|
|
export const initCommitBoxInfo = () => {
|
2021-01-03 14:25:43 +05:30
|
|
|
// Display commit related branches
|
2021-04-29 21:17:54 +05:30
|
|
|
loadBranches();
|
2021-01-03 14:25:43 +05:30
|
|
|
|
|
|
|
// Related merge requests to this commit
|
|
|
|
fetchCommitMergeRequests();
|
|
|
|
|
2021-04-17 20:07:23 +05:30
|
|
|
// Display pipeline mini graph for this commit
|
2021-04-29 21:17:54 +05:30
|
|
|
initCommitPipelineMiniGraph();
|
2021-01-29 00:20:46 +05:30
|
|
|
|
|
|
|
initDetailsButton();
|
2022-06-21 17:19:12 +05:30
|
|
|
|
|
|
|
initCommitPipelineStatus();
|
2021-01-03 14:25:43 +05:30
|
|
|
};
|