ddnet icon indicating copy to clipboard operation
ddnet copied to clipboard

Add more quick actions to the editor

Open ChillerDragon opened this issue 7 months ago • 2 comments

The editor has a relatively new prompt that can be opened with ctrl+p ideally it would list all actions that can be done by clicking buttons.

Good next candidates to add would be:

Top menu

Image

  • [ ] Undo and redo

Tools section

Image

  • [ ] Remove unused envelopes
  • [ ] Place border
  • [ ] Goto position
  • [ ] Add tileart

File section

Image

I think the two that are missing and would be the most useful are

  • [ ] Append
  • [ ] Test map locally

Collapse and expand groups

Image

  • [ ] Collapse all
  • [ ] Expand all

Advice for new contributors

  • Only one quick action per pull request will make reviewing easier and faster.
  • Make sure to test the change in game and ideally also share a quick image or clip on github to showcase how it looks like like in this example pr.
  • Think about the ordering. The prompt is all about speed and the entries in quick_actions.h should be ordered by relevance to ensure the most used actions are always the fastest to reach.

ChillerDragon avatar May 02 '25 11:05 ChillerDragon

Note: with #10112 we also might have "Add quadart" in the future in the tools section


Goto Position would be a good start, since it's very useful in big maps

AssassinTee avatar May 02 '25 11:05 AssassinTee

Looks indeed like a https://github.com/ddnet/ddnet/labels/good%20first%20issue. :) Thanks for the explanation for new contributors.

heinrich5991 avatar May 09 '25 07:05 heinrich5991