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

2037 commits

Author SHA1 Message Date
Evgenii Kozlov
d96daa7fe9 DROID-196 App | Enhancement | Remove Bookmark type from suggestions when 1) changing object type 2) in global search (#2481) 2022-08-09 14:40:34 +03:00
Evgenii Kozlov
f101696dc8 DROID-295 App | Release | Set specific NDK version for release (#2486) 2022-08-09 14:40:34 +03:00
Mikhail
efca0d5d59
DROID-186 App | Improvement | Add button to copy mnemonic (#2487) 2022-08-09 14:36:06 +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
Mikhail
bc9fd974e4
DROID-280 App | Tech | Fix git hook - get only task name (#2476) 2022-08-08 11:30:09 +03:00
Konstantin Ivanov
40e2a8a878
DROID-108 Editor | Pre-open object loading state (#2473)
* DROID-108 added loading state blocks

* DROID-108 add loading layouts

* DROID-108 loading blocks

* DROID-108 revert

* DROID-108 revert

* DROID-108 loading gradient

* DROID-108 show loading state on object start

* DROID-108 loading design

* DROID-108 update colors

* DROID-108 clear loading state

* DROID-108 delete legacy

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-08-04 16:53:50 +02:00
Evgenii Kozlov
e1707d461a
DROID-263 Tech | Documentation | Deprecate obsolete APIs (#2474) 2022-08-04 17:49:05 +03:00
Mikhail
68bcc4e91d
DROID-26 Sets | Fix | Fix creating filter (#2475) 2022-08-04 17:41:13 +03:00
Evgenii Kozlov
05a539e53f
DROID-255 Editor | Refact | Use ThemeColor class instead of raw color values in BlockView class for block text color (#2472) 2022-08-04 12:01:09 +03:00
Evgenii Kozlov
957a6cc08e
DROID-248 | Editor | Refact | Use ThemeColor class instead of raw color values in BlockView class for block background (#2470) 2022-08-03 22:50:06 +03:00
Evgenii Kozlov
a4b2123df8
DROID-244 App | Fix | Default object type changes to TextView (#2468) 2022-08-03 15:05:44 +03:00
Evgenii Kozlov
c83a5c829f
DROID-251 Sets | Enhancement | Do not block navigation: close sets for which "Object is not found" exception is thrown when trying to open it or when an exception is thrown when trying to close it. (#2465) 2022-08-03 13:06:28 +03:00
Mikhail
63957db7c2
DROID-26 Sets | Enhancement | Implement relative values for date filters (#2452) 2022-08-02 22:43:31 +03:00
Evgenii Kozlov
34f41296ee
DROID-250 App | Tech | Bump version (0.10.0) after creating release branch (#2464) 2022-08-02 19:00:35 +03:00
Evgenii Kozlov
e46cf752bd
DROID-249 CI | Enhancement | Distribute nightly builds for product review (#2463) 2022-08-02 18:47:08 +03:00
Evgenii Kozlov
f070ebd545
DROID-245 Tech | Documentation | Change log updates for 0.9.0 (#2462) 2022-08-02 18:24:10 +03:00
Evgenii Kozlov
b0fb060c43
DROID-246 CI | Enhancement | Change date format for builds (#2460) 2022-08-02 18:05:54 +03:00
Evgenii Kozlov
a838383106
DROID-247 Objects | Enhancement | When moving Object to bin the confirmation message shows "Archived" instead of "Moved to bin" (#2461) 2022-08-02 18:05:07 +03:00
Evgenii Kozlov
1251856d0d
DROID-227 Editor | Enhancement | Nested decoration for media blocks in error state (#2459) 2022-08-02 14:45:35 +03:00
Konstantin Ivanov
a1ff899e96
DROID-211 Editor | Enhancement | Make "Create new object" the last option of the mention menu (#2458)
* DROID-211 create new object moved to the last position

* DROID-211 pr fix

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-08-02 10:13:28 +02:00
Evgenii Kozlov
c7a72f4176
DROID-226 Editor | Nested decoration for code block (#2457) 2022-08-01 22:56:10 +03:00
Evgenii Kozlov
c233406376
DROID-230 Editor | Creating objects in objects via mention (@) option might crash app (#2456) 2022-08-01 17:14:14 +03:00
Evgenii Kozlov
a8fc5e5633
DROID-229 Editor | Fix | Can't create an object using the @ mention option (#2455) 2022-08-01 17:13:31 +03:00
Evgenii Kozlov
b20ebd6d3e
DROID-223 Tech | Enhancement | MW 0.21.4 (#2454) 2022-08-01 14:18:00 +03:00
Konstantin Ivanov
97cf5e53f6
DROID-231 Keyboard are re-opened on empty cell clicked (#2453)
* DROID-231 do not need to save focus for empty cell

* DROID-231 code style

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-08-01 10:57:08 +02:00
Konstantin Ivanov
518def250a
DROID-214 Close object after moved to bin (#2451)
* DROID-214 update object menu start + send callback on archive success

* DROID-214 remove set object archive from editor

* DROID-214 fix tests

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-08-01 08:52:05 +02:00
Konstantin Ivanov
482b09b250
DROID-193 Mobile dark mode fixes (#2450)
* DROID-193 dark colors updated

* DROID-193 slash style icons updated

* DROID-193 slash action itms

* DROID-193 dark theme icons fixes

* DROID-193 fix test

* DROID-193 ci

* Update check.yml

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-07-29 16:37:37 +02:00
Konstantin Ivanov
5bb1a3f466
DROID-224 Relation value screen shows an empty numbered value (#2449)
* DROID-224 used Number.parsed function for numbered values

* DROID-224 fix tests

* DROID-224 fix

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-07-29 15:25:08 +02:00
Konstantin Ivanov
959a87cda6
DROID-217 Editor | Enhancement | Nested decoration for blocks relation (#2446)
* DROID-217 use binding in relationBlockHolder

* DROID-217 block relation view implement Decoratable

* DROID-217 decorations mapping

* DROID-217 added decorationContainer to block relation layouts

* DROID-217 block relation item, update design

* DROID-217 relation block, design update 2

* DROID-217 block relation design

* DROID-217 block relation holders, implement decorations

* DROID-217 remove default root style for items

* DROID-217 view id fix

* DROID-217 fix tests

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-07-29 14:27:41 +02:00
Evgenii Kozlov
424bbc5bad
DROID-220 Tech | CI | Start nightly distribution script at 23:30 (#2448) 2022-07-29 10:24:02 +03:00
Evgenii Kozlov
ba61faf7e8
DROID-187 App | Fix | Blockingly await account restoration when app is resumed after being killed by the Android OS (#2447) 2022-07-28 22:05:37 +03:00
Evgenii Kozlov
47d9b770f1
DROID-22 Editor | Fix | Copy/paste is not working for table of contents (#2441) 2022-07-28 17:31:13 +03:00
Konstantin Ivanov
9eb0538d06
DROID-216 Relation holders for slash and object settings adapters (#2445)
* DROID-203 relation blocks implemented decoratable

* DROID-203 map schema to view

* DROID-203 paragraph root padding start fix

* DROID-203 added new relations view holder

* DROID-203 update relations layouts

* DROID-203 use listRelationAdapter in DocumentRelationAdapter

* DROID-203 use listRelationAdapter in SlashRelationsAdapter

* DROID-203 revert

* DROID-216 code style fix

* DROID-216 add dimen on height

* DROID-216 rename view holder

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-07-28 14:11:43 +02:00
Evgenii Kozlov
10989eb952
DROID-215 CI | Fix | Do not start debug build distribution when pushing commits to develop branch (#2444) 2022-07-28 11:05:50 +03:00
Evgenii Kozlov
0056dae8a7
Droid 66 CI/CD | Integrate distribution of debug nightly builds for testing into our CI pipeline (#2443) 2022-07-28 10:58:19 +03:00
Konstantin Ivanov
cb85ff786d
DROID-177 | Analytics | Create block as simple table event fix (#2442)
Co-authored-by: konstantiniiv <ki@anytype.io>
2022-07-27 14:29:08 +02:00
Konstantin Ivanov
38df3ea93b
DROID-177 | Analytics | Create block as simple table event (#2440)
Co-authored-by: konstantiniiv <ki@anytype.io>
2022-07-27 10:33:30 +02:00
Evgenii Kozlov
d983a6cfc1
DROID-202 Editor | Nested decoration for header blocks (#2439) 2022-07-26 20:31:11 +03:00
Evgenii Kozlov
f1c8ae8280
Droid 179 Editor | Enhancement | Nested decoration for link-to-object blocks (#2438)
* DROID-179 decors for link-to-object card

* DROID-179 fixes

* DROID-179 rendering nested decoration for default link-to-object block

* DROID-179 rendering nested decoration for deleted and archived link link-to-object blocks

* DROID-179 revert toggles
2022-07-26 19:57:24 +03:00
Evgenii Kozlov
9eac4ba83c
DROID-199 Sets | Show bookmark icons in grid view (#2437) 2022-07-26 16:00:45 +03:00
Evgenii Kozlov
99158ec197
DROID-5 Tech | Documentation | Change log for 0.9.0 (#2436) 2022-07-26 14:19:25 +03:00
Evgenii Kozlov
0bcc300c04
DROID-181 Tech | Enhancement | MW 0.21.2 (#2435) 2022-07-26 14:13:48 +03:00
Evgenii Kozlov
9a175aaf79
DROID-197, DROID 198 List view has incorrect top and bottom padding + Show bookmark icons in list view and gallery view (#2434) 2022-07-26 12:36:43 +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
234de6d854
DROID-196 Types | Enhancement | Remove Bookmark type from suggestions when 1) changing object type 2) creating link to object 3) setting default type in settings (#2433) 2022-07-25 21:08:29 +03:00
Evgenii Kozlov
d49ca62d4e
DROID-154 Editor | Callout is not always selectable in multi-select mode (#2432) 2022-07-25 14:56:00 +03:00
Evgenii Kozlov
67f858cd70
DROID-195 'Passphrase' is used instead of 'recovery phrase' (#2431) 2022-07-25 14:14:10 +03:00
Evgenii Kozlov
15e8f89eb6
DROID-188 Sets | Workaround for creating new bookmark via set with old record API (#2430) 2022-07-25 14:07:52 +03: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
5a90e56e58
Sets | Enhancement | Foundations for creating bookmark via set (#2426) 2022-07-21 15:58:58 +03:00