Skip to content

Small design tweaks#7153

Merged
grzesiek2010 merged 27 commits intogetodk:masterfrom
seadowg:design-tweaks
Apr 8, 2026
Merged

Small design tweaks#7153
grzesiek2010 merged 27 commits intogetodk:masterfrom
seadowg:design-tweaks

Conversation

@seadowg
Copy link
Copy Markdown
Member

@seadowg seadowg commented Mar 24, 2026

Closes #7103
Closes #6713

This also makes general improvements to the spacing in the hierarchy (answers are not indented any more) and converts the form end UI to Compose.

Why is this the best possible solution? Were any other approaches considered?

I'll leave comments inline on anything that needs highlighted.

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

Should just make the changes described in the issues and only those parts of the app are affected.

Before submitting this PR, please make sure you have:

  • added or modified tests for any new or changed behavior
  • run ./gradlew connectedAndroidTest (or ./gradlew testLab) and confirmed all checks still pass
  • added a comment above any new strings describing it for translators
  • added any new strings with date formatting to DateFormatsTest
  • verified that any code or assets from external sources are properly credited in comments and/or in the about file.
  • verified that any new UI elements use theme colors. UI Components Style guidelines

@seadowg
Copy link
Copy Markdown
Member Author

seadowg commented Mar 24, 2026

@alyblenkin let me know what you think of the form end view. I wasn't sure which theme color to use from looking at figma, so I've used "error container" and "on error container" for now - that can be updated if it doesn't work for you.

@alyblenkin
Copy link
Copy Markdown
Collaborator

I think it's going in the right direction! However, the error colour makes it look like something is wrong. Can we try the colour I have in figma? I'm using one of the material theme state colourrs - Opacity 0.12 #6E2F2C.

@seadowg
Copy link
Copy Markdown
Member Author

seadowg commented Mar 25, 2026

I'm using one of the material theme state colourrs - Opacity 0.12 #6E2F2C.

Are you referring to these?

@alyblenkin
Copy link
Copy Markdown
Collaborator

@seadowg yes, does that work?

@seadowg
Copy link
Copy Markdown
Member Author

seadowg commented Mar 26, 2026

As far as I can see, that system is for highlighting element control states like disabled, hovered etc. Happy to use that color, but I think we want to define it as something else so it fits into the Material color roles. Maybe one of the "add-on" colors? My assumption is that the intention here is to highlight the box in the "can't edit" cases and let it be less obtrusive in others, so we could also use primary and surface colors for that.

@seadowg seadowg marked this pull request as ready for review March 31, 2026 16:21
@seadowg seadowg requested a review from grzesiek2010 March 31, 2026 16:35
Comment thread collect_app/src/main/java/org/odk/collect/android/formentry/FormEnd.kt Outdated
Comment thread collect_app/src/main/java/org/odk/collect/android/formentry/FormEnd.kt Outdated
Comment thread collect_app/src/main/java/org/odk/collect/android/formentry/FormEnd.kt Outdated
Comment thread collect_app/src/main/java/org/odk/collect/android/formentry/FormEnd.kt Outdated
Comment thread collect_app/src/main/java/org/odk/collect/android/formentry/FormEnd.kt Outdated
@seadowg seadowg requested a review from grzesiek2010 April 2, 2026 16:44
Copy link
Copy Markdown
Member

@grzesiek2010 grzesiek2010 left a comment

Choose a reason for hiding this comment

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

@seadowg seadowg requested a review from grzesiek2010 April 3, 2026 08:14
@grzesiek2010 grzesiek2010 merged commit ace93c4 into getodk:master Apr 8, 2026
8 checks passed
@grzesiek2010 grzesiek2010 mentioned this pull request Apr 8, 2026
6 tasks
@seadowg seadowg deleted the design-tweaks branch April 8, 2026 13:05
@WKobus
Copy link
Copy Markdown

WKobus commented Apr 9, 2026

On the end page box with information about edit and "Save as draft" button have gray color but on figma box with information about edit is on light blue background and "Save as draft" button has blue color as on previous collect version, are those expected changes?

On the left is old end page and on the right new one

oldendpage newendpage

@seadowg
Copy link
Copy Markdown
Member Author

seadowg commented Apr 9, 2026

@WKobus good spots! I think these are OK: the icon being an "on surface" instead of primary is good because it means that it doesn't present itself as the most important thing on the screen. Same goes for "Save as draft". Let me know if you disagree @alyblenkin and I'll create an issue.

@alyblenkin
Copy link
Copy Markdown
Collaborator

Agreed, we made some changes to have stronger contrast between the primary and secondary colours.

@dbemke
Copy link
Copy Markdown

dbemke commented Apr 10, 2026

Tested with Success!

Verified on devices with Android 10

Verified cases:

@WKobus
Copy link
Copy Markdown

WKobus commented Apr 10, 2026

tested with success

Verified on phone and tablet with android 16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Too little space between the question and the answer in the hierarchy view Improve end of form messaging for editing

5 participants