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

53 commits

Author SHA1 Message Date
Evgenii Kozlov
197741d26f
DROID-1523 Editor | Fix | There is no empty space at the bottom of the page filled with no content - no possibility to create a new text block (#237) 2023-07-25 14:12:53 +02:00
Evgenii Kozlov
97d31c2e73
DROID-1380 Settings | Enhancement | Add device id to the tech info output (#54) 2023-06-13 11:41:57 +02:00
Konstantin Ivanov
25fd0ad5d6
DROID-1260 App | Analytics params (#3184)
* DROID-1260 analytics id

* DROID-1260 send analytics id to amplitude

* DROID-1260 fix tests
2023-05-30 18:42:49 +02:00
Evgenii Kozlov
eafd87c234
DROID-1147 App | Refactoring | Remove or deprecate SmartBlockType (#3104) 2023-04-19 17:52:57 +02:00
Evgenii Kozlov
620d1fa34b
DROID-616 App | Refactoring | Remove legacy from core block models (#3082) 2023-04-11 19:07:53 +02:00
Evgenii Kozlov
0444d54421
DROID-1146 App | Refact | Remove legacy related to smart block types (#3078) 2023-04-06 21:03:32 +02:00
Konstantin Ivanov
326599d065
DROID-1030 Collection | Enhancement | Order of objects (#3036)
* DROID-1030 objectOrders model, added to data view content

* DROID-1030 grid order

* DROID-1030 gallery order

* DROID-1030 list order

* DROID-1030 get object order by view id

* DROID-1030 refactoring

* DROID-1030 update old tests

* DROID-1030 object order tests by view
2023-03-23 13:38:30 +01:00
Konstantin Ivanov
feab2d0a3e
DROID-1043 Editor | Enhancement | Inline collection block (#3020)
* DROID-1043 data view block, isCollection param + mapping to views

* DROID-1043 data view holders + design

* DROID-1043 dv collection change, diff

* DROID-1043 collection block icon

* DROID-1043 inline block click

* DROID-1043 update fun name

* DROID-1043 blockDataviewIsCollectionSet event
2023-03-20 10:32:06 +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
779b10cc2e
DROID-933 Widgets | Enhancement | React to changes in order and number of widgets (#2887) 2023-02-03 14:22:52 +01:00
Evgenii Kozlov
9c55d1a894
DROID-789 Widgets | Enhancement | Icon logic for tree widget elements + tests (#2882) 2023-01-31 15:05:38 +01: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
Konstantin Ivanov
87a2b73e8a
DROID-885 Set | Enhancement | Change source logic (#2869)
* DROID-885 remove source from data view model + fix tests

* DROID-885 update from SetSource Event to blockDataviewTargetObjectIdSet

* DROID-885 fix tests

* DROID-885 SetTargetObjectId event

* DROID-885 get set of from set details + test

* DROID-885 inline set, deleted source view state

* DROID-885 editor blockView setTargetObjectId, event

* DROID-885 fix test + stub

* DROID-885 stub added

* DROID-885 test

* DROID-885 rename

* DROID-885 pr fix
2023-01-27 16:33:20 +01:00
Konstantin Ivanov
d670823b7a
DRAFT-718 Editor | Enhancement | Inline set block (#2864)
* DROID-718 Editor | Enhancement | Inline set block (#2813)

* DROID-718 data view blocks, xml

* DROID-718 add content description

* DROID-718 data view holders

* DROID-718 add holders to editor adapter

* DROID-718 blockview, data view

* DROID-718 block data view, mapping

* DROID-718 target object id

* DROID-718 target object id mapping

* DROID-718 design fix

* DROID-718 fix

* DROID-718 add default value

* DROID-718 fixes

* DROID-718 rename

* DROID-718 pr fix

* DROID-794 Editor | Enhancement | Inline set, open source icon (#2830)

* DROID-794 open source icon added

* DROID-794 fix toast

* DROID-794 refactoring

* DROID-718 Editor | Enhancement | Set View, fixes (#2834)

* DROID-718 rename Inline set -> Set View

* DROID-718 set view blocks ui fixes

* DROID-718 legacy

* DROID-718 legacy

* DROID-718 pr fix

* DROID-718 Editor | Fix | Rename to inline sets (#2863)

* test fix
2023-01-25 14:42:49 +01:00
Konstantin Ivanov
d94b07a338
DROID-609 Sets | Protocol | Atomic view changes (#2862)
* DROID-609 event blockDataviewViewUpdate + mapping

* DROID-609 list extensions

* DROID-609 updates mapping

* DROID-609 reduce updateView event

* DROID-609 updateView event model

* DROID-609 update lists extensions + tests

* DROID-609 UpdateView event mapping

* DROID-609 tests

* DROID-609 data view stubs

* DROID-609 pr fix
2023-01-25 13:27:20 +01:00
Evgenii Kozlov
6d11d1ab1e DROID-849 Relations | Fix | Read-only-value Relations should not be editable (#2835) 2023-01-20 10:45:18 +01:00
Evgenii Kozlov
8d38f94b13
DROID-735 Widgets | Enhancement | Foundations + basic API (#2792) 2022-12-30 15:09:22 +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
Mikhail
ce929f3d88
DROID-453 Editor | Fix | Fix markdown paste (#2765) 2022-12-16 22:13:53 +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
Evgenii Kozlov
c52bd3d44b
DROID-642 Relations | Feature | Suggest marketplace relations for user input search query + allow installing relation to user workspace (#2750) 2022-12-08 22:38:36 +03: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
19018e5fbb
DROID-598 Relations | Refactoring | Fixes related to relation options (tags and statuses) (#2741)
* DROID-598 fixed option creation flow
* DROID-598 switched to relation.name + fixed tests
* DROID-598 fixed flow for creating statuses and tags filters
* DROID-598 test fixes
* DROID-598 removing legacy
* DROID-598 removed legacy
2022-12-05 19:15:49 +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
e2ac0e6076
DROID-449 App | Tech | Add debug tree menu (#2730)
DROID-449 App | Tech | Add debug tree menu
2022-11-30 23:17:39 +03:00
Evgenii Kozlov
98d3e9d53f
DROID-639 Decluttering | Enhancement | Filter object types by account workspace when populating global object types stores (#2721) 2022-11-24 21:06:21 +03: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
Konstantin Ivanov
53c3c85f08
DROID-385 Editor | Enhancement | Simple tables, ability to select rows and columns (#2710)
* DROID-385 table extensions

* DROID-385 table widget state

* DROID-385 simple table widget, tab added

* DROID-385 update editor table mode

* DROID-385 unselect list of targets

* DROID-385 tabs selection logic

* DROID-385 do not support tabs in adapter

* DROID-385 cell selection decorator regfactoring

* DROID-385 remove cell index

* DROID-385 selected cells state as hash map

* DROID-385 update cells blocks stubs

* DROID-385 fix tests

* DROID-385 tests

* DROID-385 fix method

* DROID-385 add columnId and rowId

* DROID-385 fix tests

* DROID-385 number of column-row selected

* DROID-385 selection logic

* DROID-385 test

* DROID-385 top menu refactoring

* DROID-385 refactoring

* DROID-385 ci

* DROID-385 ci off

* DROID-385 pr fix

* DROID-385 pr fix

* DROID-385 block table stub model added

* DROID-385 table blocks diff util tests

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-11-21 16:10:58 +01:00
Mikhail
7cf46865b2
DROID-50 Editor | Tech | Create text watchers in oncreate (#2620) 2022-10-03 20:45:50 +03:00
Konstantin Ivanov
9a46f08ca2
DROID-112 | Editor | Link markup menu (#2577)
* DROID-112 move clipboard method to ext

* DROID-112 link items layouts

* DROID-112 link screen di

* DROID-112 link items

* DROID-112 editor open link command

* DROID-112 link view model factory

* DROID-112 stub object type

* DROID-112 adapter refactoring

* DROID-112 di update

* DROID-112 add mapping to link view

* DROID-112 di update

* DROID-112 add on copy link to editor

* DROID-112 link fragment

* DROID-112 link viewmodel

* DROID-112 adapter, add clicks

* DROID-112 tests + stubs

* DROID-112 legacy link menu

* DROID-112 renaming

* DROID-112 delete legacy state

* DROID-112 link markup for whole block

* DROID-112 legacy screen

* DROID-112 fix tests

* DROID-112 pr fixes

* DROID-112 pr fix

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-09-02 17:22:38 +02:00
Evgenii Kozlov
8c5ddd67ac
DROID-318 Tech | Enhancement | MW 0.22.1 (#2538) 2022-08-18 17:49:57 +03:00
Evgenii Kozlov
ee3c4e647b
DROID-257 Editor | Enhancement | Instead of creating a link to a bookmark object, create bookmark block (#2504) 2022-08-11 19:59:07 +03:00
Evgenii Kozlov
a7940a5ae2
DROID-291 Editor | Enhancement | Add block action "Open object" for bookmark block in editor (#2498) 2022-08-10 14:24:57 +03:00
Konstantin Ivanov
6ce0518e22 DROID-173 Simple tables, qa fixes (#2466)
* DROID-173-FIXES-AFTER-QA-REVIEW-01-08 don't select table cells

* DROID-173-FIXES-AFTER-QA-REVIEW-01-08 test

* DROID-173-FIXES-AFTER-QA-REVIEW-01-08 add new block at the table bottom

* DROID-173-FIXES-AFTER-QA-REVIEW-01-08 test

* DROID-173-FIXES-AFTER-QA-REVIEW-01-08 amend second cell clicks

* DROID-173-FIXES-AFTER-QA-REVIEW-01-08 table block stubs

* DROID-173-FIXES-AFTER-QA-REVIEW-01-08 cell clicks tests

* DROID-173-FIXES-AFTER-QA-REVIEW-01-08 stub row fill command

* DROID-173-FIXES-AFTER-QA-REVIEW-01-08 update test

* DROID-173-FIXES-AFTER-QA-REVIEW-01-08 locked mode cell click

* DROID-173-FIXES-AFTER-QA-REVIEW-01-08 close keyboard on exit

* DROID-173-FIXES-AFTER-QA-REVIEW-01-08 focus block when empty

* DROID-173-FIXES-AFTER-QA-REVIEW-01-08 clear table adapter on view recycled

* DROID-173-FIXES-AFTER-QA-REVIEW-01-08 update paddings for cell value block

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-08-09 16:08:54 +03:00
Evgenii Kozlov
4937f933a1
DROID-225 Editor | Enhancement | Turn on feature toggle for nested styling and fix tests (#2480) 2022-08-08 17:54:51 +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
28c341e327
Editor | Nested styling for media placeholders (#2409) 2022-07-18 22:49:29 +03:00
Mikhail
de8161bb3f
Editor | Enhancement | Add plus button action to editor (#2353)
* Editor | Enhancement | Add plus button action to editor
2022-06-28 17:32:37 +03:00
Sergey Boishtyan
c5198bae5b
Editor | Enhancement | Callout cleanup (#2389)
Editor | Enhancement | Callout cleanup
2022-06-27 18:57:26 +03:00
Evgenii Kozlov
851e5c82bf
Editor | Enhancement | Calculate decoration data for callout block and its children (#2383) 2022-06-23 16:23:24 +03:00
Evgenii Kozlov
cfb9c1a95f
Editor | Enhancement | Nested decorations for text list blocks (#2373) 2022-06-21 13:36:09 +03:00
Evgenii Kozlov
26ebe3b437
Editor | Enhancement | Nested decorations for bookmark block (#2362) 2022-06-20 17:16:56 +03:00
Sergey Boishtyan
4ca0b420ad
Editor | Enhancement | Add Callout rendering (#2363) 2022-06-20 12:32:17 +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
Konstantin Ivanov
48251c032b
Editor | Enhancement | Text block vs title or description merge (#2303)
* merge text in description or title on backspace

* tests

* stubs on featured, desc, paragraph blocks

* fixing names of properties

* fix tests

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-05-25 19:21:44 +03:00
Sergey Boishtyan
39046f787f
Editor | Fix | Delete colors from ThemeColor.kt (#2284) 2022-05-18 19:27:19 +03:00
Evgenii Kozlov
9dcd915c86
Editor | Enhancement | Delete quote block style on backspace press (#2274) 2022-05-17 19:03:15 +03:00
Evgenii Kozlov
bd094bda6d
Editor | Enhancement | Delete list-block style on backspace press (#2270) 2022-05-17 15:19:18 +03:00