* feat: support importing database raw data
* feat: verify import database test
* test: fix test
* ci: update integration test ci config
* ci: codecov with os flag
* ci: update docker command
* ci: update docker command
* ci: update docker command
* ci: update docker command
* test: add filter test
* chore: create orphan view handler
* feat: save icon url and cover url in view
* feat: implement emoji picker UI
* chore: config ui
* chore: config ui again
* chore: replace RowPB with RowMetaPB to exposing more row information
* fix: compile error
* feat: show emoji in row
* chore: update
* test: insert emoji test
* test: add update emoji test
* test: add remove emoji test
* test: add create field tests
* test: add create row and delete row integration tests
* test: add create row from row menu
* test: document in row detail page
* test: delete, duplicate row in row detail page
* test: check the row count displayed in grid page
* test: rename existing field in grid page
* test: update field type of exisiting field in grid page
* test: delete field test
* test: add duplicate field test
* test: add hide field test
* test: add edit text cell test
* test: add insert text to text cell test
* test: add edit number cell test
* test: add edit multiple number cells
* test: add edit checkbox cell test
* feat: integrate editor into database row
* test: add edit create time and last edit time cell test
* test: add edit date cell by selecting a date test
* chore: remove unused code
* chore: update checklist bg color
* test: add update database layout test
---------
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
* fix: launch url in url cell
* fix: can't input url in Grid
* feat: support selecting or deselecting all items in export page
* fix: remove the circle shape
* fix: light mode toolbar color
* chore: update language and adjust the launch page
* feat: support align and upgrade appflowy_editor
* chore: try to fix linux analyze error
* fix: error after inserting callout block
* feat: add inline board / grid plugin
* feat: refactor insert_page
* fix: ref view in document
* chore: add asset name and description to option align type
* fix: linux flutter analyze
* chore: disable file export and log
* fix: the window always back to center after relaunching
* fix: potential data lost in nested list
* feat: re-design login page
* fix: can't remove background color
* chore: rename bundle id and change the macos app to non sandbox app
---------
Co-authored-by: nathan <nathan@appflowy.io>
* fix: create a new document
* fix: the banner don't show after deleteing the page
* fix: inserting a divider through the slash menu the cursor should stay active in the next line
* fix: the overlay doesn't dismiss after selecting a page
* fix: typo
* fix: delete the page in document if it has been deleted
* chore: l10n
* chore: rename events
* ci: rm install_diesel in ci
* fix: cover color not working
* ci: fix tauri build
---------
Co-authored-by: nathan <nathan@appflowy.io>
* feat: public the json to document data pb api
* test: add test for convert_data_to_document_internal
* chore: apply review suggestion
* chore: update folder path
* chore: show default user name
* chore: update
* feat: change collab storage type after auth type changed
* chore: reload folder
* chore: initial the group controller if need
* chore: update patch
* chore: update patch ref
* chore: send DateCellDataPB instead of timestamp
* chore: separate event card into own widget
* chore: add hover effect to event card itself
* feat: draggable event cards
* feat: drag target WIP
* chore: revert "chore: send DateCellDataPB instead of timestamp"
This reverts commit 1faaf21c6a50ac67da70ddf3bcfa8278ca5963d4.
* chore: remove timezone from date cell data
* fix: #2498 open calendar event faster
* chore: remove unused timezone
* feat: implement logic for rescheduling events
* fix: reschedule doesn't show up on UI
* fix: reorganize gesture detection layering
* fix: layout fix
* test: fix date single sort test
* chore: remove unused chrono-tz
* chore: add hint to unscheduled event popover
* chore: apply suggestions to 3 files
* fix: #2569 fix overflow
* chore: add timezone data to DateTypeOption
* test: make date tests run on Etc/UTC timezone
* chore: fix clippy warnings
* fix: use the right get db function
* chore: code cleanup
* test: run tests in utc
* test: fix tests
---------
Co-authored-by: nathan <nathan@appflowy.io>
This commit addresses the feature request to save the window size settings.
The application will now remember the user's preferred window size, allowing
for a more personalized and seamless user experience.
Fixes: #2544
Co-authored-by: Akarsh Jain <akarsh.jain.790@gmail.com>
* fix: revert remove action container space in mobile
* fix: setup the background color of the slash menu when clicking the add button
* fix: #2634 Visual bug in divider between main editor area and top area
* fix: v0.2 bugs
* feat: implement auto scroll when selection updated
* chore: update intl
* fix: invalid index when insert row
* fix: auto fill 0 in front of number start with .
* fix: #2591
* chore: split the update at and create at test
* chore: fix tauri build
* chore: upgrade flutter and dart
* ci: upgrade flutter in cicd
* fix: remove textstyle_extensions from flowy_infra
* ci: upgrade flutter in cicd
* fix: update flutter.toml
* fix: deprecations and ffi
* fix: move json_annotation to dependencies
Must have accidentally moved it to dev_dependencies when upgrading dependencies
* fix: update editor ref and use fold
* chore: try with generate true
* feat: created at and updated at field type
* style: context for rust asserts, change checks in flutter
* fix: mistake in if condition
* style: add comma end of array
* feat: created at and updated at field type
* fix: typo in const variable
* style: cargo fmt
* refactor: opti cell insert
* chore: remove redundant clone
* refactor: date type option
* fix: tauri build
---------
Co-authored-by: nathan <nathan@appflowy.io>
* feat: integrate supabase auth service
* chore: ignore the sercet
* feat: separate and inject the auth service
* chore: integrate auth service into sign in/up page
* feat: integrate github and google sign in
* chore: update user trait
* feat: box any params in UserCloudService trait
* feat: add flowy-server crate
* refactor: user trait
* docs: doc ThirdPartyAuthPB
* feat: server provider
* feat: pass the uuid to rust side
* feat: pass supabase config to rust side
* feat: integrate env file
* feat: implement login as guest
* feat: impl postgrest
* test: use env
* chore: upper case key
* feat: optimize the file storage
* fix: don't call set auth when user login in local
* docs: add docs
* feat: create/update/get user using postgrest
* feat: optimize the login as guest
* feat: create user workspace
* feat: create user default workspace
* feat: redesign the setting path location page
* feat: use uuid as view id
* feat: send auth info to rust backend
* fix: sign up
* fix: skip to wrong page after login
* fix: integrate test error
* fix: indent command error
* feat: add discord login in type
* fix: flutter analyze
* ci: fix rust tests
* ci: fix tauri build
* ci: fix tauri build
---------
Co-authored-by: nathan <nathan@appflowy.io>
* feat: update editor
* feat: integrate new editor
* feat: integrate the document2 into folder2
* feat: integrate the new editor
* chore: cargo fix
* chore: active document feature for flowy-error
* feat: convert the editor action to collab action
* feat: migrate the grid and board
* feat: migrate the callout block
* feat: migrate the divider
* chore: migrate the callout and math equation
* feat: migrate the code block
* feat: add shift + enter command in code block
* feat: support tab and shift+tab in code block
* fix: cursor error after inserting divider
* feat: migrate the grid and board
* feat: migrate the emoji picker
* feat: migrate openai
* feat: integrate floating toolbar
* feat: migrate the smart editor
* feat: migrate the cover
* feat: add option block action
* chore: implement block selection and delete option
* feat: support background color
* feat: dismiss color picker afer setting color
* feat: migrate the cover block
* feat: resize the font
* chore: cutomsize the padding
* chore: wrap the option button with ignore widget
* feat: customize the heading style
* chore: optimize the divider line height
* fix: the option button can't dismiss
* ci: rust test
* chore: flutter analyze
* fix: code block selection
* fix: dismiss the emoji picker after selecting one
* chore: optimize the transaction adapter
* fix: can't save the new content
* feat: show export page when some errors happen
* feat: implement get_view_data for document
---------
Co-authored-by: nathan <nathan@appflowy.io>
* feat: show unscheduled events in calendar toolbar (#2411)
* refactor: use same show row detail function
* fix: adjust popover offset
* feat: show unscheduled events in toolbar
* chore: apply suggestions from Xazin
* refactor: refactor list item into separate widget
---------
Co-authored-by: Nathan.fooo <86001920+appflowy@users.noreply.github.com>
* fix: default include time (#2444)
* fix: default include time
* chore: clarify logic and add comments
* chore: bump version 0.1.4 (#2455)
* chore: Update README.md
Update product screenshots
* fix: wrong day of week (#2468)
* feat: select which properties to show in calendar (#2482)
* feat: improve sidebar item dragged appearance (#2471)
* fix: show delete icon for document icon properly (#2475)
* feat: add hover effect on an event card (#2487)
* chore: delete unncessary openCard method in RowCardContainer
* chore: delete unnessary code and add comment
* chore: update editor v0.1.12 and format the readme (#2489)
* fix: number sort (#2507)
* bump version 0.1.5 (#2506)
* chore: bump version 0.1.5
* fix: could not trigger slash menu after inserting an emoji
* Revert "feat: add hover effect on an event card (#2487)"
This reverts commit f0a4b4b77d.
* feat: add hover effect on an event card
* fix: #2469 duplicated cover
* chore: update changelog.md (#2510)
* chore: Update README.md
Add a screenshot of the calendar view
* fix: some regressions
---------
Co-authored-by: Nathan.fooo <86001920+appflowy@users.noreply.github.com>
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
Co-authored-by: Annie <anqi.annie.wang@gmail.com>
Co-authored-by: Yijing Huang <hyj891204@gmail.com>
* chore: remove unused fields
* chore: rewrite date logic
* chore: apply suggestions from Alex
* chore: add space in date format
* chore: re-add error handling in apply-changeset
* feat: insert below and replace in smart-edit highlights text
* test: added integration tests to validate insert below and replace in smart-edit highlights text
* refactor: using get_it to inject OpenAiRepository to inject mock repo in test
* fix: delete node does not propagate non null selection
* refactor: suggested changes and fixed bugs causing warning in github-ci
* fix: integration tests causing error in github-ci
* refactor: reverting redundant changes due to recent changes in repo
* refactor: reverting redundant changes due to recent changes in repo
* refactor: refactoring to workspace based integration testing.
* refactor: reverting redundant changes due to recent changes in repo
* chore: fix analysis issues
* chore: fix analysis issues
* chore: remove the unnecessary conversion
---------
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
* feat: Only show the change cover button and delete button when it's hovering.
* feat: Only show the change cover button and delete button when it's hovering
---------
Co-authored-by: gitstart <gitstart@users.noreply.github.com>
* chore: grid row page detail update
* chore: update row_detail.dart
Co-authored-by: Alex Wallen <wallenstephen@outlook.com>
* chore: more adaptive and code cleanup
* feat: duplicate row
* feat: duplicate calendar event
* fix: ci
* feat: show other options
* fix: show include time
* fix: add key in RowCard to avoid incorrect data when open the row page
---------
Co-authored-by: Alex Wallen <wallenstephen@outlook.com>
Co-authored-by: nathan <nathan@appflowy.io>
* chore: make editor style adapt to theme data and add toolbar color
* chore: link to local path
* chore: add pop up menu style
* chore: link to editor main branch
* chore: reset editor path
* chore: upgrade appflowy_editor
---------
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
* fix: put original borderRadius back to FieldCellButton
* chore: remove the border of card when it is in dark mode
* chore: update NavigatorTextFieldDialog style and organize Insets
* chore: delete unnecessary nullable field
* chore: Update the hover effect in FieldCellButton and CreateFieldButton
* chore(grid): improve grid page UI
1. Update lightGreyHover in AFThemeExtension
2. Comment out dandelion and lavender temporary
3. Add text color in AFThemeExtension
4. Update NavigatorAlertDialog title color
* chore: update the background color of auth page
* chore: update UI in Select option cell
* chore: update date cell UI
* chore: update checklist UI
* chore: comment out temporary
* chore: update multi select and URL UI
* chore: update scroll bar color
* chore: update sort and filter UI
* chore: rename default theme and put dandelion&lavender theme back
* chore: update new app svg file
* feat: add archive for compression
* feat: add service to manage zipped work spaces
* feat: export service in barrel file
* feat: ignore .ephemeral directory
* feat: add first compressed workspace file
* fix: directory path was wrong
* feat: add a somewhat useful test
* fix: move to same file (delete later)
* fix: use script path vs. working directory for CI
* fix: read from asset bundle instead of file system
* fix: workaround to run integration in multiple files on desktop (flutter/flutter#101031
* feat: remove .ephemeral from .gitignore, no longer created
* feat: document test changes
* fix: lucas suggestion
* feat: mark assets as excluded in pubspec.yaml
* feat: add class for build utilities
* feat: add script runner for release builds
* feat: add build script as task in flowy project
* fix: typo in pubspec.yaml
* chore: use constants for exclude tag
* feat: add appversion as argument to build tool
* feat: use dart script in release.yml
* chore: remove task
* fix: careless error
Co-authored-by: Mihir <84044317+squidrye@users.noreply.github.com>
* feat: add translations for view of
* fix: typo in getAllDatabase
* feat: add view of database
* fix: remove unused import
* fix: use effective dart typing
* fix: insertPage marked as async, should return future
* fix: Remove multi-line string
* fix: ref can be null
* fix: unused imports caused analyzer to fail
* feat: also fix. Add empty document as option and change name to _name
* chore: move referenced database tests to empty document test file
* feat: add test utilities
* feat: add new integration test on an empty document
* feat: register test in runner
* fix: missing reference in insert_page_command
* fix: analyzer errors
---------
Co-authored-by: Mihir <84044317+squidrye@users.noreply.github.com>
* chore: upgrade appflowy_editor_plugins and flowy_infra
* feat(appflowy_flutter): upgrade dependence and delete unused import files
* fix(appflowy_flutter): fix SvgPicture upgrade issue
update color to colorFilter: apply mask color when the color is not null
* feat(appflowy_editor): updateflutter_svg version
* chore: flutter analyze
* chore: update to 3.7.5 in github action
* chore: update to 3.7.5 in github action(integration test)
* chore: update appflowy_editor to 0.1.2
* chore: delete appflowy_editor_test.yml under appflowy
* chore: update the flutter version in github action
* docs: update flutter badge image
* chore: update flutter version in scripts
* chore: update appflowy editor to the latest release
* chore: fix flutter analyze
* chore: update integration_test.yml
---------
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
Co-authored-by: Nathan.fooo <86001920+appflowy@users.noreply.github.com>
* fix: added support for navigating reference board/grid menu using keyboard keys
* refactor: made some minor changes according to reviews
* refactor: replaced loading logic with future builder
* feat: add image delete in document cover
* fix: amend according to review comments
* fix: add initCompleter.future before using prefs
* fix: show delete button on hover in CoverImageGrid
* feat: hover color on clear all and delete button
* Merge branch 'main' into feat/delete-cover-image
* fix: font color in clear all button in changecover
* chore: add Clear All button fill color
---------
Co-authored-by: Yijing Huang <hyj891204@gmail.com>
* 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
* 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>
* 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: #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
* 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>
- 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