-
Notifications
You must be signed in to change notification settings - Fork 16.5k
feat(List Roles): Migrate FAB view to React #32432
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
Conversation
|
Based on your review schedule, I'll hold off on reviewing this PR until it's marked as ready for review. If you'd like me to take a look now, comment
|
|
Thank you! I can't wait to see the last of these disappear :D |
|
Hi @EnxDev. Thanks for working on this! Let me know when it's ready for review as it's still in draft. Regarding this:
It would probably require instructions on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review by Korbit AI
Korbit automatically attempts to detect when you fix issues in new commits.
| Category | Issue | Status |
|---|---|---|
| Unclear Empty Object Initialization ▹ view | 🧠 Not in standard |
Files scanned
| File Path | Reviewed |
|---|---|
| superset/views/roles.py | ✅ |
| superset-frontend/src/features/roles/types.ts | ✅ |
| superset-frontend/src/features/roles/utils.ts | ✅ |
| superset-frontend/src/components/ListView/types.ts | ✅ |
| superset-frontend/src/dashboard/components/menu/BackgroundStyleDropdown.tsx | ✅ |
| superset-frontend/src/components/ListView/Filters/Select.tsx | ✅ |
| superset-frontend/src/features/roles/RoleFormItems.tsx | ✅ |
| superset-frontend/src/features/roles/RoleListDuplicateModal.tsx | ✅ |
| superset-frontend/src/features/roles/RoleListAddModal.tsx | ✅ |
| superset-frontend/src/components/ListView/Filters/index.tsx | ✅ |
| superset-frontend/src/views/routes.tsx | ✅ |
| superset-frontend/src/features/roles/RoleListEditModal.tsx | ✅ |
| superset-frontend/src/features/home/SubMenu.tsx | ✅ |
| superset/security/api.py | ✅ |
| superset/initialization/init.py | ✅ |
| superset-frontend/src/pages/RolesList/index.tsx | ✅ |
| superset/config.py | ✅ |
| superset/security/manager.py | ✅ |
Explore our documentation to understand the languages and file types we support and the files we ignore.
Need a new review? Comment
/korbit-reviewon this PR and I'll review your latest changes.Korbit Guide: Usage and Customization
Interacting with Korbit
- You can manually ask Korbit to review your PR using the
/korbit-reviewcommand in a comment at the root of your PR.- You can ask Korbit to generate a new PR description using the
/korbit-generate-pr-descriptioncommand in any comment on your PR.- Too many Korbit comments? I can resolve all my comment threads if you use the
/korbit-resolvecommand in any comment on your PR.- On any given comment that Korbit raises on your pull request, you can have a discussion with Korbit by replying to the comment.
- Help train Korbit to improve your reviews by giving a 👍 or 👎 on the comments Korbit posts.
Customizing Korbit
- Check out our docs on how you can make Korbit work best for you and your team.
- Customize Korbit for your organization through the Korbit Console.
Feedback and Support
| onSave={onSave} | ||
| formSubmitHandler={handleFormSubmit} | ||
| requiredFields={['roleName']} | ||
| initialValues={{}} |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
|
Highly recommend setting up pre-commit -> https://superset.apache.org/docs/contributing/development/#git-hooks |
….com/apache/superset into enxdev/feat/fab-list-roles-migration
c8aa718 to
840562a
Compare
840562a to
07d5a77
Compare
|
fwiw, i've found a small regression from this PR, some of the requests done are invalid URLs according to RFCs, and when superset is behind a java proxy, those trigger 400 codes. i've locally fixed them this way: can do a PR with that if that is deemed reasonable/acceptable. with this fixed, the new roles page works fine. |
@landryb a PR would be awesome! Please, feel free to ping me when you have it. |
SUMMARY
Migrate List Roles FAB view to React
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
BEFORE


AFTER
TESTING INSTRUCTIONS
superset initList RolesADDITIONAL INFORMATION