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

[Feature Request]: Direct Clipboard-to-Space File/Link Pasting #60

Open
HumanistAtypik opened this issue Jan 13, 2025 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@HumanistAtypik
Copy link

HumanistAtypik commented Jan 13, 2025

Feature Description

Currently, when users want to add content to a Space's files or links, they need to:

  1. Navigate to the Space interface
  2. Click on the file/link upload button
  3. Save clipboard content to a file (for files)
  4. Browse and select the file/enter the link manually
  5. Wait for the upload to complete

Why not implement a "Direct Space Content Paste" feature that allows users to:

  • Paste (Ctrl+V and button) images and files directly into the Space's files section
  • Paste URLs directly into the Space's links section
  • Have the content automatically organized in the appropriate section

The feature would:

  • Detect the type of content being pasted (URL vs file content)
  • Automatically route it to the appropriate Space section
  • Handle file creation and upload in the background for non-URL content
  • Integrate with the existing Space UI and permissions system
  • Use content type detection to determine appropriate section:
    • URLs -> Links section
    • Images -> Files section
    • Text with valid URL -> Links section
    • Other text -> Files section (as .txt)
  • Allow user override of automatic sorting

Use Case

  1. Quick File Addition:

    • User copies an image or document
    • Opens the Space
    • Ctrl+V or button click directly in the files section
    • File appears in the Space's files
  2. Efficient Link Collection:

    • User copies a URL
    • Pastes directly in the links section
    • Link is automatically added to the Space's focused web links
  3. Batch Content Addition:

    • User copies multiple items (files/URLs)
    • Pastes them all at once
    • Content is automatically sorted into appropriate sections

This would significantly streamline the process of building and maintaining Spaces, especially for users who frequently curate collections of resources.

Alternatives Considered

  1. Enhanced File Picker:

    • Could improve the current file selection dialog
    • But still requires manual file saving for clipboard content
    • Doesn't address the direct paste workflow
  2. Separate Import Tool:

    • Could create a dedicated import tool
    • But adds complexity to the UI
    • Less intuitive than direct paste
  3. Current Manual Process:

    • Requires multiple steps
    • Time-consuming for frequent updates
    • Breaks the natural flow of Space curation
@HumanistAtypik HumanistAtypik added the enhancement New feature or request label Jan 13, 2025
@HumanistAtypik HumanistAtypik changed the title [Feature Request]: Direct Clipboard-to-Space Source Pasting [Feature Request]: Direct Clipboard-to-Space File/Link Pasting Jan 13, 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
None yet
Development

No branches or pull requests

1 participant