-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathfeatures.rb
More file actions
62 lines (48 loc) · 2.46 KB
/
Copy pathfeatures.rb
File metadata and controls
62 lines (48 loc) · 2.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# frozen_string_literal: true
Flipflop.configure do
feature :home_page_recent_document_show_depositor,
default: false, # Default to false as this is PALNI/PALCI preference
description: "Shows the depositor of each homepage's recent documents."
feature :home_page_recent_document_show_keyword,
default: false, # Default to false as this is PALNI/PALCI preference
description: "Shows the keywords of each homepage's recent documents."
feature :show_workflow_roles_menu_item_in_admin_dashboard_sidebar,
default: false,
description: "Shows the Workflow Roles menu item in the admin dashboard sidebar."
feature :show_featured_researcher,
default: true,
description: "Shows the Featured Researcher tab on the homepage."
feature :show_share_button,
default: true,
description: "Shows the 'Share Your Work' button on the homepage."
feature :show_featured_works,
default: true,
description: "Shows the Featured Works tab on the homepage."
feature :show_recently_uploaded,
default: true,
description: "Shows the Recently Uploaded tab on the homepage."
feature :show_identity_provider_in_admin_dashboard,
default: false,
description: "Shows the Identity Provider tab on the admin dashboard."
# Flipflop.default_pdf_viewer? returning `true` means we use PDF.js and `false` means we use IIIF Print.
feature :default_pdf_viewer,
default: true,
description: "Choose PDF.js or Universal Viewer to render PDFs. UV uses IIIF Print and requires PDF splitting with OCR. Switching from PDF.js to the UV may require re-ingesting of the PDF."
feature :show_login_link,
default: true,
description: "Show General Login Link at Top Right of Page."
feature :treat_some_user_inputs_as_markdown,
default: false,
description: "Treat some user inputs (e.g. titles and descriptions) as markdown."
feature :use_tenant_specific_colors,
default: false,
description: "Enable storing tenant-specific color selections to override application defaults."
group :experimental_features do
feature :include_guided_import,
default: false,
description: "Enable the guided import workflow."
feature :include_guided_import_metrics,
default: false,
description: "Enable product metrics for the guided import workflow."
end
end