How andreaslborg/hideit works
Hide It is an Umbraco package that lets editors mark blocks hidden, removes those blocks from Block List and Block Grid frontend values, and excludes hidden content from search indexing. The backoffice action is exposed conditionally when a block’s settings type has the configured property; it retrieves configuration and updates the block’s visual state. On the server, Umbraco-registered converters filter delivery values, while a separate index-value factory handles search. The graph preserves documented manual filtering and custom filter extensions. Some relationships are based on README or SOURCE INDEX references because their implementation excerpts were not provided.
Main entry points: HideItComposer.cs Umbraco composer · HideItBlockListPropertyValueConverter.cs Block List converter · HideItBlockValuePropertyIndexValueFactory.cs Search index factory · hide-it-block-action.element.ts Block action
Components 18
Backoffice editing
- Block action
Client/src/elements/hide-it-block-action.element.ts - Action registration
Client/src/actions/manifest.ts - Property condition
Client/src/conditions/has-hide-it-property.condition.ts - Condition registration
Client/src/conditions/manifest.ts - Client configuration
Client/src/hide-it-config.ts
Frontend delivery
- Block List converter
ValueConverters/HideItBlockListPropertyValueConverter.cs - Block Grid converter
ValueConverters/HideItBlockGridPropertyValueConverter.cs - Visibility filtering
BlockExtensions.cs - Custom filter extensions
Filters/HideItBlockFilters.cs - Manual filtering API
BlockExtensions.cs
Search indexing
- Search index factory
PropertyEditors/HideItBlockValuePropertyIndexValueFactory.cs - Index value model
PropertyEditors/Models/HideItIndexValueFactoryBlockValue.cs
Package configuration
- Configuration API
Controllers/HideItConfigurationController.cs - Hide It settings
HideItSettings.cs - Umbraco composer
Composers/HideItComposer.cs
Other components
- Content editor
- Umbraco frontend
- Umbraco search indexing
Connections 21
- Content editor → Block action: uses
README.md - Action registration → Block action: registers
Client/src/actions/manifest.ts - Condition registration → Property condition: registers
Client/src/conditions/manifest.ts - Block action → Client configuration: loads options
Client/src/elements/hide-it-block-action.element.ts - Property condition → Client configuration: checks alias
Client/src/conditions/has-hide-it-property.condition.ts - Client configuration → Configuration API: fetches configuration
Client/src/hide-it-config.ts - Configuration API → Hide It settings: reads options
Controllers/HideItConfigurationController.cs - Umbraco composer → Hide It settings: configures
Composers/HideItComposer.cs - Umbraco composer → Block List converter: registers converter
Composers/HideItComposer.cs - Umbraco composer → Block Grid converter: registers converter
Composers/HideItComposer.cs - Umbraco composer → Search index factory: registers factory
Composers/HideItComposer.cs - Umbraco composer → Custom filter extensions: registers filters
Composers/HideItComposer.cs - Block List converter → Visibility filtering: filters values
ValueConverters/HideItBlockListPropertyValueConverter.cs - Block List converter → Custom filter extensions: applies extensions
ValueConverters/HideItBlockListPropertyValueConverter.cs - Block Grid converter → Visibility filtering: filters values
README.md - Umbraco frontend → Block List converter: requests block values
README.md - Umbraco frontend → Block Grid converter: requests block values
README.md - Manual filtering API → Visibility filtering: exposes filtering
README.md - Umbraco search indexing → Search index factory: requests index values
README.md - Search index factory → Index value model: uses model
PropertyEditors/HideItBlockValuePropertyIndexValueFactory.cs - Search index factory → Hide It settings: reads alias
PropertyEditors/HideItBlockValuePropertyIndexValueFactory.cs