Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IBX-6724: Simplify context menu #68

Merged
merged 1 commit into from
Jan 19, 2024
Merged

Conversation

tischsoic
Copy link
Contributor

Question Answer
Tickets https://issues.ibexa.co/browse/IBX-6724
Bug fix? no
New feature? no
BC breaks? no
Tests pass? yes
Doc needed? yes/no
License GPL-2.0

Checklist:

  • Implement tests
  • Coding standards ($ composer fix-cs)

@tischsoic tischsoic self-assigned this Jan 3, 2024
@tischsoic tischsoic force-pushed the IBX-6724-simplify-context-menus branch from b98d196 to 77fe15d Compare January 4, 2024 07:39
@tischsoic tischsoic marked this pull request as ready for review January 5, 2024 08:57
@tischsoic tischsoic requested a review from a team January 5, 2024 09:16
@tischsoic tischsoic force-pushed the IBX-6724-simplify-context-menus branch from 77fe15d to 353d468 Compare January 5, 2024 09:20
@tischsoic tischsoic requested a review from a team January 10, 2024 08:52
Comment on lines +107 to +108
if ($form->getClickedButton() instanceof Button
&& $form->getClickedButton()->getName() === UserSettingUpdateType::BTN_UPDATE_AND_EDIT
Copy link
Member

Choose a reason for hiding this comment

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

Nitpick: it's usually more optimal to extract $form->getClickedButton() instead of calling it twice, unless it's a property getter.

@alongosz alongosz requested a review from a team January 10, 2024 10:41
@tischsoic tischsoic force-pushed the IBX-6724-simplify-context-menus branch from f41a935 to e77c98b Compare January 19, 2024 11:06
Copy link

sonarcloud bot commented Jan 19, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@barbaragr barbaragr self-assigned this Jan 19, 2024
@adamwojs adamwojs merged commit f40988a into main Jan 19, 2024
14 checks passed
@adamwojs adamwojs deleted the IBX-6724-simplify-context-menus branch January 19, 2024 18: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.

9 participants