[PR #4936] [MERGED] feat: support custom scrollbar #6539

Closed
opened 2026-03-23 22:23:40 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/4936
Author: @qinluhe
Created: 3/19/2024
Status: Merged
Merged: 3/21/2024
Merged by: @qinluhe

Base: mainHead: feat/support-custom-scrollbar


📝 Commits (1)

  • 3b2d63e feat: support custom scrollbar for document

📊 Changes

44 files changed (+769 additions, -224 deletions)

View changed files

📝 frontend/appflowy_tauri/package.json (+3 -1)
📝 frontend/appflowy_tauri/pnpm-lock.yaml (+67 -0)
📝 frontend/appflowy_tauri/src/appflowy_app/application/folder/page.service.ts (+15 -0)
frontend/appflowy_tauri/src/appflowy_app/components/_shared/scroller/AFScroller.tsx (+55 -0)
frontend/appflowy_tauri/src/appflowy_app/components/_shared/scroller/index.ts (+1 -0)
📝 frontend/appflowy_tauri/src/appflowy_app/components/auth/Welcome.tsx (+3 -5)
📝 frontend/appflowy_tauri/src/appflowy_app/components/auth/auth.hooks.ts (+2 -2)
📝 frontend/appflowy_tauri/src/appflowy_app/components/database/components/database_settings/FilterSettings.tsx (+0 -1)
📝 frontend/appflowy_tauri/src/appflowy_app/components/editor/components/blocks/_shared/PlaceholderContent.tsx (+1 -1)
📝 frontend/appflowy_tauri/src/appflowy_app/components/editor/components/blocks/text/Text.tsx (+0 -1)
📝 frontend/appflowy_tauri/src/appflowy_app/components/editor/components/editor/CollaborativeEditor.tsx (+6 -4)
📝 frontend/appflowy_tauri/src/appflowy_app/components/editor/components/editor/Editor.hooks.ts (+14 -0)
📝 frontend/appflowy_tauri/src/appflowy_app/components/editor/components/editor/Editor.tsx (+2 -2)
📝 frontend/appflowy_tauri/src/appflowy_app/components/editor/components/inline_nodes/mention/MentionLeaf.tsx (+7 -9)
📝 frontend/appflowy_tauri/src/appflowy_app/components/editor/components/tools/block_actions/BlockActionsToolbar.hooks.ts (+36 -17)
📝 frontend/appflowy_tauri/src/appflowy_app/components/editor/components/tools/block_actions/BlockActionsToolbar.tsx (+37 -2)
📝 frontend/appflowy_tauri/src/appflowy_app/components/editor/components/tools/block_actions/utils.ts (+14 -31)
📝 frontend/appflowy_tauri/src/appflowy_app/components/editor/components/tools/command_panel/slash_command_panel/SlashCommandPanel.hooks.tsx (+17 -83)
📝 frontend/appflowy_tauri/src/appflowy_app/components/editor/components/tools/command_panel/slash_command_panel/SlashCommandPanelContent.tsx (+2 -4)
frontend/appflowy_tauri/src/appflowy_app/components/editor/components/tools/command_panel/slash_command_panel/const.ts (+174 -0)

...and 24 more files

📄 Description

This PR base on https://github.com/AppFlowy-IO/AppFlowy/pull/4934

Feature Preview

https://github.com/AppFlowy-IO/AppFlowy/assets/108015703/1c004e63-beb6-4104-b9bc-8c706f80c485

feat: support custom scrollbar for document


https://github.com/AppFlowy-IO/AppFlowy/assets/108015703/0cc7e7c5-b630-4873-a217-6099a6451e4e

feat: support keywords for slash list to search


image

feat: support right-click to copy,pasted,cut


image

fix: the hint text should follow the align setting


feat: support get/set latest view


https://github.com/AppFlowy-IO/AppFlowy/assets/108015703/4d2f2497-006c-45cc-ac5a-e974b9e9f0f7

feat: support to show snackbar after delete page


PR Checklist

  • My code adheres to AppFlowy's Conventions
  • I've listed at least one issue that this PR fixes in the description above.
  • I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes.
  • All existing tests are passing.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/AppFlowy-IO/AppFlowy/pull/4936 **Author:** [@qinluhe](https://github.com/qinluhe) **Created:** 3/19/2024 **Status:** ✅ Merged **Merged:** 3/21/2024 **Merged by:** [@qinluhe](https://github.com/qinluhe) **Base:** `main` ← **Head:** `feat/support-custom-scrollbar` --- ### 📝 Commits (1) - [`3b2d63e`](https://github.com/AppFlowy-IO/AppFlowy/commit/3b2d63e4653b0f19d291554122aefec6b9c397f3) feat: support custom scrollbar for document ### 📊 Changes **44 files changed** (+769 additions, -224 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_tauri/package.json` (+3 -1) 📝 `frontend/appflowy_tauri/pnpm-lock.yaml` (+67 -0) 📝 `frontend/appflowy_tauri/src/appflowy_app/application/folder/page.service.ts` (+15 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/components/_shared/scroller/AFScroller.tsx` (+55 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/components/_shared/scroller/index.ts` (+1 -0) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/auth/Welcome.tsx` (+3 -5) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/auth/auth.hooks.ts` (+2 -2) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/database/components/database_settings/FilterSettings.tsx` (+0 -1) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/editor/components/blocks/_shared/PlaceholderContent.tsx` (+1 -1) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/editor/components/blocks/text/Text.tsx` (+0 -1) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/editor/components/editor/CollaborativeEditor.tsx` (+6 -4) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/editor/components/editor/Editor.hooks.ts` (+14 -0) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/editor/components/editor/Editor.tsx` (+2 -2) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/editor/components/inline_nodes/mention/MentionLeaf.tsx` (+7 -9) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/editor/components/tools/block_actions/BlockActionsToolbar.hooks.ts` (+36 -17) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/editor/components/tools/block_actions/BlockActionsToolbar.tsx` (+37 -2) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/editor/components/tools/block_actions/utils.ts` (+14 -31) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/editor/components/tools/command_panel/slash_command_panel/SlashCommandPanel.hooks.tsx` (+17 -83) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/editor/components/tools/command_panel/slash_command_panel/SlashCommandPanelContent.tsx` (+2 -4) ➕ `frontend/appflowy_tauri/src/appflowy_app/components/editor/components/tools/command_panel/slash_command_panel/const.ts` (+174 -0) _...and 24 more files_ </details> ### 📄 Description <!--- Thank you for submitting a pull request to AppFlowy. The team will dedicate their best efforts to reviewing and approving your pull request. If you have any questions about the project or feedback for us, please join our [Discord](https://discord.gg/wdjWUXXhtw). --> <!--- If your pull request adds a new feature, please drag and drop a video into this section to showcase what you've done! If not, you may delete this section. --> #### This PR base on https://github.com/AppFlowy-IO/AppFlowy/pull/4934 ### Feature Preview https://github.com/AppFlowy-IO/AppFlowy/assets/108015703/1c004e63-beb6-4104-b9bc-8c706f80c485 [feat: support custom scrollbar for document](https://github.com/AppFlowy-IO/AppFlowy/pull/4936/commits/f091b43017d8fb809eaaf85c1264d72e70b96201) ---- https://github.com/AppFlowy-IO/AppFlowy/assets/108015703/0cc7e7c5-b630-4873-a217-6099a6451e4e [feat: support keywords for slash list to search](https://github.com/AppFlowy-IO/AppFlowy/pull/4936/commits/a2ab437f1346a891f44364a435f42bcf60b432a9) ---- <img width="713" alt="image" src="https://github.com/AppFlowy-IO/AppFlowy/assets/108015703/56098aaf-dd23-4232-bd16-e8cdff2d810b"> [feat: support right-click to copy,pasted,cut](https://github.com/AppFlowy-IO/AppFlowy/pull/4936/commits/1307882490e698779a414ad1478068609ee99b82) ---- <img width="971" alt="image" src="https://github.com/AppFlowy-IO/AppFlowy/assets/108015703/9c2e8f41-c81e-4825-9895-5ef8fdab2403"> [fix: the hint text should follow the align setting](https://github.com/AppFlowy-IO/AppFlowy/pull/4936/commits/4ad6649a985f150706c93b4a9ac6217cca6abc7b) ---- [feat: support get/set latest view](https://github.com/AppFlowy-IO/AppFlowy/pull/4936/commits/277204534dd94e3c658c6fce7b786cd9cfb44a9d) ---- https://github.com/AppFlowy-IO/AppFlowy/assets/108015703/4d2f2497-006c-45cc-ac5a-e974b9e9f0f7 [feat: support to show snackbar after delete page](https://github.com/AppFlowy-IO/AppFlowy/pull/4936/commits/f6a069fe41224ed263b0daca6e715a321552acf8) <!--- List at least one issue here that this PR addresses. If it fixes the issue, please use the [fixes](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests) keyword to close the issue. For example: fixes https://github.com/AppFlowy-IO/AppFlowy/pull/2106 --> --- <!--- Before you mark this PR ready for review, run through this checklist! --> #### PR Checklist - [ ] My code adheres to [AppFlowy's Conventions](https://docs.appflowy.io/docs/documentation/software-contributions/conventions) - [ ] I've listed at least one issue that this PR fixes in the description above. - [ ] I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes. - [ ] All existing tests are passing. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 22:23:40 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#6539
No description provided.