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

2208 commits

Author SHA1 Message Date
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
Mikhail
d98ab71a56
DROID-21 Sets | Fix | Sort by Checkbox type relation properly (#2424) 2022-07-20 18:27:39 +03:00
Evgenii Kozlov
50a625d7cf
Tech | Enhancement | MW 0.21.1 (#2423) 2022-07-20 18:25:22 +03:00
Mikhail
d721e49a8c
DROID-28 Auth | Fix | Fix red button colors in auth flow (#2418) 2022-07-20 15:14:51 +03:00
Mikhail
b7aa49f960
DROID-15 Editor | Fix | Hide keyboard when opening set (#2416) 2022-07-20 15:14:07 +03:00
Evgenii Kozlov
0da1e88fdd
Editor | Dividers as children inheriting style from parent blocks (#2421) 2022-07-20 12:29:06 +03:00
Evgenii Kozlov
98afdd9726
Sets | Support new filters "Exact in" and "not exact in" (#2422) 2022-07-20 12:28:26 +03:00
Evgenii Kozlov
68c7636e28
Editor | Non-paragraph text blocks as children for callout block have incorrect end margin (#2419) 2022-07-19 17:13:32 +03:00
Evgenii Kozlov
28c341e327
Editor | Nested styling for media placeholders (#2409) 2022-07-18 22:49:29 +03:00
Mikhail
b7091e85f8
DROID-35 Editor | Enhancement | Use snackbar instead of toast (#2412) 2022-07-18 20:07:15 +03:00
Evgenii Kozlov
8b0c8a32e6
App | Fix | Flaking remaining days count issue after account deletion (#2414)
changed rounding mode + added tests
2022-07-18 17:54:08 +03:00
Sergey Boishtyan
b4954c2c5e
DROID-165 Tech | Enhancement | update middleware to 0.21.0 (#2410) 2022-07-15 12:30:00 +03:00
Mikhail
084994b138
DROID-156 Editor | Fix | Fix invalid padding in case of task (#2403) 2022-07-14 11:51:07 +03:00
Mikhail
7c37cf4420
DROID-162 Editor | Tech | Add commit message checker (#2405) 2022-07-14 11:49:06 +03:00
Sergey Boishtyan
09044cc5fb
Sets | Fix | Hide icons in all layouts when hide icon set to true (#2408) 2022-07-13 17:01:01 +03:00
Mikhail
877c73521c
DROID-30 Editor | Fix | Fix wrong text color in feature relations (#2407) 2022-07-12 13:41:35 +03:00
Mikhail
f9d83c23ce
DROID-44 Editor | Fix | Fix wrong color of border in file uploading block (#2406) 2022-07-12 13:35:17 +03:00
Sergey Boishtyan
204076de57
Sets | Enhancement | Add "Hide icon" icon option to GridView (#2404) 2022-07-08 18:26:47 +03:00
Sergey Boishtyan
0be0079f05
Add Makefile with aliases to common gradle tasks (#2401) 2022-07-07 13:32:45 +03:00
Sergey Boishtyan
f0aede1762
DROID-12 Editor | Fix | Make toolbar clickable for intercepting clicks (#2399) 2022-07-06 12:14:14 +03:00
Sergey Boishtyan
0f130db0f3
Editor | Fix | Add margin for 3 wallpaper item from the end (#2398) 2022-07-05 18:35:48 +03:00
Sergey Boishtyan
ce9adb051e
Editor | Enhancement | Show icon in object toolbar (#2397) 2022-07-05 17:27:18 +03:00
Sergey Boishtyan
0fcade1edf
Editor | Fix | Hide items in main toolbar for Title block (#2395) 2022-07-05 13:36:57 +03:00
Mikhail
c0f86448af
App | Settings | Blur mnemonic (#2394) 2022-07-04 21:03:59 +03:00
Sergey Boishtyan
d109853aec
Editor | Fix | Hide coming soon items (#2393) 2022-07-04 16:54:44 +03:00
Sergey Boishtyan
ea154e599c
Editor | Fix | Add text and background color picker for Title (#2392)
* Editor | Fix | Add Title text and background color menu
* Editor | Fix | Disable markup for title
2022-07-04 14:54:47 +03:00
Mikhail
d219f74bf3
App | Settings | Blur mnemonic (#2391) 2022-07-01 16:32:57 +03:00
Evgenii Kozlov
28a0397c8b
Editor | Enhancement | Decoration for nested callout blocks (#2390) 2022-06-30 23:00:40 +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