Added option to prompt for file location on save#299
Added option to prompt for file location on save#299RyanTheTechMan wants to merge 8 commits intomoffatman:masterfrom
Conversation
SaveAsDestination is an enum that allows you to bypass the prompt asking where do you want to save. This really only affects IOS at the moment, but if saveAs locations get added to other platforms (such as gallery to android), then this would be used.
|
I have not tested changes on Android yet. Unless someone gets there before me, I believe I can do it later today or later this week at the latest. |
|
There is no Also don't think this should be a This would fit more as an enhancement to
What I mean by "organized" path is not just the root, by all the way into the subfolder calculated by Then to complete your usecase, maybe a way to activate the "Save as" function easier? I started work on making all buttons remappable. But no guarantees when that is done... you could certainly add "save as" into the ContextMenus where it's missing now... Sorry for wall of text lol I do appreciate the contribution |
Sorry! And good catch! I did implement it on the iOS side, however I forgot to add it to the commit!
This is a good point, I'll see how it can be worked into download rather than saveAs.
I can migrate the options out of
I'd say that's a pretty good idea; though you can currently hold on The goal of this commit is to allow for changing what the default action the "download" button does (cloud icon and context menu).
Thanks for such a quick review before I get lost in the sauce. Final design and change:
As another possible feature to be added later on, configuration for the navigation bar! Allow users to change what options appear in different areas of the app. Below is a way that I was coming up with, but I don't quite like it as much as the final design above. How about this as a possible way...
|
Not fully implemented yet.
Also added warning for when "Media save directory" is changed off of File if there is a settings conflict.
|
Mostly done on the iOS side, going to be testing and configuring Android soon. |
|
All the new options and stuff are a mess. i will try to finish the button remap thing now so that all the complexity can be handled there instead. so yeah focus on android is a good idea |
Technically the "Save-as menu options" only has ONE item in it on Android, but it is future proof...
|
Android and iOS are now working as intended. Once you’ve finished your changes, let me know and I’ll work to resolve the conflicts. |
To speed up the saving workflow, I added two options that appear when Media save directory is set to "Files":
For changes in the code, I did as little changes as possible to keep the logic as is. However, I noticed that the saveFileAs function did not offer a way to choose what kind of save as is wanted. I have created an enum that can be passed in on function call to call what ever save as is wanted. This currently only affects IOS as Android implementation does not have this feature yet from what I can tell.