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

feat: remove download feature flag (#5914) #6229

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

frano-m
Copy link
Collaborator

@frano-m frano-m commented Nov 15, 2023

Reason for Change

Changes

  • Removed download feature flag dux.
  • Removed all toggling of styles / components associated with the download feature flag.
  • UI and copy caption text should match mocks.

Copy link
Contributor

Deployment Summary

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Note, CopyMask styles are now used by EmbeddingButton component.

@@ -36,9 +36,6 @@ export const CodeBlock = styled.div`
}
`;

/**
* @deprecated by CodeBlock styles once "DOWNLOAD_UX" feature flag is removed.
*/
export const DownloadCodeBlock = styled.div`
Copy link
Collaborator Author

@frano-m frano-m Nov 15, 2023

Choose a reason for hiding this comment

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

Note DownloadCodeBlock styles are now used by EmbeddingButton component. I have therefore removed the @deprecated comment.

const [selectedFormat, setSelectedFormat] = useState<
DATASET_ASSET_FORMAT | ""
>("");
const [fileSize, setFileSize] = useState<number>(0);
const [fileName, setFileName] = useState<string>("");
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We no longer generate a cURL and therefore fileName is no longer needed.

@MillenniumFalconMechanic MillenniumFalconMechanic marked this pull request as ready for review November 15, 2023 19:03

Verified

This commit was signed with the committer’s verified signature. The key has expired.
scrable Corey Russ
@MillenniumFalconMechanic MillenniumFalconMechanic force-pushed the fran/5914-download-feature-flag branch from b43c883 to cab9002 Compare November 15, 2023 19:03
@metakuni metakuni requested a review from a team November 15, 2023 20:37
@MillenniumFalconMechanic MillenniumFalconMechanic deleted the fran/5914-download-feature-flag branch November 16, 2023 02:37
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.

3 participants