Commit graph

6291 commits

Author SHA1 Message Date
Lucas
813c8e6b86
feat: support workspace ops on mobile (#6449)
* feat: support workspace ops on mobile

* chore: move the member bloc to workspace menu item widget

* feat: support creating workspace on mobile

* chore: add popToHome extension

* fix: flutter analyze

* feat: support renaming a workspace

* feat: support deleting a workspace

* feat: support leaving a workspace

* feat: workspace icon ui revamp

* feat: support updating workspace icon on mobile

* feat: show a confirm dialog before deleting a workspace

* fix: workspace name overflow

* feat: support leaving a workspace

* chore: update translations

* feat: show a toast after renaming workspace

* feat: update translations

* feat: add workspace operation integration tests on mobile

* test: add create workspace test on mobile
2024-10-02 20:13:19 +08:00
Richard Shiue
23e3650570
test(flutter_desktop): add edit row test (#6442) 2024-10-02 09:17:28 +08:00
Richard Shiue
092aefdd71
fix(flutter_desktop): fix calendar event bugs (#6446)
* fix: row controller being disposed too early in calendar

* fix: empty accessories in calendar event card
2024-10-02 09:17:02 +08:00
Lucas
19361e2c68
feat: optimize selection gesture in editor (#6445) 2024-10-01 20:14:53 +08:00
Lucas
6e48f02d25
fix: insert the pasted nodes after current selection if they start with a non-delta node (#6441)
* fix: pasting in-app json on a line with text can cause corrupt blocks

* chore: update editor

* fix: paste multiple nodes test
2024-10-01 17:58:10 +08:00
Lucas
46e45c3715
feat: keep link format when converting preview block to text (#6435)
* feat: keep link format when converting preview block to text

* test: add test

* fix: flutter analyze

* feat: ctrl/cmd+z to revert the link prevew op

* test: add test

* chore: update toast style
2024-10-01 12:53:44 +08:00
Lucas
eca495ce63
fix: double cursor show in title and doc sometimes (#6437) 2024-10-01 11:57:51 +08:00
Richard Shiue
70e72d843e
feat: custom database field icons (#6415) 2024-09-30 22:14:15 +08:00
Richard Shiue
7ac3b72a4f
feat(flutter_desktop): use regular rather than medium font weight by default (#6432)
* feat(flutter_desktop): use regular rather than medium by default

* fix: setting button regression

* fix: bring more text styles up to date with design
2024-09-30 21:37:11 +08:00
Mathias Mogensen
cc9072e9cc
chore: remove supabase dependency (#6396) 2024-09-30 12:17:23 +02:00
Lucas
a0ee47b809
feat: support copy/cut command when the selection is collapsed (#6429)
* feat: add delete line command

* test: add delete line test

* test: add delete line command test

* feat: support copy command when selection is collasped
2024-09-30 16:34:41 +08:00
Richard Shiue
af40ff8eb1
chore: grid ui improvements (#6428)
* fix: dont use medium font weight

* fix: widget padding adjustments

* fix: new divider color

* chore: use horizontal padding from databsepluginwidgetbuildersize

* chore: use existing color token

* chore: restore old add icon
2024-09-30 16:09:57 +08:00
Richard Shiue
b0211be03c
fix(flutter_desktop): field info not updating in sort info (#6430) 2024-09-30 16:08:49 +08:00
Kilu.He
3174ffed5c
fix: support approve (#6413) 2024-09-30 13:41:47 +08:00
Richard Shiue
99c7252a15
fix(flutter_desktop): board card rebuild issue (#6424) 2024-09-29 11:34:45 +08:00
Lucas
99c81fed56
fix: paste doesn't work sometimes in the first try (#6412)
* fix: paste doesn't work sometimes in the first try

* test: paste the url that doesn't contain a protocol

* feat: skip parsing as a preview block if the url is image
2024-09-27 17:45:49 +08:00
Lucas
a01fc5b572
feat: support window tiling on macos (#6410) 2024-09-27 15:22:18 +08:00
Lucas
1b0bb1d5ff
fix: backtick issue in French IME (#6408)
* fix: backtick doesn't format the text to code in french ime

* test: add backtick test

* fix: three backticks doesn't convert to code block in french ime

* chore: remove cache for docker ci
2024-09-26 20:16:49 +08:00
Lucas
1ffd653515
fix: grid cell date time test (#6406)
* fix: grid cell date time test

* chore: delete test
2024-09-26 20:16:33 +08:00
Richard Shiue
e1c60084d3
feat: allow filtering by last modified and created at field types (#6407)
* feat: last modified and created on filters

* chore: improve select option filter

* test: add test
2024-09-26 18:57:15 +08:00
Lucas
4c6b6ffdac
feat: support cover title (#6353)
* feat: support cover title

* feat: support arrow down and arrow right key on cover title

* feat: support arrow up and arrow left key on editor

* test: add integration test

* chore: update frontend/appflowy_flutter/integration_test/desktop/document/document_title_test.dart

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

* feat: use shared document context to save title focus node

* fix: the backspace key doesn't work after pressing Enter in the title

* feat: support pressing arrow left key to focus on title

* fix: integration test

* test: edit title and insert new line

* test: arrow key in title test

* test: check if the title is saved

* fix: flutter analyze

* test: add cover title command tests

* fix: integration tests

* test: change the title via sidebar, check the title is updated

* test: set default name when pasting content

* fix: field visibility test

* fix: 'create a new workspace, open it and then delete it' test

* fix: create a new document and move it to Getting started test

* test: fix integration tests

* fix: 'create a new document and edit title' failed on linux

* fix: shortcut and create a new page test

---------

Co-authored-by: Mathias Mogensen <42929161+Xazin@users.noreply.github.com>
2024-09-25 22:44:59 +08:00
Richard Shiue
783d458100
feat(mobile): database filters (#6401) 2024-09-25 22:22:36 +08:00
Richard Shiue
9b7d38bca7
feat(flutter_desktop): allow filtering by date end (#6399) 2024-09-25 15:28:47 +08:00
Lucas
a8a8502577
chore: install deps using pacman (#6397)
* chore: install deps using pacman

* chore: use rust 1.80.1

* chore: add docker ci

* fix: docker ci

* chore: optimize docker-ci speed
2024-09-25 15:25:44 +08:00
Nathan.fooo
6a1619d300
chore: detect field type when import csv (#6400) 2024-09-25 15:09:00 +08:00
Richard Shiue
9b811f0166
refactor(flutter_desktop): filter blocs (#6356)
* refactor: database filter bloc

* refactor: filter choice chips

* fix: update field info in filters

* refactor: simplify select option filter panel

* test: fix tests

* refactor: filter choice chips

* test: add bloc tests

* refactor: date time filter bloc and choice chip
2024-09-25 12:04:00 +08:00
Nathan.fooo
7e1b77f872
chore: Migrate type option (#6395)
* chore: migrate number type option

* chore: migrate single select

* chore: migrate multi select

* chore: migrate date type option

* chore: migrate timestamp type option

* chore: support friendly full

* chore: migrate media type option

* chore: update collab

* chore: update zip

* chore: remove file

* chore: fix build

* chore: fix test
2024-09-25 11:44:19 +08:00
Mohammad Zolfaghari
b7c598ea56
feat(flutter_desktop): date filter (#6288)
* feat: wip enabling date filter

* fix: update date picker selected range on change

* fix: save in utc, load in local date time

* test: added date filter test

* fix: don't include time in date picker

including time makes filtering complex without much gain.
when the condition is "is" we should also note the exact time
which most of the cases the time is not intended by user only the day.

* fix: flutter analyze
2024-09-24 22:03:07 +08:00
Richard Shiue
da7c993fd6
chore(flutter_desktop): enable selecting icons without backgrounds (#6379)
* chore: enable selecting icons without backgrounds

* chore: remove debugprint

* chore: rename flag
2024-09-24 22:01:21 +08:00
Richard Shiue
c6dd5db6da
fix: edge case for text filters (#6387) 2024-09-24 22:01:05 +08:00
Mathias Mogensen
e125e9493a
fix: offset row actions by cover height (#6390) 2024-09-24 14:33:23 +02:00
Lucas
5fbd07e96a
fix: potential ai_repository not init (#6388)
* fix: potential ai_repository not init

* fix: assertion when deleting block

* chore: remove the rule

* test: add smart edit bloc test

* test: add delete block test

* chore: remove unused_import

* fix: paste image integration test
2024-09-24 20:24:28 +08:00
Mathias Mogensen
0a6bee6232
fix: hover bug in row banner (#6389) 2024-09-24 13:57:26 +02:00
Mathias Mogensen
552f2a73de
fix: row cover improvements (#6381)
* fix: row cover improvements

* feat: set image from media cell as cover

* fix: duplicate row meta when duplicating row

* fix: use serialize repr and deserialize repr

* chore: update collab revision

* fix: failing test and bug w/ document icon

* fix: show empty cover on load failure

* fix: tauri collab revision
2024-09-23 16:28:47 +02:00
Richard Shiue
eeb6b69f58
fix: semi-transparent colors being forced to full opacity in FlowySvg (#6376)
* fix: semi-transparent colors being forced to full opacity

* chore: code style

* chore: update comment
2024-09-23 20:44:23 +08:00
Richard Shiue
99889b9950
fix(flutter_desktop): select option kanban groups not updating #6369 2024-09-23 20:44:10 +08:00
Lucas
c51b495544
feat: support appflowy cloud in sign-in settings page (#6386)
* feat: support appflowy cloud in sign-in settings page

* test: add cloud server test

* test: wait until the tooltip disappear
2024-09-23 20:19:29 +08:00
Lucas
0d2841227a
feat: add numpadSubtract as zoom out keycode (#6380)
* feat: add numpadSubtract as zoom out keycode

* test: add zoom in/out and reset zoom refacotr test

* fix: zoom in test assertion

* fix: zoom in/out test

* test: exclude LogicalKeyboardKey.add & LogicalKeyboardKey.numpadSubtract in linux test
2024-09-23 12:25:45 +08:00
Lucas
2dc7dc1a26
fix: sidebar move page test (#6377) 2024-09-22 14:13:44 +08:00
Lucas
f0a494b41d
fix: 0.7.0 launch review issues (#6365)
* fix: cannot use 'move to' from sidebar

* feat: disable moving the page to a database

* fix: check if the move to path is same as current path

* fix: document width doesn't refresh after resetting

* fix: disable tooltip when dragging blocks

* fix: reminder not render when dragging

* chore: optimize code

* fix: after changing the language in the settings page, some of the text doesn't change

* feat: support moving a block to another block's child

* fix: tooltip assertion

* fix: disable table cell block

* chore: optimize moving logic

* test: collaborative workspace test

* test: move to page test

* test: drag block test

* test: check if the tooltip is hidden when dragging block

* test: move a block to another block's child

* test: change document width test
2024-09-22 09:35:11 +08:00
Richard Shiue
806fc75a8a
fix: launch review issues 0.7.0 (#6367)
* fix: leave away the property edit action -> the menu doesnt close

* fix: tooltip showing when hovering over empty space

* fix: text not centered

* fix: board card sizing issue
2024-09-22 09:34:21 +08:00
Nathan.fooo
d3362bf96a
chore: fix anon test (#6375)
* chore: fix anon test

* chore: fix test
2024-09-21 16:04:18 +08:00
Mathias Mogensen
7bef698f03
fix: hide line numbers in code block (#6352) 2024-09-21 16:00:23 +08:00
Kilu.He
bea4b60a7a
fix: fix jump error issue (#6374) 2024-09-21 15:08:02 +08:00
Kilu.He
1100c8b7e1
fix: modified row page cover (#6373) 2024-09-21 14:47:33 +08:00
Kilu.He
728c75ff87
fix: adjust row page skeleton (#6372) 2024-09-21 14:42:45 +08:00
Kilu.He
e01a59c772
fix: adjust editor's margin bottom (#6371) 2024-09-21 14:39:58 +08:00
Kilu.He
164933325c
fix: adjust margin bottom (#6370) 2024-09-21 14:31:10 +08:00
Kilu.He
88df232139
feat: support app router (#6366)
* fix: modified the folder name

* feat: open document and database

* feat: support editing

* fix: lint

* fix: add share actions

* fix: support interfaces
2024-09-21 10:39:09 +08:00
Nathan.fooo
7d3159c8da
fix: delete duplicate test in board (#6364)
* chore: fix delete duplicate test in board

* chore: update log
2024-09-21 09:57:17 +08:00