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

fix: unable to disallow csv upload on header menu #30271

Conversation

justinpark
Copy link
Member

Fixes #30260

SUMMARY

In the #28192, the CSV menu was changed from a page URL to a modal popup, which led to an issue where the popup could be triggered even when the menu was in a disabled state.
This commit addresses the problem by passing the disabled property to the menu, making it impossible to click.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Before:

before--csv-upload-disabled.mov

After:

after--csv-upload-disabled.mov

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

@dosubot dosubot bot added the change:frontend Requires changing the frontend label Sep 13, 2024
@sadpandajoe sadpandajoe added the v4.1 Label added by the release manager to track PRs to be included in the 4.1 branch label Sep 13, 2024
@justinpark justinpark merged commit cd8b567 into apache:master Sep 17, 2024
36 of 38 checks passed
sadpandajoe pushed a commit that referenced this pull request Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change:frontend Requires changing the frontend size/S v4.1 Label added by the release manager to track PRs to be included in the 4.1 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Uploads are enabled even with Allow file uploads to database disabled
3 participants