Skip to content

Screen layout commands and expanded documentation#296

Merged
tuj merged 23 commits into
release/3.0.0from
feature/documentation-and-screen-layouts
Sep 19, 2025
Merged

Screen layout commands and expanded documentation#296
tuj merged 23 commits into
release/3.0.0from
feature/documentation-and-screen-layouts

Conversation

@tuj

@tuj tuj commented Sep 10, 2025

Copy link
Copy Markdown
Contributor

Issue

#249

Description

  • Added screen layout commands.
  • Expanded documentation.

Checklist

  • My code is covered by test cases.
  • My code passes our test (all our tests).
  • My code passes our static analysis suite.
  • My code passes our continuous integration process.

@tuj tuj added this to the 3.0.0 milestone Sep 10, 2025
@tuj tuj self-assigned this Sep 10, 2025
@tuj tuj added the enhancement New feature or request label Sep 10, 2025
@tuj tuj mentioned this pull request Sep 10, 2025
36 tasks
@tuj
tuj requested a review from sinejespersen September 10, 2025 07:10
@tuj
tuj requested review from turegjorup and removed request for sinejespersen September 10, 2025 07:19

@turegjorup turegjorup left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This can be merged but I think it would be beneficial to work more cleanly with available vs installed templates and layouts.

Logic for checking if a template or layout is installed is spread througout leading to code that is harder to follow and debug than necessary. I think it should be possible to consolidate that logic in the two service classes. Thus all other code could call ->getInstalledTemplates|Layouts(). This way other code would be more readable .


public function updateScreenLayout(ScreenLayoutData $screenLayoutToUpdate): void
{
if (null !== $screenLayoutToUpdate->screenLayoutEntity) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

A comment about what ->screenLayoutEntity signifies and the reason for the null check will help us down the road

@tuj
tuj requested a review from turegjorup September 18, 2025 11:13
@tuj
tuj merged commit 257aaf5 into release/3.0.0 Sep 19, 2025
17 checks passed
@tuj
tuj deleted the feature/documentation-and-screen-layouts branch September 19, 2025 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants