Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drag & drop tabs outside plugin pane #97

Open
4 tasks done
greetclammy opened this issue Jan 2, 2025 · 2 comments
Open
4 tasks done

Drag & drop tabs outside plugin pane #97

greetclammy opened this issue Jan 2, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@greetclammy
Copy link

greetclammy commented Jan 2, 2025

Enhancement Checklist

  • I have searched existing issues and this is not a duplicate
  • I am reporting a simple enhancement or improvement within Vertical Tabs, not requesting new features or addressing compatibility issues with other plugins
  • I understand that proposals for new features should be discussed in the ‘Discussions’ tab
  • I understand that compatibility issues with other plugins should be posted as a ‘Compatibility’ issue

Enhancement Type

Usability

Enhancement Description

Please allow to drag & drop tabs outside plugin pane, matching (and improving on!) the behavior of the native file explorer and tab container.

I say 'improving' because, currently, you can't, for example, drag & drop a tab from the tab container onto a note or Canvas to insert a link. Vertical tabs can step up and offer such intuitive functionality.

Motivation

This would:

  1. Allow to quickly move tabs from the plugin pane to the native tab container, insert links to tabs into notes, and insert tabs as cards onto Canvas.
  2. Align with established drag & drop behaviors when working with files and tabs elsewhere in Obsidian.

Alternatives (Optional)

No response

Additional Information (Optional)

The plugin File Tree Alternative has implemented this (so it's possible!)

@greetclammy greetclammy added the enhancement New feature or request label Jan 2, 2025
@oxdc
Copy link
Owner

oxdc commented Jan 3, 2025

Hi @greetclammy ! Thank you for providing the suggestions and relevant information.

@oxdc
Copy link
Owner

oxdc commented Jan 5, 2025

Hi @greetclammy ! I looked into the implementation of File Tree Alternative, which integrates with Obsidian’s native DragManager. Unfortunately, the DragManager is incompatible with dnd-kit, the React-based drag-and-drop library used by Vertical Tabs. This incompatibility requires significant reconstruction, which will take some time. I appreciate your patience as I work on this.

@oxdc oxdc moved this from Backlog to In progress in Obsidian Vertical Tabs Jan 18, 2025
@oxdc oxdc moved this from In progress to Ready in Obsidian Vertical Tabs Feb 2, 2025
@oxdc oxdc moved this from Ready to In progress in Obsidian Vertical Tabs Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In progress
Development

No branches or pull requests

2 participants