1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-08 05:47:05 +09:00
Official Anytype client for Android https://anytype.io
Find a file
Konstantin Ivanov c5866bdf39
DROID-986 | Collections | Enhancement | Main tasks (#2978)
* DROID-986 Tech | Integrate MW New Infrastructure (#2941)

* DROID-986 proto + version

* DROID-986 proto

* DROID-986 version

* DROID-986 add collection

* DROID-986 Collections | Enhancement | New object state integration (#2940)

* DROID-962 P2P | Add mdns and update protobufs for new infra

* DROID-869 protos from branch feature/collections

* DROID-986 proto fix

* DROID-986 proto + version

* DROID-986 proto

* DROID-986 version

* DROID-986 add collection

* DROID-986 migrate from set to collection

* DROID-986 integrate collections

* DROID-986 legacy

* DROID-986 update extension

* DROID-986 legacy

* DROID-986 remove legacy relations from dv, update logic with storeOfRelations

* DROID-986 new collections and sets reducer + state model

* DROID-986 code style

* DROID-986 removed relations param from dataView model

* DROID-986 refactoring

* DROID-986 legacy

* DROID-986 add new reducer to viewModel

* DROID-986 rename relationsIndex to relationLinks

* DROID-986 rename param

* DROID-986 collection di

* DROID-986 data view subscription

* DROID-986 object state model

* DROID-986 convertToCollection useCase

* DROID-986 integrate convertToCollection

* DROID-986 subscription, collection id

* DROID-986 viewmodel, refactoring with new reducer

* DROID-986 legacy reducer

* DROID-986 objectState model

* DROID-986 extencions

* DROID-986 view model update

* DROID-986 fixes

* DROID-986 tests fix

* DROID-986 pr fix

* DROID-986 Revert "DROID-962 P2P | Add mdns and update protobufs for new infra"

This reverts commit c91d5ec30bee2564c440d1ee1978e29b9cd1e01e.

* DROID-986 move reduce function to the next pr

* DROID-986 Revert "DROID-986 migrate from set to collection"

This reverts commit 015fac32763071a3ee1004b0b49e9453ad1a4dcb.

* Revert "DROID-986 Revert "DROID-986 migrate from set to collection""

This reverts commit 4ed4ccb0721be6dfa8bae86f2486e629cd7e4992.

* DROID-986 Revert "DROID-986 integrate collections"

This reverts commit b5d6dad25f72f65a3b4981e8aac15f7458a05b73.

# Conflicts:
#	app/src/main/java/com/anytypeio/anytype/ui/widgets/collection/CollectionViewModel.kt

* DROID-986 pr fix

* DROID-986 pr fix

* DROID-986 pr fix

---------

Co-authored-by: mcrakhman <rakhmanov.m@gmail.com>

* DROID-986 Collections | Event reducer (#2945)

* DROID-923 Collections | Enhancement | Empty states (#2954)

* DROID-923 update design

* DROID-923 legacy

* DROID-923 set view + tests

* DROID-923 set + collections view state, tests

* DROID-923 reducer update

* DROID-923 update collection/set design

* DROID-923 design fix

* DROID-923 addToCollection mw event

* DROID-923 add object to collection

* DROID-923 dataViewInfo

* DROID-923 remove legacy param

* DROID-923 collection integrate

* DROID-923 move tests to another pr

* DROID-923 pr fix

* DROID-923 fixes

* DROID-923 Collections | Empty states, tests (#2956)

* DROID-208 Collections | Loading state (#2958)

* DROID-208 loading state

* DROID-208 fix binding

* DROID-983 Collections | Integrate ObjectState model (#2966)

* DROID-983 migrate to objectState

* DROID-983 moving to object state model

* DROID-983 di fix

* DROID-983 legacy

* DROID-983 don't merge

* DROID-983 fixes

* DROID-983 di + clean viewer

* DROID-983 refactoring

* DROID-962 P2P | Add mdns and update protobufs for new infra (#2918)

* DROID-984 Collections | Enhancement | Ability to Change SET Type to COLLECTION Type (#2977)

* DROID-984 set type menu

* DROID-984 setQueryToSet useCase

* DROID-984 fabric

* DROID-984 don't start subscription, when context is empty

* DROID-984 convertToCollection + fix navigation

* DROID-984 set menu

* DROID-984 object relations refactoring

* DROID-984 refactoring

* DROID-984 code style

* DROID-923 Collections | COLLECTION and SET types in object type lists (#2983)

* DROID-923 disable view and settings in case no objects

* DROID-923 button design

* DROID-923 wrong filter

* DROID-923 collections and sets on types list

* DROID-923 set back

* DROID-1049 MW | New infrastructure latest  (#2985)

* DROID-1049 MW | New infrastructure latest (#2994)

* DROID-1057 MW | Integrate 0.26.0-rc1 (#2996)

* DROID-1057 proto

* DROID-1057 mw version

* DROID-1057 MW | Integrate 0.26.0-rc1 (#2997)

* DROID-984 Collections | Enhancement | Ability to Change SET Type to COLLECTION Type + TESTS (#2999)

* DROID-984 catch subscribtion errors

* DROID-984 add possibility to open collections from widgets

* DROID-984 legacy

* DROID-984 fix tests

* DROID-984 fix view title design

* DROID-984 tests, rename

* DROID-984 subscription refactoring

* DROID-984 rename param in test

* DROID-984 collection test

* DROID-984 test fixes

* DROID-984 fix dataViewKeys

* DROID-984 update tests

* DROID-984 collection state fixes

* DROID-984 collections tests

* DROID-984 set tests

* DROID-984 tests

* DROID-984 reduce fun

* DROID-984 set reducer tests

* DROID-984 tests

* DROID-984 relation add, test

* DROID-984 legacy filter

* DROID-984 test fix

* DROID-984 cell click test

* DROID-984 update tests

* DROID-984 set restrictions test

* DROID-984 viewer delete test

* DROID-984 zero data view test, legacy

* DROID-984 set navigation test

* DROID-984 mock data view filters

* DROID-984 set by relation test

* DROID-984 fix tests

* DROID-984 set mock

* DROID-984 add default advance time

* DROID-984 stub header

* DROID-984 tests setup

* DROID-984 toasts as sharedFlow

* DROID-984 legacy useCase

* DROID-984 refactoring

* ci start

* ci off

---------

Co-authored-by: mcrakhman <rakhmanov.m@gmail.com>
2023-03-13 10:16:37 +01:00
.githooks DROID-280 App | Tech | Fix git hook - get only task name (#2476) 2022-08-08 11:30:09 +03:00
.github DROID-767 App | Documentation | Update ReadMe (#2809) 2023-01-12 17:01:54 +01:00
.idea DROID-763 Editor | Design | Set Status relation design update (#2814) 2023-01-16 14:22:29 +03:00
analytics DROID-796 | Added library analytics (#2995) 2023-03-10 13:56:13 +03:00
app DROID-986 | Collections | Enhancement | Main tasks (#2978) 2023-03-13 10:16:37 +01:00
clipboard DROID-649 Tech | Enhancement | Get rid of dependencies.gradle (#2778) 2022-12-25 20:53:47 +03:00
core-models DROID-986 | Collections | Enhancement | Main tasks (#2978) 2023-03-13 10:16:37 +01:00
core-ui DROID-986 | Collections | Enhancement | Main tasks (#2978) 2023-03-13 10:16:37 +01:00
core-utils DROID-1051 | Splash screen fixes (#2989) 2023-03-10 13:56:35 +03:00
data DROID-986 | Collections | Enhancement | Main tasks (#2978) 2023-03-13 10:16:37 +01:00
device DROID-649 Tech | Enhancement | Get rid of dependencies.gradle (#2778) 2022-12-25 20:53:47 +03:00
docs Instruction for building middleware (#2320) 2022-06-06 12:29:26 +03:00
domain DROID-986 | Collections | Enhancement | Main tasks (#2978) 2023-03-13 10:16:37 +01:00
gradle DROID-986 | Collections | Enhancement | Main tasks (#2978) 2023-03-13 10:16:37 +01:00
library-emojifier DROID-649 Tech | Enhancement | Get rid of dependencies.gradle (#2778) 2022-12-25 20:53:47 +03:00
library-page-icon-picker-widget DROID-649 Tech | Enhancement | Get rid of dependencies.gradle (#2778) 2022-12-25 20:53:47 +03:00
library-syntax-highlighter DROID-649 Tech | Enhancement | Get rid of dependencies.gradle (#2778) 2022-12-25 20:53:47 +03:00
libs DROID-986 | Collections | Enhancement | Main tasks (#2978) 2023-03-13 10:16:37 +01:00
middleware DROID-986 | Collections | Enhancement | Main tasks (#2978) 2023-03-13 10:16:37 +01:00
persistence DROID-649 Tech | Enhancement | Get rid of dependencies.gradle (#2778) 2022-12-25 20:53:47 +03:00
presentation DROID-986 | Collections | Enhancement | Main tasks (#2978) 2023-03-13 10:16:37 +01:00
protocol DROID-986 | Collections | Enhancement | Main tasks (#2978) 2023-03-13 10:16:37 +01:00
sample DROID-649 Tech | Enhancement | Get rid of dependencies.gradle (#2778) 2022-12-25 20:53:47 +03:00
scripts DROID-365 Tech | Enhancement | Integrate MW 0.22.2 (#2550) 2022-08-31 17:24:08 +03:00
test DROID-986 | Collections | Enhancement | Main tasks (#2978) 2023-03-13 10:16:37 +01:00
ui-settings DROID-1013 | Settings screen redesigned (#2993) 2023-03-09 15:17:01 +03:00
.gitignore DROID-607 Relations & types and options | Refactoring | Everything-is-an-object refactoring (#2720) 2022-11-24 18:11:19 +03:00
build.gradle DROID-649 Tech | Enhancement | Get rid of dependencies.gradle (#2778) 2022-12-25 20:53:47 +03:00
CHANGELOG.md DROID-1019 Editor | Fix | Do not allow changing icon when object is locked (#2990) 2023-03-07 12:39:12 +01:00
gradle.properties DROID-998 App | Tech | Update agp to 7.4.1 (#2939) 2023-02-21 18:46:50 +03:00
gradlew DROID-498 Tech | Upgrade | Update kotlin to 1.7.10 (#2632) 2022-10-04 20:37:43 +03:00
gradlew.bat DROID-498 Tech | Upgrade | Update kotlin to 1.7.10 (#2632) 2022-10-04 20:37:43 +03:00
lint.gradle Tech | Fix | Lint setup for CI (#2286) 2022-05-18 23:21:27 +03:00
Makefile DROID-607 Relations & types and options | Refactoring | Everything-is-an-object refactoring (#2720) 2022-11-24 18:11:19 +03:00
middleware.sh Tech | Android Gradle plugin 4.2.1 (#1495) 2021-05-27 13:00:26 +03:00
middleware2.sh Analytics | Storing api keys (#1671) 2021-07-26 10:07:06 +03:00
PerfTests.md Editor | Tech | Perf tests (#2259) 2022-05-16 19:15:23 +03:00
README.md DROID-767 App | Documentation | Update ReadMe (#2809) 2023-01-12 17:01:54 +01:00
RELATIONS_REFACTORING.md DROID-607 Relations & types and options | Refactoring | Everything-is-an-object refactoring (#2720) 2022-11-24 18:11:19 +03:00
release.sh release script for different release types (#965) 2020-10-08 16:41:04 +03:00
settings.gradle DROID-649 Tech | Enhancement | Get rid of dependencies.gradle (#2778) 2022-12-25 20:53:47 +03:00
versioning.gradle DROID-246 CI | Enhancement | Change date format for builds (#2460) 2022-08-02 18:05:54 +03:00

Anytype.io - Mobile

Build project

Prerequisites
  • Download anytype/anytype-android (private) repository from Github

  • Create github.properties file in root project folder:

gpr.usr=GITHUB_USER_ID
gpr.key=GITHUB_PERSONAL_ACCESS_TOKEN

Your Github ID (starting with '#' character) can be found here. As to your personal Github access token, you can generate it in Developer settings in your profile settings on Github.

  • Create apikeys.properties file in root project folder:
amplitude.debug="AMPLITUDE_DEBUG_KEY"
amplitude.release="AMPLITUDE_RELEASE_KEY"

Then build project.

IDE setup (optional)

Based on your IDE setup, you might experience problems while accessing/importing auto-generated Kotlin classes from protocol module. These classes are currently declared in very large files, which IDE might not process as expected. If this is your case, go to your Android Studio Help section, select Edit Custom Properties option. There you should set idea.max.intellisense.filesize property as follows:

idea.max.intellisense.filesize=3500

Setup your Firebase account for Anytype

We're using Firebase App Distribution + Firebase Crashlytics. We have two separate projects: one for debug builds (which we distribute mostly for our Q&A team), another one for release builds.

Install the latest Anytype Android release:

From Google Play.

Or download an apk for your device architecture from our website.

Join our community & telegram channels

Official Anytype community.

Follow what community writes about our Android client.

Join our Android Testers telegram channel.

Our tech change log.

Anytype Android app dependencies.

Conventions

PR naming:
{TASK-ID} {APP AREA} | {NATURE OF CHANGE: Fix, Enhancement, Feature, Design, Documentation} | {CONCISE DESCRIPTION OF WHAT HAS BEEN DONE}

App area can be App, Editor, Sets, Relations, Auth, Settings, Analytics, Tech (CI, DI, scripting, etc.), etc.

Example: Editor | Fix | Show meaningful message when failed to open file by an existing application

Git branch naming
{TASK_ID or TASK_NUMBER}-ConciseDescription