Skip to content

Conversation

TheLastProject
Copy link
Member

@TheLastProject TheLastProject commented May 4, 2025

  • Composify
  • Hide elements when they should be hidden
  • Don't crash when clicking an element
  • Fix tests
  • Remove colour selection options in Catima (to simplify migration)
  • Ensure consistency with other activity designs

true
setContent {
MaterialTheme {
Scaffold(
Copy link
Contributor

Choose a reason for hiding this comment

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

I would extract the logic for the actual screen content in a separate function. That would make it easier to preview the UI and test it with fake data. Example, Documentation

)
}
}
} No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing new line? Maybe also a Preview?

@TheLastProject TheLastProject force-pushed the feature/aboutCompose branch 2 times, most recently from 80a7ef9 to d3f7549 Compare May 7, 2025 18:30
@TheLastProject TheLastProject force-pushed the feature/aboutCompose branch 4 times, most recently from 437a681 to e79efe2 Compare June 4, 2025 11:30
@TheLastProject
Copy link
Member Author

Main blocker here is that I haven't found the time to deal with fixing the tests yet (quite a different way of testing) and I'm hesitant to just remove the tests (though maybe I should to at least progress somewhat).

I think the general code is probably pretty OK by now, just needs the custom colour support removed for consistency between XML and Compose.

@vijay2909
Copy link

Thanks for the update! I took a look and went ahead with some optimizations in AboutActivity. I’ve also fixed a few of the existing tests and added some new ones to improve coverage. Hopefully, this helps unblock some of the progress you mentioned. Let me know if you’d like me to push these changes for review or if you’d prefer I open a separate PR.

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.

3 participants