Skip to content

Comments

Better features options#864

Merged
rgantzos merged 2 commits intoSTForScratch:mainfrom
txruno:better-popup-options
Jun 23, 2024
Merged

Better features options#864
rgantzos merged 2 commits intoSTForScratch:mainfrom
txruno:better-popup-options

Conversation

@txruno
Copy link
Contributor

@txruno txruno commented Jun 23, 2024

Adjusted the UI of the options for features within the settings page and popups.

Before

Setting page
image
Popup
image

After

Setting page
image
Popup
image

How to preview

Add the following code to features.json

{
  "title": "TEST FEATURE",
  "description": "This is a sample.",
  "credits": [""],
  "urls": [""],
  "type": ["Website"],
  "options": [
    { "id": "text", "name": "TEXT", "type": 0 },
    { "id": "checkbox", "name": "CHECKBOX", "type": 1 },
    { "id": "number", "name": "NUMBER", "type": 2 },
    { "id": "color", "name": "COLOR", "type": 3 }
  ],
  "versionAdded": "v3.9.0"
}

@txruno
Copy link
Contributor Author

txruno commented Jun 23, 2024

Updated color options
image

@rgantzos rgantzos merged commit bf88f75 into STForScratch:main Jun 23, 2024
@rgantzos rgantzos added this to the ScratchTools v3.9.0 milestone Jun 23, 2024
@rgantzos rgantzos added type: enhancement Makes an existing feature better priority: 3 Least important. scope: popup/settings Has to do with the settings in some way labels Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority: 3 Least important. scope: popup/settings Has to do with the settings in some way type: enhancement Makes an existing feature better

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants