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

feat(ui): use config for all numerical params #5433

Merged
merged 1 commit into from
Jan 7, 2024

Conversation

psychedelicious
Copy link
Collaborator

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update
  • Community Node Submission

Description

Centralize the initial/min/max/etc values for all numerical params. We used this for some but at some point stopped updating it.

All numerical params now use their respective configs. Far fewer hardcoded values throughout the app now.

Also updated the config types a bit to better accommodate slider vs number input constraints.

Related Tickets & Documents

QA Instructions, Screenshots, Recordings

All the inputs should still work. I tested everything and read through the changes twice - I'm pretty confident that everything is fine. Not a huge change anyways

Merge Plan

This PR can be merged when approved

Centralize the initial/min/max/etc values for all numerical params. We used this for some but at some point stopped updating it.

All numerical params now use their respective configs. Far fewer hardcoded values throughout the app now.

Also updated the config types a bit to better accommodate slider vs number input constraints.
@psychedelicious psychedelicious enabled auto-merge (rebase) January 7, 2024 02:48
@psychedelicious psychedelicious merged commit 3428ea1 into main Jan 7, 2024
7 checks passed
@psychedelicious psychedelicious deleted the feat/ui/param-config branch January 7, 2024 02:49
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.

[bug]: Double clicking on Coherence Pass Strength causes strength to jump to 0.75
2 participants