* Fixed Italics via Single Asterisk
* Changed shift+asterisk to *
* Mardown Syntax Function vaiable name changes + cleanup
* feat: single asterisk to italic markdown command
---------
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
* chore: update color scheme for dark mode
* chore: update dark color scheme
1. update the background color for side bar, surface and divider in dark mode
2. comment out dandelion and lavender theme temporarily
* chore: update top bar BGcolor and icon color
* chore: update text color
* chore: update share button color on the top bar
* chore: add tooltip theme data in global
* chore: add hint and tertiary color and update font size pop up menu style
* chore: update all the semibold texts color
* chore: update all the hover color
* chore: update setting BG color
* chore: add FlowySvg to get the icon color through current theme
1. Add FlowySvg widget
2. Update all the icons those have hover effect to FlowySvg
3. Recover shader1 for the text color when it is in hovered
* chore: update side bar UI
1. Update AddButton hover style
2. Update MenuAppHeader icon color and its hover style
3. Update NewAppButton(New page) font color
4. Update MenuUser username font color
* chore: update SettingsDialog style in dart mode
1. Update title and text color
2. Update the hover color on FlowyTextButton
3. Update the LanguageSelectorDropdown background color and hover enter color
* chore: update NewAppButton icon in dark mode
* chore: update default icon color
* chore: rename the hover color and update ViewSectionItem hover color from default theme color
* chore: add question bubble background color
* chore: update cover image button color
* chore: remove fixed icon color on _AddCoverButton
* chore: put Dandelion and Lavender color scheme back with basic modification
* fix: delete unused import files and deprecated field
* chore: add comma and put color back
* chore: update AppFlowyPopover background color
* chore: remove the hover color on primary and secondary button
* chore: update shadow color in dark mode
* chore: update SettingsMenuElement hover effect
* chore: update the text color in DropdownMenuItem
* 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>
* 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>