* chore: add documentation
* chore: update type option data after switching to a new field type
* chore: insert yes/no option when switch from checkbox to single/multi select
Co-authored-by: nathan <nathan@appflowy.io>
* fix: comma to select tags
* chore: support passing multiple option ids
* chore: add more unit tests for single select and multi select
* chore: move to select multiple options using a single payload
* chore: do not unselect the option if insert option ids contain that option
Co-authored-by: appflowy <annie@appflowy.io>
* refactor: avoid using `collect()` when not needed
and cascade notation
* refactor: The user might expect to be able
to use Default as the type can be
constructed without arguments.
* refactor: using `clone` on type `indextree::NodeId`
which implements the `Copy` trait
* refactor: remove intermediary
variables and use cascade notation
* refactor: using `clone` on type `indextree::NodeId`
which implements the `Copy` trait
* refactor: unneeded `return` statement
* refactor: ok_or_else avoids executing a
function when it's not needed
* refactor: dereferenced by the compiler
* refactor: user enumeration for index
* refactor: using `clone` on type `usize`
which implements the `Copy` trait
* refactor: useless conversion to the
same type: `&str`
* refactor: The user might expect to be able use Default
as type can be constructed without arguments
* refactor: The user might expect to be able use Default
as type can be constructed without arguments
* fix: rust formating with fmt
* fix: conflict default implementation
Co-authored-by: appflowy <annie@appflowy.io>