1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-08 05:47:05 +09:00
Commit graph

203 commits

Author SHA1 Message Date
Evgenii Kozlov
56243a870e
DROID-1095 Widgets | Enhancement | Add-below actions for widgets (#3030) 2023-03-21 19:10:26 +01:00
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
Evgenii Kozlov
4806d0b501
DROID-1000 Widgets | Enhancement | Showing widget type picker based on source layout (#2946) 2023-02-22 12:59:58 +01:00
Mikhail
1556cd4bdf
DROID-955 Editor | Feature | Add 4 types of collection screens and bottom navigation (#2932) 2023-02-20 22:11:39 +03:00
Allan Quatermain
8e6abb2f36
DROID-798 Library | Enhancement | Types editing implemented (#2923)
DROID-798 Library | Enhancement | Types editing implemented
2023-02-14 20:25:24 +03:00
Allan Quatermain
19908ada9b
DROID-799 Library | Enhancement | Implemented emoji icon selection for type creation (#2915)
DROID-799 Library | Enhancement | Implemented emoji icon selection for type creation
2023-02-14 13:35:01 +03:00
Evgenii Kozlov
de68de90aa
DROID-971 Protocol | Enhancement | Refact use-case for opening object without subscribing to its subsequent changes (#2922) 2023-02-13 18:04:20 +01:00
Evgenii Kozlov
3a5c8f75a1
DROID-935 Widgets | Enhancement | Allow changing existing widget's layout type (#2907) 2023-02-09 14:20:47 +01:00
Allan Quatermain
0573d3461e
DROID-799 Library | Enhancement | Types creation implemented (#2909)
DROID-799 Library | Enhancement | Types creation implemented
2023-02-09 14:27:40 +03:00
Allan Quatermain
b3f6835056
DROID-944 Library | Enhancement | Implemented installing and uninstalling types and relations (#2898)
DROID-944 Library | Enhancement | Implemented installing and uninstalling types and relations
2023-02-09 13:24:20 +03:00
Konstantin Ivanov
948b5ade22
DROID-609 Sets | Enhancement | Viewer atomic changes (#2866)
* DROID-609 updateView event, fields

* DROID-609 legacy

* DROID-609 set, update fields in state

* DROID-609 code style

* DROID-609 add test

* DROID-609 view update commands

* DROID-609 fix commands proto

* DROID-609 data view update commands, data + mw

* DROID-609 add param to command

* DROID-609 update data view use case update

* DROID-609 data view update use case, invoke

* DROID-609 fix after mw update

* DROID-609 data view commands, data module

* DROID-609 fix tests

* DROID-609 filters legacy

* DROID-609 add id param to filter model

* DROID-609 legacy

* DROID-609 legacy

* DROID-609 legacy

* DROID-609 param id added to sort model

* DROID-609 show toast command

* DROID-609 update events

* DROID-609 sorts logic

* DROID-609 filters and relations commands

* DROID-609 update data view use case

* DROID-609 sorts view fixes

* DROID-609 fix commands

* DROID-609 mw commands

* DROID-609 rename

* DROID-609 rename

* DROID-609 fix tests

* DROID-609 test fix

* DROID-609 fix test

* DROID-609 pr fixes

* DROID-609 pr fix

* DROID-609 ci start

* DROID-609 ci off

* DROID-609 pr fix
2023-01-30 08:30:29 +01:00
Evgenii Kozlov
8d38f94b13
DROID-735 Widgets | Enhancement | Foundations + basic API (#2792) 2022-12-30 15:09:22 +03:00
Evgenii Kozlov
ca535bbd46
DROID-366 Tech | Enhancement | Support object view result + New Interactor (#2790) 2022-12-28 21:11:35 +03:00
Mikhail
802e686b0a
DROID-649 Tech | Enhancement | Get rid of dependencies.gradle (#2778) 2022-12-25 20:53:47 +03:00
Mikhail
164e0eff61
DROID-515 Editor | Fix | Fix ff video buttons (#2769)
* DROID-515 App | Tech | Update dependencies

* DROID-515 Editor | Fix | Fix ff video buttons

* DROID-453 Editor | Fix | Unmerge
2022-12-19 20:14:51 +03:00
Konstantin Ivanov
4ac2255dd4
DROID-642 Editor | Suggest marketplace relations for user (#2764)
* DROID-642 legacy relationList useCase

* DROID-642 legacy useCases

* DROID-642 legacy object relations store

* DROID-642 di

* DROID-642 search relations by workspace id

* DROID-642 if else fix

* DROID-642 fix, invoking the wrong method leeded to the loop

* DROID-642 fix relation blocks binding

* DROID-642 navigation fixed

* DROID-642 fix tests
2022-12-16 08:48:01 +01:00
Mikhail
216a4f7e79
DROID-698 Project | Tech | Add dependencies and auto config subprojects (#2759) 2022-12-13 09:43:31 +03:00
Konstantin Ivanov
a71e8ec55c
DROID-418 Tech | Enhancement | CreateObject commands refactoring (#2749)
* DROID-418 createDocument, legacy useCase

* DROID-418 objectCreate and blockLinkCreateWithObject commands refactoring

* DROID-418 data module refactoring

* DROID-418 refactoring, data + middleware modules

* DROID-418 legacy useCases

* DROID-418 update DI

* DROID-418 tests

* DROID-418 internal flags model

* DROID-418 command

* DROID-418 view model factorys

* DROID-418 viewmodels, update with new use cases

* DROID-418 mapping

* DROID-418 middleware, fixes

* DROID-418 createBlockLinkWithObject useCase

* DROID-418 createObject use case

* DROID-418 createObjectAsMentionOrLink useCase

* DROID-418 createDataViewObject refactoring

* DROID-418 create object tests, in progress

* DROID-418 after merge fixes

* DROID-418 add type

* DROID-418 createObject use case tests

* DROID-418 createObjectAsMentionOrLink tests

* DROID-418 createBlockLinkWithObject useCase tests

* DROID-418 ci

* DROID-418 ci off
2022-12-12 10:05:57 +01:00
Evgenii Kozlov
bd0edf0d05
DROID-641 Types | Feature | Introduce my types and marketplace types + allow installing select type into the current markeplace (#2748) 2022-12-07 20:22:37 +03:00
Evgenii Kozlov
ef6eeac53c
DROID-496 Sets | Enhancement | Creating object in sets aggregated by relations (#2731) 2022-12-01 14:13:41 +03:00
Mikhail
548f3b0039
DROID-449 Research settings of app to add debug (#2725)
DROID-449 App | Tech | Add debug screen
2022-11-30 15:44:40 +03:00
Konstantin Ivanov
258c05183f
DROID-384 Editor | Enhancement | Simple table, row and column actions, part 2 (#2716)
* DROID-384 move column command

* DROID-384 table use cases

* DROID-384 move column use case

* DROID-384 move use cases

* DROID-384 use cases

* DROID-384 table use cases di

* DROID-384 fix use cases

* DROID-384 column, rows menu items actions

* DROID-384 table cell fixes

* DROID-384 fix tests

* DROID-384 fix tests

* DROID-384 table block tab

* DROID-384 table extensions

* DROID-384 table menu actions

* DROID-384 update table menu

* DROID-384 tests

* DROID-384 test

* DROID-384 test

* DROID-384 tests on moving columns and rows

* DROID-384 merge fix

* DROID-384 remove copy action

* DROID-384 ci

* DROID-384 ci off

* DROID-384 doc fix

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-11-30 12:47:29 +01:00
Evgenii Kozlov
36fe52e5ad
DROID-607 Relations & types and options | Refactoring | Everything-is-an-object refactoring (#2720)
* DROID-439 App | Relations refactoring, use SearchObjects for object types (#2592)
* DROID-446 Objects | Enhancement | Store relation links and process its updates (#2597)
* DROID-456 Tech | Remove deprecated API for creating object types (#2601)
* DROID-455 Object types | Enhancement Get object type list from ObjectSearch on Global search screen (#2602)
* DROID-459 Sets | Refactoring | Use relations links instead of relations for building search params to get data view data (#2603)
* DROID-458 Objects | Refactoring | Integrate new api for creating objets (#2604)
* DROID-464 Relations | Refactoring | New API for creating a relation from scratch - for data view or for an object (#2605)
* DROID-467 Relations | Refactoring | New API for creating options - for tags and statuses (#2607)
* DROID-470 Relations | Refactoring | New API for removing any relation from an object or from a data view (#2608)
* DROID-460 Tech | Object relations list (#2610)
* DROID-486 Sets | Refactoring | Displaying and controlling visibility of data view relations (#2611)
* DROID-500 Relations | Refactoring | Extend API of ObjectStore to be able to get a relation by its id (#2619)
* DROID-459 Sets | Fix | Get relations from store by id and not by key (#2618)
* DROID-489 Tech | Relations as object, add relationKey to relation connected screens (#2622)
* DROID-490 Sets | Refactoring | Displaying relation values for current object in bottom sheet cells (#2629)
* DROID-505 Relations | Refactoring | New interface for relations store (#2633)
* DROID-509 Relations | Refactoring | Bind new relations store with subscription container (#2635)
* DROID-507 Tech | MW , migration + relation links (#2636)
* DROID-507 Tech | MW , migration + relation links, fixes (#2637)
* DROID-517 Sets | Fix | Provide correct keys for data view search-and-subscribe query (#2641)
* DROID-409 Relations | Refactoring | Use relation key instead of id when creating new relation (#2642)
* DROID-521 Sets & Objects | Refactoring | Add relation to a data view or to an object from existing relations (#2644)
* DROID-522 Relations | Refactoring | Add objects to relations with object format (#2645)
* DROID-523 Object types | Refactoring | Implement global store for object types (#2646)
* DROID-527 Object types | Refactoring | Integrate global store for object types (#2647)
* DROID-531 Relations | Refactoring | Parse tag and status relations values (#2649)
* DROID-535 Tech | Integrate new MW lib with migration fixes (#2653)
* DROID-535 Tech | MW integration fixes (#2660)
* DROID-559 Relations | Refactoring | Parse tag and status values in editor (#2662)
* DROID-560 Relations | Refactoring | Integrate new lib with fixes (#2663)
* DROID-561 Relations | Refactoring | Parsing tag and status values in dv (#2665)
* DROID-562 Dashboard | Refactoring | Use store of object types as object type provider for favorites tab on dashboard (#2667)
* DROID-567 Relations | Refactoring | Suggest available options to populate a relation (#2671)
* DROID-604 Relations | Refactoring | Use details from Object.CreateRelation.Response to populate relation store (#2705)
* DROID-603 Relations | Refactoring | Creating relation options + Deleting relation from object (#2706)
* DROID-619 Relations | Refactoring | Migrate data view sorts and filters to the new relation-as-object paradigm (#2711)
* DROID-622 Relations | Tech | Update MW to 0.24.0-rc1 (#2714)
* DROID-598 Sets | Refactoring | Provide relation format for date filters (#2715)
* DROID-625 Protocol | Enhancement | Integrate v0.24.0-rc2 (#2718)
2022-11-24 18:11:19 +03:00
Evgenii Kozlov
00dc75d62e
DROID-284 Editor | Enhancement | Ignore html when copying Anytype content to third-party mobile apps (#2707) 2022-11-16 19:52:01 +03:00
Konstantin Ivanov
72fa7d39f2
DROID-133 Tech | Simple tables, api (#2700)
Co-authored-by: konstantiniiv <ki@anytype.io>
2022-11-09 11:48:16 +01:00
Konstantin Ivanov
b30d60f4df
DROID-122 Editor | Enhancement | Simple tables, cell menu, cells selecting (#2696)
* DROID-132 cell selection state + logic + tests

* DROID-132 added cell border, cell rect classes

* DROID-132 refactoring

* DROID-132 refactoring

* DROID-132 cell selection decoration

* DROID-132 remove legacy

* DROID-132 table block holder, add selection decoration

* DROID-132 delete legacy clicks

* DROID-132 cell model update

* DROID-132 simple table widget events

* DROID-132 editor table mode

* DROID-132 table cell extension

* DROID-132 legacy classes

* DROID-132 delete legacy

* DROID-132 update cell clicks

* DROID-132 cells extensions

* DROID-132 update item decorations

* DROID-132 cell selection top toolbar

* DROID-132 select cells, show widget

* DROID-132 clear content command

* DROID-132 clear content use case

* DROID-132 menu item click

* DROID-132 table delegate

* DROID-132 fixes

* DROID-132 refactoring

* DROID-132 fix hide simple widget event

* DROID-132 refactoring

* DROID-132 test fixes

* DROID-132 fix tests

* DROID-132 turn off buttons

* DROID-122 delete legacy delegate

* DROID-122 table block diff util

* DROID-122 add selected cells to table view model

* DROID-122 rename param

* DROID-122 add selection state to table block holder

* DROID-122 delete

* DROID-122 mapping

* DROID-122 rename funcs

* DROID-122 fix tests

* DROID-122 update selection logic

* DROID-122 pr fix

* DROID-122 code style

* DROID-122 pr fixes

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-11-09 10:47:09 +01:00
Evgenii Kozlov
8f4cb81013
DROID-539 Tech | Enhancement | Third-party library updates (#2654) 2022-10-13 17:28:16 +03:00
Evgenii Kozlov
6e62f23fac
DROID-184 Sets | Enhancement | Sets should switch to search-and-subscribe mechanism instead of using old data-view-records API (#2582) 2022-09-18 18:01:13 +03:00
Konstantin Ivanov
a2a979a5ce
DROID-417 Set | Empty source state (#2583)
* DROID-417 legacy

* DROID-417 icon text widget refactoring

* DROID-417 update icon widget

* DROID-417 relation holder source

* DROID-417 render source as featured relation

* DROID-417 blockDataViewSetSource command

* DROID-417 blockDataViewSetSource command, data + middle layer

* DROID-417 use case + di

* DROID-417 source set + render no source state

* DROID-417 type change screen, update title

* DROID-417 clicks + command

* DROID-417 add event updateStructure and addBlock to set events reducer

* DROID-417 add clicks on set source relations

* DROID-417 start select source screen

* DROID-417 header + divider visibility

* DROID-417 icon replace

* DROID-417 button new update

* DROID-417 move featured relation subscription to onStart

* DROID-417 fix tests

* DROID-417 design + clicks

* DROID-417 code style

* DROID-417 holder source

* DROID-417 add extension mapping to object view

* DROID-417 add is selected state for object type view

* DROID-417 sort types by selected

* DROID-417 pr fix

* DROID-417 rename view

* DROID-417 pr fix

* DROID-417 do not map empty objects

* DROID-417 ci

* DROID-417 ci

* DROID-417 ci off

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-09-07 22:38:49 +02:00
Konstantin Ivanov
8506d0f129
DROID-416 Editor | Enhancement | Creating set from draft object (#2580)
* DROID-304 object to set service command

* DROID-304 object to set command, domain, data, middleware layers

* DROID-304 object to set use case + di + add to editor

* DROID-304 test fix

* DROID-304 isSetIncluded as param to use case

* DROID-304 legacy

* DROID-304 type change, add set icon

* DROID-304 open set with popUpTo to dashboard, in case draft set

* DROID-304 create set in case of draft object

* DROID-416 code style

* DROID-416 test fix

* DROID-416 ci

* DROID-416 fix back stack logic for draft objects

* DROID-416 pr fix

* DROID-416 ci off

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-09-05 10:15:45 +02:00
Mikhail
2acfccb6e2
DROID-81 Editor | Enhancement | Share files (#2568) 2022-08-30 11:15:19 +03:00
Evgenii Kozlov
8c5ddd67ac
DROID-318 Tech | Enhancement | MW 0.22.1 (#2538) 2022-08-18 17:49:57 +03:00
Evgenii Kozlov
1381c727be
DROID-302 Relations | Enhancement | UX for reloading object content + new design for quick actions based on relation format (url, phone, email) (#2515) 2022-08-15 23:55:02 +03:00
Evgenii Kozlov
bc5c940731
DROID-232 Sets | Enhancement | Pre-populate records with data taken from filters when creating new record (#2517) 2022-08-15 23:11:06 +03:00
Konstantin Ivanov
743bb29730
Editor | Feature | Simple Tables (#2427)
* Editor | Feature | Simple tables, prototype (#2325)

* core model

* table view model

* view holders

* table view holders layouts

* table adapters

* add table block to block adapter

* map core table model to view

* stub table block

* fixes

* fixed row hight

* update middleware

* fix

* add createTable command to data and middleware modules

* add createTable use case

* add table row & table column layouts to block model

* update create table use case

* add table create to orchestrator

* add create table item to slash menu

* delete stubbing

* update create table usecase

* update proto

* add create table use case to tests

* fix use case

* add stubs for table blocks

* set default row, column size

* create table use case di

* set id to stub blocks

* table view

* map table block to view + test

* layout types: table row, table column

* table block model + mapping

* remove legacy

* rename table to table view holder

* table holders + row adapter

* tableviewholder setup

* add block test to table view

* table block layout

* add table item to slash menu

* test fix

* api update

* add restriction duplicate

* render table block with empty and text cells

* row view use diff cells

* tests on mapping table block to views

* table text cells + empty cells

* table row adapter diff update

* use paragraph block in table cells

* fix tests

* table rows mapping

* table row, cell holders

* table cell, row adapters

* layouts update

* code style

* add fill table row use case

* text + click listeners

* listener type, table row empty cell

* merge fixes

* add fill table row intent to editor

* set focus to cell text

* remember focus on emty cell clicked

* fix problem when horizontal layout has limited width

* prevent crash on text cell focus

* legacy

* add table view library

* table block listener

* table block adapter

* table block holders

* table block layouts

* integrate table blocl

* fix tests

* fix table view dep

* use list of cells instead rows

* update tests

* code style

* code style

* clear text in cells when cell is null

* legacy

* legacy

* revert local lib

* fix lib version

* pr fixes

* pr fixes

* pr fixes

* pr fix

* pr fixes

Co-authored-by: konstantiniiv <ki@anytype.io>

* Editor | Feature | Simple tables, part 2  (#2400)

* move text input widget into parent layout

* table cells adapter diff util + tests

* cells diffutil should return payload model

* set column header to 0

* table block update test

* create diff util in table block adapter

* do not show corner view

* update listeners in holders

* text cell layout update

* update cell container to frame layout

* on update empty to text cell, check mode

* clear empty cells on bind

* update diffUtil + tests

* added column header item

* set column header items

* create and bind column header items

* use recyler with grid layout

* update table cell mapping + model

* remove tableview lib from core-ui

* add row_id + colum_id to cells

* fix tests

* import

* update table cells diff util

* update cell adapter + holders

* update mw

* add height, row height + width to cell model

* fix test

* delete test

* table block design

* set support touch helper for cell holder

* update cells payload logic

* table holder fixes

* fix test

* pr fixes

Co-authored-by: konstantiniiv <ki@anytype.io>

* Editor | Feature | Simple tables, cells as text views (#2411)

* move text input widget into parent layout

* table cells adapter diff util + tests

* cells diffutil should return payload model

* set column header to 0

* table block update test

* create diff util in table block adapter

* do not show corner view

* update listeners in holders

* text cell layout update

* update cell container to frame layout

* on update empty to text cell, check mode

* clear empty cells on bind

* update diffUtil + tests

* added column header item

* set column header items

* create and bind column header items

* use recyler with grid layout

* update table cell mapping + model

* remove tableview lib from core-ui

* add row_id + colum_id to cells

* fix tests

* import

* update table cells diff util

* update cell adapter + holders

* update mw

* add height, row height + width to cell model

* fix test

* delete test

* table block design

* set support touch helper for cell holder

* update cells payload logic

* table holder fixes

* fix test

* pr fixes

* text cell design

* use grid as layout manager and add payloads for table block

* added background and selection for table block

* table block selection logic

* update table cells diff util

* click listeners in table cells + save table id

* table cells listeners

* refactoring table cell as text view

* fix tests

* fix merge conflict

* pr fixes

Co-authored-by: konstantiniiv <ki@anytype.io>

* Editor | Feature | Simple tables, create from slash filter (#2415)

* DROID-126
slash item simple table design

* DROID-126
update slash item model

* DROID-126
added max row and column number

* DROID-126
create table with entered rows and columns

* DROID-126
update table item with rows and columns

* DROID-126
tests

* DROID-126
pr fix

Co-authored-by: konstantiniiv <ki@anytype.io>

* Editor | Feature | Simple tables, edit cell text value (#2413)

* DROID-172
set text value di

* DROID-172
set block text fragment + view model

* DROID-172
added input action logic for text blockls

* DROID-172
input action listener fix

* DROID-172
clicks + commands on set block text value screen

* DROID-172
code style fix

* DROID-172
pr fix

* DROID-172
pr fix

* DROID-172
fix

* DROID-172
input action fixes

Co-authored-by: konstantiniiv <ki@anytype.io>

* Editor | Feature | Simple tables, cell/column/row menu, part 1 (#2417)

* DROID-131
icons

* DROID-131
simple table widget

* DROID-131
simple table widget adapters

* DROID-131
simpla table widget models + delegate

* DROID-131
include widget in editor view model

* DROID-131
add widget to editor fragment + view model logic

* DROID-131
fix tests

* DROID-131
pr fixes

Co-authored-by: konstantiniiv <ki@anytype.io>

* Editor | Feature | Simple tables, empty cell clicked (#2420)

* DROID-114
empty cell clicked

* DROID-114
doc

* DROID-114
open cell value modal after fill table row command

* DROID-114
pr fixes

Co-authored-by: konstantiniiv <ki@anytype.io>

* Editor | Feature | Simple Tables, cells selection state (#2425)

* DROID-131
dismiss listener

* DROID-131
add cell borders to diff util

* DROID-131
apply borders to selected cell

* DROID-131
update cell settings model + render

* DROID-131
update cell listeners

* DROID-131
apply and dismiss cells borders

* DROID-131
apply and dismiss cell borders in view model

* DROID-131
clicks

* DROID-131
update tests

* DROID-131 click params update

* DROID-131 table click in mode select

* DROID-131 naming

* DROID-131 pr fix

Co-authored-by: konstantiniiv <ki@anytype.io>

* Editor | Feature | Simple Table, design (#2429)

* DROID-180 fixes

* DROID-180 table vertical divider

* DROID-180 table horizontal divider

* DROID-180 update table block holder

* DROID-180 refactoring

* DROID-180 divider fixes

* DROID-180 add space cell

* DROID-180 update table cell diff util

* DROID-180 table block adapter + holders

* DROID-180 table block design fix

* DROID-180 add space item to table

* DROID-180 fix

* DROID-180 add space cell to tests

* DROID-180 add offset to horizontal item divider

* DROID-180 vertical divider update

* DROID-180 add isHeader to table row

* DROID-180 delete legacy

* DROID-180 update cell background + isheader logic

* DROID-180 fix

* DROID-180 design fix

* DROID-180 pr fix

* DROID-180 back to list adapter

Co-authored-by: konstantiniiv <ki@anytype.io>

* ci

* fix tests

* ci off

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-07-26 10:52:54 +02:00
Evgenii Kozlov
4d4f94b33c
Sets | Create bookmark via set + browse a bookmark from set of bookmarks (#2428) 2022-07-22 12:12:37 +03:00
Sergey Boishtyan
62f96685be
Editor | Enhancement | Add Callout set icon logic (#2372) 2022-06-21 13:21:36 +03:00
Sergey Boishtyan
f89bfb6146
Editor | Enhancement | Support new link appearance api (#2329) 2022-06-10 18:32:21 +03:00
Evgenii Kozlov
318900033c
App | Fix | Setup and save config after create new account (#2327) 2022-06-10 11:13:16 +03:00
Evgenii Kozlov
06e9d65b9f
Tech | Refactoring | MW 0.9.0 with Protocol refactoring + Auth refactoring (#2242) 2022-05-26 14:58:51 +03:00
Sergey Boishtyan
a2d2189376
Tech | Fix | Failing CI script (#2248)
* Tech | Fix | MockDataFactory migration

* Tech | Fix | change task for triggering tests in kotlin modules
2022-05-10 13:33:08 +03:00
Sergey Boishtyan
b43ca677b8
Tech | Fix | Delete .gitignore in modules (#2247) 2022-05-10 12:23:06 +03:00
Sergey Boishtyan
51996ff726
Tech | Fix | Delete MockDataFactory.kt copy-paste (#2244) 2022-05-09 19:48:16 +03:00
Sergey Boishtyan
6206f68dea
Tech | Fix | Delete flavors (#2243) 2022-05-09 18:36:28 +03:00
Evgenii Kozlov
54643294bd
Objects & Sets | Feature | Introduce templates (#2212) 2022-04-29 16:46:21 +03:00
Mikhail
a78dc6ffd3
Editor | Feature | Duplicate an object (#2195)
Co-authored-by: Mikhail Iudin <mayudin@anytype.io>
2022-04-28 11:40:01 +03:00
Evgenii Kozlov
b135475188
Protocol | API for templates (#2200) 2022-04-20 18:26:46 +03:00
Evgenii Kozlov
29e55a0779
Protocol | Api for creating objects with template (#2190) 2022-04-19 16:06:20 +03:00
Mikhail
9ff3233747
CU-2a1ah8b_Theme-selector (#2178)
App | Feature | Add possibility to change night mode
2022-04-12 17:08:08 +03:00
Evgenii Kozlov
38185eaba5
App | Feature | Delete account (#2157) 2022-04-11 15:46:18 +03:00