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/final-review #259

Merged
merged 32 commits into from
Jan 31, 2025
Merged

Conversation

amjedidiah
Copy link
Collaborator

Upup Pull Request Template

Description

  • fixed failing tests
  • replaced test for single frontend component
  • refactored tests to fix code duplication warning
  • deleted all references to version.ts as it is no longer needed
  • prettier fixes

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works

BREAKING CHANGE: Replaced direct cloud storage configuration with pre-signed URLs

- Added pre-signed URL endpoint configuration
- Removed cloud storage credentials from frontend
- Deleted cloud storage config files
- Updated upload logic to use pre-signed URLs
- Simplified configuration interface
- Added CORS mode to uploadObject fetch request
- Prettier fixes

BREAKING CHANGE: Requires S3 bucket CORS configuration
- Added client-side SDK approach for cloud storage providers
- Implemented AWS integration with presigned URLs
- Added credential refresh and SAS token management
- Implemented progress tracking and retry mechanisms
- Fixed type errors and improve error handling
- Removed unused code and align with latest SDK versions

BREAKING CHANGE: Storage configuration requires provider-specific SDK setup
- Added client-side SDK approach for Azure provider
- Implemented Azure integration with presigned URLs
- Implemented progress tracking
- Removed unused code and align with latest SDK versions
- Storage config only requires `provider` and `tokenEndpoint` values
- Added client-side SDK approach for DO provider
- Implemented DO integration with presigned URLs
- Unified s3 client-side upload approach for S3 complaint storage providers
- preview url for uploaded files
- made ETag header conditional
- removed `previewUrl` from object returned to FE
- changed folder structure to accommodate BE logic
- undid setting `Content-Type ` header when sending fetch request from `uploadObject`
- improved logic for `handleError`
- improved validation of required configuration
- Enhanced error handling by including `xhr.status` and `xhr.statusText` when reporting error from `uploadWithProgress`
- fixed issue with build failing when temp dist directory exists
- Configured Jest environment for React components and JSDOM
- Added setupTests with necessary mocks for Google, Framer Motion
- Implemented detailed test suite for MetaVersion, checkFileType, and s3GeneratePresignedUrl
…graded coverage reporting

feat:
- Removed Codecov in favour of native Jest coverage reporting in CI
- Added GitHub Actions artifact storage for coverage reports
- Added detailed coverage threshold checks in CI pipeline
- Updated `s3GeneratePresignedUrl` test suite per review to test for Invalid s3ClientConfig and Missing Parameters
- Updated jest config to support coverage requirements
- fixed failing tests
- replaced test for single frontend component
- refactored tests to fix code duplication warning
- deleted all references to `version.ts` as it is no longer needed
- prettier fixes
@amjedidiah amjedidiah changed the title Fix/final-review [WIP] Fix/final-review Jan 31, 2025
…s multiple toasts for a single call

added reference to upup full docs in README
- improved logic for checking selected files limit
- minor fixes for progress bar
- removed console logs
- abstract multiple `classNames.adapterView` calls to single component
@amjedidiah amjedidiah changed the title [WIP] Fix/final-review Fix/final-review Jan 31, 2025
@MedAmine1212 MedAmine1212 merged commit 3a5955d into DevinoSolutions:master Jan 31, 2025
4 checks passed
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.

2 participants