Skip to content

Config Editor: Multi Select#1855

Merged
ebkr merged 4 commits intoconfig-editor/cleanupfrom
config-editor/multi-select
Sep 26, 2025
Merged

Config Editor: Multi Select#1855
ebkr merged 4 commits intoconfig-editor/cleanupfrom
config-editor/multi-select

Conversation

@ebkr
Copy link
Copy Markdown
Owner

@ebkr ebkr commented Jul 24, 2025

Previously we had shown these as a text field, requiring people to enter the config text in manually.

image

Is it worth also having a text field toggle? I can't see a huge benefit although people may still want it? Thoughts?

@ebkr ebkr requested a review from anttimaki July 24, 2025 09:53
@ebkr ebkr changed the base branch from develop to config-editor/cleanup July 24, 2025 09:54
Copy link
Copy Markdown
Collaborator

@anttimaki anttimaki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM


const configurationFile = ref<ConfigurationFile | null>(null);
const configurationFileHolder = reactive({
configurationFile: {} as ConfigurationFile,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this for future proofing, or why is the configurationFile the only entry in a wrapper object, instead of it being the object passed to reactive()?

Copy link
Copy Markdown
Owner Author

@ebkr ebkr Aug 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a Vue 2 quirk - reactive wasn't behaving as intended without the wrapper object. I can't quite remember why, but we were also getting warnings with it too.

In theory the migration to Vue 3 would resolve this issue and we can remove the wrapper.

@ebkr ebkr force-pushed the config-editor/cleanup branch from 7e8cba2 to 243a7c1 Compare August 26, 2025 07:28
@ebkr ebkr force-pushed the config-editor/multi-select branch from f8497e1 to 3fcea42 Compare August 26, 2025 11:46
@ebkr ebkr force-pushed the config-editor/cleanup branch from 0b7e719 to 2b28661 Compare September 5, 2025 16:15
@ebkr ebkr force-pushed the config-editor/multi-select branch from 3fcea42 to 37ba0e2 Compare September 15, 2025 09:04
@ebkr ebkr force-pushed the config-editor/cleanup branch from 4cf2973 to e772195 Compare September 15, 2025 09:04
@ebkr ebkr merged commit bfb08a9 into config-editor/cleanup Sep 26, 2025
5 checks passed
@ebkr ebkr deleted the config-editor/multi-select branch September 26, 2025 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants