ModdingFox / OpenFuraffinityClient

A toy project of mine to build an unofficial furaffinity client for android
11 stars 1 forks source link

Allow folder selection on submission upload #122

Closed ModdingFox closed 3 years ago

ModdingFox commented 3 years ago

Initially this feature was omitted as under profile there are options to manage submission folder and submission placement in folders. A review comment by "Cosmic Latte - there's no option to add submissions to folders on the description form" shows that there is need/desire for the upload process to include this.

ModdingFox commented 3 years ago

Still gotta go thru and add options to the post request if anything is selected. That should not be to hard ^.^

app/src/main/java/open/furaffinity/client/dialogs/uploadFinalizeDialog.java: Populating spinner from manage folders page
app/src/main/java/open/furaffinity/client/pages/controlsFoldersSubmissions.java: Added functions to return folders and group
app/src/main/java/open/furaffinity/client/utilities/webClient.java: Fixed bug on null cursor. Was preventing uploading without a thumbnail
app/src/main/res/layout/dialog_fragment_uploadfinalizedialog.xml: Added UI elements for adding a submission to an existing folder or adding it to a new one
ModdingFox commented 3 years ago

Hmm so this one is gunna be fun. Gunna have to figure out a way to have a multiselect spinner in the already open dialog without dismissing it. Thats gunna be fun,

ModdingFox commented 3 years ago

Hmm on the spinner select could maybe just flip the layout around and populate a list. Than depending on the current dialog layout mess with the accept/dismiss behaviors to have it flip back to the first. Than in the spinner either show the no folder selected text or show text noting the number of selected folders. So really just looking to use the familiar selecting interface to prompt the user to start the selection process.