Skip to content

Change config UI#8

Open
Lainow wants to merge 15 commits into
mainfrom
change-config-ui
Open

Change config UI#8
Lainow wants to merge 15 commits into
mainfrom
change-config-ui

Conversation

@Lainow

@Lainow Lainow commented May 27, 2026

Copy link
Copy Markdown
Contributor

Checklist before requesting a review

Please delete options that are not relevant.

  • I have performed a self-review of my code.
  • I have added tests (when available) that prove my fix is effective or that my feature works.
  • I have updated the CHANGELOG with a short functional description of the fix or new feature.
  • This change requires a documentation update.

Description

  • It fixes # (issue number, if applicable)
  • Here is a brief description of what this PR does

Change to the configuration interface (switch from checkboxes to “Yes”/‘No’ options with the “Inheritance” option)

Screenshots (if appropriate):

image image

@Lainow Lainow requested a review from stonebuzz May 27, 2026 14:46
@Lainow Lainow self-assigned this May 27, 2026

@Rom1-B Rom1-B 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.

Please fix CI

@Lainow Lainow requested a review from Rom1-B June 4, 2026 07:51
Comment thread src/Config.php
Comment thread src/Config.php
Comment thread src/Config.php
Comment thread tests/Units/ConfigTest.php
Comment thread src/Config.php Outdated
Comment on lines +198 to +203
'take_requester_group_ticket',
'take_requester_group_change',
'take_requester_group_problem',
'take_technician_group_ticket',
'take_technician_group_change',
'take_technician_group_problem',

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

should be replaced by getActorGroupConfigFields

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

up
youshould use getActorGroupConfigFields() isntead of recreate array

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.

Not done

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Can you add a test case where the child entity fields are set to Config::CONFIG_PARENT, verify that the inherited value from the parent propagates to Controller::checkTaskRequirements, and assert both the blocked (empty mandatory fields) and unblocked (filled mandatory fields) outcomes?

Comment thread src/Config.php Outdated
@Lainow Lainow requested a review from stonebuzz June 29, 2026 13:12
Comment thread src/Config.php Outdated
Comment on lines +198 to +203
'take_requester_group_ticket',
'take_requester_group_change',
'take_requester_group_problem',
'take_technician_group_ticket',
'take_technician_group_change',
'take_technician_group_problem',

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

up
youshould use getActorGroupConfigFields() isntead of recreate array

@stonebuzz stonebuzz requested a review from Rom1-B June 29, 2026 13:49
@Lainow Lainow requested a review from stonebuzz June 30, 2026 08:12

@Rom1-B Rom1-B 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.

Please fix lint

@Lainow Lainow requested a review from Rom1-B June 30, 2026 09:47
Comment thread src/Config.php Outdated
Comment thread src/Config.php Outdated
Comment on lines +198 to +203
'take_requester_group_ticket',
'take_requester_group_change',
'take_requester_group_problem',
'take_technician_group_ticket',
'take_technician_group_change',
'take_technician_group_problem',

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.

Not done

Comment thread src/Controller.php Outdated
Comment thread src/Controller.php
Lainow and others added 3 commits July 1, 2026 11:47
Co-authored-by: Romain B. <8530352+Rom1-B@users.noreply.github.com>
Co-authored-by: Romain B. <8530352+Rom1-B@users.noreply.github.com>
@Lainow Lainow requested a review from Rom1-B July 1, 2026 10:07
Comment thread src/Config.php Outdated
@Lainow Lainow requested a review from stonebuzz July 1, 2026 15:26
Comment thread tests/Units/ConfigTest.php
@Lainow Lainow force-pushed the change-config-ui branch from c5f02ef to 4a9dd6d Compare July 3, 2026 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants