Commit Graph

2835 Commits

Author SHA1 Message Date
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