drag block to reorder document #3997
Replies: 1 comment
-
Currently, AppFlowy doesn’t have the drag-and-drop feature on mobile like Notion for reordering blocks, but this would be a highly valuable feature to improve the mobile experience. It would allow users to reorganize their content more fluidly. Potential Implementation AdviceHere’s some high-level advice for implementing a drag-and-drop feature for mobile in an application like AppFlowy: 1. Use Cross-Platform Drag-and-Drop LibrariesFor a cross-platform solution (since AppFlowy is built with Flutter), you can leverage libraries or packages that provide drag-and-drop functionality:
2. Optimize for Mobile Gestures
3. Block Identification and Reordering LogicEach document block would need to have a unique ID or an index that can be dynamically adjusted as it's dragged and dropped into a new position. This would involve:
4. Consider Performance ImplicationsReordering large documents with many blocks can introduce performance challenges on mobile, so optimizing the app to handle drag events without causing latency is key. Using 5. Compatibility with Desktop and WebAppFlowy aims to be a cross-platform tool, so whatever solution is implemented should ideally work across both mobile and desktop. Flutter’s flexibility with adaptive UI could make this possible without too much rework, but testing across platforms will be important. Feature RoadmapIf AppFlowy hasn’t yet mentioned this in their roadmap, it could be a good idea to suggest it as a feature request on their GitHub page. Cross-platform consistency, especially for drag-and-drop on mobile, is a feature many users would appreciate, and your input could encourage them to prioritize it. |
Beta Was this translation helpful? Give feedback.
-
do you plan to implement the feature of dragging block to reorder document on mobile like Notion? Or have any technical advice to implement it ?
Beta Was this translation helpful? Give feedback.
All reactions