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

Initial Implementation #1

Open
26 of 27 tasks
mdb1 opened this issue Feb 24, 2023 · 0 comments
Open
26 of 27 tasks

Initial Implementation #1

mdb1 opened this issue Feb 24, 2023 · 0 comments
Assignees

Comments

@mdb1
Copy link
Owner

mdb1 commented Feb 24, 2023

MVP

  • Create the ViewStateController
  • Add test coverage to the ViewStateController
  • Create the ViewModifier that applies the styles based on the controller
  • Create the InitialLoading configuration, the base cases, and the custom cases
  • Create the SubsequentLoading configuration, the base cases, and the custom cases
  • Add the ability to use a custom indicator view
  • Create the Error configuration, the base cases, and the custom cases
  • Add ability to display toasts (add positioning options)
  • Add configuration options for toasts (colors, texts, custom views)
  • Rename default case for toasts to toast
  • Add snackBar case in ToastType
  • Create an SPM package and upload it to this repository
  • Add videos and sample code in the Readme file
    • Default cases
    • Custom Initial Loading
    • Custom Subsequent Loading
    • Custom Error
    • Custom Toast
    • The case where you have some latestInfo that is not valid, but you still want to show it instead of the error (use custom error view)
    • EmptyView for placeholder

ExampleApp

  • Create an Example App that consumes the SPM
  • Create a Demo view where the user can toggle options
    • InitialLoading
    • SubsequentLoading
    • Errors
    • Toasts

Article

  • Write an article explaining the ViewStateController
@mdb1 mdb1 self-assigned this Feb 24, 2023
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

No branches or pull requests

1 participant