Commit Graph

8 Commits

Author SHA1 Message Date
arthomnix
ffec1e1930 GH-4812 Set placeholder even if the user has changed the name 2022-07-11 19:55:36 +01:00
arthomnix
ec897aee95 GH-4812 More improvements related to instance name
Selects text on focus rather than selecting text and focusing by default. Text is not selected if the user has changed the name from the default.
If the user changes the instance name, don't change it when they select a new version or modpack.
Add a reset button that changes the instance name back to the default for the selected version/pack, and resets the flag that stops the name from being changed upon selecting a new version/pack.
2022-07-11 19:51:31 +01:00
arthomnix
00589b247a GH-4812 Prefill instance name to allow making adjustments
Fills the instance name in instead of just setting a placeholder. This allows adjustments to be made to the suggested name without typing the whole thing out.
The text is selected by default so that typing will overwrite the text, but users who want to adjust the default name instead of typing their own can deselect the text.
The placeholder name is still set so it is still visible if the user deletes the text.
Also sets the focus to the instance name textbox by default, whereas previously it was on the group name - this is required so the text gets overwritten on typing but also makes more sense generally.
Closes issue #4812.
2022-07-11 18:02:20 +01:00
Petr Mrázek
41e5b3b628 NOISSUE Add FTB App import page to new instance dialog 2022-05-28 22:42:09 +02:00
Petr Mrázek
0a827ba70e NOISSUE Remove FTB and Curse integration
This has been requested by Slowpoke, on behalf of both FTB and OverWolf.

Import from locally installed packs from the official clients will be
the replacement, but for now, you will have to do that manually.

It was nice while it lasted.
2022-05-19 20:43:50 +02:00
Petr Mrázek
ceaea5db2f NOISSUE Redo Curse import on top of modpacks.ch API 2022-05-17 00:22:23 +02:00
kb1000
831b76bb78
Add support for importing Modrinth packs from files 2022-05-11 23:51:33 +02:00
Petr Mrázek
b258eac215 NOISSUE continue reshuffling the codebase 2021-11-22 03:55:16 +01:00