qmk / qmk_configurator

The QMK Configurator
http://config.qmk.fm
689 stars 343 forks source link

[Feature Request] Converter/Convert To drop down for `pin_compatible` defined boards #1290

Open dunk2k opened 1 year ago

dunk2k commented 1 year ago

Description

I do recall @zvecr mentioning something such as this in a qmk/qmk_firmware PR regarding reworking converters.

Front End: If a keyboard in qmk_firmware repo has pin compatible defined, in info.json as pin_compatible or development_board, then a converter/"Convert To" drop down field appears in QMK configurator web front end near the Compile and Load Default buttons.

Converter drop down would contain entries respective to keyboard's pin compatible definition. Drop down entries would include a default "Do Not Convert".

Hovering cursor over the drop down field's title would show a tooltip with words to effect of convert this keyboard to a pin compatible controller.

Back End: If a converter drop down entry, that isn't "Do Not Convert", has been selected in web front end and Compile button scriptbegins, append qmk compile command in qmk_compiler with -e CONVERT_TO=[respective user selected converter drop down entry].

dunk2k commented 1 year ago

Would this be dependent on 1. qmk_api accommodating QMK converters in payload for '/v1/compile' POST method? 2. qmk_compiler knowing how to interpret converter from api payload

Edit: All of this was already complete before this request was raised https://github.com/qmk/qmk_firmware/pull/18776

daysgobye commented 12 months ago

I want this and am happy to do the work I am 100% capable of doing it. If I can get some buy in / approval that this would be accepted. And if the core team has a way they would like to see this implemented please let me know, so I can do it right the first time.

mobergmann commented 4 months ago

I want this and am happy to do the work I am 100% capable of doing it. If I can get some buy in / approval that this would be accepted. And if the core team has a way they would like to see this implemented please let me know, so I can do it right the first time.

I would also love to see this feature. Are there any news for this? I couldn't find any branches/MR.

dunk2k commented 4 months ago

@daysgobye Would you still be willing to implement this feature?

Suffice to say both myself and @mobergmann are bought into this.