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

Replace format parameter slider with chips #301

Merged
merged 5 commits into from
Apr 19, 2023
Merged

Replace format parameter slider with chips #301

merged 5 commits into from
Apr 19, 2023

Conversation

chenxiaolong
Copy link
Owner

Instead of using a slider with a min, max, and step size, the format parameter is configured using chips. For each format, there are three presets and there's an additional option for the user to set a specific compression level or bitrate. The user's existing settings will be preserved.

Fixes: #295

Instead of using a slider with a min, max, and step size, the format
parameter is configured using chips. For each format, there are three
presets and there's an additional option for the user to set a specific
compression level or bitrate. The user's existing settings will be
preserved.

Fixes: #295

Signed-off-by: Andrew Gunnerson <[email protected]>
@chenxiaolong chenxiaolong self-assigned this Apr 19, 2023
The dialog happens to restore the last user input state after the
setText() call, but it's not documented to do that, so avoid relying on
that behavior.

Signed-off-by: Andrew Gunnerson <[email protected]>
This commit replaces the file retention slider with a simple dialog for
entering a custom value. Unlike the output format parameters, this
setting is purely a personal preference and there's no reason to suggest
hardcoded durations.

This was the last component that still used the Material 3 slider. No
more janky animations and abusing floating point values.

Signed-off-by: Andrew Gunnerson <[email protected]>
Signed-off-by: Andrew Gunnerson <[email protected]>
@chenxiaolong chenxiaolong merged commit cf99687 into master Apr 19, 2023
@chenxiaolong chenxiaolong deleted the no_sliders branch April 19, 2023 07:32
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.

Opus bitrate selector should offer standard bitrates (16, 32, 48...)
1 participant