Skip to content

Conversation

@avazirna
Copy link
Contributor

Summary

This PR addresses some feedback received from the CommCare UI changes done as part of the rebranding campaign. The affected elements are:

  • Notification icon background
  • MaterialButton style
  • Form entry FINISH button style
  • Custom dialog button text size and elevation

PR Checklist

  • If I think the PR is high risk, "High Risk" label is set
  • I have confidence that this PR will not introduce a regression for the reasons below
  • Do we need to enhance manual QA test coverage ? If yes, "QA Note" label is set correctly
  • Does the PR introduce any major changes worth communicating ? If yes, "Release Note" label is set and a "Release Note" is specified in PR description.

Safety story

Ran tests locally and didn't find any issues. These changes are at the UI level and shouldn't impact any functionality.

@avazirna avazirna requested a review from pm-dimagi January 14, 2025 16:48
@avazirna avazirna marked this pull request as ready for review January 14, 2025 16:49
@avazirna avazirna merged commit 1b5a43b into commcare_2.55 Jan 14, 2025
2 checks passed
@avazirna avazirna deleted the minor-ui-updates branch January 14, 2025 18:09
};
d.setPositiveButton(StringUtils.getStringRobust(mActivity, R.string.recovery_measure_reinstall_online_method), listener);
d.setNegativeButton(StringUtils.getStringRobust(mActivity, R.string.recovery_measure_reinstall_offline_method), listener);
d.setNegativeButton(StringUtils.getStringRobust(mActivity, R.string.recovery_measure_reinstall_offline_method), listener, true);
Copy link
Contributor

Choose a reason for hiding this comment

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

curious why was this changed ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We are now using an outlined button style for negative actions and the Reinstall using CCZ is not a negative action, so this is to change the style of the the negative button:

This is how it looked before:

Copy link
Contributor

Choose a reason for hiding this comment

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

makes sense, thanks.

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.

4 participants