Commit Graph

3143 Commits

Author SHA1 Message Date
ascarbek
43cafdd524 fix: change to url error 2023-04-09 21:15:29 +06:00
ascarbek
2d85afe168 chore: HOC popup window 2023-04-09 20:13:53 +06:00
ascarbek
44585079b6 chore: import reorganize and edit option on grid 2023-04-09 18:38:18 +06:00
Mike Abebe
a33fc3dd60 feat/implement field options edit and change field option type functionality 2023-04-09 14:34:32 +03:00
Aman Negi
4d56b42b83
fix: Generalized Color Format (#2221) 2023-04-08 21:28:35 -10:00
ascarbek
e3b7864a91 chore: edit option name and color 2023-04-07 22:03:40 +06:00
ascarbek
6bbf6873d6 chore: edit cell options wip 2023-04-07 21:02:04 +06:00
Mike Abebe
bc9b1a5c33 fix: change grid type import 2023-04-07 14:51:16 +03:00
ascarbek
8b68b1390c Merge branch 'feat/tauri-kanban-fixes' into feat/tauri-grid 2023-04-07 17:39:18 +06:00
ascarbek
915494761a chore: close on esc 2023-04-07 17:25:04 +06:00
ascarbek
e467481b75 chore: group popup 2023-04-07 16:52:34 +06:00
ascarbek
c3a7f94cb3 chore: board toolbar 2023-04-07 16:22:11 +06:00
Lucas.Xu
ad68e61025
feat: #2209 remove the appflowy_editor from AppFlowy repo (#2211) 2023-04-07 10:31:37 +08:00
Alex Wallen
ae2146f427
[feat] add theme for snackbar (#2194)
* feat: add default snackbar theme

* fix: since FlowyText overrides textTheme, supply color to widget
2023-04-06 16:15:02 -10:00
ascarbek
033a231b67 chore: board title and show icons on design page 2023-04-06 15:38:50 +06:00
ascarbek
d2b0f7e6b0 chore: imports optimise 2023-04-06 14:46:49 +06:00
Yijing Huang
72dac29b80
fix: fix nested path (#2204) 2023-04-05 17:39:29 -05:00
Alex Wallen
70d5d8fc45 fix: analyzer warnings 2023-04-05 10:48:07 -10:00
ascarbek
0c211188f0 Merge branch 'upstream-develop' into feat/tauri-kanban-fixes 2023-04-05 21:35:20 +06:00
Mike Abebe
4f08654fc3 feat/add new field functionality done 2023-04-05 17:25:07 +03:00
Mike Abebe
db1184ff0d feat/add row functionality done 2023-04-05 17:13:52 +03:00
Mike Abebe
764ec73e94 feat/integrate number to grid 2023-04-05 16:56:59 +03:00
Mike Abebe
4d5a3ee13d feat/integrate url to grid 2023-04-05 16:07:15 +03:00
ascarbek
034d4d9bf4 chore: return database rows on open 2023-04-04 17:23:15 +06:00
ascarbek
ed977868cf Merge branch 'feat/tauri-move-fields' into feat/tauri-grid
# Conflicts:
#	frontend/appflowy_tauri/src/appflowy_app/components/_shared/EditRow/DatePickerPopup.tsx
#	frontend/appflowy_tauri/src/appflowy_app/components/_shared/EditRow/EditCellWrapper.tsx
#	frontend/appflowy_tauri/src/appflowy_app/components/_shared/EditRow/EditCheckboxCell.tsx
#	frontend/appflowy_tauri/src/appflowy_app/components/_shared/EditRow/EditRow.tsx
#	frontend/appflowy_tauri/src/appflowy_app/components/board/BoardCell.tsx
#	frontend/appflowy_tauri/src/appflowy_app/stores/effects/database/database_bd_svc.ts
#	frontend/appflowy_tauri/src/appflowy_app/stores/effects/database/database_controller.ts
2023-04-04 17:16:05 +06:00
Mike Abebe
8ccc2414c8 feat/integrate checkbox to grid 2023-04-04 13:03:58 +03:00
Mike Abebe
6977e5e65c feat/integrate single select options to grid 2023-04-04 12:50:33 +03:00
Mike Abebe
e38398e235 feat/integrate single select options to grid 2023-04-04 12:46:39 +03:00
nathan
b8ade5af12 chore: Merge branch 'main' into develop 2023-04-04 14:40:13 +08:00
Mike Abebe
da45531801 feat/show edit popup on expand icon click 2023-04-04 09:23:21 +03:00
Nathan.fooo
ddd3fbb178
fix: tauri folder display (#2176)
* fix: tauri folder display

* refactor: rename layout type
2023-04-04 14:08:50 +08:00
Yijing Huang
994332218e
feat: Improve dark mode in grid page (#2160)
* 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
2023-04-04 12:51:26 +08:00
Alex Wallen
e2009c063b
feat: Create a "view" for all database references in a document (#2083)
* 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>
2023-04-04 12:50:22 +08:00
Yijing Huang
231fd38298
chore: update to Flutter 3.7.5 (#2000)
* 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>
2023-04-04 12:48:56 +08:00
Nathan.fooo
e1c8135f5d
refactor: folder with yrs
* feat: try using folder2

* feat: update

* feat: implement handlers

* fix: compile errors

* chore: add unsafe send + sync

* feat: remove unsafe impl

* fix: replace folder with foler2

* chore: dart compile errors

* test: fix test

* test: fix test

* test: bypass existing tests

* feat: open latest view

* chore: fix dart warnings

* chore: config notification

* fix: folder notification  bugs

* fix: doesn't open the new view after creating

* chore: rename struct

* refactor: user id

* test: fix test

* chore: remove unused user_id

* fix: fix read workspace views

* chore: rename appflowy data folder

* chore: update ref

* fix: tauri build
2023-04-04 08:41:16 +08:00
ascarbek
2f2736df20 chore: save and get checkbox cell 2023-04-03 21:33:33 +06:00
ascarbek
2c13cccb4f chore: save and get date cell 2023-04-03 21:07:59 +06:00
Samiksha Garg
cf93e92e64
fix: support for arrow key and tab selection in referenced board/grid (#2165)
* 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
2023-04-03 19:05:34 +08:00
Peterson Nwoko
ddca659c77
feat: adding number feature to toolbar (#2077) 2023-04-03 13:04:01 +08:00
HY
34799dfdf5
feat: Add more translations in Chinese(Traditional) (#2154) 2023-04-03 12:53:54 +08:00
GouravShDev
5ad00c041f
[feat]: add image delete in document cover (#2111)
* 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>
2023-04-03 11:12:24 +08:00
Mathias Mogensen
e8c6650d55
fix: improve quick start layout (#2136)
* fix: improve quick start layout

Closes: #2105

* fix: amend padding for quick start button
2023-04-03 10:57:59 +08:00
Nathan.fooo
cb149ec73d
test: add save date cell and checkbox cell (#2167)
* test: add save date cell and checkbox cell

* chore: add move field test

* ci: fix tauri build
2023-04-03 09:26:12 +08:00
Askarbek Zadauly
fe524dbc78
feat: move kanban blocks (#2022)
* 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

* chore: import beautiful dnd

* bug: kanban new row

* chore: update refs

* fix: dispose group controller

* fix: dispose cell controller

* chore: move rows in group

* chore: move row into other block

* fix: groups observer dispose

* chore: dnd reordering

* chore: fix import references

* chore: initial edit board modal

* fix: kanban board rendering

* chore: add column and edit text cell

* chore: column rename

* chore: edit row components reorganize

* chore: don't show group by field

* wip: edit cell type

* chore: fade in, out

* chore: change field type

* chore: update editing cell

* chore: fade in change

* chore: cell options layout

* fix: padding fixes for cell wrapper

* fix: cell options positions

* chore: cell options write to backend

* fix: select options for new row

* chore: edit url cell

* chore: language button

* fix: close popup on lang select

* fix: save url cell

* chore: date picker

* chore: small code cleanups

* chore: options in board

* chore: move fields dnd

---------

Co-authored-by: nathan <nathan@appflowy.io>
Co-authored-by: Nathan.fooo <86001920+appflowy@users.noreply.github.com>
Co-authored-by: appflowy <annie@appflowy.io>
2023-04-02 20:54:39 +08:00
ascarbek
7970e7fae3 fix: gridpage error 2023-03-31 20:03:44 +06:00
ascarbek
75f7b9765d chore: edit grid row 2023-03-31 19:51:30 +06:00
ascarbek
ac2a0c5b91 Merge branch 'feat/tauri-kanban' into feat/tauri-grid
# Conflicts:
#	frontend/appflowy_tauri/src/appflowy_app/components/_shared/EditRow/EditCellText.tsx
#	frontend/appflowy_tauri/src/appflowy_app/components/_shared/EditRow/EditCellWrapper.tsx
#	frontend/appflowy_tauri/src/appflowy_app/components/_shared/EditRow/EditFieldPopup.tsx
#	frontend/appflowy_tauri/src/appflowy_app/components/_shared/EditRow/EditRow.tsx
#	frontend/appflowy_tauri/src/appflowy_app/components/_shared/database-hooks/useCell.ts
#	frontend/appflowy_tauri/src/appflowy_app/components/_shared/database-hooks/useRow.ts
#	frontend/appflowy_tauri/src/appflowy_app/components/board/BoardTextCell.tsx
2023-03-31 19:30:53 +06:00
Yijing Huang
9fff00f731
Fix: Null check error in FlowyHoverContainer (#2148)
* fix: fix null check error in FlowyHoverContainer and delete unnecessary widget

* chore: set child to required in FlowyHoverContainer

* chore: delete unused import file
2023-03-31 10:10:10 +08:00
Alex Wallen
fc004c319b
Merge pull request #2133 from gitstart/FLOWY-OSS-5
fix: Replace `Shortcuts` icon in the help menu option to fix misalignment
2023-03-30 09:44:39 -10:00
ascarbek
c7acf9a594 chore: move fields dnd 2023-03-30 18:44:16 +06:00
ascarbek
d1d667c497 chore: options in board 2023-03-30 16:32:37 +06:00
ascarbek
b21ed2488b chore: small code cleanups 2023-03-30 16:02:12 +06:00
GitStart
37f9134ee2 fix: Replace Shortcuts icon in the help menu option to fix misalignment 2023-03-30 06:08:11 +00:00
Destiny Saturday
4bea2b4b54
fix: referenced grid keywords (#2139) 2023-03-30 07:02:34 +01:00
Destiny Saturday
55dc3c620f
fix: referenced board keyword (#2139) 2023-03-30 06:49:33 +01:00
Jonathan Rufus Samuel
826a5787d0
fix: Fixed Italics via Single Asterisk (#2115)
* 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>
2023-03-30 11:18:58 +08:00
Lucas.Xu
7f11584b58
chore: sync 0.1.2 (#2135) 2023-03-30 10:09:15 +08:00
Yijing Huang
8541ca8bec
Feat(appflowy_flutter): dark mode improvement for generic area/widgets (#2099)
* 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
2023-03-30 09:44:37 +08:00
ascarbek
03eaf0b4cb chore: date picker 2023-03-30 03:29:23 +06:00
Samiksha Garg
bdf7f37dc5
feat: improved tooltip of toolbar items (#2132) 2023-03-29 16:12:01 +08:00
ascarbek
b9e49f109d fix: save url cell 2023-03-29 13:30:42 +06:00
ascarbek
b03b2705f0 Merge branch 'upstream-main' into feat/tauri-kanban 2023-03-29 13:18:07 +06:00
Nathan.fooo
a593c56070
fix: tauri cell update (#2124)
* test: subscribe text cell change

* test: add edit url cell test
2023-03-28 16:42:16 +08:00
Lucas.Xu
7b61ed228f
fix: bold tests failed (#2122) 2023-03-28 16:30:26 +08:00
Lucas.Xu
6ee54d6194
fix: #2125 _AssertionError !_positions.contains(position): is not true (#2126) 2023-03-28 15:26:35 +08:00
Nathan.fooo
f9ab6da4a3
fix: update calendar selected range (#2123) 2023-03-28 14:27:14 +08:00
Mathias Mogensen
5ef91a8157
fix: settings dialog files path copy snackbar (#2114) 2023-03-28 13:46:49 +08:00
Nathan.fooo
9dc8e9d934
fix: modify same database by duplicate view (#2121) 2023-03-28 12:57:35 +08:00
ascarbek
521fe13cfb fix: close popup on lang select 2023-03-27 19:28:26 +06:00
ascarbek
09445411a3 chore: language button 2023-03-27 19:09:51 +06:00
ascarbek
f86254c8ef chore: edit url cell 2023-03-27 18:42:23 +06:00
qinluhe
03cd9a6993
Refactor tauri document (#2117)
* 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
2023-03-27 17:55:24 +08:00
qinluhe
35c21c0d84 refactor: document component 2023-03-27 14:40:07 +08:00
Aman Negi
2a55febe62
fix: Update app version in pubspec.yaml (#2104)
* fix: Update app version in `pubspec.yaml`

* fix: Remove Build Number

- Removed unnecessary build number mentioned in the `pubspec.yaml`
2023-03-27 12:48:26 +08:00
Mathias Mogensen
d62493ce01
fix: dropdown state unchanging after file reset (#2109) 2023-03-27 12:48:07 +08:00
Mathias Mogensen
c73b7d1184
fix: allow # in links when pasting (#2110)
Closes: #1871
2023-03-27 12:47:41 +08:00
Akheel Muhammed
5afdb5de35
Fix: #2028 auto enter edit mode for text field. (#2096)
* chore(): initial commit to make AppFlowy Work

Signed-off-by: not-shoyo <akheelsaajid@gmail.com>

* fix: #2028, fix auto-entering edit mode

Make text field request for focus when popover changes.

Signed-off-by: not-shoyo <akheelsaajid@gmail.com>

* Update section.dart

* Update input_service.dart

* Update input_service.dart

* Update input_service.dart

---------

Signed-off-by: not-shoyo <akheelsaajid@gmail.com>
2023-03-27 12:47:22 +08:00
Om Gujarathi
f40d1a9a96
fix: double asterisk to bold fixes #2080 (#2093)
* fix: double asterisk to bold fixed

* double asterisk to bold fixed
2023-03-27 10:20:21 +08:00
Mihir
f9a1cb2623
fix: open-ai replace does not work in certain use-cases (#2100)
* 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>
2023-03-27 10:20:01 +08:00
ascarbek
c50c23bc3a fix: select options for new row 2023-03-27 02:58:12 +06:00
ascarbek
a8a35dcbec chore: cell options write to backend 2023-03-27 02:39:15 +06:00
ascarbek
f390658ee0 fix: cell options positions 2023-03-27 01:12:03 +06:00
ascarbek
994e204097 fix: padding fixes for cell wrapper 2023-03-27 01:09:38 +06:00
ascarbek
5825195b8e chore: cell options layout 2023-03-27 00:59:49 +06:00
qinluhe
df66521f13 refactor: document data and update 2023-03-25 17:38:58 +08:00
Mike Abebe
8323614583 feat: write grid cell data to backend for only text fieldtype 2023-03-25 11:54:04 +03:00
ascarbek
5762419aae chore: fade in change 2023-03-24 20:56:48 +06:00
ascarbek
bd8d816862 chore: update editing cell 2023-03-24 20:53:45 +06:00
ascarbek
5ddb5100ad chore: change field type 2023-03-24 20:20:56 +06:00
ascarbek
27a8eea6e2 chore: fade in, out 2023-03-24 20:02:52 +06:00
ascarbek
6e24af9c68 tempfix: rows misfire temp fix 2023-03-24 18:24:28 +06:00
ascarbek
da19987f4b wip: edit cell type 2023-03-24 17:56:53 +06:00
ascarbek
6f4b11f468 chore: don't show group by field 2023-03-24 13:28:30 +03:00
ascarbek
98e9ba19d6 chore: edit row components reorganize 2023-03-24 13:28:30 +03:00
ascarbek
4545410703 chore: column rename 2023-03-24 13:28:30 +03:00
ascarbek
c453d734ab chore: add column and edit text cell 2023-03-24 13:28:30 +03:00
ascarbek
0719f54dec chore: initial edit board modal 2023-03-24 13:28:30 +03:00
Lucas.Xu
1536cdd15a
feat: trigger shortcut event by character (#2101) 2023-03-24 16:57:35 +08:00
qinluhe
7781b912f0 feat: add left tool when hover on block 2023-03-24 16:51:07 +08:00
qinluhe
c6c97f7c83 feat: the feature of delete block 2023-03-24 16:51:07 +08:00
qinluhe
a38c213744 fix: Optimize the re-render node when the selection changes 2023-03-24 16:50:59 +08:00
Mike Abebe
073adf6268 feat/integrate table with backend 2023-03-23 13:29:30 +03:00
Gunjan Lunkad
3039f0427f
fix : Code block parser implementation (#2046)
* fix: Code block implementation

* fix: Added test to cover CodeBlock

* fix: typos

* fix: Code block implementation

* fix: typos
2023-03-23 16:30:52 +08:00
ascarbek
d05cc4005b chore: don't show group by field 2023-03-23 00:54:28 +06:00
ascarbek
da1ee430b0 chore: edit row components reorganize 2023-03-23 00:07:17 +06:00
ascarbek
13e9b29eef chore: column rename 2023-03-23 00:04:51 +06:00
ascarbek
c0c302bdfd chore: add column and edit text cell 2023-03-22 19:54:42 +06:00
Lucas.Xu
98f1ac52b4
chore: sync release 0.1.1 (#2075) 2023-03-22 14:49:15 +08:00
Mike Abebe
5da5d92b8a fix/move grid view options to dropdown 2023-03-22 08:51:27 +03:00
Muhammad Rizwan
92878d7e89
Cover plugin widget breakdown 1928 (#2007)
* feat: added emoji and network image support

* fix: code cleanup and improvements

* fix: blank preview on invalid image save

* fix: flutter analyzer warnings

* fix: code refactor and bug fixes

* chore: removed unused imports

* chore: formate code

* chore: widget tree breakdown

* chore: added the deleted code

---------

Co-authored-by: ahmeduzair890 <ahmeduzair12123@gmail.com>
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-03-22 10:46:46 +08:00
qinluhe
8471bc299d
feat: block list virtualized scroll (#2023)
* feat: block list virtualized scroll

* feat: block selection

* refactor: block editor

* fix: block selection scroll

* fix: ts error
2023-03-22 10:46:01 +08:00
Alex Wallen
c6ffc0057c
feat: create a new grid from the document slash menu (#2051)
* feat: new grid from slash menu

* feat: add translation strings

* feat: add integration test

* fix: analyzer errors
2023-03-22 09:55:20 +08:00
squidrye
f49e2571fa test: added tests for key events in selection menu widget 2023-03-21 19:40:53 +05:30
squidrye
10b6b9e5ad refactor: suggested changes 2023-03-21 17:38:22 +05:30
squidrye
5c099297a4 fix: slash menu responds to multiple key events 2023-03-21 16:26:04 +05:30
Nathan.fooo
dc09d67d7c
ci: fix tauri CI (#2040)
* 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
2023-03-21 17:22:47 +08:00
ascarbek
47429e2fd2 Merge branch 'feat/tauri-kanban' into feat/tauri-edit-kanban-row 2023-03-21 11:24:26 +06:00
ascarbek
07b183aef2 Merge remote-tracking branch 'origin/feat/tauri-kanban' into feat/tauri-kanban 2023-03-21 11:22:53 +06:00
ascarbek
dc97912dba fix: kanban board rendering 2023-03-21 11:22:42 +06:00
ascarbek
2825e19465 chore: initial edit board modal 2023-03-21 10:50:59 +06:00
Alex Wallen
b7867bf177
Create a new board from the slash menu (#2018)
* 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
2023-03-21 09:29:17 +08:00
nathan
baa67e2aed chore: fix import references 2023-03-21 08:18:11 +08:00
Destiny Saturday
5672df3b0e
fix: sort hint text typo (#2044) 2023-03-20 22:01:44 +01:00
Sara Tavares
4798467621
chore(typos): fix typos (#1961)
Co-authored-by: Nathan.fooo <86001920+appflowy@users.noreply.github.com>
2023-03-20 21:29:17 +08:00
Richard Shiue
77d787a929
feat: calendar UI improvements (#1941)
* 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>
2023-03-20 21:16:37 +08:00
Samiksha Garg
893aae002e
fix: scrolling selection-menu when it goes out of bound, fixes #2019 (#2035)
* fix: scrolling selection-menu when it goes out of bound

* refactor: added comma as per style guidelines
2023-03-20 21:11:47 +08:00
Sudhanva-Nadiger
81e50b8dd5
feat: add icon to dropdown button in language view (#2031)
- 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)
2023-03-20 18:44:41 +08:00
Nathan.fooo
b21ee5d2de
feat: migration database (#2009)
* feat: migration database

* ci: fix tauri ci

* feat: migrate database view

* ci: fix ci
2023-03-18 06:45:12 +08:00
ascarbek
d60c39d483 chore: dnd reordering 2023-03-17 15:13:51 +06:00
ascarbek
745ee264c8 Merge branch 'upstream-main' into feat/tauri-kanban
# Conflicts:
#	frontend/appflowy_tauri/src/appflowy_app/stores/effects/database/database_bd_svc.ts
2023-03-17 13:22:05 +06:00
ascarbek
4b1f45a4be fix: groups observer dispose 2023-03-17 13:13:04 +06:00
Nathan.fooo
1dbfd838ef
feat: update kanban demo (#2008) 2023-03-17 11:01:14 +08:00
Richard Shiue
0630dc10b7
chore: popover offsets (#1960) 2023-03-17 08:35:11 +08:00
ascarbek
fa427fe650 chore: move row into other block 2023-03-16 18:59:05 +06:00
ascarbek
ab5b40fa51 chore: move rows in group 2023-03-16 18:55:06 +06:00
Nathan.fooo
888c7977eb
fix: paser workspce pb (#2005) 2023-03-16 17:16:15 +08:00
Aman Negi
caffb9fdcf
fix(appflowy_flutter): Flutter Version Reset Error (#1923)
* 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>
2023-03-16 09:41:14 +08:00
ascarbek
60676fdc41 fix: dispose cell controller 2023-03-15 21:42:44 +06:00
ascarbek
96be3c6ebe fix: dispose group controller 2023-03-15 20:19:09 +06:00
appflowy
1d6f74180f chore: update refs 2023-03-15 16:14:36 +08:00
Lucas.Xu
230756d242
fix: #1928 network cover doesn't work (#1996) 2023-03-15 15:47:29 +08:00
ascarbek
6e028c4f64 Merge branch 'upstream-main' into feat/tauri-kanban
# Conflicts:
#	frontend/appflowy_tauri/src/appflowy_app/components/_shared/database-hooks/useCell.ts
#	frontend/appflowy_tauri/src/appflowy_app/components/_shared/database-hooks/useDatabase.ts
#	frontend/appflowy_tauri/src/appflowy_app/components/board/Board.tsx
#	frontend/appflowy_tauri/src/appflowy_app/components/board/BoardBlock.tsx
2023-03-15 11:34:21 +06:00
Muhammad Rizwan
4c0168d7fa
Improvement for cover plugin #1928 (#1981)
* feat: added emoji and network image support

* fix: code cleanup and improvements

* fix: blank preview on invalid image save

* fix: flutter analyzer warnings

* fix: code refactor and bug fixes

* chore: removed unused imports

* chore: formate code

---------

Co-authored-by: ahmeduzair890 <ahmeduzair12123@gmail.com>
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-03-15 13:22:48 +08:00
ascarbek
d92c0bffd6 bug: kanban new row 2023-03-15 11:18:14 +06:00
Mohammad Zolfaghari
7be7c2a7a0
fix: bug on node iterator with nested nodes (#1986)
When we have more than two level nodes nested (as children)
the node iterator misses the first parent, because it goes as
deep as possible at first.
2023-03-14 11:37:42 +08:00
Lucas.Xu
3686eabcb3
fix: release/0.1.1 known issues. (#1984)
* 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
2023-03-14 01:06:08 +08:00
Nathan.fooo
ad5213cfad
feat: get all databases (#1983) 2023-03-14 01:02:54 +08:00
ascarbek
a66d457f10 chore: import beautiful dnd 2023-03-13 17:41:51 +06:00
Nathan.fooo
5a17716fd8
fix: Tauri UI issues (#1980) (#1982)
* 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>
2023-03-13 16:42:45 +08:00
appflowy
88e0f6a32c fix: appflowy session name 2023-03-13 16:09:11 +08:00
appflowy
34cb2b2a09 fix: create kanban board row 2023-03-13 15:57:45 +08:00
appflowy
5fb86c4002 Merge branch 'main' into feat/appflowy_tauri_3 2023-03-13 15:19:12 +08:00
appflowy
25707edbdd chore: set log level & remove empty line 2023-03-13 15:16:41 +08:00
appflowy
85f36ad877 chore: Merge branch 'main' into feat/appflowy_tauri_3 2023-03-13 15:14:11 +08:00
qinluhe
ed2c5c17d8
Feat appflowy list block (#1949)
* 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
2023-03-13 12:04:31 +08:00
Mayur Mahajan
79a43de2d5
chore: changed the link of shortcuts page (#1979) 2023-03-13 09:30:11 +08:00
ascarbek
c80e77ab16 chore: get board groups and rows 2023-03-12 22:29:03 +06:00
ascarbek
a9c8bad599 Merge branch 'upstream-main' into feat/appflowy_tauri_3
# Conflicts:
#	frontend/appflowy_tauri/package.json
#	frontend/appflowy_tauri/src/appflowy_app/components/layout/HeaderPanel/Breadcrumbs.tsx
#	frontend/appflowy_tauri/src/appflowy_app/components/layout/MainPanel.tsx
#	frontend/appflowy_tauri/src/appflowy_app/components/layout/NavigationPanel/NavigationPanel.hooks.ts
#	frontend/appflowy_tauri/src/appflowy_app/components/layout/NavigationPanel/NavigationPanel.tsx
#	frontend/appflowy_tauri/src/appflowy_app/components/layout/NavigationPanel/PageItem.hooks.ts
#	frontend/appflowy_tauri/src/appflowy_app/components/layout/NavigationPanel/PageItem.tsx
#	frontend/appflowy_tauri/src/appflowy_app/components/layout/Screen.tsx
2023-03-12 17:19:06 +06:00
ascarbek
268b6ce926 chore: back and forward buttons nav scroll fix 2023-03-11 20:57:25 +06:00
Yijing Huang
972ef2149c
fix(appflowy_flutter): fix cover image overflow #1916 (#1952)
* fix(appflowy_flutter): fix cover image overflow #1916

* fix(appflowy_flutter): use OverflowBox to fix #1916

* chore: fix misspelling

* fix: prevent the image being overstretched

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-03-11 21:15:34 +08:00
Lucas.Xu
668e1196d1
chore: config tauri web driver test (#1947)
* chore: setup tauri test

* chore: update test

* chore: update test

* chore: update test

* chore: update test

* refactor: test folder location

* chore: remove deps

* ci: fix build

---------

Co-authored-by: appflowy <annie@appflowy.io>
Co-authored-by: nathan <nathan@appflowy.io>
2023-03-11 13:07:31 +08:00
ascarbek
da8c39d0b6 fix: breadcrumbs 2023-03-10 19:50:10 +06:00
ascarbek
7e3273c708 chore: smooth scroll and scroll to new folder 2023-03-10 18:58:14 +06:00
ascarbek
67e396aadf chore: scroll down to new page 2023-03-10 18:33:54 +06:00
ascarbek
6304c7d95b chore: remove floating menu functions 2023-03-10 16:59:11 +06:00
Richard Shiue
688d55e00f
fix: #1942 utc timestamp being parsed as local time (#1953) 2023-03-10 17:33:25 +08:00
Lucas.Xu
40c23b7c7d
Merge pull request #1951 from hyj1204/fix/double_click_title_issue_1324
fix(appflowy_flutter): fix double click title issue #1324
2023-03-10 10:25:46 +07:00
Nathan.fooo
5b4043b805
fix: SelectOptionCellBloc registeration error (#1948) 2023-03-10 09:40:19 +08:00
ascarbek
ad0a6d01d2 chore: remove offset top 2023-03-09 23:04:31 +06:00
ascarbek
f556e50be4 fix: page rename position 2023-03-09 22:54:38 +06:00
Yijing Huang
2368f5dc4a fix(appflowy_flutter): fix double click title issue #1324
double click the title to select all the text on it
2023-03-10 00:24:31 +08:00
ascarbek
593446bffe fix: nav item popup overflow 2023-03-09 22:22:55 +06:00
ascarbek
91e5219627 chore: move constants 2023-03-09 16:12:27 +06:00
ascarbek
2d8182c503 chore: save offset top of nav items 2023-03-09 15:16:41 +06:00
GouravShDev
0dac41b114
chore: add node tests (#1943) 2023-03-09 14:33:12 +08:00
Lucas.Xu
b89c69f294
fix: #1778 (#1946)
* fix: [FR] The text formatting toolbar should appear after the selection #1778

* chore: format code
2023-03-09 14:32:49 +08:00
Richard Shiue
77ff2e987a
chore: include time per cell (#1901)
* 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
2023-03-09 14:25:33 +08:00
Lucas.Xu
5e8f6a53a0
relicense appflowy editor (#1938)
* 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>
2023-03-09 14:15:22 +08:00
qinluhe
1d28bed281
feat: Initialize appflowy block data and render block list (#1940) 2023-03-09 13:52:48 +08:00
Lucas.Xu
21199c04ac
Fix/1936 (#1939)
* fix: [Bug] Code block jump skip blank line

* fix: auto completion interaction

* Revert "fix: [Bug] Code block jump skip blank line"

This reverts commit 5a252bcb18.

* fix: [Bug] Code block jump skip blank line

* fix: number list parse error
2023-03-09 10:10:31 +08:00
Nathan.fooo
d3823eb076
refactor: moving grid widgets used by other database view to upper level folder
* refactor: export UIs in flowy_infra_ui

* refactor: move cells to upper level folder

* refactor: move cell blocs
2023-03-09 09:51:04 +08:00
Nathan.fooo
7106195d8a
Feat/calendar with backend data (#1930)
* chore: enable calendar view

* chore: update database group listener

* refactor: remove board data controller

* refactor: remove group backend service

* refactor: remove calendar controller

* chore: create default calendar setting

* chore: send calednar setting notifications

* refactor: rename the card in kanban board, prepare to reuse in calendar

* refactor: support custom card cell

* chore: return calendar events

* refactor: remove groupId in card, make card more generic

* chore: display cell

* chore: display three cards in calendar

* chore: create calendar card

* refactor: create row with data

* chore: support create event

* ci: fix tauri build

* chore: disable create calendar
2023-03-08 21:19:44 +08:00
Nathan.fooo
90da54d12f
feat: integrate database controller (tauri)
* 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>
2023-03-08 10:59:52 +08:00
Lucas.Xu
e73870e6e2
fix: auto generator bugs (#1934) 2023-03-08 08:58:28 +08:00
ascarbek
0a3231cd9a chore: add tauri clean 2023-03-07 13:28:49 +06:00
ascarbek
aab62f4048 Merge branch 'upstream-main' into feat/appflowy_tauri_3
# Conflicts:
#	frontend/appflowy_tauri/src/appflowy_app/components/TestApiButton/TestGrid.tsx
#	frontend/appflowy_tauri/src/appflowy_app/stores/effects/database/database_controller.ts
2023-03-07 13:25:56 +06:00
Anderson Cardoso
9e235c578e
chore: Update 3: Brazilian Portuguese Localization (#1907)
- 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!
2023-03-07 09:35:04 +08:00
Lucas.Xu
7ff4cecd09
feat: add cover migration for document (#1929)
* feat: add cover migration for document

* fix: should not delete the cover when selecting all

* fix: chinese characters for openai
2023-03-07 09:33:59 +08:00
GouravShDev
675c833f07
feat: add test for appflowy_editor attributes (#1931) 2023-03-07 09:33:35 +08:00
ascarbek
79c1568295 chore: refactor row hook 2023-03-06 20:01:41 +06:00
ascarbek
c8569d3c62 chore: move cell hook into custom cell component 2023-03-06 17:47:37 +06:00
ascarbek
3635b6b63e chore: create cell component for each field type 2023-03-06 17:39:11 +06:00
ascarbek
7ca4da0966 fix: change IDatabaseField fix eslint errors 2023-03-06 16:13:43 +06:00
Aman Negi
d3ee346cb7
docs(appflowy_flutter) : Update Documentation (#1910)
* 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
2023-03-06 14:10:10 +08:00
ascarbek
557a524648 fix: remove warnings 2023-03-06 11:35:23 +06:00
GouravShDev
99f0fad74c
feat: add test for appflowy_editor path (#1926) 2023-03-06 10:37:10 +08:00
ascarbek
88eeb6bd36 fix: post merge fix 2023-03-06 00:01:59 +06:00
ascarbek
d1c29ec3e7 fix: post merge fixes 2023-03-05 23:43:59 +06:00
ascarbek
fb8a81eca5 Merge remote-tracking branch 'origin/feat/appflowy_tauri_3' into feat/appflowy_tauri_3
# Conflicts:
#	frontend/appflowy_tauri/src/appflowy_app/components/layout/NavigationPanel/NavigationPanel.tsx
2023-03-05 23:38:19 +06:00
ascarbek
e297769ac2 fix: highlight active page 2023-03-05 23:34:46 +06:00
ascarbek
543846c241 fix: nav panel and main panel animation on hide menu 2023-03-05 23:22:43 +06:00
ascarbek
84f41cec76 fix: min width for nav panel 2023-03-05 22:28:33 +06:00
ascarbek
3afca2b482 fix: new folder trash overflow 2023-03-05 22:19:46 +06:00
Nathan.fooo
45045beeb9
chore: rename document test (#1925) 2023-03-05 19:19:40 +08:00
Nathan.fooo
7e7cee4bf4
chore: add tauri database group test (#1924)
* chore: add tauri database group test

* chore: add more tests

* chore: enable run all tests

* chore: rename test folder
2023-03-05 16:26:27 +08:00
Nathan.fooo
8e22ef2230
chore: observer app change (#1922) 2023-03-05 16:13:06 +08:00
nathan
b417fb5fdf ci: compile error 2023-03-04 19:27:18 +08:00
Nathan.fooo
0b2dc415af
Merge branch 'feat/appflowy_tauri_3' into feat/appflowy_tauri_3 2023-03-04 19:18:17 +08:00
Nathan.fooo
6aa9ba28d6
Feat/tauri folder (#1921)
* refactor: folders item

* fix: show get stared page if it's not login

* chore: expose debug pages
2023-03-04 16:15:24 +08:00
Nathan.fooo
205b0fc4a5
Fix/tauri login state (#1919)
* fix: redux serializableCheck

* chore: read login state

* fix: show loading page while checking user state

* chore: cell data parser
2023-03-04 11:03:16 +08:00
Nathan.fooo
3f0d3d802a
fix: dart test (#1920) 2023-03-04 08:59:40 +08:00
ascarbek
d0558e4da1 fix: ci warning 2023-03-03 19:18:15 +06:00
Nathan.fooo
0f3c6d6a04
Feat/appflowy tauri 3 (#1914) 2023-03-03 20:38:31 +08:00
ascarbek
7839ad26c4 fix: initially authenticated and serializable fix 2023-03-03 18:37:50 +06:00
ascarbek
075bf8f2fc Merge branch 'upstream-feat/appflowy_tauri_3' into feat/appflowy_tauri_3
# Conflicts:
#	frontend/appflowy_tauri/src/appflowy_app/components/TestApiButton/TestGrid.tsx
2023-03-03 17:17:11 +06:00
ascarbek
11649ef16d chore: (unstable) using controllers 2023-03-03 17:14:58 +06:00
nathan
24340f3091 chore: fix tauri build 2023-03-03 19:06:57 +08:00
Nathan.fooo
59a1910b3c
Refactor/database classes (#1913) 2023-03-03 18:31:30 +08:00
nathan
a2bdb08a84 chore: setup auto login 2023-03-03 17:58:45 +08:00
nathan
47ccfbf4ed chore: add profiling feature 2023-03-03 12:05:52 +08:00
nathan
24bf1c1893 chore: config tokio runtime subscriber 2023-03-03 10:05:19 +08:00
nathan
9b0fccbdda chore: update tokio version 2023-03-03 10:04:53 +08:00
nathan
dcf8fd538d chore: format code 2023-03-02 20:28:46 +08:00
nathan
c35db5c2a2 fix: high cpu usage 2023-03-02 19:47:37 +08:00
Muhammad Rizwan
f1316acfcc
Implement cover plugin 1868 (#1897)
* implement_cover_plugin_#1868

* code cleanup

* fix: CI issue fix

* fix: cover plugin implementation finalized

* fix: localization fixes

* fix: added add cover button

* chore: optimize the cover plugin code

* feat: auto hide the add button and cover buttons when leaving

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-03-02 19:34:22 +08:00
Lucas.Xu
fd41459a30
fix: smart edit bugs (#1911) 2023-03-02 19:34:08 +08:00
ascarbek
08bb4e4116 Merge remote-tracking branch 'origin/feat/appflowy_tauri_3' into feat/appflowy_tauri_3 2023-03-01 18:41:32 +06:00
nathan
2e4df44c29 chore: add get single select type option data 2023-03-01 20:16:25 +08:00
nathan
f58c91fb3f fix: filter notification with id 2023-03-01 19:05:56 +08:00
nathan
fd135fb664 chore: set tracing log to debug level 2023-03-01 18:45:52 +08:00
nathan
c74308999d chore: delete/create row 2023-03-01 18:23:39 +08:00
ascarbek
e5a1bd2c52 chore: change log class arguments 2023-03-01 16:04:51 +06:00
Lucas.Xu
a1a5675875
fix: openai for summarize doesn't work when mutliple selecting (#1904) 2023-03-01 17:38:14 +08:00
nathan
a3f4dfacba chore: add delete field test 2023-03-01 14:17:17 +08:00
nathan
3619fadf57 chore: add edit / create field test 2023-03-01 14:04:59 +08:00
Nathan.fooo
f6957fb160
Feat/appflowy tauri 2 (#1902)
* chore: rename classes to models

* refactor: add effects and reducers folder

* chore: update user data storage path

* chore: subscribe callback

* chore: nav items persist, board layout (#1879)

* chore: load workspace items, load folders and pages from workspace, load raw document data, load raw grid data

* chore: clear folders and pages before load, new folder event

* chore: update folder name backend call

* chore: folder expand animation

* chore: hide arrow on empty folder

* chore: Board page layout, board store, board sample data

* chore: board block item

* chore: test db id

* chore: persist new page, persist page rename, create workspace on read error

* chore: boardblockitem details btn

* chore: boardblockitem multiselect data and colors

* chore: board item drag

* chore: drag start on move

* chore: remove databaseId

* chore: remove databaseId

* chore: import service classes into auth hook

* chore: sign out option

* chore: login page event

* chore: signup event

* chore: make workspace hook to use service

* chore: page and folder hooks use backend services

* chore: new folder use backend service

* chore: error handler page

* chore: try catch hooks to show error page

* chore: install i18n package and use flutters i18n files

* fix: signin signup margin

* chore: fix compile errors

* chore: remove unused codes

* chore: open workspace after user register

* chore: open workspace after user register

* chore: add create grid demo

* chore: load the cell data

* chore: print the cell data

* chore: fix project errors

* fix: tauri UI issues (#1899)

* chore: load workspace items, load folders and pages from workspace, load raw document data, load raw grid data

* chore: clear folders and pages before load, new folder event

* chore: update folder name backend call

* chore: folder expand animation

* chore: hide arrow on empty folder

* chore: Board page layout, board store, board sample data

* chore: board block item

* chore: test db id

* chore: persist new page, persist page rename, create workspace on read error

* chore: boardblockitem details btn

* chore: boardblockitem multiselect data and colors

* chore: board item drag

* chore: drag start on move

* chore: remove databaseId

* chore: remove databaseId

* chore: import service classes into auth hook

* chore: sign out option

* chore: login page event

* chore: signup event

* chore: make workspace hook to use service

* chore: page and folder hooks use backend services

* chore: new folder use backend service

* chore: error handler page

* chore: try catch hooks to show error page

* chore: install i18n package and use flutters i18n files

* fix: signin signup margin

* fix: new page overflow with folder

* fix: sign out button

* fix: sign out icon

* chore: floating navigation panel

* refactor: notify with error

* chore: config window size

* fix: test demo error

* chore: update tests

---------

Co-authored-by: Askarbek Zadauly <ascarbek@gmail.com>
2023-02-28 22:42:41 +08:00
Lucas.Xu
085ef8f668
Feature/smart edit v2 (#1880)
* 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
2023-02-28 14:34:13 +08:00
0x7c01
1945b0fe05
fix: homeMenuResizer position when menu is drawer. (#1896) 2023-02-28 14:33:50 +08:00
Aman Negi
2451d3188c
feat(shortcuts): Add Shortcuts to Help Menu (#1870)
* 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>
2023-02-28 10:38:57 +08:00
Nathan.fooo
4a81fed6e4
fix: group with not support field test (#1890) 2023-02-27 19:00:00 +08:00
dependabot[bot]
bf8e36a08b
chore(deps): bump openssl-src in /frontend/rust-lib (#1886)
Bumps [openssl-src](https://github.com/alexcrichton/openssl-src-rs) from 111.24.0+1.1.1s to 111.25.0+1.1.1t.
- [Release notes](https://github.com/alexcrichton/openssl-src-rs/releases)
- [Commits](https://github.com/alexcrichton/openssl-src-rs/commits)

---
updated-dependencies:
- dependency-name: openssl-src
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 15:40:36 +08:00
Nathan.fooo
61fd608200
Feat/view map database (#1885)
* 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
2023-02-26 16:27:17 +08:00
Richard Shiue
6877607c5e
chore: calendar plugin backend database data (#1884)
* 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>
2023-02-24 16:59:14 +08:00
Lucas.Xu
01a388c1c4
chore: abstract appflowy editor build function to widget (#1878)
* chore: abstract appflowy editor build function to widget

* feat: refactor the editor state to optional
2023-02-24 09:16:51 +08:00
Kristen McWilliam
f4dea31560
fix(network_monitor): add missing case for other network type (#1854)
* 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
2023-02-23 17:07:59 +08:00
Lucas.Xu
b356354cd8
feat: support delete consecutive nodes on backend (#1877) 2023-02-21 19:27:52 +08:00
Nathan.fooo
f76d722b4c
Feat/database view (#1875)
* chore: rename structs

* chore: add todos

* chore: hidden database id

* refactor: add database folder, prepare to extract the view

* refactor: rename grid-model to datbase-model

* ci: fix warnings
2023-02-21 15:47:51 +08:00
Lucas.Xu
346a09b2ae
feat: optimize the open ai input status and clear the auto completion… (#1865)
* feat: optimize the open ai input status and clear the auto completion node when exiting the doc

* fix: import error on appflowy editor
2023-02-21 13:25:46 +08:00
Lucas.Xu
3fd4371d2c
fix: error happens when parsing readme content (#1873) 2023-02-20 18:28:09 +08:00
Nathan.fooo
8a2f5fe789
Feat/tauri database effects (#1863)
* feat: config database view effects

* chore: add tests

* chore: config jest

* chore: config jest windows

* ci: wanrings

* chore: config folder effect
2023-02-19 14:59:04 +08:00
Lucas.Xu
7c3a823078
feat: add openai service (#1858)
* 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
2023-02-16 10:17:08 +08:00
Lucas.Xu
2f9823d12a
fix: wrong icon color for grid and board plugin (#1862) 2023-02-15 19:44:18 +08:00
Mayur Mahajan
ea9d8d03ad
Improve Editing and Navigating shortcuts with Ctrl/Meta (#1845)
* 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
2023-02-15 14:26:18 +08:00
Kristen McWilliam
64902f763b
Add generated Flutter files to gitignore (#1855)
* chore: add generated files to gitignore

* chore: remove gitignored files
2023-02-15 09:46:31 +08:00
Lucas.Xu
72e155f5b9
feat: add open ai key to database (#1852)
* feat: add open ai key to database

* chore: refactor code
2023-02-14 10:04:36 +08:00
Kristen McWilliam
7207e35349
chore: Catch platform errors (#1853)
* 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.
2023-02-14 09:46:25 +08:00
Nathan.fooo
51041f6860
CI: Appflowy tauri ci (#1851)
* chore: add notification parser

* chore: rename classes to models

* refactor: add effects and reducers folder

* chore: update eslint version

* chore: run npx eslint --fix src

* fix: ParserOptions.project error by ignore linting the  .eslintrc.cjs

* ci: add tauri lint

* ci: disable ubuntu and windows tauri ci

* ci: install

---------

Co-authored-by: Annie <anqi.annie.wang@gmail.com>
2023-02-13 19:24:16 +08:00
Mohammad Zolfaghari
59cb4a890a
fix: empty url group bug (#1755)
* 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>
2023-02-13 18:55:03 +08:00
Mayur Mahajan
91b942d319
Pressing tab on a todo creates a sub-todo (#1847)
* feat: add tab for lists

* test: tab for lists
2023-02-13 14:47:52 +08:00
Mayur Mahajan
9c8753b191
feat: add new purple theme (#1693)
* feat: add new purple theme

* refactor: change theme color

* fix: contrast issue

* refactor: change the primary btn color
2023-02-13 10:19:02 +08:00
Lucas.Xu
2f803959e7
feat: #1832 Support to import data from Markdown or Text to Document … (#1840)
* 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
2023-02-13 09:51:24 +08:00
Сергей Ворон
592b918175
chore: Update ru-RU.json (#1843) 2023-02-13 09:48:43 +08:00
Nathan.fooo
6bb1c4e89c
feat: run rustfmt with custom defined fmt configuration (#1848)
* chore: update rustfmt

* chore: apply rustfmt format
2023-02-13 09:29:49 +08:00
Nathan.fooo
e2496e734c
docs: udpate user events (#1846) 2023-02-13 08:21:25 +08:00
Kristen McWilliam
6c895ad4fe
Refactor: app window logic (#1842)
* 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.
2023-02-11 14:16:38 +08:00
Nathan.fooo
8588afcda6
feat: support create document with initial data (#1841) 2023-02-10 22:24:34 +08:00
Nathan.fooo
1ad08ba59d
Feat/appflowy tauri UI (#1835)
* chore: create folders

* chore: setup taliwindcss (#1742)

* chore: create folders

* chore: setup taliwindcss

---------

Co-authored-by: nathan <nathan@appflowy.io>
Co-authored-by: Nathan.fooo <86001920+appflowy@users.noreply.github.com>

* feat: greater to blockquote

* fix: local variable 'text' isn't used

* feat: #1061 Support markdown to create a blockquote

* fix: #1732 the actions of an image look different than the ones of a code block

* fix: command of double tilde to strikethrough

* feat: callout (#1732)

* 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/http server adapt (#1754)

* integrate board plugin into document (#1675)

* 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/database view (#1765)

* chore: rename flowy-database to flowy-sqlite

* refactor: rename flowy-grid to flowy-database

* refactor: rename grid to database

* refactor: rename GridEvent to DatabaseEvent

* refactor: rename grid_id to database_id

* refactor: rename dart code

* fix: #1763 [Bug] Mouse unable to click a certain area

* fix: potential async errors (#1772)

* feat: Skeleton task (#1775)

* chore: change tauri dev npm script

* chore: setup prettier

* chore: add protobuf type

* chore: move test calls to separate component

* chore: serve assets from app_flowy folder

* chore: import poppins font

* chore: install eslint, remove errors

* placeholder components

* chore: import colors from UI kit, footer panel

* chore: reorganise components

* chore: redux toolkit, navigation folders and files, navigation hooks

* fix: on add folder others close

* fix: tauri_dev task

* fix: restore grid notification

* chore: navigation items events (#1784)

* chore: change tauri dev npm script

* chore: setup prettier

* chore: add protobuf type

* chore: move test calls to separate component

* chore: serve assets from app_flowy folder

* chore: import poppins font

* chore: install eslint, remove errors

* placeholder components

* chore: import colors from UI kit, footer panel

* chore: reorganise components

* chore: redux toolkit, navigation folders and files, navigation hooks

* fix: on add folder others close

* fix: tauri_dev task

* fix: restore grid notification

* chore: shared button

* chore: folder/file popup, rename/duplicate/delete items

* chore: new page types popup

* fix: navitem pages padding

* fix: page click mishandle

* fix: folder click mishandle

* chore: add other page types

* fix: stop propagating on button click

* fix: one alt

* fix: renaming change bg

* refactor: brake Navigation Panel into smaller components

* chore: header panel folder

* chore: focus and select all on rename popup

* chore: add classname to popup

* chore: navigation panel resize

* Feat/appflowy tauri (#1831)

* feat:grid view structure

* feat:add store and refactor grid page

* chore: import icons, resize grid items, change grid items style, add field type icons, reorganize grid toolbar

* feat: auth screens(login, signup and confirm-account) ui done

* chore: add tailwind class sorter and formatted all files

* chore: group svgs into single folder

* chore: resolve warnings in svg files

* fix: use exported fieldType enum

* fix: resolve FieldType referances

* chore: auth pages fixes, replace links, replace buttons, svg fixes, navigate between pages, navigate to homepage on main button click

---------

Co-authored-by: ascarbek <ascarbek@gmail.com>

* ci: wanrings

---------

Co-authored-by: Mikias Tilahun Abebe <mikiastilahun@gmail.com>
Co-authored-by: Andreas Bichinger <andreas.bichinger@gmail.com>
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
Co-authored-by: Askarbek Zadauly <ascarbek@gmail.com>
2023-02-10 16:26:14 +08:00
Nathan.fooo
cbd351453d
ci: add tauri ci (#1833)
* ci: add tauri ci

* ci: update install windows scripts

* Update tauri_ci.yaml

* Update tauri_ci.yaml

* ci: update
2023-02-10 14:30:34 +08:00
Richard Shiue
72768a2f77
fix: app version (#1828) 2023-02-09 20:24:43 +08:00
Kristen McWilliam
6b8c7d7bc6
fix: use window_manager to set minimum window size (#1791)
* fix: use window_manager to set minimum window size

Resolves #762
Resolves #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>
2023-02-09 14:42:18 +08:00
Lucas.Xu
84ea888c73 fix: update the color of the selection menu item 2023-02-09 13:40:03 +08:00
Mayur Mahajan
95ec607482
[FR] Shortcut for toggling checkbox (#1817)
* feat: shortcut for toggling checkbox

* refactor: separate checkbox event handler

* test: chechbox event handler

* chore: remove unused imports

* refactor: command to ctrl and enter

* refactor: handler to use transactions

* test: checkbox event handler

* chore: remove unused import

* refactor: simplify handler logic
2023-02-09 13:39:25 +08:00
Lucas.Xu
60065ddfb2 chore: release v0.1.0 2023-02-09 09:28:53 +08:00
Nathan.fooo
e157c19174
docs/update database documentation (#1824)
* chore: update event name

* chore: add events and notifications documentation & remove unused code
2023-02-08 10:40:40 +08:00
Kelvin
781f0ab88b
feat: propagate log from flutter to rust backend (#1723)
* feat: draft commit for getting guidance on send log to backend issue

* feat: modify according to guidance

* feat: add tracing dependencies

* feat: continue implement for sending log to backend

* fix: compile errors

* feat: remove un-necessary code

---------

Co-authored-by: nathan <nathan@appflowy.io>
2023-02-07 22:09:43 +08:00
Nathan.fooo
5004729b72
chore: remove appflowy-board (#1819) 2023-02-07 20:56:11 +08:00
Nathan.fooo
e5703f83fb
fix: duplicate trash (#1818) 2023-02-07 20:56:01 +08:00
Nathan.fooo
e77fef3a19
chore: remove invalid revisions (#1816) 2023-02-07 14:30:25 +08:00
Nathan.fooo
5f760ad578
ci: serial flutter unit test (#1814) 2023-02-07 10:48:28 +08:00
abichinger
e2f6f68923
feat: node widget action menu (#1783)
* feat: add action menu

* feat: add customActionMenuBuilder

* docs: add comments to action menu classes

* fix: enable callout

* test: add action menu tests

add AppFlowyRenderPluginService.getBuilder

* fix: appflowy_editor exports

* fix: action menu

* chore: add of function to EditorStyle

* fix: action menu test

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-02-07 10:03:36 +08:00
Nathan.fooo
3491ffdd08
Fix/read app (#1808)
* fix: filter out the apps that are deleted

* chore: format code style

* chore: fix clippy wanrings
2023-02-06 21:42:01 +08:00
Nathan.fooo
1df2619c9f
docs: update code documentation (#1804)
* docs: update code documentation

* chore: fix bloc test

* chore: reduce lock granularity

* chore: fix bloc test
2023-02-06 15:59:30 +08:00
huang12zheng
4d5063de6a
fix: add a encoder for math, #1795 (#1803)
* fix: add a encoder for math, #1795

* feat: support customzie the node parser for exporting markdown

* chore: fix flutter analyze

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-02-06 15:38:49 +08:00
Lucas.Xu
8c0b8a875c
Fix grid board plugin issues (#1809)
* fix: #1799 Click : to view the original database UI text

* fix: #1798 Referenced icon is missing
2023-02-06 15:12:01 +08:00
Priestch
897adbe21c
chore: fix typo in comment (#1794) 2023-02-06 11:24:57 +08:00
Lucas.Xu
a41894a5ec
Fix: 1802 [Bug] Math Equation would be null. #1802 (#1806)
* 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>
2023-02-06 11:21:05 +08:00
Lucas.Xu
cc9bd30356
fix: #1290 [Bug] 300ms delay on buttons in titlebar (#1789) 2023-02-05 16:38:06 +08:00
Nathan.fooo
addcabea44
fix: potential fail to read the data of the row (#1793) 2023-02-04 10:07:21 +08:00
Nathan.fooo
4b605b6373
chore: update vscode task (#1790) 2023-02-03 14:13:33 +08:00
Mayur Mahajan
70e8b2e256
feat: add new default shortcuts for exisiting handlers v1 (#1786)
* feat: add new default shortcuts v1

* refactor: remove unnecessary space
2023-02-03 12:14:28 +08:00
Nathan.fooo
069519589e
Fix/grid group (#1787)
* 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
2023-02-02 23:02:49 +08:00
Lucas.Xu
d09574951b
chore: remove some unnecessary todos (#1785)
* chore: remove some unnecessary todos

* fix: the vertical padding for editor should be 28
2023-02-02 16:29:12 +08:00
Mohammad Zolfaghari
c9166137be
feat: on enter exit editing property field #1295 (#1747)
* 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
2023-02-02 10:29:56 +08:00
Richard Shiue
d505314ab1
chore: allow groups to take minimal vertical space if possible (#1736) 2023-02-01 21:42:12 +08:00
Lucas.Xu
2e91dfb4be
Integrate Grid into Document (#1759)
* 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
2023-02-01 15:37:45 +08:00
Nathan.fooo
71022ed934
fix: potential async errors (#1772) 2023-01-31 19:30:48 +08:00
Lucas.Xu
aa15a45097
Merge pull request #1771 from LucasXu0/fix_1763
fix: #1763 [Bug] Mouse unable to click a certain area
2023-01-31 12:55:15 +07:00
Lucas.Xu
fb30989cf8 fix: #1763 [Bug] Mouse unable to click a certain area 2023-01-31 12:10:52 +08:00
Nathan.fooo
5b07656295
Feat/database view (#1765)
* chore: rename flowy-database to flowy-sqlite

* refactor: rename flowy-grid to flowy-database

* refactor: rename grid to database

* refactor: rename GridEvent to DatabaseEvent

* refactor: rename grid_id to database_id

* refactor: rename dart code
2023-01-31 08:28:31 +08:00
Lucas.Xu
5de3912fe3
integrate board plugin into document (#1675)
* 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
2023-01-30 13:22:13 +08:00
Nathan.fooo
0d8adaa921
Feat/http server adapt (#1754) 2023-01-30 11:11:19 +08:00
abichinger
000569a836
feat: callout (#1732)
* 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>
2023-01-30 10:56:19 +08:00
Lucas.Xu
3de4e1cb12
Merge pull request #1694 from abichinger/fix/tilde-command
fix: command of double tilde to strikethrough
2023-01-29 14:11:06 +07:00
Lucas.Xu
b34aac3f07
Merge pull request #1744 from LucasXu0/fix_plugins_delete_icon
fix: #1732 the actions of an image look different than the ones of a code block
2023-01-29 11:24:05 +07:00
Lucas.Xu
73ad789bf0
Merge pull request #1696 from abichinger/feat/md-blockquote
feat: greater to blockquote
2023-01-28 16:00:44 +07:00
Lucas.Xu
b2bc59c6a1 feat: #1061 Support markdown to create a blockquote 2023-01-28 16:10:52 +08:00
Nathan.fooo
4fb2afe82e
chore: notification parser (#1745) 2023-01-27 22:57:23 +08:00
Nathan.fooo
7a750e5255
chore: listen backend notification from Tauri (#1743) 2023-01-27 17:17:51 +08:00
Lucas.Xu
baa5d0c59b fix: #1732 the actions of an image look different than the ones of a code block 2023-01-27 17:10:47 +08:00
Richard Shiue
243a781b6c
chore: improve grid focus and hover event handling (#1735)
* chore: improve primary cell accessory behavior

* fix: focus border disappearing

* chore: port to GridCellState

* chore: fix typo

* chore: connect popover controller

* chore: final
2023-01-27 10:35:17 +08:00
Nathan.fooo
347245aaa1
Refactor/dart notification (#1740)
* refactor: notification send

* refactor: rename dart-notify to flowy-notification

* ci: fix clippy wanrings

* ci: fix rust code converage
2023-01-26 15:40:23 +08:00
Nathan.fooo
67f07463f0
refactor: tauri folder (#1738) 2023-01-24 14:01:30 +08:00
nathan
d2db49efab chore: refactor tauri gen files path 2023-01-22 17:08:56 +08:00
Richard Shiue
0100305af0
chore: improve number format display strings (#1705) 2023-01-20 14:03:23 +08:00
Nathan.fooo
128bf02ffb
fix: command fail on linux system (#1731) 2023-01-20 14:02:12 +08:00
Mohammad Zolfaghari
5d125091d9
feat: support group by url in kanban board (#1687)
* 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>
2023-01-19 17:56:55 +08:00
Richard Shiue
9c44b30847
chore: grid field action sheet layout improvement (#1698)
* chore: grid action sheet layout improvement

* style: port away from list
2023-01-19 16:01:37 +08:00
Nathan.fooo
aeb29d2e42
ci: fix potential test fail (#1722) 2023-01-19 14:10:57 +08:00
Jon Zubizarreta
115bf20ce0
feat: Basque translation (#1719)
* 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
2023-01-18 17:20:42 +08:00
abichinger
d36aea648c
feat: save menu appearance (#1707)
* feat: save menu offset and menu visibility

* refactor: remove collapsedNotifier
2023-01-18 14:30:39 +08:00
abichinger
3d56a0a843
feat: use Gridview.builder (#1708) 2023-01-18 14:21:50 +08:00
Nathan.fooo
1b654e556f
chore: config tauri foder (#1721)
Co-authored-by: nathan <nathan@appflowy.io>
2023-01-18 14:21:08 +08:00
Nathan.fooo
d77c41013f
chore: build tauri from vscode launch (#1720)
* chore: build tauri from vscode launch

* fix: unit test

Co-authored-by: nathan <nathan@appflowy.io>
2023-01-18 11:22:13 +08:00
Onyedika Israel Ukwueze
e6b186cc43
Fix/URL cell edit button hover (#1714)
* 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
2023-01-17 21:57:10 +08:00
Nathan.fooo
ceb39a4fd9
chore: add tauri build config (#1717)
Co-authored-by: nathan <nathan@appflowy.io>
2023-01-17 21:54:25 +08:00
Nathan.fooo
f64346c955
Feat/tauri (#1716)
* feat: support tauri desktop

* chore: support call flowy sdk command

* chore: switch to svelte

* chore: gen js protobuf

* chore: import js protobuf

* chore: call flowy sdk handler

* chore: update scipts

* chore: create index.ts

* chore: track files

* chore: gen ts event

* chore: replace application icon

* chore: migrate to react

* chore: fix wanrings

Co-authored-by: nathan <nathan@appflowy.io>
2023-01-17 16:27:17 +08:00
vedon
ba653ff463
ci: support aarch64 (#1710) 2023-01-16 20:47:15 +08:00
Сергей Ворон
834152dffc
chore: Update ru-RU.json (#1701) 2023-01-13 21:43:21 +08:00
Richard Shiue
707ea4c8c8
chore: add calendar_view package (#1690)
* chore: add calendar_view package

* chore: improve calendar navigator

* style: improve readability

* chore: localization and moving constants
2023-01-13 21:35:20 +08:00
Nathan.fooo
9215f5188c
Feat/restore from snapshot (#1699)
* feat: snapshot for folder

* feat: snapshot for document

Co-authored-by: nathan <nathan@appflowy.io>
2023-01-12 22:31:39 +08:00
Andreas Bichinger
53118a6c51 fix: local variable 'text' isn't used 2023-01-12 12:13:42 +01:00
Nathan.fooo
6a36bcd31d
chore: add sqlite feature flag (#1683)
* chore: add sqlite feature flag

* chore: fix clippy warings

* ci: fix clippy

* chore: add rev file persistence

* ci: fix clippy

Co-authored-by: nathan <nathan@appflowy.io>
2023-01-12 13:09:08 +08:00
Nathan.fooo
860c5d100b
chore: rename class according to gitbook documentation (#1682) 2023-01-12 10:01:17 +08:00
Nathan.fooo
fe4e28b576
Feat/read cell data for field (#1695)
* 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>
2023-01-12 07:56:46 +08:00
Nathan.fooo
b7ba189642
Feat/sort UI (#1642)
* feat: implement sort UI

* chore: config sort listener

* chore: config sort ui

* chore: config sort ui

* feat: support ascending & descending

* fix: reorder rows bugs

* chore: add tests

Co-authored-by: nathan <nathan@appflowy.io>
2023-01-11 17:48:53 +08:00
Andreas Bichinger
85bfb8ad80 fix: command of double tilde to strikethrough 2023-01-10 22:55:32 +01:00
Andreas Bichinger
d0fd68da95 feat: greater to blockquote 2023-01-10 22:47:03 +01:00
Lucas.Xu
92baa573e1
Merge pull request #1676 from LucasXu0/text_robot
feat: integrate OpenAI service
2023-01-10 19:47:04 +07:00
Kelvin
c46b09f182
feat: support scientific notation and decimal separator (#1688) 2023-01-10 10:28:35 +08:00
Lucas.Xu
ab108e1dc1 chore: format dart code 2023-01-10 10:14:52 +08:00
Lucas.Xu
fa0a334d6c feat: refactor the gpt3 api and support multi line completion 2023-01-10 10:14:52 +08:00
Lucas.Xu
310236dca0 feat: add sample for open AI editing 2023-01-10 10:14:52 +08:00
Lucas.Xu
fc1efeb70b feat: support prompt and suffix 2023-01-10 10:14:52 +08:00
Lucas.Xu
494e31993b feat: add openAI plugin 2023-01-10 10:14:52 +08:00
Lucas.Xu
34d4ea3e54 feat: text robot 2023-01-10 10:14:52 +08:00
Nathan.fooo
91efcafd77
chore: potential fail on trash bloc test (#1686) 2023-01-09 12:17:37 +08:00
Richard Shiue
e8b21955f8
chore: add calendar view plugin along with backend data (#1611)
* 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>
2023-01-08 20:51:19 +08:00
Nathan.fooo
7572321813
chore: auto width GridFieldCellActionSheet (#1673) 2023-01-08 12:59:54 +08:00
Nathan.fooo
37f269b08b
Chore/rename flowy sdk (#1679)
* chore: run flutter create on flowy_sdk

* chore: rename flowy-sdk to flowy-core

* chore: rename flowy_sdk to appflowy_backend

* chore: fix windows build

* chore: replace bloctest with test

Co-authored-by: nathan <nathan@appflowy.io>
Co-authored-by: vedon <vedon.fu@gmail.com>
2023-01-08 12:10:53 +08:00
Nathan.fooo
a0b5f09b06
chore: save folder snapshot with custom config (#1670) 2023-01-06 14:11:35 +08:00
Nathan.fooo
d4946f1194
chore: cell data operation (#1656)
* chore: get all cells for specific field

* chore: auto format clippy wanrings

* chore: get cells for specific field type
2023-01-05 21:27:21 +08:00
Kelvin
7949d3fe4a
feat: handling same as Notion when user fills in the mixing of number and text (#1650)
* 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
2023-01-05 20:59:12 +08:00
Nathan.fooo
e9f8796809
fix: update the cell content if input is not valid data (#1652)
Co-authored-by: nathan <nathan@appflowy.io>
2023-01-05 19:29:19 +07:00
Lucas.Xu
3ba3a8dc18
Merge pull request #1655 from LucasXu0/feat_1649
feat: #1649 [FR] Convert quill delta to appflowy document
2023-01-05 18:58:42 +08:00
Lucas.Xu
50f9ac1657 feat: #1649 add document for importing data 2023-01-05 18:12:39 +08:00
Lucas.Xu
2fb0e8da28 feat: #1649 [FR] Convert quill delta to appflowy document 2023-01-05 17:40:03 +08:00
Nathan.fooo
b25db83bc0
ci: support linux dart_unit_test (#1653)
Co-authored-by: nathan <nathan@appflowy.io>
2023-01-05 15:25:30 +08:00
Lucas.Xu
e08ab1fc10 fix: Presses shift + alt + arrow right to select a word 2023-01-05 09:15:18 +08:00
Lucas.Xu
d7410cd6e8 feat: #1624 add shortcut for Shift + Option + Left/Right Arrow 2023-01-04 20:10:41 +08:00
Lucas.Xu
06c5f6a790
Merge branch 'main' into feat_1624 2023-01-04 20:04:33 +08:00
Lucas.Xu
35a72f701b feat: #1624 add shortcut for Shift + Option + Left/Right Arrow 2023-01-04 19:58:43 +08:00
Richard Shiue
1a2af1cf49
chore: add close button in select option tags for select option textfield (#1640)
* chore: remove unused isSelected flag

* chore: close popover when an option is deleted

* chore: allow unselecting an option by clicking on a close button
2023-01-04 19:43:49 +08:00
Lucas.Xu
340f27cf87
fix: the settings view of path configuration is not displayed completely (#1647) 2023-01-04 19:41:31 +08:00
Richard Shiue
d8958e82c8
fix: menu section scrollcontroller not attached (#1631) 2023-01-04 17:19:54 +08:00
Kelvin
3eb1360324
test: add more cases for checkout_box_description_test (#1639) 2023-01-04 16:29:24 +08:00
Lucas.Xu
2006d35a50 fix: the settings view of path configuration is not displayed completely 2023-01-04 15:10:11 +08:00
Richard Shiue
515cd50ac4
chore: grid/kanban toolbar UI improvements (#1634) 2023-01-04 10:21:00 +08:00
Richard Shiue
c5b15daac4
fix: don't delete the property if it shouldn't be allowed (#1633) 2023-01-04 10:20:18 +08:00
Kelvin
ddc99d646c
test: switching_from_text_to_checkbox (#1632)
* 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>
2023-01-04 10:19:07 +08:00
nathan
bfd2754bda chore: update rust-toolchain 2023-01-03 23:38:57 +08:00
nathan
bce175255f chore: udpate chnagelog 2023-01-03 09:40:46 +08:00
Kelvin
273aaeec75
feat: switching from text type to checkbox type (#1626) 2023-01-02 14:47:21 +08:00
Nathan.fooo
17def1ffab
chore: enable rust_unit_test on windows (#1630) 2023-01-02 12:31:31 +08:00
Lucas.Xu
c05c1e191c
chore: upgrade minimum support flutter version, >= 3.3.0 (#1551)
* 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>
2023-01-01 23:26:27 +08:00
nathan
9cd83d02a9 fix: send dart notification 2023-01-01 22:48:28 +08:00
Nathan.fooo
35a93939fe
fix: send dart notification (#1629)
Co-authored-by: nathan <nathan@appflowy.io>
2023-01-01 22:34:38 +08:00
Richard Shiue
eed6c753dd
chore: add spacing between a popover and the edge of the window (#1625) 2023-01-01 22:26:52 +08:00
Nathan.fooo
436291c01a
fix: update build.rs with cfg flag control (#1627)
Co-authored-by: nathan <nathan@appflowy.io>
2023-01-01 17:21:19 +08:00
Nathan.fooo
a2b5d6fa99
fix: number cell format (#1623)
Co-authored-by: nathan <nathan@appflowy.io>
2022-12-31 08:06:10 +08:00
Lucas.Xu
5c1b084789
fix: cursor doesn't blink when opening selection menu (#1622)
* fix: cursor doesn't blink when opening selection menu

* chore: fix dart lint
2022-12-30 15:59:34 +08:00
Mayur Mahajan
b09f37e025
[FR] Create a new yellow theme for AppFlowy (#1539)
* feat: add dandelion color scheme

* feat: add dandelion to colorsheme

* feat: add setting for choosing theme

* refactor: make theme selection ui consistent

* refactor: remove duplicate  themeTypeLabel

* refactor: translate theme type setting

* refactor: use an extension method for themename

* refactor: change community theme name

* refactor: add theme name in app theme

* refactor: remove theme type from cubit

* refactor: allow theme change with themename

* test: getThemeNameForDisplaying method

* chore: refactor the theme name to const string

* refactor: remove theme translation logic

* fix: add translation for theme label

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2022-12-30 11:44:17 +08:00
Nathan.fooo
aa5f052ecf
Refactor/crate directory (#1621)
* chore: fix wanrings

* chore: remove protobuf ref in flowy-error-code

* chore: remove protobuf ref in lib-ws

* refactor: remove protobuf trait in flowy http model

* refactor: remove flowy-error-code crate

Co-authored-by: nathan <nathan@appflowy.io>
2022-12-30 11:16:47 +08:00
Kelvin
aae8259f63
test: grid switch from date to text test (#1616)
* test: grid switch from date to text test

* test: change back the DateTime format to US
2022-12-30 10:47:32 +08:00
Christian
52c8f32c82
fix: scrollToBottom for macos (#1610)
Co-authored-by: DevOwl <christian.muehle@devowl.de>
2022-12-28 21:51:19 +08:00
Iñigo Iparragirre
8139856d6d
Feat/integrate thiserror anyhow (#1599)
* feat: add thiserror and anyhow dependencies

* feat: add thiserror derive to ErrorCode

* feat: add thiserror derive to FlowyStruct

* feat: update error field

* feat: update lock files

* Revert "feat: update lock files"

This reverts commit df9736b843.

* fix: cargo fmt
2022-12-28 21:49:38 +08:00
Kelvin
b83b18274f
test: grid switch from number to text test (#1615)
* test: grid switch from number to text test

* chore: update test

* chore: fix tests

* chore: cargo fmt

Co-authored-by: nathan <nathan@appflowy.io>
2022-12-28 17:22:26 +08:00
Nathan.fooo
05f99ee4a4
fix: potential test fail because of async channel message (#1613)
Co-authored-by: nathan <nathan@appflowy.io>
2022-12-28 10:18:17 +08:00
Kelvin
e5717b834d
test: grid switch from checkbox to text test (#1612) 2022-12-28 08:25:26 +08:00
Kelvin
faf8f73206
test: grid switch from multi select to text test (#1608) 2022-12-27 20:08:32 +08:00
Richard Shiue
70689d3239
feat: show the scrollbars again (#1605)
* 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
2022-12-27 08:21:30 +08:00
Nathan.fooo
f5b7d3951f
Feat/sort after change (#1607)
* chore: generate task after row was changed

* chore: config task

* chore: add task test

Co-authored-by: nathan <nathan@appflowy.io>
2022-12-26 20:28:18 +08:00
Nathan.fooo
5a30f46b85
feat: sort cell (#1593)
* chore: call cell decode data

* chore: cache cell decoded data

* chore: update cache cell data

* chore: cache cell data

* refactor: separate cell type option functionalities

* refactor: add TypeOptionCellDataFilter trait

* chore: remove unused codes

* chore: fix wanrings

* chore: add sort tests

* chore: sort single select and multi select

Co-authored-by: nathan <nathan@appflowy.io>
2022-12-24 23:19:11 +08:00
Richard Shiue
6a465ac3e7
fix: button spacing for grid menus (#1602)
* chore: don't put extra space in front of text

* chore: alter button margins for date and time format buttons
2022-12-24 23:01:55 +08:00
Muhammad Rizwan
e4b07e69fa
Added : customize the color and background color of selected text (#1601)
* 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>
2022-12-23 19:57:17 +08:00
Richard Shiue
f9cc05319b
chore: deprecate InputTextField (#1566) 2022-12-21 19:12:16 +08:00
Eakam
873a46e443
fix: no focus border on date cells (#1469)
* 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
2022-12-21 19:11:49 +08:00
Lucas.Xu
9a387b275f
Merge pull request #1595 from LucasXu0/release/0.0.9
chore: release 0.0.9
2022-12-21 11:03:33 +08:00
nathan
b6ce7aff9f fix: rename function in test call 2022-12-21 11:03:10 +08:00
Nathan.fooo
eee3dcf43a
Create test template (#1594)
* refactor: rename functions

* chore: create test templagte

Co-authored-by: nathan <nathan@appflowy.io>
2022-12-21 11:00:08 +08:00
Lucas.Xu
384f8ddcb6 chore: release 0.0.9 2022-12-21 10:35:57 +08:00
Lucas.Xu
86e31253de test: fix integration test 2022-12-21 09:34:14 +08:00
Annie
3f00e78508
chore: update text for folder storage (#1590) 2022-12-20 20:33:41 +08:00
Kelvin
45c73a20c2
test: UnitTest Switching from Multi to text (#1585) 2022-12-20 20:33:17 +08:00
nathan
ce86227da3 chore: delete log 2022-12-20 14:45:51 +08:00
Nathan.fooo
4643851b3f
refactor: apply cell change set (#1589)
* refactor: update cell changeset trait

* refactor: update cell changeset documentation

Co-authored-by: nathan <nathan@appflowy.io>
2022-12-20 14:40:40 +08:00
Lucas.Xu
5d7008edd7
feat: Customize the storage folder path (#1538)
* feat: support customize folder path

* feat: add l10n and optimize the logic

* chore: code refactor

* feat: add file read/write permission for macOS

* fix: add toast for restoring path

* feat: fetch apps and show them

* feat: fetch apps and show them

* feat: implement select document logic

* feat: l10n and add select item callback

* feat: add space between tile

* chore: move file exporter to settings

* chore: update UI

* feat: support customizing folder when launching the app

* feat: auto register after customizing folder

* feat: l10n

* feat: l10n

* chore: reinitialize flowy sdk when calling init_sdk

* chore: remove flowysdk const keyword to make sure it can be rebuild

* chore: clear kv values when user logout

* chore: replace current workspace id key in kv.db

* feat: add config.name as a part of seesion_cache_key

* feat: support open folder when launching

* chore: fix some bugs

* chore: dart fix & flutter analyze

* chore: wrap 'sign up with ramdom user' as interface

* feat: dismiss settings view after changing the folder

* fix: read kv value after initializaing with new path

* chore: remove user_id prefix from current workspace key

* fix: move open latest view action to bloc

* test: add test utils for integration tests

* chore: move integration_test to its parent directory

* test: add integration_test ci

* test: switch to B from A, then switch to A again

* chore: fix warings and format code and fix tests

* chore: remove comment out codes

* chore: rename some properties name and optimize the logic

* chore: abstract logic of settings file exporter widget to cubit

* chore: abstract location customizer view from file system view

* chore: abstract settings page index to enum type

* chore: remove the redundant underscore

* test: fix integration test error

* chore: enable integration test for windows and ubuntu

* feat: abstract file picker as service and mock it under integration test

* chore: fix bloc test

Co-authored-by: nathan <nathan@appflowy.io>
2022-12-20 11:14:42 +08:00
Lucas.Xu
b5f6591daa fix: #1586 deleting an image causes the editor to enter a bad state 2022-12-20 09:37:18 +08:00
Nathan.fooo
9f7f86a49a
chore: update test (#1584) 2022-12-20 08:39:46 +08:00
Nathan.fooo
260705280f
fix: remove unused steps (#1580)
* chore: remove unused code

* chore: update pin-project version to remove rust lint warnings

* chore: fix potential test failed

Co-authored-by: nathan <nathan@appflowy.io>
2022-12-19 10:47:40 +08:00
Richard Shiue
60d9a6b3ab
refactor: appflowy themes (#1567)
* refactor: appflowy themes

* refactor: store ThemeData directly in cubit

* refactor: remove textStyles

* refactor: move AppTheme back into cubit
2022-12-18 16:02:18 +08:00
Nathan.fooo
67e350e797
refactor: provide default type option transform (#1579) 2022-12-17 18:12:47 +08:00
Nathan.fooo
85e489babb
Refactor/type option (#1578) 2022-12-17 10:15:13 +08:00
Duy Do
bb312b0a79 build: update install_linux.sh 2022-12-15 11:00:26 +07:00
Lucas.Xu
8cdf6f9ec0
Merge pull request #1557 from rizwan3395/main
fear: support emoji
2022-12-14 11:17:36 +08:00
Nathan.fooo
9666269e27
Merge pull request #1570 from AppFlowy-IO/feat/grid_sort
Feat/grid sort
2022-12-12 21:18:45 +08:00
nathan
31458e817a fix: potential test timeout 2022-12-12 19:49:20 +08:00
nathan
9ba17e004e refactor: type option impl trait 2022-12-12 18:00:09 +08:00
nathan
e141e7ee63 chore: add cell cmp trait 2022-12-12 15:29:33 +08:00
Lucas.Xu
3932d0661d feat: update emoji picker UI 2022-12-12 15:10:38 +08:00
Lucas.Xu
98d408af87 fix: flutter analyze problems 2022-12-12 14:51:43 +08:00
Lucas.Xu
15e3d3b486 feat: move emoji_picker to appflowy editor plugin 2022-12-12 11:27:04 +08:00
nathan
1ac1fabb6e chore: add suffix PB to filter structs 2022-12-12 11:25:49 +08:00
nathan
6b4291ccc7 chore: config sort controller 2022-12-12 10:44:34 +08:00
nathan
0cf0b29721 chore: hide the grid blocks from Dart 2022-12-11 13:10:35 +08:00
Nathan.fooo
2a75ad144a
fix: the grid cell border color didn't change after switch to new theme (#1564)
Co-authored-by: nathan <nathan@appflowy.io>
2022-12-11 09:06:16 +08:00
Nathan.fooo
d487820963
fix: update checklist type option data (#1563)
Co-authored-by: nathan <nathan@appflowy.io>
2022-12-10 20:46:24 +08:00
Richard Shiue
350c55e71d
style: rename theme extension file (#1562) 2022-12-10 19:00:46 +08:00
ENsu
fd603fe80f
test: fix select transform test name (#1560) 2022-12-10 18:39:37 +08:00
nathan
07ebb0cb95 refactor: refresh rows 2022-12-09 20:04:12 +08:00
Muhammad Rizwan
9dfc8dbb43 Update emoji_select_widget.dart 2022-12-09 15:28:15 +05:00
Haris Arshad
3f27576066 added:emoji
added emoji support
2022-12-09 15:22:43 +05:00
Lucas.Xu
247a19b0c6
Merge pull request #1553 from AppFlowy-IO/update_version_num_0.0.8.1
chore: update changelog
2022-12-09 11:32:04 +08:00
Lucas.Xu
8494e0f0a6
Merge pull request #1554 from LucasXu0/rules
feat: add rules for editorstate.apply
2022-12-09 11:31:51 +08:00
Lucas.Xu
e94eb20388 chore: disable rules for test cases 2022-12-09 11:06:28 +08:00
Lucas.Xu
8bbae46a7c feat: add rules for editorstate.apply 2022-12-09 10:36:01 +08:00
nathan
8521cc0897 chore: update changelog 2022-12-09 10:18:38 +08:00
Nathan.fooo
12441f1183
fix: auto size filter menu (#1552)
Co-authored-by: nathan <nathan@appflowy.io>
2022-12-09 10:12:45 +08:00
Lucas.Xu
53b7595de8
Merge pull request #1548 from ramanverma2k/fix_1503
Refactor linux workflow & fix 1503
2022-12-09 09:42:59 +08:00
Nathan.fooo
8c225fe547
Feat/restore revision (#1549)
* chore: write snapshot

* chore: add tests

* chore: sync close

* chore: restore from snapshot

* chore: delete invalid revisions after restored from snapshot

* chore: create default view if it fail to deserialize view's revisions when there is no snapshot

* chore: auto generate snapshot

Co-authored-by: nathan <nathan@appflowy.io>
2022-12-09 09:19:47 +08:00
Lucas.Xu
a507fb8ec6
Merge pull request #1550 from LucasXu0/fix_windows_copy_paste
fix: Clipboard does not work in Windows #1406
2022-12-08 16:13:01 +08:00
Lucas.Xu
4db5b7a544 chore: typo 2022-12-08 15:50:43 +08:00
Lucas.Xu
1de5b274c3 chore: fix flutter analyze 2022-12-08 15:29:59 +08:00
Lucas.Xu
12b549bad2 fix: Clipboard does not work in Windows #1406 2022-12-08 15:19:21 +08:00
ramanverma2k
6dbb08c2ae fix: move deb control file to linux_installer 2022-12-08 12:04:43 +05:30
Rasyid Miftahul Ihsan
9711d670ca
feat: add hover effect when trash icon is selected or hovered. (#1513) 2022-12-08 14:22:27 +08:00
Richard Shiue
442dfe7ef8
feat: switch between light and dark theme based on system settings (#1523)
* feat: allow listening to system for light/dark theme

* chore: implement UI for theme mode setting

* chore: fix translations
2022-12-08 14:21:11 +08:00
Richard Shiue
f81d5eb23e
fix: location of popover wrt the cell (#1545) 2022-12-08 14:18:57 +08:00
ramanverma2k
0643e93e94 ci: refactor linux workflow & build an alternative linux package for older distributions. 2022-12-08 10:11:40 +05:30
Lucas.Xu
49574d3ff0 fix: [Bug] Text formatting toolbar disappear under layout #1542 2022-12-07 10:59:28 +08:00
Lucas.Xu
c64b83c2d6
Merge pull request #1541 from LucasXu0/refactor_font_size
chore: refactor font size design
2022-12-06 19:14:14 +08:00