basecamp / basecamp/lexxy

Move attachments with the keyboard

Open
#877 5 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
1.2k
Forks
119
Avg merge
4d 8h
Merged PRs (30d)
15

Description

This will be great for both accessibility and power users.

We can already select images with the keyboard and mouse. It would be a matter of adding keyboard support. I propose `ALT + ARROW KEY` to move selected attachments:

1. Move the attachment before the previous block.
2. Move the attachment after the previous block.
3. When there is an image in the destination position: create a gallery.
4. When the selected image is in a gallery: UP and DOWN will let you move it out. LEFT and RIGHT will reposition the image in the gallery.

@brunoprietog I would appreciate your input here.

cc @zoltanhosszu @samuelpecher

Contributor guide

No contributing guide indexed for this repository

Research direction

Begin by tracing the existing keyboard and mouse selection flow for images and the attachment/gallery behavior. Verify the proposed ALT+ARROW rules for block moves, gallery creation, and moving images into or out of galleries; done means each listed operation works consistently from keyboard input.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
accessibility, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.