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: Do not display Viewer's Download button on iOS Flagship app #2215

Merged
merged 2 commits into from
Aug 24, 2022

Conversation

Ldoppea
Copy link
Member

@Ldoppea Ldoppea commented Aug 22, 2022

Current implementation of iOS Flagship app doesn't handle files
download correctly

So we want to temporarily disable Download button on this platform

This commit is meant to be reverted when files download is fixed on iOS
Flagship app


This commit also refactor margin handling on FooterContent items


Related PRs:


TODO:

Current `FooterContent` implementation does not handle gap between
child items. So we used to add margin left or right on them based on
usage

Instead of doing this we prefer to handle gap between items directly in
`FooterContent` so child items don't have to care about this

This would allow to compose child items more easily without risk of
having incorrect margins

BREAKING CHANGE: Items inside of `FooterActionButtons` should not have
specified margins anymore as those are now handled by its container.
Remove them to avoid duplicate margins
@Ldoppea Ldoppea force-pushed the feat/disable_download_io_aa branch from 5638a5b to 5ed73d6 Compare August 22, 2022 17:42
Ldoppea added a commit to cozy/cozy-drive that referenced this pull request Aug 22, 2022
`cozy-ui` as been upgraded to to `71.0.0` to retrieve a fix that
disable Viewer's download button from cozy/cozy-ui#2215
@bundlemon
Copy link

bundlemon bot commented Aug 22, 2022

BundleMon

Unchanged files (2)
Status Path Size Limits
dist/cozy-ui.min.css
19.62KB +5%
dist/cozy-ui.utils.min.css
9.97KB +5%

No change in files bundle size

Groups updated (1)
Status Path Size Limits
transpiled/react/**
526.94KB (+140B +0.03%) -

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

Current implementation of iOS Flagship app doesn't handle files
download correctly

So we want to temporarily disable Download button on this platform

This commit is meant to be reverted when files download is fixed on iOS
Flagship app
@Ldoppea Ldoppea force-pushed the feat/disable_download_io_aa branch from 5ed73d6 to 8cfa363 Compare August 23, 2022 16:09
@Ldoppea Ldoppea merged commit db2303d into master Aug 24, 2022
@Ldoppea Ldoppea deleted the feat/disable_download_io_aa branch August 24, 2022 14:03
@cozy-bot
Copy link

🎉 This PR is included in version 72.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Ldoppea added a commit to cozy/cozy-libs that referenced this pull request Aug 24, 2022
`cozy-ui` as been proactively upgraded to to `72.0.0` so we don't
forget to apply breaking-changes from cozy/cozy-ui#2204 and
cozy/cozy-ui#2215
Ldoppea added a commit to cozy/cozy-libs that referenced this pull request Aug 24, 2022
Ldoppea added a commit to cozy/cozy-libs that referenced this pull request Aug 24, 2022
`cozy-ui` as been proactively upgraded to to `72.0.0` so we don't
forget to apply breaking-changes from cozy/cozy-ui#2204 and
cozy/cozy-ui#2215

BREAKING CHANGE: cozy-ui >= 72.0.0 is now required
Ldoppea added a commit to cozy/cozy-libs that referenced this pull request Aug 24, 2022
Ldoppea added a commit to cozy/cozy-drive that referenced this pull request Aug 25, 2022
`cozy-ui` as been upgraded to to `71.0.0` to retrieve a fix that
disable Viewer's download button from cozy/cozy-ui#2215
Ldoppea added a commit to cozy/cozy-drive that referenced this pull request Aug 25, 2022
`cozy-ui` as been upgraded to to `71.0.0` to retrieve a fix that
disable Viewer's download button from cozy/cozy-ui#2215

This commit fixes the previous commit that wrongly set the version
7c6d187
Ldoppea added a commit to cozy/cozy-drive that referenced this pull request Aug 25, 2022
`cozy-ui` as been upgraded to to `71.0.0` to retrieve a fix that
disable Viewer's download button from cozy/cozy-ui#2215

This commit fixes the previous commit that wrongly set the version
7c6d187

Related PR: #2672
Ldoppea added a commit to cozy/cozy-drive that referenced this pull request Aug 25, 2022
`cozy-ui` as been upgraded to to `72.0.0` to retrieve a fix that
disable Viewer's download button from cozy/cozy-ui#2215

This commit fixes the previous commit that wrongly set the version
7c6d187

Related PR: #2672
feat: A
Ldoppea added a commit to cozy/cozy-drive that referenced this pull request Aug 26, 2022
`cozy-ui` as been upgraded to to `73.0.1` to retrieve a fix that
disable Viewer's download button from cozy/cozy-ui#2215

This commit fixes the previous commit that wrongly set the version
7c6d187

Related PR: #2672
feat: A
feat: A
Ldoppea added a commit to cozy/cozy-drive that referenced this pull request Aug 26, 2022
`cozy-ui` as been upgraded to to `73.0.1` to retrieve a fix that
disable Viewer's download button from cozy/cozy-ui#2215

This commit fixes the previous commit that wrongly set the version
7c6d187

Related PR: #2672
feat: A
feat: A
Ldoppea added a commit that referenced this pull request Sep 1, 2022
This commit is a revert from  db2303d

In previous commit we removed the Viewer's Download button on iOS
Flagship app as this platform was not able to handle downloads
correctly

Now that we implemented a solution to handle downloads on this platform
we can add this feature back

Related PR: #2215
Ldoppea added a commit that referenced this pull request Sep 6, 2022
This commit is a revert from  db2303d

In previous commit we removed the Viewer's Download button on iOS
Flagship app as this platform was not able to handle downloads
correctly

Now that we implemented a solution to handle downloads on this platform
we can add this feature back

Related PR: #2215
cozy-bot pushed a commit that referenced this pull request Sep 6, 2022
# [74.4.0](v74.3.0...v74.4.0) (2022-09-06)

### Bug Fixes

* Add a mid ellipsis to the filename in the qualification list ([4f30229](4f30229))
* Add a missing `overflow: hidden;` property to the viewer filename ([6d9b5c2](6d9b5c2))

### Features

* Display Viewer's Download button on iOS Flagship app ([b21726c](b21726c)), closes [#2215](#2215)
Merkur39 pushed a commit to cozy/cozy-libs that referenced this pull request Mar 16, 2023
Merkur39 pushed a commit to cozy/cozy-libs that referenced this pull request Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants