mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
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>
This commit is contained in:
parent
a2a979a5ce
commit
a17743e56a
3 changed files with 8 additions and 6 deletions
|
@ -274,11 +274,12 @@ class FeaturedRelationGroupWidget : ConstraintLayout {
|
|||
}
|
||||
}
|
||||
}
|
||||
view.setOnClickListener {
|
||||
click(
|
||||
ListenerType.Relation.SetSource(sources = relation.sources)
|
||||
)
|
||||
}
|
||||
// todo https://linear.app/anytype/issue/DROID-434/set-or-change-set-source
|
||||
// view.setOnClickListener {
|
||||
// click(
|
||||
// ListenerType.Relation.SetSource(sources = relation.sources)
|
||||
// )
|
||||
// }
|
||||
addView(view)
|
||||
ids.add(view.id)
|
||||
}
|
||||
|
|
|
@ -186,6 +186,7 @@ class ObjectSetReducer {
|
|||
)
|
||||
}
|
||||
is Command.AddBlock -> {
|
||||
effects.add(SideEffect.ResetViewer)
|
||||
state.copy(
|
||||
blocks = state.blocks + event.blocks
|
||||
)
|
||||
|
|
|
@ -202,7 +202,7 @@ class EditorFocusTest : EditorPresentationTestSetup() {
|
|||
|
||||
val style = Block.Content.Text.Style.values()
|
||||
.filter { style ->
|
||||
style != Block.Content.Text.Style.TITLE || style != Block.Content.Text.Style.DESCRIPTION
|
||||
style != Block.Content.Text.Style.TITLE && style != Block.Content.Text.Style.DESCRIPTION
|
||||
}
|
||||
.random()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue