-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Feature: Add compression options #10327
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
Comments
I think we should do this but setting to planning so that can settle on a UI. |
@yaichenbaum Here is a mockup. archive.mp4 |
@cinqmilleans I updated the requirements, what do you think? |
@yaichenbaum That seems alright to me. I would add the option to split the archive into maximum file size. It's used a lot. All the other options available are too technical and reserved for experts. |
What does that look like? |
I mean the option to cut into several files (700mb, 4.7gb, ...) is very useful. |
I think we should also support default options. |
I think rather that it is necessary simply to reselect by default the options chosen the previous time. No need to clutter up the settings with this. |
I think we should add at least a chechbox to ask the user if he wants to save those options |
I agree that a setting isn't needed. We should start without remembering the options and go from there. |
I start the implementation. |
@cinqmilleans thank you! I like the design you shared, I think we can leave out the "More options" button as it seems a little unnecessary. |
@yaichenbaum Here is a preview of the new compression dialog.
I need to modify the glyphs but I don't know which ones to use. Any suggestions are welcome. |
Is it possible to add SFX option as a compression method? 7zip program has this option not sure if the library used has it too. |
@mdtauk do you have any feedback on this design? I might suggest changing the title to "Create Archive", the other suggestion would be to make the password textbox a little wider. What does the splitting size option do? |
Split size makes it so the if the user has 1GB to archive then selects splitting to 650mb it will make 2 archives no bigger than 650mb |
I was looking at the available glyphs I could use. I figured that arrows pointing to each other could possibly represent compression level, although I feel like there might be a better icon for this representation Perhaps scissors could represent splitting? I had someone suggest splitting squares icon but I didn't find a glyph ID for that. Either a lock or something that is similar showing *** might work. This is actually my first time dealing with Glyph FontIcons. Let me know what you all think! |
When trying this I first thought that the password box would remain at a static size and end up obstructing most characters. Little did I know that it would actually expand if I put in a significant amount of characters. I personally think it should be a bit wider than it is right now by default, but I'm glad that it dynamically expands if a user needs to actually put in a larger password. Upload.from.GitHub.for.iOS.MOV |
I agree the dialog title should be Create Archive, as Add To implies you are using an existing archive and adding to it. It's there any example of other dialogs using the Settings style of including a Glyph, heading, and enclosing in a group box? The password field should probably be outside of this, to prevent truncation. How would this dialog adapt for extracting files from an archive, and other archive management? |
Glyphs should probably be remoed in this case 👍
It'll be a separate modal, see #10413 for details (the screenshots there are out of date). |
Thanks for all your feedback. Functionality advances. The current library does not support Splitting for the zip format. The combobox is grayed out when zip is selected. |
What feature or improvement do you think would benefit Files?
Currently, data compression has no options other than file name. Some options are very practical (7z format, compression level, password, ...). Having all this integrated adds significant added value (no need to install third-party software, better integrated context menu, etc.). However, it must be kept simple so as not to confuse the user.
The compression popup only asks for the file name. We could add a button to display options. These options should be explained, for example to understand the advantages and disadvantages of each format.
Requirements
Files Version
Version : 2.3.52.0 OS Version: 10.0.22621.675
Windows Version
Windows 11 22621.674
Comments
I can make an example view before implementation to confirm the concept.
The text was updated successfully, but these errors were encountered: