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

809 commits

Author SHA1 Message Date
Evgenii Kozlov
c0bbae162a
Relations | Enhancement | Do not allow editing relations when object is locked (#2258) 2022-05-16 17:18:03 +03:00
Konstantin Ivanov
08bbf7368c
Editor | Feature | Document title and todo title, color and background support (#2264)
* title margins

* block title background + tests

* added color and background color params to title blocks

* map color and background color to views

* update diff util for title blocks

* todo title design fix

* title views, set color and background for document and todo blocks

* added tests on text changed payload

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-05-16 16:50:49 +03:00
Sergey Boishtyan
60185de917
Relation | Fix | Filter crete option view with selected and unselected option names (#2262)
Relation | Fix | Filter `crete option` view with selected and unselected option names
2022-05-16 12:40:02 +03:00
Konstantin Ivanov
3cdfe9482e
App | Fix | Draft logic on object create (#2260)
* create page draft logic + tests

* fix

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-05-13 13:34:51 +03:00
Evgenii Kozlov
5af97af6d0
Editor | Enhancement | Inconsistent toggle states (#2255) 2022-05-12 17:27:08 +03:00
Sergey Boishtyan
a6b2da18f9
Relation | Fix | incorrect number presentation (#2254) 2022-05-11 20:06:23 +03:00
Konstantin Ivanov
f9efd2ca19
Set | Fix | Gallery view, name double (#2251)
Co-authored-by: konstantiniiv <ki@anytype.io>
2022-05-11 17:00:53 +03:00
Konstantin Ivanov
421adae97a
Editor | Fix | Table of contents, div logic (#2249)
* block view renderer now returns flags via lambda

* update toc block with items if flag is present

* test

* pr fixes

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-05-11 10:44:12 +03:00
Konstantin Ivanov
d160b5263b
Editor | Fix | Style toolbars, tests (#2250)
* tests on style toolbars

* code style

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-05-11 10:13:56 +03:00
Konstantin Ivanov
2e3e22aacd
Editor | Fix | Style toolbars refactoring (#2238)
* legacy

* added model for style toolbars state

* ext fun for getting text style toolbar state + tests

* move text style toolbar to use new state

* moving the style background toolbar to a new state

* update control panel events

* update control machine event for background toolbar

* code block uses cursor

* close kayboard on opening background toolbar

* refresh background toolbar

* refresh bakground toolbar 2

* send blocks background update command

* start background toolbar for code block and style toolbar for others

* update style color toolbar

* update style color toolbar with state

* update style color toolbar vm logic

* get style color toolbar state

* style other toolbar new state

* get style other toolbar state + vm logic

* legacy styleconfig model

* legacy

* on style event click refactoring

* on close background toolbar event

* added new command, blockList set mark

* remove doubles

* markup type to core model

* legacy

* update markup for several text blocks

* update style other toolbar with selected states

* toolbars viewmodels logic

* legacy, code style

* code style

* fixed tests

* test fix

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-05-10 15:11:13 +03:00
Sergey Boishtyan
b43ca677b8
Tech | Fix | Delete .gitignore in modules (#2247) 2022-05-10 12:23:06 +03:00
Sergey Boishtyan
51996ff726
Tech | Fix | Delete MockDataFactory.kt copy-paste (#2244) 2022-05-09 19:48:16 +03:00
Sergey Boishtyan
6206f68dea
Tech | Fix | Delete flavors (#2243) 2022-05-09 18:36:28 +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
Konstantin Ivanov
6e5d0dc3d7
Editor | Feature | Table of Contents, indents + dnd (#2236)
* update table of contents items depth + test

* set untitled if header name is empty

* fix clicks on toc

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-05-05 15:00:37 +03:00
Konstantin Ivanov
9eeea1e722
Editor | Feature | Code block, design and clicks (#2231)
* code block update

* code block, holder design

* block list extension + tests

* only background style menu for text blocks

* code block fixes

* update gradle

* rename fun

* back android 7 fix

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-05-05 09:25:52 +03:00
Evgenii Kozlov
d11f284b8d
Editor | Enhancement | Propose to select a template when user clicks "done" button in select-object-type bottom widget (#2228) 2022-05-04 18:32:01 +03:00
Konstantin Ivanov
1c6b268e80
Editor | Fix | ActionToolbar, downloads icon (#2221)
Co-authored-by: konstantiniiv <ki@anytype.io>
2022-05-02 18:29:44 +03:00
Evgenii Kozlov
54643294bd
Objects & Sets | Feature | Introduce templates (#2212) 2022-04-29 16:46:21 +03:00
Konstantin Ivanov
cc3c643855
Editor | Fix | Table of contents, scroll (#2215)
* add command scroll to position

* fix toc background

* link to object, indent

* scroll to the first position for block action toolbar

* test fix

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-04-29 13:34:59 +03:00
Konstantin Ivanov
3e41dc96d1
Editor | Feature | Table of contents block (#2208)
* show toc item on filter

* tests on toc

* added table of contents as block view

* table of contents as block model

* table of contents mapping + test

* create toc block

* table of contents block view

* toc payload

* toc clicks, states

* update teble of contents, after header text changed + test

* rename variable

* update toc icon

* rename widget

* fix tests

* ci

* pr fix

* ci off

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-04-28 17:33:22 +03:00
Mikhail
a78dc6ffd3
Editor | Feature | Duplicate an object (#2195)
Co-authored-by: Mikhail Iudin <mayudin@anytype.io>
2022-04-28 11:40:01 +03:00
Evgenii Kozlov
616a248a43
Feat | Template picker (#2203) 2022-04-21 17:04:23 +03:00
Evgenii Kozlov
5f724ba590
Editor | Enhancement | Display generic error message when failed to fetch images from Unsplash (#2205) 2022-04-21 16:55:41 +03:00
Evgenii Kozlov
b135475188
Protocol | API for templates (#2200) 2022-04-20 18:26:46 +03:00
Evgenii Kozlov
cac2f41ac3
Fix | Search screen does not display updated search query (#2202) 2022-04-20 17:35:24 +03:00
Konstantin Ivanov
0f6599a868
App | Fix | Pre-release 0.6.2 fixes (#2201)
* add fileds to block mapping

* exit from multi select after paste

* fix title top margin after cover added

* pause text watchers on setting text to title

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-04-20 17:17:39 +03:00
Evgenii Kozlov
31770e9c5c
Sets | New flow for created record (#2192) 2022-04-20 14:54:46 +03:00
Konstantin Ivanov
689a21597f
Editor | Feature | Multi-select downloads option (#2198)
Co-authored-by: konstantiniiv <ki@anytype.io>
2022-04-20 14:02:27 +03:00
Evgenii Kozlov
96701f86c4
Tech | Fix UI tests (#2199) 2022-04-20 14:01:13 +03:00
Konstantin Ivanov
0512a31b52
App | Feature | Make relation object first choice (#2196)
* make relation object first choice

* added dividers to relation formats list

* fix paddings

* code style

* update order + added custom formats order

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-04-20 10:10:00 +03:00
Konstantin Ivanov
3dabae49b9
Editor | Fix | LinkToObjectsCard description (#2193)
Co-authored-by: konstantiniiv <ki@anytype.io>
2022-04-19 18:55:02 +03:00
Mikhail
8e594df32b
Editor | Feature | Add possibility to upload an avatar (#2186)
* Editor | Feature | Add possibility to upload an avatar
2022-04-19 18:40:20 +03:00
Konstantin Ivanov
98b5bce45d
App | Fix | Renaming strikethrough (#2189)
Co-authored-by: konstantiniiv <ki@anytype.io>
2022-04-19 10:56:41 +03:00
Konstantin Ivanov
e33f483ed1
Editor | Feature | Copy blocks view action menu (#2187)
* added block id param to mw mapping

* add copy icon to action toolbar

* paste blocks logic

* add ids to mapping to mvblocks

* code style

* send children ids on copy

* added test on copy

* ci

* fix icon color

* ci

* ci off

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-04-18 20:29:07 +03:00
Konstantin Ivanov
4e8339192c
Editor | Fix | Style toolbar, selection state (#2185)
* on close background toolbar logic

* logging methods

* update logic for style toolbars

* refresh styling toolbars

* styling toolbars click events

* update tests

* select default color only in case themecolor.default

* pr fix

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-04-14 20:14:29 +03:00
Konstantin Ivanov
503935ce07
Tech | Legacy style toolbar logic (#2183)
* removed legacy onContextMenuStyleClick from text blocks

* remove old style toolbar legacy code

* remove legacy styling mode

* fix tests

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-04-13 22:31:27 +03:00
Konstantin Ivanov
43b5525732
Editor | Fix | Bookmark and linkToObject, selected state (#2179)
* added isPreviousBlockMedia to linkAsCard block

* link as card block, design update

* bookmark, selected state fix

* tests fix

* ci off

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-04-13 08:38:33 +03:00
Konstantin Ivanov
096811f539
Editor | Feature | All blocks background (#2176)
* styles for graphic+text blocks

* apply background color for media blocks

* media blocks xml update

* add background color for blockView model

* setting background color param

* update ids

* ci

* ci

* icon design

* default color in case on nullable state

* media placeholder icons

* bookmark placeholder icon

* remove legacy media placeholder layouts

* add isPreviousBlockMedia param to BlockView

* media placeholders, update design + logic

* media placeholders in adapter

* media placeholders design

* code style

* refactoring media placeholders

* media placeholders indent

* tests fix

* added background to divider blocks

* test

* ci

* ci off

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-04-12 16:51:36 +03:00
Evgenii Kozlov
38185eaba5
App | Feature | Delete account (#2157) 2022-04-11 15:46:18 +03:00
Konstantin Ivanov
2c71dd9fad
Tech | Editor style toolbars, rename (#2174)
Co-authored-by: konstantiniiv <ki@anytype.io>
2022-04-07 17:46:50 +03:00
Konstantin Ivanov
da690c2b90
Editor | Feature | Background toolbar (#2167)
* background toolbar

* fixes

* fix

* show style icon for all blocks

* update test

* update empty states for editor toolbars

* show background toolbar in case non texted blocks + tests

* send proper distinct color

* apply background for link_as_card_block

* apply background for link_block

* update visibility ob background toolbar

* close background toolbar after color is choosed

* fix tests

* ci

* ci

* pr fix

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-04-07 16:47:47 +03:00
Konstantin Ivanov
bc027f815c
App | Refactoring | Block, background color (#2166)
Co-authored-by: konstantiniiv <ki@anytype.io>
2022-04-05 23:14:17 +03:00
Evgenii Kozlov
738e143b31
Fix-pack | Crash fixes for 0.6.0 + Crashlytics (#2155) 2022-03-28 14:54:50 +03:00
Konstantin Ivanov
155c97d473
App | Fix | Analytics 2.0, fixes (#2154)
* add createObject to linkTo

* remove take operator

* treshhold on event writing

* updare block writing event

* fix

* fix

* fix

* add relation delete

* revert

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-03-28 14:52:59 +03:00
Konstantin Ivanov
0bce09ef7d
App | Fix | Analytics 2.0, createObject (#2153)
Co-authored-by: konstantiniiv <ki@anytype.io>
2022-03-26 13:39:32 +03:00
Evgenii Kozlov
3bf2f66017
Editor | Fix | Remove add-button from change-object-type screen (#2149) 2022-03-23 19:51:54 +03:00
Evgenii Kozlov
4ccd4f0418
Editor | Fix | Do not crash when searching text inside a page containing link-to-object cards (#2147) 2022-03-22 13:47:38 +03:00
Konstantin Ivanov
b82494c578
Editor | Fix | Read permission (#2143)
* fixes

* fix

* ci

* ci off

Co-authored-by: konstantiniiv <ki@anytype.io>
2022-03-22 08:45:49 +03:00
Evgenii Kozlov
1e130241ff
Feature | Setting cover from Unsplash (without loading state) (#2141) 2022-03-21 21:07:31 +03:00