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

Add SwiftUI and some compose refactors #201

Merged
merged 22 commits into from Aug 5, 2021

Commits on Mar 31, 2021

  1. Configuration menu
    Copy the full SHA
    02dd01b View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2021

  1. Configuration menu
    Copy the full SHA
    65ba498 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from touchlab/main

    Fetching upstream
    brady-aiello committed Jun 24, 2021
    Configuration menu
    Copy the full SHA
    57768d3 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2021

  1. [Issue-0000] Upgrade to Gradle 7

    [Description]
    Preparing for introducing Compose, which requires Android Studio Canary,
    which requires Gradle 7+
    
    [Solution]
    - Upgrade Gradle and Android Gradle Plugin
    - Make necessary changes to accomodate the new Gradle and AGP APIs
    
    [Testing]
    - ./gradlew build
    - manual testing of Android and iOS apps
    brady-aiello committed Jun 29, 2021
    Configuration menu
    Copy the full SHA
    781a293 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d6084a1 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2021

  1. [Issue-0000] Add Jetpack Compose

    [Description]
    Jetpack Compose is going stable in July 2021, and we want to show folks
    the easiest way to get started with KMM using Compose.
    
    [Solution]
    - Add Compose UI, and support SwipeRefresh using Accompanist.
    - Remove XML layouts.
    
    [Testing]
    - ./gradlew :shared:build :app:build
    - manual testing
    brady-aiello committed Jul 8, 2021
    Configuration menu
    Copy the full SHA
    cc19c52 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dabf620 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5f77a19 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2021

  1. [Issue-0000] Alternative Loading state refactor

    [Summary]
    The Loading UI is usually shown in conjunction with other UI, such as an
    error view, or valid data. Consuming it with a when statement and
    treating it like any other state may not make sense with Compose and
    Swift UI. I tried a different approach here, giving the Loading state
    the last valid DataState as well:
    #6
    
    [Fix]
    In this PR, I'm using the classic NetworkBoundResource approach, where
    the DataState is not a sealed class; instead, it contains nullable
    versions of all possible states.
    
    [Testing]
    - `./gradlew :app:build`
    - `./gradlew :shared:build`
    - `xcodebuild -workspace ios/KaMPKitiOS.xcworkspace -scheme KaMPKitiOS
        -sdk iphoneos -configuration Debug build -destination name="iPhone 8"`
    - manual testing
    brady-aiello committed Jul 19, 2021
    Configuration menu
    Copy the full SHA
    7c1dfaa View commit details
    Browse the repository at this point in the history
  2. Lint fix

    brady-aiello committed Jul 19, 2021
    Configuration menu
    Copy the full SHA
    e4adcf7 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2021

  1. Configuration menu
    Copy the full SHA
    2685a43 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    462e650 View commit details
    Browse the repository at this point in the history
  3. Compose preview

    russhwolf committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    a047aef View commit details
    Browse the repository at this point in the history
  4. SwiftUI preview

    russhwolf committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    b15e3a4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0c7d485 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2021

  1. Configuration menu
    Copy the full SHA
    51ce5ec View commit details
    Browse the repository at this point in the history
  2. Bump to release versions

    russhwolf committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    8eb1873 View commit details
    Browse the repository at this point in the history
  3. Revert badges

    russhwolf committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    935848a View commit details
    Browse the repository at this point in the history
  4. Run ktlintFormat

    russhwolf committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    c6c399e View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2021

  1. Configuration menu
    Copy the full SHA
    8a2ba93 View commit details
    Browse the repository at this point in the history
  2. Remove extra derived state

    russhwolf committed Aug 5, 2021
    Configuration menu
    Copy the full SHA
    66b102d View commit details
    Browse the repository at this point in the history
  3. Oops

    russhwolf committed Aug 5, 2021
    Configuration menu
    Copy the full SHA
    6db990c View commit details
    Browse the repository at this point in the history