Editor icon indicating copy to clipboard operation
Editor copied to clipboard

Feature Request - "Quick Edit" on Event Editor

Open jetrotal opened this issue 3 years ago • 7 comments

The workflow would work like this:

  • User Opens Event Editor
  • Instead of hitting ENTER to add an Event, the User hits CTRL + ENTER.
  • A small Text-Box appears after the @> Icon.
  • As the User types, a floating list of matching events commands appears on a Combo-Box underneath the Text-Box.
  • The User hits tab to edit command's params.
  • some params has an ... icon in order to open the dialogs that edits facesets, charasets or variables.
  • After setting everything up, the User corfirms by pressing enter one last time.

It would look like this incomplete mockup i made in JS: https://codepen.io/jetrotau/pen/oNWaOdj

image

image

jetrotal avatar Aug 07 '21 03:08 jetrotal

These Inline Event editing makes perfect sense.

I also consider editing events in the original editor awkward and slow.

This mockup for the event editor is e.g. quite nice http://finalbossblues.com/des/rpgmacker/rmui.html

Ghabry avatar Aug 07 '21 09:08 Ghabry

Yeah, ENTER and SPACE would call the default Command Menu, CTRL + ENTER and CONTROL + SPACE would call the Quick Edit/Quick Create Menu Behavior i'm suggesting...


I feel like something like this could also speed up the development of Commands, since you could leave the UI for later updates.

The concept is inspired by both VSCode's Auto complete and an After Effects plugin called "Quick Menu": 52618551-d46f7080-2ea7-11e9-9de5-1caa553ff398 qm_2 0_cmds

You can find more about how to implement this by looking for "Fuzzy Search" on your favorite coding language.


The mockup you posted looks amazing, but the event tab feels a little overwhelming . Too much stuff to pay attention. Maybe graying out some stuff that isn't on focus could help.

jetrotal avatar Aug 07 '21 10:08 jetrotal

There are still some road blocks but I'm close to get a first draft for inline editing of event commands working. At least the simple ones.

And yes it will be qml based because doing this with QWidgets is really hard

The idea is a bit inspired by scratch: https://projects.raspberrypi.org/en/projects/getting-started-scratch

Ghabry avatar Dec 02 '21 12:12 Ghabry

Here a very basic POC:

Screenshot_20211202_150410

And I must say: Wow. The QtQuick controls are beyond terrible. You cannot: Select text in a text field with the mouse and there is also no context menu. WTF is this shit???

@jetrotal mentioned some binding of QWidgets to QML. Can you link this here? The normal Quick Controls are too embarassing.

Ghabry avatar Dec 02 '21 14:12 Ghabry

There you go https://github.com/KDAB/DeclarativeWidgets https://www.kdab.com/declarative-widgets/ image

Random question, Do you think i can set up my own qml playground like this: https://github.com/patrickelectric/qmlonline and incorporate on it some libraries that are important to the project?

Like the declarative widgets

I wish I could help with these stuff, and something like qmlonline could help me testing on the go

jetrotal avatar Dec 02 '21 14:12 jetrotal

Give me a week or two. Then will see if I can get any WASM-related stuff working.

Besides DeclarativeWidgets I was also able now to get Kirigami working (at least Linux). This is entirely QML based and even works on systems like Android so getting it into a web interface for playing around should also work...

Ghabry avatar Dec 02 '21 16:12 Ghabry

image Here's also a working mockup to an Event Selector tab: https://codepen.io/jetrotau/pen/rNGVJqZ

It's very similar to the one used on RPG Maker Unite, but it was made 5 months prior to it 😬

jetrotal avatar Apr 26 '22 05:04 jetrotal