9 Commits

Author SHA1 Message Date
Lucas
7bc53d7bc6
feat: support 'share link' and 'publish' on mobile (#6548)
* feat: support publish on mobile

* chore: replace icons

* feat: support publish and copy link on mobile

* feat: support copy link

* feat: support copy share link

* chore: update icons

* fix: flutter analyze

* fix: ignore opening same page on mobile

* test: add copy link test on mobile
2024-10-15 15:12:59 +08:00
Lucas
37a2fb17b5
feat: copy link to block (#6523)
* feat: copy link to block

* chore: add comment

* feat: using mention bloc to manage the mention bloc status

* feat: use mention page bloc to manage mentioned page status

* feat: observe mention block content changes

* feat: sync the block content

* fix: integration test

* fix: mentioned block display name contains unnessary -

* fix: handle block was deleted case

* chore: move the get doc block and get mentioned page status to service

* feat: support copy link to page

* test: add copy link to block tests

* test: add copy link to block(same pge) tests

* test: open the mentioned page

* fix: integration test

* Revert "fix: integration test"

This reverts commit f4466b22d8a40262fa992f9e0dff1bf055005f16.

* fix: integration test
2024-10-14 14:04:42 +08:00
Lucas
f19e354418
feat: support 'turn into' in doc (#6516)
* feat: customize animation for popover

* chore: code refactor

* feat: using popover direction calculate the popover animation translate direction

* feat: integrate the animated popover in appflowy_popover and popover_action

* fix: close popover assertion

* chore: format code

* chore: code refactor

* feat: optimize the popover listener

* feat: clear popover when hot-reloading

* chore: refactor code

* feat: integrate animated popover in block action button

* fix: integration test

* feat: add turn into entry

* fix: popover asBarrier issue

* feat: move biz logic from widget to cubit

* feat: add turn into menu

* chore: remove unused code

* feat: support h1-h3

* feat: add block conversions

* fix: integration test

* feat: implement block conversions

* fix: outline test

* test: add turn into tests

* test: add turn into nested list test

* test: add turn into nested list test

* fix: flutter analyze

* chore: replace turninto icon

* feat: integrate animated popover in color option button

* chore: split the block option action into separate files

* test: add integration test

* fix: outline block test

* fix: integration test

* fix: shortcut test
2024-10-10 14:40:38 +08:00
Lucas
5f1f536181
feat: support editing name when creating a new page on mobile (#6501)
* feat: support editing name when creating a new page on mobile

* chore: add defaultName in layout extension

* test: add cover title test on mobile

* fix: cover title test on mobile

* feat: add integration runner 4

* chore: update translations

* chore: disable subpage feature
2024-10-08 14:29:07 +08:00
Lucas
ba59514464
fix: ignore same workspace icon update (#6496)
* fix: ignore same workspace icon update

* feat: pressing esc to exit editing mode in cover title

* fix: integration test

* fix: unable to use redo/undo in cover title

* chore: update collab version b56d051

* feat: show add emoji & add cover button when hovering on the title

* test: add hover on title test

* fix: unable to use arrow right in cover title

* fix: unable to select title sometimes

* fix: integration test

* fix: cloud integration test

* fix: cloud integration test

* fix: integration test
2024-10-08 11:46:15 +08:00
Mathias Mogensen
6b585ef9a7
fix: do not bring back purposeful null selection (#6464)
* fix: do not bring back purposeful null selection

* test: add more tests

* fix: redundant import
2024-10-03 23:05:30 +02: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
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
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