[PR #808] [MERGED] Added right click context menu feature request. #4359

Closed
opened 2026-03-23 21:37:27 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/808
Author: @aryaman31
Created: 8/10/2022
Status: Merged
Merged: 8/10/2022
Merged by: @vincentdchan

Base: mainHead: side_context_menu


📝 Commits (6)

  • 1cca7ac perf: added right click context menu functionality
  • c8d5769 refactor: remove print statement
  • ab4a2e8 fix: menu displayed at mouse location
  • e095a17 fix: bug where context menu options wouldn't work unless page was selcted
  • a71c5c0 Merge branch 'AppFlowy-IO:main' into side_context_menu
  • 72c5c93 fix: context menu now opens behind the icon as well

📊 Changes

2 files changed (+108 additions, -25 deletions)

View changed files

📝 frontend/app_flowy/lib/workspace/presentation/home/menu/app/section/disclosure_action.dart (+70 -8)
📝 frontend/app_flowy/lib/workspace/presentation/home/menu/app/section/item.dart (+38 -17)

📄 Description

This PR is in response to FR https://github.com/AppFlowy-IO/AppFlowy/issues/767. I created a new widget "ViewDisclosureRegion" which is a wrapper for a listener widget. The listener widget is used to detect right clicks on the ActionCell and subsequently display the context menu at the position of the mouse.


🔄 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/808 **Author:** [@aryaman31](https://github.com/aryaman31) **Created:** 8/10/2022 **Status:** ✅ Merged **Merged:** 8/10/2022 **Merged by:** [@vincentdchan](https://github.com/vincentdchan) **Base:** `main` ← **Head:** `side_context_menu` --- ### 📝 Commits (6) - [`1cca7ac`](https://github.com/AppFlowy-IO/AppFlowy/commit/1cca7acf1b7ea304aac609c172c0d68b11db8e7c) perf: added right click context menu functionality - [`c8d5769`](https://github.com/AppFlowy-IO/AppFlowy/commit/c8d5769b1140c58e8ff736bd068b1fdd9ac8710e) refactor: remove print statement - [`ab4a2e8`](https://github.com/AppFlowy-IO/AppFlowy/commit/ab4a2e8b07af72bd9efbba5027e8b164707b224b) fix: menu displayed at mouse location - [`e095a17`](https://github.com/AppFlowy-IO/AppFlowy/commit/e095a176832f644eb22b387887ac7b386e9c0dfd) fix: bug where context menu options wouldn't work unless page was selcted - [`a71c5c0`](https://github.com/AppFlowy-IO/AppFlowy/commit/a71c5c0ee53204db691a55bf21278f259177d2d8) Merge branch 'AppFlowy-IO:main' into side_context_menu - [`72c5c93`](https://github.com/AppFlowy-IO/AppFlowy/commit/72c5c937ae8c85ee7c1c8016b1530b6625778a9a) fix: context menu now opens behind the icon as well ### 📊 Changes **2 files changed** (+108 additions, -25 deletions) <details> <summary>View changed files</summary> 📝 `frontend/app_flowy/lib/workspace/presentation/home/menu/app/section/disclosure_action.dart` (+70 -8) 📝 `frontend/app_flowy/lib/workspace/presentation/home/menu/app/section/item.dart` (+38 -17) </details> ### 📄 Description This PR is in response to FR https://github.com/AppFlowy-IO/AppFlowy/issues/767. I created a new widget "ViewDisclosureRegion" which is a wrapper for a listener widget. The listener widget is used to detect right clicks on the ActionCell and subsequently display the context menu at the position of the mouse. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 21:37:27 +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#4359
No description provided.