Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlight borders for changed config options in config tab #5717

Merged

Conversation

deathbeam
Copy link
Contributor

@deathbeam deathbeam commented Feb 27, 2023

This highlights borders for controls for changed config options when
they are in non-default state. Useful for quickly checking what options
user configured and prevents forgetting about some config set by
accident (dropdowns in non-default state are especially hard to spot).

Description of the problem being solved:

Sometimes its pretty easy to configure something by accident (either via missclick or simply forgetting about configuring it before) and it can be hard to tell if the config is in non-default state or not. Also in bigger pobs it can be sometimes hard to see what is the exact config for the pob. This solves that by subtly highlighting borders of changed config controls.

Steps taken to verify a working solution:

  • Create new pob
  • Set some control to non-default state
  • See border color change

Link to a build that showcases this PR:

https://pobb.in/5fQaEhtVLtYj

Before screenshot:

image

After screenshot:

image

@QuickStick123 QuickStick123 added the user-interface Changes that only affect the UI label Feb 27, 2023
@deathbeam
Copy link
Contributor Author

image

heres also screenshot with colors on labels from my windows pc (as pobfrontend has bug that do not rly shows them properly) to give the full picture

@QuickStick123
Copy link
Contributor

It is interesting that the custom modifier box also turns blue. Probably not necessary.

@deathbeam
Copy link
Contributor Author

Hmm yea I will adjust that when i come home

@deathbeam
Copy link
Contributor Author

Alright removed the highlighting of custom mods box

@deathbeam deathbeam force-pushed the recolor-changed branch 2 times, most recently from ffaf9e1 to 70be20d Compare April 2, 2023 14:58
This highlights borders for controls for changed config options when
they are in non-default state. Useful for quickly checking what options
user configured and prevents forgetting about some config set by
accident (dropdowns in non-default state are especially hard to spot)

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
@LocalIdentity LocalIdentity merged commit 606790a into PathOfBuildingCommunity:dev Apr 24, 2023
@deathbeam deathbeam deleted the recolor-changed branch April 24, 2023 06:01
Dullson pushed a commit to Dullson/PathOfBuilding that referenced this pull request Dec 6, 2023
…ldingCommunity#5717)

This highlights borders for controls for changed config options when
they are in non-default state. Useful for quickly checking what options
user configured and prevents forgetting about some config set by
accident (dropdowns in non-default state are especially hard to spot)

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
user-interface Changes that only affect the UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants