Remove azuldownload and curldownload feature flags#4734
Merged
Conversation
Remove the AZUL_DOWNLOAD and CURL_DOWNLOAD feature flags so download features are enabled unconditionally. The NRES consent group check for curl download is preserved as it is business logic, not a feature gate. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
NoopDog
approved these changes
Mar 30, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Removes the AZUL_DOWNLOAD and CURL_DOWNLOAD feature flags so Azul file download and curl download functionality are enabled by default, while keeping the NRES consent-group restriction for dataset curl downloads.
Changes:
- Deleted the Azul/curl download feature flags and removed their gating logic/components.
- Made the Azul file download column visible by default (removed feature-flag-driven visibility controller and default-hidden state).
- Kept curl download restricted to NRES datasets via existing consent-group checks/conditional rendering.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| site-config/anvil-cmg/dev/ui/filesEntityList.ts | Removes the now-unnecessary Azul download visibility controller slot. |
| site-config/anvil-cmg/dev/index/filesEntityConfig.ts | Stops default-hiding the Azul file download column so it appears by default. |
| site-config/anvil-cmg/dev/export/export.ts | Replaces the curl download gated export method wrapper with the standard ExportMethod. |
| site-config/anvil-cmg/dev/detail/dataset/export/export.ts | Replaces the curl download gated export method wrapper with the standard ExportMethod (still wrapped by NRES conditional). |
| pages/export/get-curl-command.tsx | Removes feature-flag-based 404 gating so the page is always available. |
| pages/[entityListType]/[...params].tsx | Removes curl feature-flag check while preserving NRES-based restriction for AnVIL dataset curl routes. |
| app/shared/entities.ts | Removes AZUL_DOWNLOAD and CURL_DOWNLOAD from the FEATURES enum. |
| app/components/index.tsx | Removes the Azul download “visibility controller” export alias. |
| app/components/Index/components/AzulFileDownload/azulFileDownload.tsx | Deletes the feature-flag-based column visibility controller component. |
| app/components/Export/components/AnVILExplorer/CurlDownload/curlDownloadExportMethod.tsx | Deletes the feature-flag-based curl export method wrapper component. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
AZUL_DOWNLOADandCURL_DOWNLOADfeature flags so download features are enabled unconditionallyAzulFileDownloadVisibilityController,CurlDownloadExportMethod) that existed solely for feature gatingCloses #4733
Test plan
?curldownloadflag🤖 Generated with Claude Code
Closes #4733.