Skip to content

Conversation

@wzrayyy
Copy link

@wzrayyy wzrayyy commented Jan 6, 2026

Hey! Thanks for your work on this app!

Summary

  • A new component that shows presets on the main screen.
  • Snackbar message on apply
  • New stringResource(R.string.preset_applied) (I haven't found a string to reuse, so had to add a new one ☹️ )
Screenshot Screenshot_20260106-093641_delta (debug)

Related issue(s)

None.

Copy link
Owner

@supershadoe supershadoe left a comment

Choose a reason for hiding this comment

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

also, to improve on the design, i was thinking of showing an icon for each of these presets in the ControlScreen, basically a horizontally scrolling list of icons with the preset name below to switch quickly. this would also keep the ui less monotonous and ig more accessible?

let me know if you can work on that or if you have better ideas for the UI; if you don't have the time to implement the changes i mentioned in the review or the alt design, that's also fine, i'll try to do those when i'm free :)

Row {
IconButton(onClick = applyPreset) {
Icon(
imageVector = Icons.Rounded.SaveAlt,
Copy link
Owner

Choose a reason for hiding this comment

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

can you use Input icon here? or some other icon? the download/save button is kinda confusing imo

https://fonts.google.com/icons?selected=Material+Symbols+Outlined:input:FILL@0;wght@400;GRAD@0;opsz@24&icon.size=24&icon.color=%23e3e3e3

Copy link
Owner

Choose a reason for hiding this comment

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

can you rename this file into PresetsList to match ConnectedClientsList?

it is confusing when two components have names differing only by one "s"

Copy link
Owner

Choose a reason for hiding this comment

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

or maybe something like PresetsListComponent, kinda like BlocklistComponent?

Also, it'll be better if this thing is foldable, just like the blocklist because we don't wanna make the user infinitely scroll down to get to the blocklist

),
)
}
if (enabledState == SoftApEnabledState.WIFI_AP_STATE_DISABLED) {
Copy link
Owner

Choose a reason for hiding this comment

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

i think we can show the preset even if the AP is on, the app anyways restarts the AP on click but i'm interested in hearing your thoughts

or maybe we can go for a warning dialog if the user tries to apply a preset while the AP is on, if you wanna have guardrails for the user not to accidentally disconnect many devices

Copy link
Owner

Choose a reason for hiding this comment

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

honestly, showing a warning dialog anyways would be useful ig because unlike the settings page, the intent when using controlscreen is not really to tweak settings but rather to quickly get up and running

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