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

81 commits

Author SHA1 Message Date
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
Evgenii Kozlov
c0bbae162a
Relations | Enhancement | Do not allow editing relations when object is locked (#2258) 2022-05-16 17:18:03 +03:00
Sergey Boishtyan
51996ff726
Tech | Fix | Delete MockDataFactory.kt copy-paste (#2244) 2022-05-09 19:48:16 +03:00
Sergey Boishtyan
58da3badfe
Relations | Fix | Filter create option for tags that already exist (#2237)
* Relations | Fix | Filter create option for tags that already exist

* Tech | Fix | Change compile android tests task

* Tech | Fix | add build folders ignore to global .gitignore

* Tech | Fix | Extract MockDataFactory.kt from test-utils

* Tech | Fix | Move return to the same line as checkNotNull

* Tech | Fix | Delete unused analytics property

* Relations | Fix | Add AddObjectRelationValueViewModelTest.kt test query with tags behaviour

* Tech | Fix | Rename :test:utils to :test:android-utils

* Tech | Enhancement | implement fake providers for AddObjectRelationViewModerl
2022-05-09 17:54:15 +03:00