summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/search/sidebar/constants/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/search/sidebar/constants/index.js')
-rw-r--r--app/assets/javascripts/search/sidebar/constants/index.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/assets/javascripts/search/sidebar/constants/index.js b/app/assets/javascripts/search/sidebar/constants/index.js
new file mode 100644
index 00000000000..3621138afe4
--- /dev/null
+++ b/app/assets/javascripts/search/sidebar/constants/index.js
@@ -0,0 +1,11 @@
+export const SCOPE_ISSUES = 'issues';
+export const SCOPE_MERGE_REQUESTS = 'merge_requests';
+
+export const NUMBER_FORMATING_OPTIONS = { notation: 'compact', compactDisplay: 'short' };
+export const NAV_LINK_DEFAULT_CLASSES = [
+ 'gl-display-flex',
+ 'gl-flex-direction-row',
+ 'gl-flex-wrap-nowrap',
+ 'gl-justify-content-space-between',
+ 'gl-text-gray-900',
+];