Skip to content
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

refactor: use compose for results screen #901

Merged
merged 14 commits into from
Jan 9, 2023

Conversation

Chesire
Copy link
Owner

@Chesire Chesire commented Jan 8, 2023

Update the results screen so it makes use of Compose.
Along with this, refactored the old viewmodel so it hands off work to some use cases instead.

This PR has some minor UI changes to the results screen.

@Chesire Chesire self-assigned this Jan 8, 2023
@commit-lint
Copy link

commit-lint bot commented Jan 8, 2023

Features

  • begin adding new results screen classes (1b38d24)
  • update results screen preview (377b26b)
  • update view state on finish api call (6520597)
  • update the compose screen (b6c51d0)
  • finish the results compose screen (c78098c)
  • show the error snackbar on the resutls screen (b8a38ae)

Code Refactoring

  • replace old results screen with new one (ef31a03)
  • more results screen refactoring (809f516)
  • improve how add button looks (410d8a1)
  • remove resources that are no longer used (f7662dc)

Tests

  • add unit tests for vm and usecases (53ce1c7)
  • update ui tests for results screen (dc6df75)

Styles

Chore

  • remove dependencies that are no longer required (46e351b)

Contributors

Chesire

Commit-Lint commands

You can trigger Commit-Lint actions by commenting on this PR:

  • @Commit-Lint merge patch will merge dependabot PR on "patch" versions (X.X.Y - Y change)
  • @Commit-Lint merge minor will merge dependabot PR on "minor" versions (X.Y.Y - Y change)
  • @Commit-Lint merge major will merge dependabot PR on "major" versions (Y.Y.Y - Y change)
  • @Commit-Lint merge disable will desactivate merge dependabot PR
  • @Commit-Lint review will approve dependabot PR
  • @Commit-Lint stop review will stop approve dependabot PR

@Chesire
Copy link
Owner Author

Chesire commented Jan 8, 2023

Need to remove some of the old dependencies from the gradle file, and remove some of the now unused images

  • Removed

}
}

fun trackNewSeries(resultModel: ResultModel) {
Copy link

@ChesireBot ChesireBot Jan 8, 2023

Choose a reason for hiding this comment

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

⚠️ The function trackNewSeries is too long (32). The maximum length is 30.

@ChesireBot
Copy link

1 Warning
⚠️ Big PR

Generated by 🚫 Danger

@Chesire Chesire marked this pull request as ready for review January 9, 2023 22:41
@Chesire Chesire merged commit 3b6b7bb into master Jan 9, 2023
@Chesire Chesire deleted the refactor/use-compose-results branch January 9, 2023 23:05
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