-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#11: Re-implementation of version tracking #13
base: main
Are you sure you want to change the base?
Conversation
|
I'm getting this crash right now:
|
This crash happens because filepicker changed, we have to initialise FoldersRepo during app creation. |
…ARK-Memo into version-tracking-2
We should merge #18 first. |
@ShubertMunthali we need to resolve conflicts before merging. |
# Conflicts: # app/build.gradle # app/src/main/AndroidManifest.xml # app/src/main/java/dev/arkbuilders/arkmemo/App.kt # app/src/main/java/dev/arkbuilders/arkmemo/files/FilePicker.kt # app/src/main/java/dev/arkbuilders/arkmemo/files/parsers/JsonParser.kt # app/src/main/java/dev/arkbuilders/arkmemo/models/TextNote.kt # app/src/main/java/dev/arkbuilders/arkmemo/ui/activities/MainActivity.kt # app/src/main/java/dev/arkbuilders/arkmemo/ui/adapters/TextNotesListAdapter.kt # app/src/main/java/dev/arkbuilders/arkmemo/ui/dialogs/NoteDeleteDialogFragment.kt # app/src/main/java/dev/arkbuilders/arkmemo/ui/fragments/EditTextNotesFragment.kt # app/src/main/java/dev/arkbuilders/arkmemo/ui/fragments/NotesFragment.kt # app/src/main/java/dev/arkbuilders/arkmemo/ui/fragments/SettingsFragment.kt # app/src/main/java/dev/arkbuilders/arkmemo/ui/fragments/TextNoteVersionsFragment.kt # app/src/main/java/dev/arkbuilders/arkmemo/ui/views/PathPreference.kt # app/src/main/java/dev/arkbuilders/arkmemo/utils/ArkFiles.kt # app/src/main/java/dev/arkbuilders/arkmemo/utils/Config.kt # app/src/main/java/space/taran/arkmemo/data/repo/notes/text/TextNotesRepo.kt # app/src/main/java/space/taran/arkmemo/data/viewmodels/EditTextNotesViewModel.kt # app/src/main/java/space/taran/arkmemo/data/viewmodels/TextNotesViewModel.kt # app/src/main/java/space/taran/arkmemo/preferences/MemoPreferences.kt # app/src/main/res/values/strings.xml # app/src/test/java/dev/arkbuilders/arkmemo/VersionStorageTest.kt # build.gradle # gradle/wrapper/gradle-wrapper.properties # settings.gradle
@ShubertMunthali sorry, we need update it again |
Cool, I will resolve them |
Yes, I will update it |
It works! I've checked both text notes and graphic notes. Versions are displayed correctly and forking functions correctly, too. This is really cool. We have new reusable storage primitives in arklib-android, let's use them to reduce amount of code. See FileStorage arklib-android. I think, it's possible to implement Also, we should find another icon for forking feature, I'll ask our UX team. |
You are right @kirillt |
@ShubertMunthali it's OK to keep But yes, we'll move it eventually to |
Alright @kirillt, so let's make important storage API from |
@ShubertMunthali yes, if our ready-made primitives can't be used to implement custom storages — this should be fixed. Because it would be great if 3rd party developers could write their own storages for their apps. It's possible to compile arklib-android and inject the local version into the app. It would be easier for experimentation. |
Re-implementation of #12
ResourceId
#16