Commit Graph

3143 Commits

Author SHA1 Message Date
Lucas.Xu
63eee8b415 chore: retry codecov 2023-06-16 13:32:24 +08:00
Nathan.fooo
d96a1d8bd4
test: import database integration (#2803)
* feat: support importing database raw data

* feat: verify import database test

* test: fix test

* ci: update integration test ci config

* ci: codecov with os flag

* ci: update docker command

* ci: update docker command

* ci: update docker command

* ci: update docker command

* test: add filter test
2023-06-15 22:43:07 +08:00
Lucas.Xu
430325c731
chore: bump version 0.2.2 (#2804) 2023-06-15 18:55:21 +08:00
Lucas.Xu
d5884ad2b5
fix: unable insert a reference database (#2798)
* fix: unable insert a reference database

* test: add reference database tests

* feat: set min height for document inside database
2023-06-15 16:33:44 +08:00
Kilu.He
95f8b2e9a4
chore: create redo/undo bridge (#2760)
* chore: create redo/undo bridge

* chore: update test

* chore: review update

* chore: review update

* chore: react redo/undo

* chore: review update

* chore: add test

* chore: review update

* chore: generate document id

* chore: update undo/redo

* chore: update cargo lock
2023-06-15 10:37:51 +08:00
Nathan.fooo
27dd719aa8
feat: row document (#2792)
* chore: create orphan view handler

* feat: save icon url and cover url in view

* feat: implement emoji picker UI

* chore: config ui

* chore: config ui again

* chore: replace RowPB with RowMetaPB to exposing more row information

* fix: compile error

* feat: show emoji in row

* chore: update

* test: insert emoji test

* test: add update emoji test

* test: add remove emoji test

* test: add create field tests

* test: add create row and delete row integration tests

* test: add create row from row menu

* test: document in row detail page

* test: delete, duplicate row in row detail page

* test: check the row count displayed in grid page

* test: rename existing field in grid page

* test: update field type of exisiting field in grid page

* test: delete field test

* test: add duplicate field test

* test: add hide field test

* test: add edit text cell test

* test: add insert text to text cell test

* test: add edit number cell test

* test: add edit multiple number cells

* test: add edit checkbox cell test

* feat: integrate editor into database row

* test: add edit create time and last edit time cell test

* test: add edit date cell by selecting a date test

* chore: remove unused code

* chore: update checklist bg color

* test: add update database layout test

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-06-14 22:16:33 +08:00
Yijing Huang
b8983e4466
feat: language selector on welcome page (#2796)
* feat: add language selector on welcome page

* feat: add hover effect and refactor layout

* test: add basic languge selector testing

* chore: increate place holder width

* fix: add catch error for setLocale and finish the testing

* chore: update comment

* feat: refactor the skip login in page and add tests

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-06-14 19:14:41 +08:00
Kilu.He
00c0934df6
Support text block add link (#2730)
* feat: support text block href attribute

* fix: double click didn't select range

* fix: link update

* chore: ts lint

* chore: add new line

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>

* chore: update get word indices function

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-06-13 15:59:18 +08:00
Lucas.Xu
aca3c90eb3 chore: optimize the integration test UI 2023-06-12 21:53:39 +08:00
Lucas.Xu
8b4d1868e5 test: add integration test 2023-06-12 20:13:25 +08:00
Lucas.Xu
5bcf48a4f9
fix: the markdown file name doesn't update after renaming the document (#2777)
* fix: the markdown file name doesn't update after renaming the document

* test: add integration test
2023-06-12 14:29:09 +08:00
Lucas.Xu
335861706e
feat: support importing multiple md files all at once (#2778) 2023-06-12 14:27:38 +08:00
Nathan.fooo
4f5672c2af
refactor: create view interface (#2772)
* refactor: create view interface

* chore: update doc

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-06-12 12:57:01 +08:00
Lucas.Xu
b5d9a73194
chore: bump version 0.2.1 (#2762) 2023-06-11 17:02:09 +08:00
Nathan.fooo
619d82f115
chore: bump up collab ref (#2764) 2023-06-11 16:24:41 +08:00
Lucas.Xu
d5887b0a12
chore: enable codecov action (#2741)
* chore: enable codecov action

* test: fix integration test

* test: fix switch_folder_test
2023-06-11 14:19:44 +08:00
Nathan.fooo
c7f73551c7
fix: update database layout in document (#2757)
* fix: update database layout in document

* feat: create or ref calendar

* Update frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/calendar/calendar_menu_item.dart

Co-authored-by: Mathias Mogensen <42929161+Xazin@users.noreply.github.com>

* fix: stop listen

* feat: remove the redundant database view files

* chore: rename the grid state

---------

Co-authored-by: Mathias Mogensen <42929161+Xazin@users.noreply.github.com>
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-06-11 08:49:10 +08:00
Lucas.Xu
ed04e247ba
fix: the share markdown feature doesn't work in 0.2.0 (#2756)
* chore: bump version 0.2.0

* fix: the share markdown feature doesn't work in 0.2.0

* test: add integration test for share button
2023-06-10 22:38:25 +08:00
Nathan.fooo
2ecd0a67ad
feat: hide url cell accessory when the content is empty (#2754) 2023-06-10 15:48:56 +08:00
Nathan.fooo
4ce94a9ceb
fix: adding vertical padding for progress bar (#2753) 2023-06-10 14:57:52 +08:00
Nathan.fooo
d4e39389d2
fix: show calendar layout (#2752) 2023-06-10 13:23:29 +08:00
Nathan.fooo
ab5a3dae3c
chore: upgrade rust version to 1.70 (#2749)
* chore: upgrade rust version to 1.70

* ci: fix wanrings

* ci: fix clippy warings
2023-06-09 22:23:07 +08:00
Nathan.fooo
133ac72317
ci: fix docker ci (#2745)
* ci: fix permission
2023-06-09 19:48:16 +08:00
Nathan.fooo
e9be37a961
test: add database event tests (#2744)
* chore: add tests

* test: add tests

* test: add tests
2023-06-09 18:57:29 +08:00
chirag paneliya
0f9f5251f2
feat: added enter icon in add field. (#2707)
* [FR] Added Enter Icon In Add Field.

* Update frontend/appflowy_flutter/lib/plugins/database_view/widgets/row/cells/select_option_cell/select_option_editor.dart

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>

* Update frontend/appflowy_flutter/lib/plugins/database_view/widgets/row/cells/select_option_cell/select_option_editor.dart

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>

* Update frontend/appflowy_flutter/lib/plugins/database_view/widgets/row/cells/select_option_cell/select_option_editor.dart

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>

* fix : missing trailing comma and code enhancement.

* chore: format code

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-06-08 21:07:41 +08:00
Lucas.Xu
02b7149514
fix: can't input url in Grid (#2737)
* fix: launch url in url cell

* fix: can't input url in Grid

* feat: support selecting or deselecting all items in export page

* fix: remove the circle shape

* fix: light mode toolbar color

* chore: update language and adjust the launch page
2023-06-08 15:46:33 +08:00
Nathan.fooo
37547a6485
chore: bump up collab (#2740)
* chore: update collab version

* chore: log the error when open collab db

* chore: add log
2023-06-08 14:20:31 +08:00
Nathan.fooo
6e27d551d9
chore: bump up collab version (#2736) 2023-06-08 12:20:18 +08:00
Kilu.He
d02b8c609b
Copy and paste appflowy editor data (#2714)
* feat: copy and paste appflowy editor data

* fix: review suggestion
2023-06-08 12:17:00 +08:00
Lucas.Xu
f86a98cd51
fix: add cover image using url issue (#2733)
* fix: add cover image using url issue

* chore: update editor
2023-06-08 08:34:11 +08:00
Nathan.fooo
3e3bdb59ae
chore: update workspace id from nanoid to uuid (#2731)
* chore: update workspace id

* ci: enable RUST_BACKTRACE

* chore: update patch
2023-06-07 22:27:13 +08:00
Yatendra Kumar
95d620931f
feat: added analysis options + formatted complete code (#2725)
* feat: added analysis options + formatted complete code

* fix: formatted code

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-06-07 16:25:37 +08:00
Lucas.Xu
cb7bb390e6
chore: update editor 1.0.0 (#2727)
* chore: update editor version 1.0.0

* chore: enable integration test on develop branch

* chore: disable flutter integration test
2023-06-07 15:04:32 +08:00
Nathan.fooo
ce8cee5637
test: add databaase event test (#2728)
* test: add tests and fix modify primary field bug

* test: add more test

* fix: tauri buiuld

* chore: disable share link button
2023-06-07 14:52:35 +08:00
nathan
1b56538a2f feat: update folder snapshot config 2023-06-07 14:33:12 +08:00
Mathias Mogensen
b1729ab3eb
fix: add new row issue (#2723)
* fix: add new row issue

* fix: remove redundant dispose

* fix: review comments

* chore: remove the unused anmaition key

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-06-07 12:56:02 +08:00
chirag paneliya
bfe6c8074a
fix: http:// prefix issue fix (#2719) 2023-06-07 07:57:12 +08:00
Nathan.fooo
381d2e6c71
fix: reorder view when sibling view was deleted (#2724)
* fix: reorder view when sibling view was deleted

* ci: fix test

* ci: rust fmt
2023-06-07 00:05:27 +08:00
Lucas.Xu
e3eee76609
feat: support align and upgrade appflowy_editor (#2712)
* feat: support align and upgrade appflowy_editor

* chore: try to fix linux analyze error

* fix: error after inserting callout block

* feat: add inline board / grid plugin

* feat: refactor insert_page

* fix: ref view in document

* chore: add asset name and description to option align type

* fix: linux flutter analyze

* chore: disable file export and log

* fix: the window always back to center after relaunching

* fix: potential data lost in nested list

* feat: re-design login page

* fix: can't remove background color

* chore: rename bundle id and change the macos app to non sandbox app

---------

Co-authored-by: nathan <nathan@appflowy.io>
2023-06-06 17:19:53 +08:00
Nathan.fooo
e96bea0de5
chore: auto focus checklist editing (#2720) 2023-06-06 17:15:33 +08:00
Nathan.fooo
bf121623ae
feat: save snapshot to sqlite db (#2718)
* chore: snapshot

* chore: impl sqlite snapshot

* feat: snapshot config

* feat: update patch

* ci: fix tauri ci

* ci: add cache path

* chore: save snapshot

* chore: update patch

* ci: fix s fmt
2023-06-06 16:03:29 +08:00
Nathan.fooo
f2dd58a4f1
chore: remove unused sqlite table (#2704)
* chore: remove unused sqlite table

* ci: fix tests
2023-06-05 18:30:14 +08:00
Nathan.fooo
e24a8aabeb
chore: implement import csv ui (#2710)
* chore: implement import csv ui

* feat: support importing CSV

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-06-05 18:29:52 +08:00
Askarbek Zadauly
6a43dd871d
Fix/tauri board events (#2678)
* chore: focus name input on field edit

* fix: remove random id for duplicated view

* fix: use alias for imports

* fix: folder, grid, board bugs

* chore: remove log

* fix: update options list on add

* chore: close on delete option

* chore: show and hide field

* chore: add field with specific type

* chore: small cleanup

* fix: create view on another folder and views notifier reorganize

---------

Co-authored-by: qinluhe <qinluhe.twodog@gmail.com>
2023-06-05 16:48:34 +08:00
Nathan.fooo
4f2585baed
test: Folder event test (#2709)
* test: add event tests

* test: add folder event test

* ci: rust fmt
2023-06-05 16:09:18 +08:00
Lucas.Xu
80a273edae
fix: create document (#2701)
* fix: create a new document

* fix: the banner don't show after deleteing the page

* fix: inserting a divider through the slash menu the cursor should stay active in the next line

* fix: the overlay doesn't dismiss after selecting a page

* fix: typo

* fix: delete the page in document if it has been deleted

* chore: l10n

* chore: rename events

* ci: rm install_diesel in ci

* fix: cover color not working

* ci: fix tauri build

---------

Co-authored-by: nathan <nathan@appflowy.io>
2023-06-05 13:10:14 +08:00
Nathan.fooo
a50c940282
feat: delete the view from the db when the view is deleted (#2703) 2023-06-05 09:42:11 +08:00
Nathan.fooo
bec8122178
fix: disable edit primary field (#2695)
* refactor: field editor

* chore: disable edit type option of primary field
2023-06-04 09:28:13 +08:00
Nathan.fooo
edd58ede45
refactor: updated at and created at (#2692)
* refactor: updated at and created at

* chore: update patch ref

* ci: fix tests
2023-06-03 23:35:55 +08:00
Lucas.Xu
561d0f0808
feat: public the json to document data pb api (#2694)
* feat: public the json to document data pb api

* test: add test for convert_data_to_document_internal

* chore: apply review suggestion

* chore: update folder path
2023-06-03 20:43:46 +08:00
Lucas.Xu
ee52bf4b0e
fix: create build in document (#2687)
* feat: support create multiple level views

* refactor: rm document data wrapper

* chore: add docs

---------

Co-authored-by: nathan <nathan@appflowy.io>
2023-06-03 13:55:43 +08:00
Nathan.fooo
4fa39f298c
fix: ref view in document (#2685)
* fix: remove set ref view in document as the current view

* ci: fix tests

* ci: fix tauri build
2023-06-03 13:40:12 +08:00
chirag paneliya
5994cc135f
fix: update ar language not found issue. (#2599) 2023-06-03 12:36:05 +08:00
Nathan.fooo
265177e444
feat: hide ref database view (#2682) 2023-06-02 12:04:14 +08:00
Nathan.fooo
82dcd4b99e
feat: save csv data to local file (#2681) 2023-06-02 12:02:47 +08:00
Kilu.He
8cee792b94
Refactor text block delta and across block selection (#2671)
* fix: add block menu comment

* refactor: separation of abstract delta and editor, and optimization across block selections
2023-06-02 10:05:38 +08:00
Nathan.fooo
33e0f8d26d
feat: switch database layout (#2677)
* chore: rename update at and create at

* chore: support switching view layout

* chore: implement ui

* chore: update layout type

* refactor: board/calendar/grid setting button

* chore: update UI after switch to other layout type

* fix: no date display in calendar

* chore: update patch

* chore: fix create ref view in document

* chore: fix flutter analyze

* ci: warnings

* chore: rename board and grid keys

* fix: calendar row event update

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-06-01 20:23:27 +08:00
Lucas.Xu
2ef72f3203
feat: load the readme file when first time launch (#2676)
* chore: bump version 0.2.0

* test: add migration test

* feat: support exporting document data to afdoc format (#2610)

* feat: support exporting document data to afdoc format

* feat: export database

* fix: resolve comment issues

* fix: add error tips when exporting files failed

---------

Co-authored-by: nathan <nathan@appflowy.io>

* feat: rename delta

* feat: add built-in readme

* fix: use independent children id

* fix: comment typo

* chore: add icons

* fix: floating toolbar style

* fix: markdown export test

* chore: disbale moveup/movedown action

* fix: unit test

---------

Co-authored-by: nathan <nathan@appflowy.io>
2023-06-01 20:18:40 +08:00
Nathan.fooo
012b6c0066
feat: cloud storage test (#2663)
* chore: show default user name

* chore: update

* feat: change collab storage type after auth type changed

* chore: reload folder

* chore: initial the group controller if need

* chore: update patch

* chore: update patch ref
2023-05-31 17:42:14 +08:00
Nathan.fooo
09d61c79c9
chore: rename update at and create at (#2672) 2023-05-31 17:34:41 +08:00
Richard Shiue
80f08d4bec
feat: drag and drop events to reschedule (#2558)
* chore: send DateCellDataPB instead of timestamp

* chore: separate event card into own widget

* chore: add hover effect to event card itself

* feat: draggable event cards

* feat: drag target WIP

* chore: revert "chore: send DateCellDataPB instead of timestamp"

This reverts commit 1faaf21c6a50ac67da70ddf3bcfa8278ca5963d4.

* chore: remove timezone from date cell data

* fix: #2498 open calendar event faster

* chore: remove unused timezone

* feat: implement logic for rescheduling events

* fix: reschedule doesn't show up on UI

* fix: reorganize gesture detection layering

* fix: layout fix

* test: fix date single sort test

* chore: remove unused chrono-tz

* chore: add hint to unscheduled event popover

* chore: apply suggestions to 3 files

* fix: #2569 fix overflow

* chore: add timezone data to DateTypeOption

* test: make date tests run on Etc/UTC timezone

* chore: fix clippy warnings

* fix: use the right get db function

* chore: code cleanup

* test: run tests in utc

* test: fix tests

---------

Co-authored-by: nathan <nathan@appflowy.io>
2023-05-31 16:52:37 +08:00
Nathan.fooo
188b36cae6
feat: import cvs from file (#2667)
* refactor: import file

* chore: fix tarui build
2023-05-31 14:08:54 +08:00
Nathan.fooo
2247fa8edb
chore: add default text when adding a new field (#2664) 2023-05-30 17:11:16 +08:00
Daniyar Nurmukhamet
acc1d779c5 feature: changed url field ux to be directly editable (#2523)
* feature: changed url field ux to be directly editable

* feature: added link svg icon
2023-05-30 15:27:26 +08:00
Lucas.Xu
dac4bd88e0
feat: Implement window size settings saving (#2648)
This commit addresses the feature request to save the window size settings.
The application will now remember the user's preferred window size, allowing
for a more personalized and seamless user experience.

Fixes: #2544

Co-authored-by: Akarsh Jain <akarsh.jain.790@gmail.com>
2023-05-30 11:06:23 +08:00
Nathan.fooo
65a910291b
fix: disable edit update or create field (#2657)
* feat: enable hide the grid property in row detail page

* feat: disable update the updatedAt or createdAt cell
2023-05-30 10:43:19 +08:00
Nathan.fooo
f0c440dcad
feat: enable hide the grid property in row detail page (#2656) 2023-05-30 10:30:32 +08:00
Nathan.fooo
107662dceb
feat: checklist improve (#2653)
* feat: improve checklist

* feat: reimplement checklist

* test: fix
2023-05-30 09:41:33 +08:00
Lucas.Xu
dc73df4203
chore: update editor version (#2654)
* fix: revert remove action container space in mobile

* fix: setup the background color of the slash menu when clicking the add button

* fix: #2634 Visual bug in divider between main editor area and top area

* fix: v0.2 bugs

* feat: implement auto scroll when selection updated

* chore: update intl
2023-05-30 07:55:58 +08:00
chirag paneliya
57389d1fdd
fix: color not show issue when change cover photo color. (#2624)
* fixe: color not show issue when change cover photo color.

* fix:added missing a required comma. and toColor() extension
2023-05-29 22:08:56 +08:00
Nathan.fooo
6bbdc7ceff
refactor: group event (#2640)
* refactor: group event

* fix: tauri build
2023-05-28 22:54:03 +08:00
Nathan.fooo
75d40b79d0
fix: some bugs (#2639)
* fix: invalid index when insert row

* fix: auto fill 0 in front of number start with .

* fix: #2591

* chore: split the update at and create at test

* chore: fix tauri build
2023-05-28 16:14:25 +08:00
Mathias Mogensen
cdfb634aa6
chore: upgrade flutter to 3.10.1 (#2619)
* chore: upgrade flutter and dart

* ci: upgrade flutter in cicd

* fix: remove textstyle_extensions from flowy_infra

* ci: upgrade flutter in cicd

* fix: update flutter.toml

* fix: deprecations and ffi

* fix: move json_annotation to dependencies

Must have accidentally moved it to dev_dependencies when upgrading dependencies

* fix: update editor ref and use fold

* chore: try with generate true
2023-05-28 12:09:39 +08:00
Nathan.fooo
45d0d41830
chore: import history database (#2638) 2023-05-27 21:29:18 +08:00
Askarbek Zadauly
6935653e15
chore: Edit Row changes (#2564)
* chore: checklist value and popup

* chore: properties side panel

* chore: reorganize checklist field

* chore: delete property promt

* chore: delete property reorganize

* fix: dnd bug of checklist field

* fix: whitespace on empty fields

* chore: new checklist item

* fix: duplicate view

* fix: named checklist bars

* chore: checklist padding

* fix: onclick

* chore: change to nullish coalescing operator

* chore: remove empty string from use translation

* fix: add missing translations

* chore: refactor select option and checklist field editors
2023-05-27 21:12:14 +08:00
Mohammad Zolfaghari
9a213fa562
feat: created at and updated at field type (#2572)
* feat: created at and updated at field type

* style: context for rust asserts, change checks in flutter

* fix: mistake in if condition

* style: add comma end of array

* feat: created at and updated at field type

* fix: typo in const variable

* style: cargo fmt

* refactor: opti cell insert

* chore: remove redundant clone

* refactor: date type option

* fix: tauri build

---------

Co-authored-by: nathan <nathan@appflowy.io>
2023-05-26 18:34:17 +08:00
Lucas.Xu
386182e295
fix: slash menu background color (#2616) 2023-05-26 09:52:47 +08:00
Nathan.fooo
70bb7f2ad6
Feat: import and export csv (#2617)
* feat: import csv

* feat: export

* chore: implement import export csv in the backend

* chore: patch
2023-05-25 23:22:23 +08:00
Lucas.Xu
2746666123
feat: optimzie the hover block action (#2607)
* feat: optimzie the hover block action

* fix: duplicate view CI error
2023-05-24 10:45:28 +08:00
Nathan.fooo
65cc2040e5
fix: view name update (#2606)
* fix: update the view name

* fix: pass invalid view id
2023-05-24 08:57:58 +08:00
Nathan.fooo
056e2d49d0
feat: integrate postgres storage (#2604)
* chore: env config

* chore: get user workspace

* feat: enable postgres storage

* chore: add new env

* chore: add set env ffi

* chore: pass env before backend init

* chore: update

* fix: ci tests

* chore: commit the generate env file

* chore: remove unused import
2023-05-23 23:55:21 +08:00
Lucas.Xu
51a7954af7
fix: always open the readme file (#2603) 2023-05-23 19:55:43 +08:00
Lucas.Xu
74ff6772db
feat: support import document from v0.1.x (#2601) 2023-05-23 19:42:53 +08:00
Lucas.Xu
ffff628359
feat: document migration from 0.1.x to 0.2.0 (#2583)
* chore: migrate the rewrite feature

* chore: rename flowy-document

* feat: add initial_data interface

* chore: rename the document event

* fix: font name error

* fix: export page UI issues

* feat: implement editor migration 0.1.x -> 0.2.0

* feat: support import old json

* fix: nested list error

* chore: update pubspec
2023-05-23 16:13:12 +08:00
Mathias Mogensen
f8d09e4894
fix: select all in code block handler (#2538)
* fix: select all in code block handler

Closes: #2320

* fix: do not force unwrap in toDocument

* fix: refactor unwrapping and selection
2023-05-22 10:54:08 +08:00
Kilu.He
b41b212b0d
Support block toolbar (#2566)
* feat: support block toolbar in left side

* fix: export delete and duplicate

* feat: slash menu
2023-05-22 09:33:37 +08:00
Nathan.fooo
ca7777e891
fix: implement move row in backend (#2575) 2023-05-21 22:47:08 +08:00
Lucas.Xu
d842f228e8
feat: Integrate supabase (#2551)
* feat: integrate supabase auth service

* chore: ignore the sercet

* feat: separate and inject the auth service

* chore: integrate auth service into sign in/up page

* feat: integrate github and google sign in

* chore: update user trait

* feat: box any params in UserCloudService trait

* feat: add flowy-server crate

* refactor: user trait

* docs: doc ThirdPartyAuthPB

* feat: server provider

* feat: pass the uuid to rust side

* feat: pass supabase config to rust side

* feat: integrate env file

* feat: implement login as guest

* feat: impl postgrest

* test: use env

* chore: upper case key

* feat: optimize the file storage

* fix: don't call set auth when user login in local

* docs: add docs

* feat: create/update/get user using postgrest

* feat: optimize the login as guest

* feat: create user workspace

* feat: create user default workspace

* feat: redesign the setting path location page

* feat: use uuid as view id

* feat: send auth info to rust backend

* fix: sign up

* fix: skip to wrong page after login

* fix: integrate test error

* fix: indent command error

* feat: add discord login in type

* fix: flutter analyze

* ci: fix rust tests

* ci: fix tauri build

* ci: fix tauri build

---------

Co-authored-by: nathan <nathan@appflowy.io>
2023-05-21 18:53:59 +08:00
Nathan.fooo
5cc8340e05
chore: Merge main 521 (#2574)
* chore: merge main branch

* chore: remove document plugins

* chore: add color generator

* ci: tests
2023-05-21 15:08:50 +08:00
Nathan.fooo
eaa1dcdeb9
chore: refresh UI after deleting all sorts (#2573)
* chore: disable snapshot for now

* chore: notify the fronted to refresh after deleting all the sorts
2023-05-21 12:08:14 +08:00
Nathan.fooo
6c31cf9555
fix: number sort (#2570)
* chore: remove sign

* fix: sort number

* chore: update patch

* ci: fix dart test

* chore: fmt
2023-05-21 11:13:22 +08:00
Richard Shiue
bb681bdd1e
refactor: clean up code (#2550) 2023-05-19 18:28:13 +08:00
Kilu.He
f23c6098a7
Support to show text action toolbar when the selection exists and the range is not collapsed (#2525)
* feat: support text action menu

* fix: selection bugs

* fix: review suggestions

* fix: ci tsc failed
2023-05-19 14:56:43 +08:00
Nathan.fooo
f04d64a191
feat: config (#2552)
* feat: save project config

* feat: implement dart key value store
2023-05-17 16:33:44 +08:00
Lucas.Xu
d01afab96e feat: optimize startup task and integrate supabase 2023-05-17 13:54:26 +08:00
Nathan.fooo
19ee0ea44d
refactor: kv (#2548)
* refactor: kv

* Update frontend/rust-lib/flowy-sqlite/src/kv/kv.rs

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-05-17 12:46:48 +08:00
Lucas.Xu
623f182bba
feat: add toggle list and integrate add block button (#2547) 2023-05-17 11:02:55 +08:00
Nathan.fooo
bc66f43f47
Refactor: delete unused crates (#2543)
* refactor: delete user model

* refactor: delete user model crate

* refactor: rm flowy-server-sync crate

* refactor: rm flowy-database and flowy-folder

* refactor: rm folder-model

* refactor: rm database model

* refactor: rm flowy-sync

* refactor: rm document-model

* refactor: rm flowy-document

* refactor: rm flowy-client-sync

* refactor: rm ws-model

* refactor: rm flowy-revisoin

* refactor: rm revision-model

* refactor: rm flowy-folder

* refactor: rm flowy-client-ws

* refactor: move crates

* chore: move configuration file

* ci: fix tauri build'

* ci: fix flutter build

* ci: rust test script

* ci: tauri pnpm version conflict

* ci: tauri build
2023-05-17 09:49:39 +08:00
Lucas.Xu
2202326278
feat: integrate new editor (#2536)
* feat: update editor

* feat: integrate new editor

* feat: integrate the document2 into folder2

* feat: integrate the new editor

* chore: cargo fix

* chore: active document feature for flowy-error

* feat: convert the editor action to collab action

* feat: migrate the grid and board

* feat: migrate the callout block

* feat: migrate the divider

* chore: migrate the callout and math equation

* feat: migrate the code block

* feat: add shift + enter command in code block

* feat: support tab and shift+tab in code block

* fix: cursor error after inserting divider

* feat: migrate the grid and board

* feat: migrate the emoji picker

* feat: migrate openai

* feat: integrate floating toolbar

* feat: migrate the smart editor

* feat: migrate the cover

* feat: add option block action

* chore: implement block selection and delete option

* feat: support background color

* feat: dismiss color picker afer setting color

* feat: migrate the cover block

* feat: resize the font

* chore: cutomsize the padding

* chore: wrap the option button with ignore widget

* feat: customize the heading style

* chore: optimize the divider line height

* fix: the option button can't dismiss

* ci: rust test

* chore: flutter analyze

* fix: code block selection

* fix: dismiss the emoji picker after selecting one

* chore: optimize the transaction adapter

* fix: can't save the new content

* feat: show export page when some errors happen

* feat: implement get_view_data for document

---------

Co-authored-by: nathan <nathan@appflowy.io>
2023-05-16 14:58:24 +08:00
Kilu.He
99c48f7100
Support range selection and refactor data update mechanism and optimize outdent/indent operations (#2514)
* refactor: simplify data update logic and optimize outdent/indent operations

* feat: support range selection

* fix: review suggestions
2023-05-16 10:54:40 +08:00
Nathan.fooo
f9862c501c
chore: fix typo (#2540) 2023-05-16 08:53:09 +08:00
Nathan.fooo
6dcf69f151
chore: build collab with appflowy collab builder (#2537) 2023-05-15 22:16:05 +08:00
Richard Shiue
a978b29748
chore: merge remote-tracking branch 'main' into develop (#2530)
* feat: show unscheduled events in calendar toolbar (#2411)

* refactor: use same show row detail function

* fix: adjust popover offset

* feat: show unscheduled events in toolbar

* chore: apply suggestions from Xazin

* refactor: refactor list item into separate widget

---------

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

* fix: default include time (#2444)

* fix: default include time

* chore: clarify logic and add comments

* chore: bump version 0.1.4 (#2455)

* chore: Update README.md

Update product screenshots

* fix: wrong day of week (#2468)

* feat: select which properties to show in calendar (#2482)

* feat: improve sidebar item dragged appearance (#2471)

* fix: show delete icon for document icon properly (#2475)

* feat: add hover effect on an event card (#2487)

* chore: delete unncessary openCard method in RowCardContainer

* chore: delete unnessary code and add comment

* chore: update editor v0.1.12 and format the readme (#2489)

* fix: number sort (#2507)

* bump version 0.1.5 (#2506)

* chore: bump version 0.1.5

* fix: could not trigger slash menu after inserting an emoji

* Revert "feat: add hover effect on an event card (#2487)"

This reverts commit f0a4b4b77d.

* feat: add hover effect on an event card

* fix: #2469 duplicated cover

* chore: update changelog.md (#2510)

* chore: Update README.md

Add a screenshot of the calendar view

* fix: some regressions

---------

Co-authored-by: Nathan.fooo <86001920+appflowy@users.noreply.github.com>
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
Co-authored-by: Annie <anqi.annie.wang@gmail.com>
Co-authored-by: Yijing Huang <hyj891204@gmail.com>
2023-05-15 11:18:08 +08:00
Nathan.fooo
17a0a79379
fix: tests (#2516) 2023-05-15 10:56:01 +08:00
Kilu.He
37345578c1
fix: rectangular selection (#2480) 2023-05-12 08:24:24 +08:00
Nathan.fooo
a2b592a59b
fix: number sort (#2508) 2023-05-11 18:35:51 +08:00
Nathan.fooo
2a35787dd1
Feat/rename views (#2495)
* refactor: rename belongings to child views

* test: fix test
2023-05-10 19:43:32 +08:00
Kilu.He
bc723f8d0f
chore: update node version to 18.16.0 and update pnpm version to 8.5.0 (#2492) 2023-05-10 17:21:41 +08:00
Kilu.He
dad0419da0
feat: support code block (#2464) 2023-05-10 15:53:30 +08:00
Nathan.fooo
a9c06632ad
ci: tauri build (#2485)
* ci: tauri build

* ci: tauri build

* chore: update appflowy-collab version

* ci: fix build

* ci: tauri with pnpm

* ci: fix build

* ci: comment out includetime

* chore: add the --quiet option (to only output errors and not warnings) to the configuration file

* ci: enable linux platform

---------

Co-authored-by: qinluhe <qinluhe.twodog@gmail.com>
2023-05-10 13:27:50 +08:00
Richard Shiue
376f2d887d
feat: rewrite date logic (#2390)
* chore: remove unused fields

* chore: rewrite date logic

* chore: apply suggestions from Alex

* chore: add space in date format

* chore: re-add error handling in apply-changeset
2023-05-09 22:37:20 +08:00
Kilu.He
ba8cbe170c
Support divider block and callout block (#2457)
* feat: divider block

* feat: callout block
2023-05-08 10:31:35 +08:00
nathan
96c058db9b chore: fix compile 2023-05-08 10:30:24 +08:00
Kilu.He
12151d1f3b
feat: support toggle list (#2456) 2023-05-05 10:13:39 +08:00
Kilu.He
e2ced6524f
Feat/number list block (#2453)
* feat: support bulleted list block

* feat: support number list block
2023-05-04 17:20:23 +08:00
nathan
ad99998d33 chore: Merge branch 'main' into develop 2023-05-04 13:34:55 +08:00
Kilu.He
cf97c8ba9c
Support block config (#2419)
* fix: refactor block config
2023-05-04 11:24:35 +08:00
Richard Shiue
7aac4bc90b
fix: adjust layout setting string (#2423) 2023-05-04 10:04:24 +08:00
Richard Shiue
8f41a1023c
fix: tests after change in friendly date format (#2449) 2023-05-03 19:57:33 +08:00
Nathan.fooo
5e2b090f46
fix: number format (#2443)
* fix: number format

* chore: disable some tests that relate to timezone

* fix: tests
2023-05-03 18:00:58 +08:00
Nathan.fooo
1f187a3917
fix: number format (#2445) 2023-05-03 16:47:02 +08:00
Bienvenu Parfait
d65a56151b
feat: Date format (#2414)
* build: fetch update from upstream

* fix: date format

* style: remove log package

* style: remove unused import

* chore: remove whitespace changes

* chore: remove whitespace changes

* chore: remove whitespace changes

---------

Co-authored-by: parfait kouassi <parfait@gmail.com>
Co-authored-by: Alex Wallen <wallenstephen@outlook.com>
2023-05-03 16:27:56 +08:00
Lucas.Xu
c672a2a8ba
fix: hover color for change icon button (#2447) 2023-05-03 16:18:05 +08:00
Nathan.fooo
75262c0683
Fix/calendar event update (#2442)
* fix: update event pos on calendar

* fix: replace text field id with date field id
2023-05-03 15:47:09 +08:00
Mihir
39b1ff0910
feat: insert below and replace in smart-edit highlights text (#2107)
* feat: insert below and replace in smart-edit highlights text

* test: added integration tests to validate insert below and replace in smart-edit highlights text

* refactor: using get_it to inject OpenAiRepository to inject mock repo in test

* fix: delete node does not propagate non null selection

* refactor: suggested changes and fixed bugs causing warning in github-ci

* fix: integration tests causing error in github-ci

* refactor: reverting redundant changes due to recent changes in repo

* refactor: reverting redundant changes due to recent changes in repo

* refactor: refactoring to workspace based integration testing.

* refactor: reverting redundant changes due to recent changes in repo

* chore: fix analysis issues

* chore: fix analysis issues

* chore: remove the unnecessary conversion

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-05-03 15:43:11 +08:00
alceil
f9095cfc64
feat: AI - improve writing (#2257)
* feat: AI - Improve writing

* fix: new line in result

* formatted code
2023-05-03 15:29:36 +08:00
Destiny Saturday
9e3ad1a6be
feat: sync name on change (AppFlowy-IO#2033) (#2065) 2023-05-03 15:29:17 +08:00
GitStart
473eb8bcbe
feat: Only show the change cover button and delete button when it's hovering. (#2145)
* feat: Only show the change cover button and delete button when it's hovering.

* feat: Only show the change cover button and delete button when it's hovering

---------

Co-authored-by: gitstart <gitstart@users.noreply.github.com>
2023-05-03 15:22:16 +08:00
Kilu.He
76b94e363e
Support quote block (#2415)
* feat: support quote block

* fix: database ts error
2023-05-03 14:54:07 +08:00
Akarsh Jain
2e18c020bc
fix: font size for Numbers property value on calendar. (#2435)
* fix: font size for Numbers property value on calendar.

* fix: card style

---------

Co-authored-by: nathan <nathan@appflowy.io>
2023-05-03 14:43:50 +08:00
Richard Shiue
c320f6ef8a
fix: local time (#2436)
* feat: use user local timezone

* fix: suggestion for date logic

---------

Co-authored-by: nathan <nathan@appflowy.io>
2023-05-03 13:05:10 +08:00
Nathan.fooo
8cacfb1d07
feat: use user local timezone (#2407) 2023-05-03 11:50:02 +08:00
Kilu.He
7db36e3f1e
feat: checkbox block (#2413) 2023-05-03 11:18:25 +08:00
Richard Shiue
c4ff1a6290
feat: double click day cell to create event (#2424) 2023-05-03 10:14:12 +08:00
Richard Shiue
a48fca159f
feat: show title in row detail page (#2433) 2023-05-03 10:13:33 +08:00
Richard Shiue
95bc325e85
fix: text overflow on time in event card (#2434) 2023-05-03 10:11:16 +08:00
Nathan.fooo
93d787a9ae
Fix: flutter test (#2421)
* fix: tauri compile

* ci: update

* fix: flutter test
2023-05-02 17:10:35 +08:00
Richard Shiue
d5b70c842b
fix: sort the events in each day cell by time (#2412)
* fix: sort the events in each day cell by time

* fix: reorder issue in calendar day

---------

Co-authored-by: nathan <nathan@appflowy.io>
2023-05-02 13:44:52 +08:00
Yijing Huang
545e57448a
fix: UI issues in dark mode (#2344)
* fix: date cell UI issue #2301

* chore: update font size toggle button hover effect

* chore: update more button background

* chore: update NumberTypeOptionWidge hover style

* chore: improve the hover color in _SelectOptionColorCell

* chore: update User setting UI

* fix: delete unused file

* fix: remove the hover effect when delete button is disable
2023-05-02 10:18:51 +08:00
Akarsh Jain
c6cd10dfcf
fix: hover state issue in icon picker for dark mode workspace name. (#2395) 2023-05-01 08:05:44 -10:00
Kilu.He
f5b23e5fc1
feat: Support heading block (#2376)
* feat: support transform heading block according to markdown

* fix: folder scroll
2023-05-01 15:40:56 +08:00
Daniil Golubev
4be98fdba0
feat: update ru-RU localization (#2397) 2023-05-01 11:28:13 +08:00
Richard Shiue
df4a5ca059
fix: calendar ui adjustments (#2398) 2023-05-01 11:26:57 +08:00
Richard Shiue
77d58a81fd
chore: grid row page detail redesign (#2351)
* chore: grid row page detail update

* chore: update row_detail.dart

Co-authored-by: Alex Wallen <wallenstephen@outlook.com>

* chore: more adaptive and code cleanup

* feat: duplicate row

* feat: duplicate calendar event

* fix: ci

* feat: show other options

* fix: show include time

* fix: add key in RowCard to avoid incorrect data when open the row page

---------

Co-authored-by: Alex Wallen <wallenstephen@outlook.com>
Co-authored-by: nathan <nathan@appflowy.io>
2023-04-30 20:50:24 +08:00
Askarbek Zadauly
55cb7acc7f
feat: tauri kanban fixes (#2273)
* chore: group cards count

* chore: delete board card

* chore: date time format read and update

* fix: move field

* fix: dnd fields

* chore: number format popup

* chore: refactor date options

* chore: replace button in DateFormatPopup with PopupItem

---------

Co-authored-by: qinluhe <qinluhe.twodog@gmail.com>
2023-04-30 17:01:25 +08:00
Richard Shiue
ac07c259f1
fix: #2028 auto enter edit mode for text field. (#2096)" (#2337)
This reverts commit 5afdb5de35.
2023-04-29 16:35:45 +08:00
Richard Shiue
cd1202d3dc
feat: open the event details page when a new one is create (#2388)
* style: code style improvement

* chore: open cal event details page upon creation
2023-04-29 16:32:29 +08:00
Richard Shiue
28f22e4d61
fix: calendar dark mode UI fixes (#2353)
* chore: calendar dark mode UI fixes

* chore: bump calendar_view package version

* chore: adjust padding
2023-04-29 16:25:43 +08:00
Nathan.fooo
2838cd5e0c
Feat/tauri build (#2378)
* fix: tauri compile

* ci: update
2023-04-28 20:47:40 +08:00
qinluhe
070ac051b1
fix: support up/down/left/right keyboard event to move cursor (#2365) 2023-04-28 17:08:58 +08:00
Nathan.fooo
32bd0ffca2
feat: migrate flowy-database (#2373)
* feat: add flowy-database2

* chore: config type option data

* chore: impl type option

* feat: config group

* fix: group compile

* feat: add sort

* chore: setting

* chore: insert with specific type

* chore: custom group

* chore: rename any map

* chore: use group setting

* chore: update

* chore: open database event

* chore: update database editor

* chore: update

* chore: update view editor

* chore: update

* chore: update view editor

* chore: sort feat

* chore: update handler

* chore: update

* chore: config handler event

* feat: impl handlers

* feat: impl handlers

* chore: layout setting

* feat: impl handlers

* chore: remove flowy-folder ref

* chore: integrate flowy-database2

* feat: get cell

* chore: create database with data

* chore: create view

* chore: fix dart compile

* fix: some bugs

* chore: update

* chore: merge develop

* chore: fix warning

* chore: integrate rocksdb

* fix: rocksdb compile errros

* fix: update cell

* chore: update the bundle identifier

* fix: create row

* fix: switch to field

* fix: duplicate grid

* test: migrate tests

* test: migrate tests

* test: update test

* test: migrate tests

* chore: add patch
2023-04-28 14:08:53 +08:00
GitStart
2b1b1c0f28
fix: distorted/shrunken emojis in Callout option in theDocument page (#2361) 2023-04-27 11:17:40 -10:00
qinluhe
243f062d4f
feat: support to break wrap the text block when triggering shift+enter (#2360)
* fix: make TextBlock's keydown event code easier to maintain

* fix: support  to break wrap the text block
2023-04-27 15:39:16 +08:00
Mohamed DevOps
c8f7401470
chore: add Arabic translation (#2348)
* add arabic translation

* add arabic locale

* add arabic translation

* Update ar-SA.json

* Update ar-SA.json
2023-04-27 13:41:26 +08:00
Yijing Huang
37ba5d8e43
fix: fix icon hover color in dark mode (#2356)
* fix: File and Trash icons brightness in dark mode.
Fixes: #2298

* chore: update hover color in file location

* feat: add foregroundColorOnHover in HoverStyle

* feat: add iconColorOnHover in FlowyIconButton

* chore: update trash page UI

---------

Co-authored-by: Akarsh Jain <akarsh.jain.790@gmail.com>
2023-04-26 17:27:07 -10:00
qinluhe
a0efd206a9
fix: modify some eslint rule (#2359) 2023-04-27 10:53:22 +08:00
qinluhe
9717dfa3c4
fix: refactor match change code (#2352) 2023-04-26 13:14:38 +08:00
GitStart
857cd9ff55
fix: Use consistent path separators for workspace folder location in settings menu (#2349)
Co-authored-by: gitstart <gitstart@users.noreply.github.com>
2023-04-25 20:02:04 +08:00
qinluhe
eb78f9d36a
fix: make it unidirectional data flow by listening to document updates (#2347) 2023-04-25 19:10:08 +08:00
qinluhe
1ad2f6cef5
fix: set cursor after operation (#2343) 2023-04-25 15:52:57 +08:00
Yijing Huang
fccd6135f7
feat: change the UI of language selector (#2317)
* feat: change the UI of language selector

* chore: clean up code

* chore: delete unnecessary code and clean up
2023-04-25 10:20:10 +08:00
qinluhe
973cd9194d
feat: Support ui update when receive doc changes (#2270)
* fix: add  method

* fix: update text block and doc title

* fix: support ui update when receive doc changes

* fix: modify the subscribe change

* chore: add test for document manager

* chore: add test for document manager

* chore: add insert and update test for document manager

* fix: load document data

* fix: add update page block test

* fix: try fix again

* fix: node can not rerender when the node data change

* fix: it should cover all content when the text delta updated

* fix: add insert and delete operation in left menu

* fix: put the UI Actions in async thunks

* fix: remove log

* fix: split text block

* fix: review code

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
Co-authored-by: nathan <nathan@appflowy.io>
2023-04-24 14:25:00 +08:00
Richard Shiue
aaa3eb9041
fix: remove padding on popovers of newly-created fields (#2268) 2023-04-24 10:22:09 +08:00
Richard Shiue
9e47603360
fix: #2102 hide include time setting in date field options (#2266) 2023-04-24 10:21:32 +08:00
Annie
71bff8f864
feat: add a new entry to the question bubble (#2334) 2023-04-24 09:53:00 +08:00
Shubham Rawat
2af2621b49
feat: add url validation in cell_editor (#2287)
* feat: add url validation in cell_editor

* fix: url validation in cell editor

* feat: add UriFailure in url_validator
2023-04-23 17:26:27 +08:00
nathan
a604c0f238 chore: bump version 2023-04-22 13:13:06 +08:00
Nathan.fooo
d3363aba0f
Fix/0.1.3 (#2319)
* fix: duplicate document

* fix: number cell data parser
2023-04-22 11:57:35 +08:00
Yijing Huang
d804e3ed6d
feat: editor theme improvement (#2307)
* chore: make editor style adapt to theme data and add toolbar color

* chore: link to local path

* chore: add pop up menu style

* chore: link to editor main branch

* chore: reset editor path

* chore: upgrade appflowy_editor

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-04-21 19:26:55 +08:00
Nathan.fooo
0068c7e731
fix: compile errors (#2310) 2023-04-21 17:02:26 +08:00
Yijing Huang
40e266f5ce
chore: update UIs in document and move plugins out of package (#2289)
* chore: move plugins out of package

* chore: update cover image picker style

* chore: update math equation style

* chore: rename barrel file

* chore: add LocaleKeys
2023-04-19 12:56:02 -10:00
Lucas.Xu
c009347735 Merge remote-tracking branch 'origin/main' into develop
# Conflicts:
#	frontend/appflowy_flutter/lib/plugins/database_view/application/database_view_service.dart
#	frontend/appflowy_flutter/lib/plugins/document/presentation/plugins/base/link_to_page_widget.dart
#	frontend/appflowy_flutter/lib/plugins/trash/application/trash_bloc.dart
#	frontend/appflowy_flutter/lib/plugins/trash/application/trash_service.dart
#	frontend/appflowy_flutter/lib/workspace/application/app/app_bloc.dart
#	frontend/appflowy_flutter/lib/workspace/application/app/app_service.dart
#	frontend/appflowy_flutter/lib/workspace/application/menu/menu_bloc.dart
#	frontend/appflowy_flutter/lib/workspace/application/workspace/workspace_service.dart
#	frontend/appflowy_flutter/lib/workspace/presentation/home/menu/app/header/header.dart
#	frontend/appflowy_flutter/test/bloc_test/grid_test/filter/filter_util.dart
#	frontend/appflowy_flutter/test/bloc_test/grid_test/grid_bloc_test.dart
#	frontend/appflowy_flutter/test/bloc_test/grid_test/util.dart
#	frontend/appflowy_flutter/test/bloc_test/home_test/view_bloc_test.dart
#	frontend/rust-lib/flowy-database/src/services/database/database_editor.rs
#	frontend/rust-lib/flowy-database/src/services/persistence/migration/database_view_migration.rs
2023-04-18 19:06:21 +08:00
Yijing Huang
782d01274d
feat: Improve dark mode in document page (#2254)
* chore: update page icon hover color

* chore: update remove icon hover color

* chore: update emoji picker style

* chore: update ai writer dialog button style

* chore: update Dropdown menu item style in code block

* chore: update callout tint color name

* chore: add null assertion in emoji popover
2023-04-18 14:42:12 +08:00
Aman Negi
45d3a74103
fix: Replace dark mode logo (#2269)
- Replaced `flowy_logo_dark_mode.svg` because it does not work as
expected.
2023-04-18 09:46:46 +08:00
Daniil Golubev
bead00cbae
feat: update ru-RU localization (#2274) 2023-04-18 09:44:56 +08:00
qinluhe
07947db98b
feat: split create document and open document (#2261)
* fix: add  method

* fix: update text block and doc title
2023-04-17 10:12:04 +08:00
Nils Jacobsen
d5ccc20e04
feat: add inlang to make the contribution of translations easier (#2262)
* feat: add inlang.config.js

* inlang: update translations

* inlang: update translations

* inlang: update translations

* inlang: update translations

* inlang: update translations

* inlang: update translations

* inlang: update translations

* inlang: update translations

* inlang: update translations

---------

Co-authored-by: NilsJacobsen <>
2023-04-17 09:56:15 +08:00
Samiksha Garg
43a8335fd4
fix: seperating env for mac test depending upon archs (#2265) 2023-04-17 09:19:55 +08:00
Lucas.Xu
3b1152615a
chore: add tracing to document2 (#2263) 2023-04-14 20:14:47 +08:00
Yijing Huang
b451303156
fix: multiple UI issues (#2249)
* fix: put original borderRadius back to FieldCellButton

* chore: remove the border of card when it is in dark mode

* chore: update NavigatorTextFieldDialog style and organize Insets

* chore: delete unnecessary nullable field
2023-04-14 13:21:10 +08:00
qinluhe
4582413e89 fix: modify blocks pb 2023-04-14 09:23:22 +08:00
GouravShDev
01ced3bdc0
[Fix] delete cover image document update (#2224)
* fix: reset cover on deleting selected cover image

* feat: add alert dialog on delete

* fix: update cover image list when file not found

* fix: missing const in change cover popup

* fix: added dialog string in translation file

* fix: analytical issue in changeCoverPopover

* fix: added trailing commas in change_cover_popover
2023-04-13 20:21:15 +08:00
qinluhe
9ed5bfa51e fix: delete useless files 2023-04-13 19:41:31 +08:00
Lucas.Xu
ec89e9517b
feat: init flowy document 2 (#2248)
* feat: init flowy document 2

* feat: convert inner document to document PB

* feat: integrate colla document into Flutter

* feat: integrate colla document into tauri

* fix: cargo clippy
2023-04-13 18:53:51 +08:00
qinluhe
c7eb490db4
Merge pull request #2230 from Ascarbek/feat/tauri-grid
Feat: tauri grid
2023-04-13 10:55:07 +08:00
Nathan.fooo
92f980347f
fix: duplicate view with setting (#2252) 2023-04-12 23:32:31 +08:00
Nathan.fooo
5d542394d8
fix: can not create a card in the right date. disable utc setting (#2251) 2023-04-12 21:09:50 +08:00
Richard Shiue
2205b12af2
fix: calendar UI fixes (#2060)
* chore: add some comments and improve readability

* chore: add a border to the event cards

* fix: improve scrollbar appearance

* fix: remove unused import

* style: code readability

---------

Co-authored-by: Alex Wallen <wallenstephen@outlook.com>
2023-04-11 14:58:07 -10:00
ascarbek
125eaf49a9 refactor: color item 2023-04-11 22:10:28 +06:00
Lucas.Xu
ce4e4f2276
fix: sometimes build error in macOS x86_64 (#2234) 2023-04-11 21:19:37 +08:00
ascarbek
73c4a33191 fix: separate icons page 2023-04-11 16:37:21 +06:00
Mikias Tilahun Abebe
68bfa0b9cd fix: remove try catch for global error boundary 2023-04-11 11:03:18 +03:00
qinluhe
d42084f242 Merge branch 'develop' of github.com:AppFlowy-IO/AppFlowy into refactor-tauri-document 2023-04-11 10:45:11 +08:00
qinluhe
886766c887 refactor: document controller 2023-04-11 10:35:47 +08:00
JP
662d11b3b1
Fix the app's Dockerfile and comment it (#2162)
* chore: fix the app's Dockerfile and comment it

* chore: test docker-compose on CI
2023-04-11 10:26:04 +08:00
Yijing Huang
1cbedb3277
feat: Improve dark mode in board page (#2193)
* chore: update board UI in dark mode

1. Update BoardSettingList&BoardToolbar UI
2. Update item detail dailogue UI

* chore: update URL cell UI

* chore: update checkList pop up UI and shadow color

* chore: fix flutter analyze issue

* chore: update URL popup textfield and change new property text

* chore: Update NumberTypeOptionWidget and options title UI

* chore: make color value more readable

* chore: flutter analyze

* chore: update sort button style
2023-04-11 10:18:36 +08:00
Mikias Tilahun Abebe
37a6b54e82 feat/implement error boundary 2023-04-10 18:24:08 +03:00
Nathan.fooo
341dce67d4
test: add tauri format test (#2229) 2023-04-10 22:50:00 +08:00
Samiksha Garg
28ae193002
feat: added day/month/year format (#2189) 2023-04-10 00:46:07 -10:00
Lucas.Xu
aac5c2a4da
feat: add require_trailing_commas to analysis_options.ymal. (#2227) 2023-04-10 15:10:42 +08:00
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