Review main Merged

75178[FEATURE] Revamp TypoScript Template Analyzer

Christian Kuhn CR +2 V +2 Expert +1220 −302 updated 07/16/22, 19:46

Commit message

This establishes the first usage of the new TypoScript
parser and leverages some of its improved functionality:
A rewrite of the template analyzer backend module based
on the new parser gives a series of new features.

Most importantly, the TypoScript include tree now
resolves all @import and INCLUDE_TYPOSCRIPT includes
and shows them as single nodes within the include tree.

Additionally, the template analyzer is now condition
aware: It finds all conditions within the include
tree and allows to simulate include tree restrictions
based on condition verdicts.

The major outcome of this is that the analyzer now
shows in-depth includes and allows much more fine
grained analysis of all includes that play a role
on a single page.

Known issue: t3editor (codemirror) sometimes fails to
initialize properly to render TypoScript source when
clicking a node in the include tree. This is probably
some JavaScript load-order race condition and will be
tackled with a dedicated patch.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 2

Files 22

Show 2 more files