Skip to content

Conversation

@ssddanbrown
Copy link
Member

@ssddanbrown ssddanbrown commented Jan 26, 2026

Additions

  • Before/After view include support.
  • Modular hack support - Theme Modules
  • Module fetch format/system.
  • Split out show/index template sidebar elements into their own views for easier customization control.

Ideas

  • Abstract usage of THEME_* config env options?
    • Gonna skip this one for now, maybe come back later.

Todo

  • Testing for before/after view include support.
  • Theme system doc updates for new registerViewRenderBefore and registerViewRenderAfter methods.
  • Theme system doc updates for modules.
  • Testing for all theme modules systems.
  • Document module ZIP format.
  • Install Module Command - Manual Testing
  • Install Module Command - PHP Unit Coverage

Doc Updates

  • Update advisory - modules directory in theme folder is now used for modules.
  • Docs - Add section for new install-module command.

Within the responsibility of the theme service instead
of being part of the app configuration.
@ssddanbrown ssddanbrown added this to the Next Feature Release milestone Jan 26, 2026
@ssddanbrown ssddanbrown self-assigned this Jan 26, 2026
Adds a registration system via the logical theme system, to tell
BookStack about views to render before or after a specific template
is included in the system.
Changed the system out to be a theme event instead of method, to align
with other registration events, and so that the theme view work can
better be contained in its own class.
Not yet tested at all, either manually or via PHPUnit
- Added (limited) redirect handling to module downloads.
- Adjusted wording/text for consistency and clarity.
- Fixed scenarios where process was not stopped on error.
- Fixed module folder creation check/logic.
- Added better failed request handling to module downloads.
- Updated download response streaming to monitor/limit download size.
- Updated the system to work with modules.
- Updated module docs to consider namespacing.
- Fixed view loading and registration event ordering.
- Fixed checking if views are registered.
Split out each sidebar block into their own template for easier
customization of those elements, and less code to manage when overriding
the parent show/index views.
@ssddanbrown ssddanbrown merged commit 5e12b67 into development Feb 9, 2026
20 checks passed
@ssddanbrown ssddanbrown deleted the further_theme_development branch February 9, 2026 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant