Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 27 additions & 15 deletions config/tess.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,33 +146,45 @@ default: &default
focused: 13
header_notice: # HTML to display above the header
feature:
elearning_materials: false
# TeSS main resources
events: true
materials: true
nodes: false
elearning_materials: false
workflows: true
collections: true
learning_paths: false
content_providers: true
subscription: true
trainers: false
workflows: true
sources: false
user_source_creation: true
edit_suggestions: false
nodes: false
spaces: false

# Resources' features
subscription: true
geocoding: false
sticky_navbar: false # when true, allows navbar (and header_notice if enabled) to stick to the top of the window and shrink when scrolling
# Possible features to disable:
# biotools, topics, operations, sponsors, fairshare, county, ardc_fields_of_research,
# other_types, subsets, syllabus, approved_editors, address_finder
disabled: ['ardc_fields_of_research', 'other_types', 'subsets', 'syllabus', 'approved_editors']
materials_disabled: []
content_providers_disabled: []
bioschemas_testing: false
learning_paths: false
collection_curation: true
spaces: false
topics: true
Copy link

Copilot AI Feb 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The topics: true feature flag appears to be a new addition rather than a reorganization of existing configuration. However, the codebase doesn't check for TeSS::Config.feature['topics'] or TeSS::Config.feature[:topics]. Instead, the code checks if 'topics' is included in the TeSS::Config.feature['disabled'] array (see app/models/event.rb:202 and app/models/material.rb:139). Adding this flag here won't have any effect on the application's behavior and creates confusion about how topics are actually controlled. Consider removing this line or clarifying if this is intended as a new feature flag with corresponding code changes.

Suggested change
topics: true

Copilot uses AI. Check for mistakes.

# User login
invitation: false
registration: true
login_through_oidc_only: false # when true, only the first oidc authentication will be available in TeSS, useful when you have your org SSO. Be careful! invitation and registration must be false when using this feature.
login_through_oidc_only: false # when true, only the first oidc authentication will be available in TeSS, useful when you have your org SSO. Caution! invitation and registration must be false when using this feature.

# User rights
user_source_creation: true
trainers: false
edit_suggestions: false

# UI
sticky_navbar: false # when true, allows navbar (and header_notice if enabled) to stick to the top of the window and shrink when scrolling

# Possible features to disable:
# biotools, topics, operations, sponsors, fairshare, county, ardc_fields_of_research,
# other_types, subsets, syllabus, approved_editors address_finder,
Copy link

Copilot AI Feb 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a missing comma after "approved_editors" in the list of possible features to disable. The list should have commas between all items.

Suggested change
# other_types, subsets, syllabus, approved_editors address_finder,
# other_types, subsets, syllabus, approved_editors, address_finder,

Copilot uses AI. Check for mistakes.
# visibility (if included, material or event can be hidden from the materials/events list)
disabled: ['ardc_fields_of_research', 'other_types', 'subsets', 'syllabus', 'approved_editors']
restrict_content_provider_selection: false
user_ingestion_methods: ['bioschemas']
placeholder:
Expand Down