Skip to content

Conversation

@khalid-nasralla
Copy link
Contributor

@khalid-nasralla khalid-nasralla commented Jun 12, 2025

PAINTROID-782 Use file picker for choosing file saving location

  • Changed the old file saving to use the Storage Access Framework (SAF). It replaces the saving into emulated storage with a file-picker.

  • Cleaned up/Removed old FileIO logic and removed legacy code that was for saving into emulated storage.

  • Lots of updates in the code and also for tests that were written for the old file saving and became redundant.

  • Removed/Disabled legacy "Save Copy" option from the menu, because the SAF file picker can do the same without having to do it manually.

  • Removed manual overwriting of file that can also be done with the SAF file picker (built in by holding file until it is selected and then saving with the same name)

  • New Image option works aswell now with the new file picker when it asks if the user wants to save the current image.

  • Added a couple of tests for the new functionality

  • Include the name of the Jira ticket in the PR’s title

  • Include a summary of the changes plus the relevant context

  • Choose the proper base branch (develop)

  • Confirm that the changes follow the project’s coding guidelines

  • Verify that the changes generate no compiler or linter warnings

  • Perform a self-review of the changes

  • Verify to commit no other files than the intentionally changed ones

  • Include reasonable and readable tests verifying the added or changed behavior

  • Confirm that new and existing unit tests pass locally

  • Check that the commits’ message style matches the project’s guideline

  • Stick to the project’s gitflow workflow

  • Verify that your changes do not have any conflicts with the base branch

  • After the PR, verify that all CI checks have passed

  • Post a message in the #paintroid Slack channel and ask for a code reviewer

@khalid-nasralla khalid-nasralla force-pushed the PAINTROID-782 branch 8 times, most recently from dfba0dc to 7bd7fad Compare July 24, 2025 15:57
PAINTROID-782 Use file picker for choosing file saving location
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant