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

Sweep: fix definition of class names in AdminPanelProvider.php of ApiTokenManager, CreateTeam, EditProfile as they attempted to load the Provider namespace and not Pages #696

Merged

Conversation

sweep-ai[bot]
Copy link
Contributor

@sweep-ai sweep-ai bot commented May 23, 2024

Description

This pull request addresses an issue where several class names in AdminPanelProvider.php were incorrectly referenced, leading to potential class loading errors. Specifically, the changes correct the namespace and class names for ApiTokenManager, CreateTeam, and EditProfile to ensure they are correctly loaded from the Pages namespace rather than the Provider namespace.

Summary

  • Corrected the namespace reference for ApiTokenManagerPage, CreateTeam, EditProfile, and EditTeam to ensure they are properly loaded from the App\Filament\Pages namespace.
  • Updated references to these classes in the panel method to reflect their new names and locations, ensuring that the application can correctly instantiate and use these classes.
  • These changes affect the app/Providers/Filament/AdminPanelProvider.php file, ensuring that the application's admin panel correctly recognizes and utilizes the intended pages.

Fixes #692.


💡 To get Sweep to edit this pull request, you can:

  • Comment below, and Sweep can edit the entire PR
  • Comment on a file, Sweep will only modify the commented file
  • Edit the original issue to get Sweep to recreate the PR from scratch

This is an automated message generated by Sweep AI.

Copy link
Contributor Author

sweep-ai bot commented May 23, 2024

Rollback Files For Sweep

  • Rollback changes to app/Providers/Filament/AdminPanelProvider.php

This is an automated message generated by Sweep AI.

Copy link
Contributor Author

sweep-ai bot commented May 23, 2024

Sweep: PR Review

Authors of pull request: @sweep-ai[bot]

app/Providers/Filament/AdminPanelProvider.php

Updated class references and URL generation to use fully qualified class names within the Pages namespace.

Potential Issues

Sweep isn't 100% sure if the following are issues or not but they may be worth taking a look at.


@curtisdelicata curtisdelicata deleted the sweep/fix_definition_of_class_names_in_adminpa_3c5f6 branch June 23, 2024 04:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant