Files
Vardan Hakobyan 90a0caf901 feat: files popover (#570)
* feat: files popover (initial commit)

* chore: fixes after updating deps

* refactor: get rid of extra types

* feat: filter files list

* feat: rename file

* fix: sodium jsi package

* chore: update deps

* chore: upgrade deps

* fix: sodium jsi types

* feat: download files

* refactor: use screens navigation instead of modals so that next popups are not hidden behind already opened ones

* chore: version bump

* refactor: navigate to new screen for renaming files

* refactor: when downloading the file, append content chunks to it instead of overwriting the whole file

* feat: add Share dialog on iOS and separate "Share" and "Download" options on Android

* fix: small fixes

* feat: show toast notifications on file-related actions

* feat: show toast notifications on file-related actions, cleanup unneeded files after share

* feat: store downloaded files in "Downloads" folder on Android

* feat: show success message on ios after sharing the file

* fix: use `Aes` from React Native, remove unused dependency

* fix: restore "@standardnotes/react-native-aes" module

* feat: add feature flag to show files on dev only

* chore: fix lint error

* fix: performance optimization

* fix: call file protection methods from mutator service

* fix: remove event listener correctly after RN version update

* feat: download files on android to "Download" folder

* fix: remove event listener correctly after RN version update

* feat: check the storage permissions on Android on downloading files

* fix: don't trigger download if there is another download in progress

* style: wrap long file names, remove unneeded styles

* style: make file list scrollable, wrap long file names, remove unneeded styles

* fix: correctly delete attached file, better wording

* refactor: move files related logic to separate service

* fix: make the last item in files list reachable on scrolling

* fix: show toast notification after attaching/detaching file to a note

* feat: show lock icon next to protected files

* feat: show lock icon ONLY next to protected files

* feat: make search bar from notes list reusable and consume in files list as well

* feat: show filtered files count on screen title

* refactor: better name for `SearchBar` component

* fix: remove hardcoded bottom padding from files list

* chore: upgrade dependencies

* feat: show files in a separate section on sidebar
refactor: move file-related actions to a custom hook

* refactor: add types for toast

* feat: hide toast notification when pressing it

* chore: upgrade deps

* feat: show lock icon for protected files in Files section

* feat: better look for "Attached"/"All files" tabs switcher

* fix: decrease tab switcher height a bit smaller

* chore: fix lint errors

* feat: show "Export" instead of "Download" on iOS file actions

* feat: show different titles for file screen opener link depending on attached files count

* fix: show files list in note sidebar with correct vertical distance

* fix: optimize file protection toggling

* chore: cleanup console logs

* fix: remove commented parts

* fix: remove not implemented and commented parts

* style: more distance between lock and filetype icons

* fix: changes based on reviews

* fix: remove android-related unneeded configs

* chore: upgrade dependencies

Co-authored-by: Mo <mo@standardnotes.com>
2022-03-30 17:54:35 +04:00
..
2022-03-30 17:54:35 +04:00
2022-03-19 10:29:38 -05:00
2022-03-19 10:29:38 -05:00
2022-03-19 10:29:38 -05:00
2020-12-14 13:47:32 +01:00
2020-12-14 13:47:32 +01:00
2022-03-30 17:54:35 +04:00