Skip to content

Rework the color picker dialog - #21

Open
matteomekhail wants to merge 30 commits into
Wip-Sama:devfrom
matteomekhail:codex/issue-13-color-picker-rework
Open

Rework the color picker dialog#21
matteomekhail wants to merge 30 commits into
Wip-Sama:devfrom
matteomekhail:codex/issue-13-color-picker-rework

Conversation

@matteomekhail

Copy link
Copy Markdown

Summary

  • replace two rows of mode/format switches with a focused classic picker
  • add editable, validated #RRGGBB input and live preview
  • add explicit Cancel and Apply actions
  • initialize the picker from the current accent color without resetting to white
  • cover valid and invalid HEX parsing

Test

GRADLE_USER_HOME=/private/tmp/orlando-gradle bash gradlew :composeApp:jvmTest --tests org.wip.plugintoolkit.features.colorpicker.utils.ColorExtTest

Closes #13

…ue-12-divide-plugin-settings

# Conflicts:
#	composeApp/src/commonMain/kotlin/org/wip/plugintoolkit/features/plugin/ui/PluginSettingsContent.kt
…ue-12-divide-plugin-settings

# Conflicts:
#	composeApp/src/commonMain/kotlin/org/wip/plugintoolkit/features/plugin/logic/PluginLifecycleManager.kt
…ex/issue-13-color-picker-rework"

This reverts commit 092c09e, reversing
changes made to ffaf22e.
…ex/issue-13-color-picker-rework"

This reverts commit ffaf22e, reversing
changes made to 894a2eb.
…icker-rework

# Conflicts:
#	composeApp/src/commonMain/composeResources/values/strings.xml
@Wip-Sama

Copy link
Copy Markdown
Owner

Most of the color picker's features were removed in this pull request. While the rework was meant to clean up and declutter the GUI by adding settings to toggle features on and off, completely removing them makes the tool less useful. This is especially true since forcing hexadecimal input makes it harder to use different color formats.

Additionally, when changing the color via the hexadecimal field, the selector on the board doesn't update, which is bad UX.

The color picker's settings could live in the System tab or a separate Customization tab.

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