* feat: optimize mobile editing
* feat: refactot the mobile toolbar
* feat: don't reattch text input if the selection doesn't change
* chore: update mobile toolbar layout
* feat: make find menu widget
* feat: service for find menu
* feat: add find menu shortcut event
* feat: create a search service
* docs: explain search service
* fix: unhighlight method takes searched word
* fix: unhighlight before each search
* feat: navigate between matches
* feat: forget highlighting from undo stack
* feat: replace logic and ui
* feat: replace shortcut handler and widget
* test: find functionality
* test: replace menu tests
* refactor: separate class for search algo
* refactor: suggested changes
* refactor: remove unhighlight method
* feat: add find highlight color
* refactor: name of the search algo class
* test: unit tests for search algorithm
* chore: simplify syntax
* test: renamed test group
* refactor: move to editor
* refactor: add shortcut for find
* refactor: use new api
* refactor: add abstrac class search algo
* fix: avoid multiple instances of find dialog
* refactor: xazin's suggestions
* chore: separately build input decor
* test: search algorithm
* chore: unhighlight properly
* refactor: replace handler
* refactor: move tests into new
* test: find menu widget test
* test: replace menu
* fix: localizations + resolve scroll bug partially
* fix: without update selection on highlight
* fix: do not select words when highlighting
* test: update expected selection
* fix: matches and styling
* feat: separate attribute for highlighting
* feat: unique color for selected match
* test: unique color for selected match
* refactor: cleaning the code
* fix: navigate to first match
* fix: tests and replace logic
---------
Co-authored-by: Mathias Mogensen <mathiasrieckm@gmail.com>
Co-authored-by: Mathias Mogensen <42929161+Xazin@users.noreply.github.com>
* refactor: move shared code out of desktop
* refactor: fix double exist error and extract color option
* feat: update color icon
* refactor: refactor MobileToolbarItemMenuBtn to be more flexiable
* feat: add textAndBackgroundColorMobileToolbarItem
* chore: dart fix
* refactor: extract MobileToolbarMenuGridDelegate
* chore: update UI parameters
* refactor: delete format color in format_rich_text_style.dart and refactor the code
* chore: remove the bottom line of tabbar
* refactor: set color opitions to be customizable
* chore: add scrollbar in opitions grid view
* test: update code to pass the previous tests
* chore: add Material in testing
* chore: unify text and background default color opitions
* test: add textAndBackgroundColorMobileToolbarItem test
* chore: update AppFlowyEditorLocalizations
* chore: replace string by components' key in tests
* test: add color options widgets tests
* chore: dart fix
* chore: dart format
* refactor: refactor mobile toolbar
* feat: add text decoration icon in AFMobileIcons
* chore: update mobile parameter
* feat: add text decoration basic feature
* chore: replace text by AppFlowyEditorLocalizations
* feat: add code toolbar item
* chore: refactor code
- add hasMenu in MToolbarItem
- add const size
* feat: add line input menu
* chore: create toolbar items draft file
* refactor: textDecorationMToolbarItem refactor
* fix: add key to ensures MToolbarWidget is rebuilt whenever the selection changes
* feat: add link toolbar item and the way to close item menu
* chore: replace m by mobile
* chore:replace BuiltInAttributeKey by FlowyRichTextKeys
* chore: replace m by mobile
* refactor: refactor MobileToolbarWidget
* refactor: add MobileToolbarStyle to control all cosmetic parameters
* refactor: refactor MobileToolbarItemMenuBtn to stateless widget
* feat: add heading menu
* fix: fix open the wrong menu
* feat: add heading icon
* feat: add todo list and list toolbar item
* feat: add quote toolbar item
* fix: fix selection service error
* test: add mobile toolbar basic elements test
* test: add item menu button test and helper widgets
* test: add text decoration mobile toolbar item test
* test: add code mobile toolbar item test
* test: add heading mobile toolbar item test
* test: add list mobile toolbar item test
* chore: fix typo
* test: add quote mobile toolbar item test
* test: add todo list mobile toolbar item test
* test: add link mobile toolbar item test
* chore: update name and add Material widget
* fix: flutter analyze
* fix: flutter analyze in test mobile toolbar
* chore: dart format test code
* refactor: improve code
* fix: fix refactor error
* chore: move all the tests in mobile to test/mobile
* chore: move toolbar/items to toolbar/desktop/items
* chore: remove the mobileToolbarItemMenuStateKey
* chore: add some comments
* test: update testing
---------
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
* chore: rename file to avoid pub get error
* fix: cursor blink
* fix: remove redundant padding on the mobile platform
* feat: customize the style of the selection menu
* chore: move selectionRects to editorState
* chore: delete unused attributeKey font
* feat: refactor showLinkMenu and LinkMenu
* feat: replace old linkMenu
* feat: add text color toolbar item
- separate text color and highlight color item in toolbar
- renaming in BuiltInAttributeKey(color -> textColor, backgroundColor -> highlightColor)
- add text color and highlight color attribute in example.json
- add icons for text color and highlight color in the toolbar
* feat: add highlight color item in toolbar
- add clear highlight color button
- add onDismiss in ColorPicker to remove the overlay after remove highlight color
* chore: delete old ColorPicker
* test: migrate link menu test
* chore: remove editorStyle from color menu and color picker
* test: add color picker test
* feat: remove editor style from link menu
- add utils function and widgets for overlay
- organize utils folder
- add constant text into AppFlowyEditorLocalizations
- improve pop up menu style
* feat: add show link menu command shortcut
- refactor CommandShortcutEventHandler
- update related callback
* feat: add showTextColorMenuCommand and showHighlightColorMenuCommand
* fix: fix merge error in example.json
* refactor: reorganize the file hierarchy
* refactor: migrate format_style_handler_test.dart
- delete format_style_handler_test.dart
- migrate to markdown_commands_test.dart
- move highlight test outside of markdown_commands_test
* feat: delete show menu type command shortcut and their tooltip
* fix: fix tooltip text
* chore: delete context from CommandShortcutEventHandler
* feat: add command shortcut for link menu
* test: add show link menu command test