* fix: Optimize the re-render node when the selection changes
* feat: the feature of delete block
* feat: add left tool when hover on block
* refactor: document data and update
* refactor: document component
* refactor: document controller
* test: added test to verify correct ordering after replacement of multiline text-nodes
* fix: open-ai replace does not work on certain use-cases
* refactor: using predefined operation insert node to create new nodes.
* Revert "refactor: using predefined operation insert node to create new nodes."
This reverts commit bcc014e84d.
* refactor: using predefined operation insert node to create new nodes.
* fix: open-ai replace does not work in certain use-cases
* fix: fixed logic and tests for replacement of larger textNodes with smaller text.
---------
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
* ci: print log
* ci: sudo install
* ci: enable ubuntu
* ci: try to fix
* ci: force run tauri ci
* ci: update node version
* ci: specific build protoc-gen-ts ts version
* feat: create a new board.
* feat: switch slash menu keywords
* fix: remove unused imports
* chore: export SelectionMenuItem from appflowy_editor for integration test
* feat: add integration test for slash commands
* fix: test in new file was unable to start
* feat: add translations
* chore: enable calendar
* feat: set font of the day event widget
* feat: support add/remove event
* chore: initial settings popover
* chore: calendar bloc can update layout settings
* fix: events overflow in day cell
* feat: calendar layout settings UI
* feat: layout calendar by another date field
* chore: i18n
* chore: hide the show weekend option
* chore: add popover mutex
* fix: clear existing events before adding new ones
---------
Co-authored-by: nathan <nathan@appflowy.io>
- drop down button gives the default icon
- set auto focus true in dropdown button
- add padding to dropdown button
- change edgeIsets.only(left,right) to edgeInsets.symmetric(horizontal)
* fix(appflowy_flutter): Version Reset Error
- `flutter channel stable` was causing the FlutterSDK to upgrade to it's
latest version.
- Added code to fix this behaviour.
- Tested on Windows and Linux.
* fix(app_flowy): Error in MacOS script
- Replace `-P` with `-E` which should now work as expected in Mac devices.
* fix(app_flowy): Commit Structure
- Fixed Commit Structure
* fix: path reset
Now we move back to cwd after making changes
* chore: change to LF from CTLF
---------
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
* fix: #1976 Adding a cover image via upload doesn't work
* fix: #1973 Using the mouse to highlight text very easy to miss the first letter
* fix: #1962 Disable but still show the AI assistants icon in the toolbar menu when an OpenAI key is not provided
* fix: #1964 Text on the UI
* fix: #1966 the loading icon too close to the edge
* fix: #1967 the summarize feature generates duplicate answers
* fix: flutter analyze
* 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
* chore: add tauri clean
* chore: save offset top of nav items
* chore: move constants
* fix: nav item popup overflow
* fix: page rename position
* chore: remove offset top
* chore: remove floating menu functions
* chore: scroll down to new page
* chore: smooth scroll and scroll to new folder
* fix: breadcrumbs
* chore: back and forward buttons nav scroll fix
* chore: get board groups and rows
* chore: set log level & remove empty line
* fix: create kanban board row
* fix: appflowy session name
---------
Co-authored-by: ascarbek <ascarbek@gmail.com>
* feat: Initialize appflowy block data and render block list
* feat: Implement column layout rendering
* feat: Implement list redering
* feat: Cache block rect info
* fix: The input chars will repeated when inputting Chinese
* fix: Remove unnecessary fields in the block and encapsulate the block manager
* fix: fix ts error
* 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>