[Insanity check] Refactor ImportActivity
See original GitHub issueExisting activity does actually work, but its implementation is beyond all redemption
TODO
- List all use cases
- List all interactions (
dirpicker, SAF system dialog, import service) - List all inputs and outputs
- Rewrite the whole process from scratch; try and make something STATELESS
HIGHLIGHTS
Remove the dirpicker; file selection should be done exclusively with the SAF dialogDONE v1.9.0- Replace deprecated
ProgressDialog
with something clean and modal (i.e. that cannot be accidentally dismissed, leaving the user blind) - Refresh / import progress should also appear on a notification, for users to check it when the app runs in background
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
unit test via output sanity checks - Stack Overflow
A unit test focuses on the smallest possible amount of code. ... 3) How can one refactor existing code to be unit testable?...
Read more >Refactoring - Dive Into Python 3
This test used to call from_roman() with 'MMMM' and expect an error; now that MMMM is considered a valid Roman numeral, you need...
Read more >Refactor vulnerability report cluster filter - Merge requests
This MR refactors the cluster filter to detangle from the simple_filter.vue and instead use the new more basic querystring_sync.vue component.
Read more >@sanity/types | Yarn - Package Manager
Sweet APIs for reading, writing, importing, exporting, go back in time, and listening for updates. Secure, scalable and GDPR compliant. Zero config Graph ......
Read more >Migrate Separate ImportState Tests Into All Applicable Tests
Import acceptance test refactor for SSM resources #9957 ... Acceptance test import refactor for SFN activity #9960.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In relation to #191 I remember coming to the same conclusion above – saving files to a world readable directory is bad for management and security. I think I even threw in a few utility classes as well as a zip utility; Try selecting a book by pressing and holding the entry in
Downloads
– the third option (Archive) packs the files and requests a share intent iircD.O.N.E.