* style: autoformat
* chore: add include_time to cell data
* chore: remove include_time from date field type options
* chore: fix tests
* chore: custom deserializer for date cell data
* chore: add more tests
* chore: simplify date calculation logic
* chore: move include time to per-cell setting in UI
* test: add another text str test
* chore: adapt changes from upstream
* revert:"fix: remove keyword when click selection menu item"
This reverts commit 5782dec45c.
* revert(appflowy_editor):revert "feat: double asterisks/underscores to bold text"
This reverts commit c0964fad5d.
* revert(appflowy_editor):revert "fix: workaround infinity formatting"
This reverts commit 6a902a2b21.
The Appflowy folder under the frontend had been removed before reverting.
* chore(appflow_editor):update test variable after reverting
* chore(appflowy_editor): comment out the test for reverting
* chore(appflowy_editor): update variable type after reverting
* chore(appflowy_editor): remove unused import after reverting
* feat(appflowy_editor): double asterisk to bold text
* test(appflowy_editor): test double asterisk to bold text
* fix(appflowy_editor): delete slash after a selection menu item is selected
* test(appflowy_editor): test selection menu widget after clicking
* feat(appflowy_editor): double asterisk to bold text and remove slash after clicking selection menu item (#1935)
* feat(appflowy_editor): double asterisk to bold text
* test(appflowy_editor): test double asterisk to bold text
* fix(appflowy_editor): delete slash after a selection menu item is selected
* test(appflowy_editor): test selection menu widget after clicking
* feat(appflowy_editor): double underscore to bold text
* test(appflowy_editor): test double underscore to bold text
* chore(appflowy_editor): put checkbox testing back
* chore: format code
---------
Co-authored-by: Yijing Huang <hyj891204@gmail.com>
* feat: using controllers in react hooks WIP (#1915)
* chore: add edit / create field test
* chore: add delete field test
* chore: change log class arguments
* chore: delete/create row
* chore: set tracing log to debug level
* fix: filter notification with id
* chore: add get single select type option data
* fix: high cpu usage
* chore: format code
* chore: update tokio version
* chore: config tokio runtime subscriber
* chore: add profiling feature
* chore: setup auto login
* chore: fix tauri build
* chore: (unstable) using controllers
* fix: initially authenticated and serializable fix
* fix: ci warning
* ci: compile error
* fix: new folder trash overflow
* fix: min width for nav panel
* fix: nav panel and main panel animation on hide menu
* fix: highlight active page
* fix: post merge fixes
* fix: post merge fix
* fix: remove warnings
* fix: change IDatabaseField fix eslint errors
* chore: create cell component for each field type
* chore: move cell hook into custom cell component
* chore: refactor row hook
* chore: add tauri clean
---------
Co-authored-by: nathan <nathan@appflowy.io>
Co-authored-by: Nathan.fooo <86001920+appflowy@users.noreply.github.com>
* ci: fix wanrings
---------
Co-authored-by: Askarbek Zadauly <ascarbek@gmail.com>
- Fix typos;
- Fix inconsistencies;
- Removed duplicated block strings.
Note: There are some word by word texts that I still need to figure out how to adapt properly; though, do believe most of strings are good to go!
Please review!
* docs(appflowy_flutter): Update Documentation
- Added basic information so that new contributors can easily get started with contributions.
* docs(appflowy_flutter): Fix doc issues
- Fixed the wrong Flutter version chip
- Added contributions types
* feat: add edit api to openai client
* feat: add translation
* chore: format code
* feat: add smart edit plugin
* fix: close http.client when dispose
* fix: insert openai result to wrong position
* feat: optimize the replace text logic
* test: add test for normalize and getTextInSelection function
* chore: update error message
* feat(shortcuts): Add Shortcuts to Help Menu
- Added option of shorcuts in help menu
- Clicking on the shortcut leads to the `Shortcuts.md` file
* fix: l10n and todos
---------
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
* refactor: rename structs
* chore: read database id from view
* chore: fix open database error because of create a database view for database id
* chore: fix tests
* chore: rename datbase id to view id in flutter
* refactor: move grid and board to database view folder
* refactor: rename functions
* refactor: move calender to datbase view folder
* refactor: rename app_flowy to appflowy_flutter
* chore: reanming
* chore: fix freeze gen
* chore: remove todos
* refactor: view process events
* chore: add link database test
* chore: just open view if there is opened database
* chore: implement CalendarBloc
* chore: enable save and read the calendar setting
* style: more precise variable name
* chore: backend calendar settings
* chore: protobuf for layout settings
* chore: update test
* chore: Enumerate the LayoutTypePB enum type to get the supported layout types
* fix: deserialize object type is not the same as serialize object type
* chore: add set/get calendar settings event
* ci: fix wanrings
---------
Co-authored-by: nathan <nathan@appflowy.io>
Co-authored-by: vedon <vedon.fu@gmail.com>
* fix(network_monitor): add missing case for `other` network type
Missing case causing static analysis error that is blocking the build.
* chore: update depdendency minor versions
* feat: add openai service
* feat: add openai auto completion plugin
* feat: add visible icon for open ai input field
* chore: optimize user experience
* feat: add auto completion node plugin
* feat: support keep and discard the auto generated text
* fix: can't delete the auto completion node
* feat: disable ai plugins if open ai key is null
* fix: wrong auto completion node card color
* fix: make sure the previous text node is pure when using auto generator
* feat: handler for deleting a word
* chore: typo
* test: ctrl and backspace to delete word
* feat: add ctrl alt arrows to select words
* fix: remove print statement
* fix: remove additional shortcut
* fix: handle nodes empty case
* test: edge cases with delete word
* fix: press meta on macos
* refactor(Log): allow passing error and stacktrace to logs
This allows us to log errors and stacktraces in a more structured way.
* feat: catch platform errors
Adds handling for platform errors that are not caught by the
Flutter framework. Doing so will log the error properly and
prevent the app from crashing.
* fix: empty url group bug
moving a row to empty url (no status) group would change the row's
url to the group id which is not empty, its a random string.
fixed it with puting a check to fill the url with the empty string
when the group id is equal to empty url group id
* fix: move empty group check to `insert_url_cell`
because evereywhere using `insert_url_cell` we want to check that.
* chore: cargo fmt
---------
Co-authored-by: nathan <nathan@appflowy.io>
* feat: #1832 Support to import data from Markdown or Text to Document page
* feat: #1832 Support to import data from Markdown or Text to Document page
* feat: add TargetPlatform `isDesktop` helper
Safe and convenient way to check if the current platform is a desktop platform.
* refactor: move window logic to separate class
This is much cleaner and better encapsulated. Sets up an area for
further window management in the future.
Does not try to initialize on mobile or web, which would crash.
* fix: isDesktop doc comment
* fix: set window title
Currently only displays "app_flowy" as the window title. This commit
sets the window title to "AppFlowy" as part of the init process.
* fix: use window_manager to set minimum window size
Resolves#762Resolves#1559
* refactor: only init WidgetsFlutterBinding once
* fix: set window minimum size
Was meant to be setMinimumSize not setSize
* fix: windows manager crash on macOS
---------
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
* fix: #1290 [Bug] 300ms delay on buttons in titlebar
* fix: #1802 Math Equation would be null
* fix: retain as a attribute value
---------
Co-authored-by: nathan <nathan@appflowy.io>
* ci: config rust log
* chore: rename flowy-sdk to appflowy-core
* fix: create group after editing the url
* fix: start listen on new group
* chore: add tests
* refactor: mock data
* ci: update command
* feat: on enter exit editing property field #1295
* chore: use FlowyTextField instead of RoundedInputField
* fix: make all text field border radius 10, added errorBorder
* fix: put cursor position at end of text field
See the related discussion here:
https://github.com/AppFlowy-IO/AppFlowy/pull/1747#issuecomment-1407697216
* chore: make errorText optional on FlowyTextField
* fix: cursor doesn't blink when opening selection menu
* feat: add board plugin
* feat: integrate board plugin into document
* feat: add i10n and fix known bugs
* feat: support jump to board page on document
* feat: disable editor scroll only when the board plugin is selected
* chore: dart fix
* chore: remove unused files
* fix: dart lint
* feat: integrate grid plugin into document
* feat: add more menu to grid plugins
* feat: refactor built-in page plugins, including board and grid
* feat: remove padding set up when plugin type equals to editor
* feat: add callout plugin
* refactor: add SelectionMenuItem.node factory
makes calloutMenuItem more readable
* feat: add color picker
* feat: add popover to callout
* feat: add emoji to callout
* fix: store tint name
* fix: remove leading underscores
* fix: revert export of editor_entry
* refactor: move color tint names to appflowy_editor
* fix: #1732 only re-insert text node if it's parent is text node too while deleting
* docs: doc comment for SelectionMenuItem.node
* fix: disable callout plugin
should be re-enabled after #1753 is done
* fix: typo
---------
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
* feat: WIP on url controller
* fix: logging correct field
* chore: generate groups
* chore: revert change on URLTypeOptionPB
* chore: add tests + fix move row in group by url
* chore: rename test function
Co-authored-by: nathan <nathan@appflowy.io>
* feat: create new file for Basque
* feat: update lang file values
* fix: change of some translate values
* fix: misspelling
* feat: Added Euskera as an option
* automated changes to pubspec.lock
* fix: Grid URL property's edit button hovering effect
fixed the problem with a grid with a url property when hovering on any other field in the same row
Initially hovering on other fields triggers the edit button to show up in the URL cell
* update: removed flowy_sdk folder
flowy_sdk folder was renamed to appflowy_backend in one of the earlier commits
* Deleted pubspect.lock
Removed system generated pubspec.lock file
* minor update: changes to pubspec.lock
* update: reverting GeneratedPluginRegistrant.swift to previous form
* update: reverting pubspec upstream url to original url
* update
* update
* chore: read cells for field
* feat: enable read cells for specific field
* ci: fix tests
Co-authored-by: vedon <vedon.fu@gmail.com>
Co-authored-by: nathan <nathan@appflowy.io>
* chore: create build-in calendar data
* feat: add new calendar view to plugins
* chore: add create calendar page test
* chore: disable for creation for now
* fix: rebase regression
Co-authored-by: nathan <nathan@appflowy.io>
* feat: handling same as Notion when user fills in the mixing of number and text
* feat: remove debug log
* feat: using lazy_static to initialized lazily the regex
* chore: remove unused isSelected flag
* chore: close popover when an option is deleted
* chore: allow unselecting an option by clicking on a close button
* feat: switching from text type to checkbox type
* feat: change to use Err(_)
* test: switch from text to checkbox (still need to cover more cases)
Co-authored-by: nathan <nathan@appflowy.io>
* feat: upgrade flutter version to 3.3.0 for appflowy_editor and appflowy_editor_plugin
* feat: upgrade flutter version to 3.3.0 for appflowy
* feat: upgrade flutter version to 3.3.0 for CI
* chore: update flutter version in ci workflows
* chore: fix warnings
* chore: fix unuse import
* chore: support cargo make dart_unit_test on windows platform
* fix: copy to sandbox errors
Co-authored-by: nathan <nathan@appflowy.io>
* fix: padding in grid cell editors
* fix: padding in grid header editor
* fix: padding for row details
* fix: shrink number formt list when possible
* chore: simply use column for select option editor
* fix: make sure that popovers are the edges
* fix: delete button padding
* fix: date and time formats padding mistake
* Added Emoji Support
* Added Color Picker for font color and background color
* chore: revert code
* feat: re-implement the color picker
* test: add test case for adding color
* test: update appflowy_editor test flag
Co-authored-by: Muhammad Rizwan <haris.arshad.2010@gmail.com>
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
* fix: no focus border on date cells
* fix: remove redundant import
* refactor: use existing functionality from GridCellWidget for focus border
* refactor: use requestBeginFocus override instead of GestureDetector