-
Notifications
You must be signed in to change notification settings - Fork 57
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
redesign application ui #132
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution and especially the new translation!
This is by far the largest PR ever for Voice Notify and it may take some time before I'm comfortable merging it in. I'm also asking the community what they think of the redesign, which may have an impact on what changes I allow.
There are a number of issues below that I would like you to resolve before I will approve, as well as some nitpicks that aren't necessary for approval.
To help me and the community better understand the changes, please edit the PR description with a summary of changes and include screenshots of the redesigns.
Also please set your formatter to use tab indentation for this project so it is consistent. Regardless of your preference, I think we can agree there's nothing worse than mixed indentation.
|
||
|
||
|
||
val ClearBlue = Color(0xFF286EFF) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is harder to read in the dark theme than the previous primary
color (0xFF1CB7D5
). I suggest using separate colors for each theme, preferably keeping the previous colors which I chose based on the icon to stick with a common theme.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will change to dialog background and rewrite the design.
|
||
private val DarkColorScheme = darkColorScheme( | ||
primary = ClearBlue, | ||
secondary = Color(0xFF2A54A5), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The text replace dialog uses secondary
for the description and this color makes it hard to read.
It may be a good idea to create a separate PR for just the translation. That should be quick to push through. The redesign is holding it back. |
implementation("androidx.compose.material:material-icons-extended-android:1.6.7") | ||
implementation("androidx.compose.ui:ui-tooling-preview:1.6.7") | ||
debugImplementation("androidx.compose.ui:ui-tooling:1.6.7") | ||
implementation("androidx.compose.material3:material3:1.3.0-beta04") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Build error: This breaks PreferenceDialogs.rememberTimePickerState()
because TimePickerState.Saver()
was removed in beta02
. I suggest reverting to beta01
and I'll handle the migration.
I find that the Ignore None switch is confusing. It would be less confusing to call it "Enable All", but I think it would be more intuitive to keep ignore all/none as separate actions, as it was originally, so it can double as a "reset all to default". If we use a switch, I think it should reflect Suggestions:
On another note, I was waiting for all my concerns with this PR to be resolved so I could include it in v1.4.0. Unfortunately that's holding things up more than I had anticipated, so for now I'll plan on getting this in v1.5.0. That includes the translation unless you split that into another PR or add it through Weblate. |
@pilot51 AI translation should be faster. Copy the default Value string.xml file, prompt: |
I tried using AI translations once and someone who knew the language that I translated to told me to never do that again. |
redesign application ui