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

1111 commits

Author SHA1 Message Date
Konstantin Ivanov
82fddb7b49
DROID-478 Editor | Redesign | Link-to-object appearance as text (#2630)
* DROID-478 object link as text, xml updated

* DROID-478 link to object as text, holder + xml

* DROID-478 diff util, object type changed

* DROID-478 object type changed

* DROID-478 update preview model

* DROID-478 create object icon, editor method

* DROID-478 object preview, mapping update

* DROID-478 object preview menu, show description for text preview

* DROID-478 update task checked icon

* DROID-478 holder fixes

* DROID-478 fix paddings

* DROID-478 task icon fix

* DROID-478 link to object, archived + deleted states

* DROID-478 amend click on archived/deleted links

* DROID-478 link to object, loading state

* DROID-478 object loading state, payload

* DROID-478 fix indentize

* DROID-478 design fixes

* DROID-478 use icon none/small for text preview

* DROID-478 fix tests

* DROID-478 fixes

* DROID-478 padding fix

* DROID-478 enable link appearance

* DROID-478 ci start

* DROID-478 ci off

* DROID-478 pr fix

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-10-10 15:02:24 +02:00
Evgenii Kozlov
b03efcc788
DROID-471 Relations | Fix | Date value is not displayed correctly (#2640) 2022-10-06 15:30:26 +03:00
Konstantin Ivanov
986e4ab244 DROID-469 Sets | Application crash when entering big number (#2621)
* DROID-469 catch ArithmeticException exception

* DROID-469 fix

* DROID-469 change log

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-10-06 12:49:17 +03:00
Mikhail
0955626045
DROID-498 Tech | Upgrade | Update kotlin to 1.7.10 (#2632) 2022-10-04 20:37:43 +03:00
Mikhail
f73f310e9c
DROID-303 Editor | Enhancement | Add paste as link option (#2609) 2022-09-26 17:51:56 +03:00
Mikhail
0700c21090
DROID-392 Editor | Enhancement | Change link to object position (#2606) 2022-09-23 11:16:41 +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
bc2082a175
DROID-448 Set | Settings, cover, icon in empty state (#2596)
* DROID-448 delete set init for settings, cover, icon

* DROID-448 use loading value

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-09-15 15:46:23 +02:00
Konstantin Ivanov
edde39e76a
DROID-316 Set | Delete records from active viewer (#2589)
* DROID-316 delete records event

* DROID-316 delete records extension + test

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-09-12 11:16:11 +02:00
Konstantin Ivanov
a17743e56a
DROID-417 Set | Get records, after source set (#2587)
* DROID-417 turn off change set source

* DROID-417 get records after block view block added

* DROID-417 link to task

* DROID-417 add delay to test

* DROID-417 fix test setup, should be proper filter by description style

* DROID-417 ci

* DROID-417 ci off

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-09-08 11:53:24 +02: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
Evgenii Kozlov
69c5900b8c
DROID-425 Sets | Enhancement | Separate object state from data view state (#2584) 2022-09-06 18:47:49 +03:00
Konstantin Ivanov
b8212ec12e
DROID-112 Editor | Add object as link to block (#2581)
* DROID-112 add object as link to block

* DROID-112 style fix

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-09-06 17:30:22 +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
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
6430208e5e DROID-396 Editor | Fix | Allow navigating to the @-mentioned target when target has bookmark layout (#2573) 2022-08-31 17:24:08 +03:00
Evgenii Kozlov
f96ef843ed DROID-387 Editor | Fix | Incorrect bookmark image url building (#2569) 2022-08-31 17:24:08 +03:00
Evgenii Kozlov
323fbc74e9 DROID-380 Editor | Enhancement | Show hint for bookmark in error state (#2562) 2022-08-31 17:24:08 +03:00
Konstantin Ivanov
eceecee6a8 DROID-232 Sets | Enhancement | Pre-populate records, release brunch (#2561)
Co-authored-by: konstantiniiv <ki@anytype.io>
2022-08-31 17:24:08 +03:00
Evgenii Kozlov
d768a96a09 DROID-350 Editor | Enhancement | Loading state for bookmark block (#2559) 2022-08-31 17:24:08 +03:00
Evgenii Kozlov
ca5b23ea42 DROID-340 Dashboard | Fix | Icon for bookmark object would not be displayed in recent and archived tabs because of incorrect url schema (#2558) 2022-08-31 17:24:08 +03:00
Evgenii Kozlov
bc24612164 DROID-367 Editor | Enhancement | Do not crash when clicking on archived bookmark object (#2555) 2022-08-31 17:24:08 +03:00
Evgenii Kozlov
a444345ea1 DROID-302 Relations | Enhancement | Set Relation.SOURCE as target relation for reloading bookmark object (#2554) 2022-08-31 17:24:08 +03:00
Evgenii Kozlov
b7ec8d0f2e DROID-367 Objects | Fix | If you move bookmark object to bin, the bookmark block look like non-existent object (#2548) 2022-08-31 17:24:08 +03:00
Konstantin Ivanov
552298b342 DROID-292 Analytics | Bookmark block, relation url events (#2544)
* DROID-292 send open url + open as object events

* DROID-292 add relation url analytics

* DROID-292 fix test

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-08-31 17:24:08 +03:00
Mikhail
2acfccb6e2
DROID-81 Editor | Enhancement | Share files (#2568) 2022-08-30 11:15:19 +03:00
Konstantin Ivanov
a64a23e51c
DROID-391 Set | Fix | Clear header on set reset (#2567)
Co-authored-by: konstantiniiv <ki@anytype.io>
2022-08-26 14:22:19 +02:00
Konstantin Ivanov
5defabf214
DROID-310 Editor | Fix | Add local files to media block (#2565)
* DROID-310 dismiss snackbar on object exit

* DROID-310 cancel pickit on editor stop

* DROID-310 cancel copy file on stop

* DROID-310 fix toast msg

* DROID-310 delete buggy job agument

* DROID-310 import

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-08-26 10:04:57 +02:00
Konstantin Ivanov
3941075c86
DROID-37 Editor | Delete text update delay (#2552)
* DROID-37 delete text update debounce

* DROID-37 fix text

* DROID-37 text fix

* DROID-37 fix split tests

* DROID-37 fix tests

* DROID-37 fix test

* DROID-37 removed legacy pendingTextUpdate logic

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-08-24 14:05:55 +02:00
Konstantin Ivanov
57e7d5b961
DROID-311 Analytics | Block main menu clicks (#2549)
Co-authored-by: konstantiniiv <ki@anytype.io>
2022-08-24 13:32:14 +02:00
Konstantin Ivanov
7c8ace92ee
DROID-267 Editor | Relation block inside the callout block (#2503)
* DROID-267 add selected view to relation blocks

* DROID-267 blockadapter, relations bindings

* DROID-267 added background to relation block

* DROID-267 added background to relation model

* DROID-267 relation block holders fixes

* DROID-267 add margin for all editor relation blocks, when nested decoration is enabled

* DROID-267 block relation text style

* DROID-267 add pdding

* DROID-267 checkbox layout fix

* DROID-267 relation block layout

* DROID-267 relation block status, object

* DROID-267 block relation tag

* DROID-267 add margin only on empty decorations

* DROID-267 refactoring

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-08-23 12:14:59 +02:00
Evgenii Kozlov
aedc4cdb39
DROID-314 Objects | Fix | Dark mode fixes (#2540) 2022-08-18 19:43:28 +03:00
Evgenii Kozlov
8c5ddd67ac
DROID-318 Tech | Enhancement | MW 0.22.1 (#2538) 2022-08-18 17:49:57 +03:00
Evgenii Kozlov
8e722e2f1d
DROID-363 Editor | Enhancement | Support error state for bookmark block (#2536) 2022-08-18 15:48:46 +03:00
Evgenii Kozlov
398aeac3a1
DROID-361 Objects | Enhancement | Display deleted bookmark objects as inexistent objects (#2534) 2022-08-18 14:37:49 +03:00
Evgenii Kozlov
807f95e853
DROID-340 Objects | Design | New design for bookmark object icon on dashboard and in lists (search, move-to, link-to, etc.) (#2532) 2022-08-18 14:34:15 +03:00
Evgenii Kozlov
80c69576a4
DROID-302 Relations | Fix | Allow reloading content only for specific relation key (#2533) 2022-08-18 14:29:56 +03:00
Evgenii Kozlov
d141dceb41
DROID-348 Editor | Fix | Do not suggest "Bookmark" among "Object types" in slash widget (#2523) 2022-08-17 19:38:20 +03:00
Konstantin Ivanov
e8ea904a6f
DROID-78 | Editor | keyboard animations fix (#2528)
Co-authored-by: konstantiniiv <ki@anytype.io>
2022-08-17 18:33:03 +02:00
Konstantin Ivanov
651a097caa
DROID-78 Editor | Improve keyboard experience by taking advantage of the new WindowInsets API (#2524)
* DROID-78 remove focus on hide keyboard event

* DROID-78 add delay on navigation toolbar visibility

* DROID-78 add check

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-08-17 18:07:11 +02:00
Konstantin Ivanov
dca4e2c8e4
DROID-24 Editor | Archived mentions and link to objects (#2518)
* DROID-24 add isArchive to markup

* DROID-24 isArchive mapping

* DROID-24 update mention span with archive state

* DROID-24 markup link to object, added archived state

* DROID-24 fix tests

* DROID-24 provide mention click on non archived objects

* DROID-24 set click only on not archived mentions

* DROID-24 underline color removed

* DROID-24 remove usless is archived check

* DROID-24 code style

* DROID-24 test

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-08-17 12:02:23 +02: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
e7f3f62ae9
DROID-209 Editor | Object action buttons (#2512)
* DROID-209 rename action

* DROID-209 update object action items

* DROID-209 update action items design

* DROID-209 update action items

* DROID-209 fix test

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-08-15 21:14:14 +02:00
Konstantin Ivanov
bd4f0bcad0
DROID-327 App | Turn off nested decoration and previews for links (#2513)
* DROID-327 turn off nested and previews

* DROID-327 nested back

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-08-15 18:12:52 +02:00
Konstantin Ivanov
a655e711a2
DROID-210 Editor | Underline markup (#2508)
* DROID-210 underline icon design

* DROID-210 underline added to markup toolbar

* DROID-210 underline mapping etc

* DROID-210 underline span

* DROID-210 update underline span with sdk version

* DROID-210 url span, add text and line colors

* DROID-210 add underline to extra toolbar

* DROID-210 underline height as param

* DROID-210 tests

* DROID-210 underline added to slash menu

* DROID-210 rename

* DROID-210 rename param

* DROID-210 update icon

* DROID-210 analytics param

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-08-15 17:43:12 +02:00
Konstantin Ivanov
235bd698e3
DROID-317 Dashboard | Don't filter by profile on recent tab (#2510)
Co-authored-by: konstantiniiv <ki@anytype.io>
2022-08-12 17:52:26 +02: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
b2084ac0a7
DROID-307 Relations | Fix | File value for relation with file format crashes the app if the value is represented as String and not List<String> (#2501) 2022-08-11 10:09:43 +03:00
Konstantin Ivanov
1cb82f4c64
DROID-285 Editor | Table of contents placeholder and clicks (#2499)
* DROID-285 toc item, add editor touch processor

* DROID-285 add toc placeholder + click fixes

* DROID-285 toc click listener type

* DROID-285 block adapter toc fixes

* DROID-285 toc selection, action menu and clicks

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-08-10 20:56:25 +02:00