debian-mirror-gitlab/app/assets/javascripts/repository/constants.js

11 lines
566 B
JavaScript
Raw Normal View History

2021-09-30 23:02:18 +05:30
import { __ } from '~/locale';
2021-09-04 01:27:46 +05:30
2021-09-30 23:02:18 +05:30
export const TREE_PAGE_LIMIT = 1000; // the maximum amount of items per page
2021-09-04 01:27:46 +05:30
export const TREE_PAGE_SIZE = 100; // the amount of items to be fetched per (batch) request
export const TREE_INITIAL_FETCH_COUNT = TREE_PAGE_LIMIT / TREE_PAGE_SIZE; // the amount of (batch) requests to make
2021-09-30 23:02:18 +05:30
export const SECONDARY_OPTIONS_TEXT = __('Cancel');
export const COMMIT_LABEL = __('Commit message');
export const TARGET_BRANCH_LABEL = __('Target branch');
export const TOGGLE_CREATE_MR_LABEL = __('Start a new merge request with these changes');