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

Chore/ml delete assets #7109

Merged
merged 4 commits into from Aug 12, 2020
Merged

Chore/ml delete assets #7109

merged 4 commits into from Aug 12, 2020

Conversation

soupette
Copy link
Contributor

@soupette soupette commented Jul 22, 2020

Description of what you did:

Improve the delete asset workflow

@codecov
Copy link

codecov bot commented Jul 22, 2020

Codecov Report

Merging #7109 into master will decrease coverage by 0.06%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7109      +/-   ##
==========================================
- Coverage   26.23%   26.16%   -0.07%     
==========================================
  Files        1131     1130       -1     
  Lines       15431    15411      -20     
  Branches     2442     2435       -7     
==========================================
- Hits         4048     4033      -15     
+ Misses       9564     9563       -1     
+ Partials     1819     1815       -4     
Flag Coverage Δ
#front 18.27% <0.00%> (+<0.01%) ⬆️
#unit 52.94% <ø> (-0.21%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...iners/HomePage/HomePageContent/HomePageSettings.js 0.00% <ø> (ø)
...n/src/containers/HomePage/HomePageContent/index.js 0.00% <ø> (ø)
...ugin-upload/admin/src/containers/HomePage/index.js 0.00% <0.00%> (ø)
...in-upload/admin/src/containers/HomePage/reducer.js 65.85% <0.00%> (-15.97%) ⬇️
...-upload/admin/src/containers/ModalStepper/index.js 0.00% <0.00%> (ø)
packages/strapi-provider-upload-local/lib/index.js 22.72% <0.00%> (-6.44%) ⬇️
packages/strapi-admin/services/user.js 81.90% <0.00%> (-0.67%) ⬇️
packages/strapi-admin/services/role.js 93.97% <0.00%> (-0.15%) ⬇️
packages/strapi-utils/lib/parse-multipart.js 12.50% <0.00%> (ø)
packages/strapi-utils/lib/sanitize-entity.js 61.29% <0.00%> (ø)
... and 13 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 99dfd24...95e6837. Read the comment docs.

Signed-off-by: soupette <cyril.lpz@gmail.com>
@soupette soupette added source: core:upload Source is core/upload package issue: enhancement Issue suggesting an enhancement to an existing feature labels Jul 24, 2020
@soupette soupette added this to the 3.1.2 milestone Jul 24, 2020
@@ -333,11 +313,19 @@ const HomePage = () => {
],
};

const handleRemoveFileFromDataToDelete = useCallback(id => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Here, why do we need a useCallback ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It avoids rerenders

@alexandrebodin alexandrebodin modified the milestones: 3.1.2, 3.1.3, 3.1.4 Jul 29, 2020
Copy link
Contributor

@HichamELBSI HichamELBSI left a comment

Choose a reason for hiding this comment

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

LGTM

@soupette soupette removed this from the 3.1.4 milestone Aug 11, 2020
@alexandrebodin alexandrebodin added this to the 3.1.4 milestone Aug 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: enhancement Issue suggesting an enhancement to an existing feature source: core:upload Source is core/upload package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Media library search -Page reloads during search - Not able to type in all the phrases
3 participants