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

WIP move to SSP UI #267

Draft
wants to merge 6 commits into
base: wip-version-6
Choose a base branch
from
Draft

WIP move to SSP UI #267

wants to merge 6 commits into from

Conversation

cicnavi
Copy link
Collaborator

@cicnavi cicnavi commented Nov 14, 2024

This is still WIP.

I'm trying to incorporate OIDC module pages into standard SSP UI.

I've intended to include "standard horizontal menu" (marked yellow in picture below) from the admin module on all OIDC related pages. Using the hook_adminmenu is easy when we are in admin module, but I'm wondering if the solution that I've used (src/Factories/TemplateFactory.php:65) to include it in OIDC module is OK in your oppinion @tvdijen .

image

@cicnavi cicnavi requested a review from tvdijen November 14, 2024 12:25
Copy link

codecov bot commented Nov 14, 2024

Codecov Report

Attention: Patch coverage is 17.99308% with 237 lines in your changes missing coverage. Please review.

Project coverage is 41.88%. Comparing base (d59b3d0) to head (14e91bc).

Files with missing lines Patch % Lines
src/Factories/TemplateFactory.php 0.00% 63 Missing ⚠️
src/Controllers/Admin/ConfigController.php 0.00% 35 Missing ⚠️
src/ModuleConfig.php 54.79% 33 Missing ⚠️
src/Utils/Routes.php 0.00% 31 Missing ⚠️
src/Services/Container.php 0.00% 17 Missing ⚠️
src/Admin/Authorization.php 0.00% 13 Missing ⚠️
src/Admin/Menu.php 0.00% 13 Missing ⚠️
src/Controllers/Admin/ClientController.php 0.00% 10 Missing ⚠️
src/Admin/Menu/Item.php 0.00% 8 Missing ⚠️
src/Bridges/SspBridge/Module.php 0.00% 4 Missing ⚠️
... and 4 more
Additional details and impacted files
@@                 Coverage Diff                 @@
##             wip-version-6     #267      +/-   ##
===================================================
- Coverage            43.33%   41.88%   -1.46%     
- Complexity            1343     1396      +53     
===================================================
  Files                  143      150       +7     
  Lines                 5631     5826     +195     
===================================================
  Hits                  2440     2440              
- Misses                3191     3386     +195     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@tvdijen tvdijen left a comment

Choose a reason for hiding this comment

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

Looking good, @cicnavi !!

I think the Menu.php, Menu\Item.php and menu.twig are eligible for porting to SSP-core, so they can be reused by other modules.

@cicnavi
Copy link
Collaborator Author

cicnavi commented Nov 14, 2024

Cool! Thanks for quick feedback for now..

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.

2 participants