debian-mirror-gitlab/app/assets/javascripts/search/store/constants.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
586 B
JavaScript
Raw Normal View History

2021-12-11 22:18:48 +05:30
import { stateFilterData } from '~/search/sidebar/constants/state_filter_data';
import { confidentialFilterData } from '~/search/sidebar/constants/confidential_filter_data';
2021-09-30 23:02:18 +05:30
export const MAX_FREQUENT_ITEMS = 5;
export const MAX_FREQUENCY = 5;
export const GROUPS_LOCAL_STORAGE_KEY = 'global-search-frequent-groups';
export const PROJECTS_LOCAL_STORAGE_KEY = 'global-search-frequent-projects';
2021-12-11 22:18:48 +05:30
export const SIDEBAR_PARAMS = [stateFilterData.filterParam, confidentialFilterData.filterParam];
2023-03-17 16:20:25 +05:30
export const NUMBER_FORMATING_OPTIONS = { notation: 'compact', compactDisplay: 'short' };