Commit graph

11 commits

Author SHA1 Message Date
4836faa40c chore(deps): update actions/checkout action to v4
All checks were successful
Build / build (pull_request) Successful in 14m29s
2025-01-24 01:21:35 +00:00
bd9163b2e1 chore(deps): update dependency org.jetbrains.compose to v1.7.3 (#18)
All checks were successful
Build / build (push) Successful in 11m59s
Release / release (push) Successful in 8m43s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [org.jetbrains.compose](https://github.com/JetBrains/compose-jb) | plugin | patch | `1.7.0` -> `1.7.3` |

---

### Release Notes

<details>
<summary>JetBrains/compose-jb (org.jetbrains.compose)</summary>

### [`v1.7.3`](https://github.com/JetBrains/compose-jb/blob/HEAD/CHANGELOG.md#173-December-2024)

*Changes since 1.7.1*

#### Features

##### Desktop

-   [Compose plugin for IntelliJ IDEA now supports K2 mode](https://github.com/JetBrains/compose-multiplatform/pull/5138)

#### Fixes

##### iOS

-   [Taps should be properly registered on interop views with `UIKitInteropInteractionMode.Cooperative` interaction mode](https://github.com/JetBrains/compose-multiplatform-core/pull/1731)
-   [Interactive pop](https://github.com/JetBrains/compose-multiplatform-core/pull/1731) (swipe to go back) on `UINavigationController` should recognize correctly

#### Dependencies

-   Gradle Plugin `org.jetbrains.compose`, version `1.7.3`. Based on Jetpack Compose libraries:
    -   [Runtime 1.7.6](https://developer.android.com/jetpack/androidx/releases/compose-runtime#1.7.6)
    -   [UI 1.7.6](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.7.6)
    -   [Foundation 1.7.6](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.7.6)
    -   [Material 1.7.6](https://developer.android.com/jetpack/androidx/releases/compose-material#1.7.6)
    -   [Material3 1.3.1](https://developer.android.com/jetpack/androidx/releases/compose-material3#1.3.1)

-   Lifecycle libraries `org.jetbrains.androidx.lifecycle:lifecycle-*:2.8.4`. Based on [Jetpack Lifecycle 2.8.5](https://developer.android.com/jetpack/androidx/releases/lifecycle#2.8.5)

-   Navigation libraries `org.jetbrains.androidx.navigation:navigation-*:2.8.0-alpha11`. Based on [Jetpack Navigation 2.8.0](https://developer.android.com/jetpack/androidx/releases/navigation#2.8.0)

-   Material3 Adaptive libraries `org.jetbrains.compose.material3.adaptive:adaptive*:1.0.1`. Based on [Jetpack Material3 Adaptive 1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-material3-adaptive#1.0.0)

***

### [`v1.7.1`](https://github.com/JetBrains/compose-jb/blob/HEAD/CHANGELOG.md#171-November-2024)

*Changes since 1.7.0*

#### Fixes

##### Multiple Platforms

-   [Fixed `Modifier.clickable` binary compatibility with 1.6 on non-JVM targets](https://github.com/JetBrains/compose-multiplatform-core/pull/1647)
-   [Fixed `Modifier.toggleable` and `Modifier.selectable` binary compatibility with 1.6 on non-JVM targets](https://github.com/JetBrains/compose-multiplatform-core/pull/1649)
-   [Fix issue where `DateRangePicker` doesn't show confirmation button on iOS and Desktop](https://github.com/JetBrains/compose-multiplatform-core/pull/1666)
-   [Fix Skia paragraph caching performance degradation](https://github.com/JetBrains/compose-multiplatform-core/pull/1676)

##### iOS

-   [Fling animation works correctly for fast scrolling gestures](https://github.com/JetBrains/compose-multiplatform-core/pull/1616)
-   [Fix HorizontalPager snapping on iOS](https://github.com/JetBrains/compose-multiplatform-core/pull/1661)
-   [Fixed double recomposition on the first screen](https://github.com/JetBrains/compose-multiplatform-core/pull/1668)
-   [Fix Accessibility Items availability inside dialogs](https://github.com/JetBrains/compose-multiplatform-core/pull/1678)
-   [Memory leak due to Compose view controller never GCed](https://github.com/JetBrains/compose-multiplatform-core/pull/1660)

##### Desktop

-   [Fix for excessive garbage generation from redrawing on Swing](https://github.com/JetBrains/compose-multiplatform-core/pull/1657)

#### Dependencies

-   Gradle Plugin `org.jetbrains.compose`, version `1.7.1`. Based on Jetpack Compose libraries:
    -   [Runtime 1.7.5](https://developer.android.com/jetpack/androidx/releases/compose-runtime#1.7.5)
    -   [UI 1.7.5](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.7.5)
    -   [Foundation 1.7.5](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.7.5)
    -   [Material 1.7.5](https://developer.android.com/jetpack/androidx/releases/compose-material#1.7.5)
    -   [Material3 1.3.1](https://developer.android.com/jetpack/androidx/releases/compose-material3#1.3.1)

-   Lifecycle libraries `org.jetbrains.androidx.lifecycle:lifecycle-*:2.8.4`. Based on [Jetpack Lifecycle 2.8.5](https://developer.android.com/jetpack/androidx/releases/lifecycle#2.8.5)

-   Navigation libraries `org.jetbrains.androidx.navigation:navigation-*:2.8.0-alpha10`. Based on [Jetpack Navigation 2.8.0](https://developer.android.com/jetpack/androidx/releases/navigation#2.8.0)

-   Material3 Adaptive libraries `org.jetbrains.compose.material3.adaptive:adaptive*:1.0.1`. Based on [Jetpack Material3 Adaptive 1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-material3-adaptive#1.0.0)

***

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMjAuMCIsInVwZGF0ZWRJblZlciI6IjM5LjEyMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Reviewed-on: #18
Co-authored-by: Renovate Bot <renovate@brmartin.co.uk>
Co-committed-by: Renovate Bot <renovate@brmartin.co.uk>
2025-01-21 14:49:48 +00:00
ed227bf2b6 docs: add README.md and update form submission logic (#21)
Some checks are pending
Build / build (push) Waiting to run
This commit updates the README.md with project details, including features, technologies, installation instructions, and project structure.
- It also includes a description of the app, features like free-text input, sentiment selection, submitting content to a server, and displaying a Snackbar.
- It updates the form submission logic in `App.kt` to delay showing the "Feedback sent" Snackbar by 1 second.

Closes #2

Reviewed-on: #21
Co-authored-by: Ben Martin <ben.martin@sky.uk>
Co-committed-by: Ben Martin <ben.martin@sky.uk>
2025-01-21 14:49:02 +00:00
063ec7632f feat: improve UI with sentiment selection, input field, and feedback submission (#17)
Some checks are pending
Build / build (push) Waiting to run
This commit enhances the UI of the application with the following changes:
- Adds sentiment selection via `FilterChip` components with leading icons and friendly names for each `Sentiment` option.
- Introduces a `TextField` for user comments.
- Implements feedback submission, which resets the selected sentiment and clears the comment field upon clicking the button.
- Shows a snackbar to display feedback success after the button is clicked.
- Improves `FilterChip` styling with `ChipDefaults` properties and uses larger font size.
- Uses `Scaffold` to provide a structure for the app.

Closes #4

Reviewed-on: #17
Co-authored-by: Ben Martin <ben.martin@sky.uk>
Co-committed-by: Ben Martin <ben.martin@sky.uk>
2025-01-21 14:37:45 +00:00
3d2cc0a62c chore: Configure Renovate (#16)
Some checks failed
Build / build (push) Has been cancelled
Welcome to [Renovate](https://github.com/renovatebot/renovate)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin.

🚦 To activate Renovate, merge this Pull Request. To disable Renovate, simply close this Pull Request unmerged.

---
### Detected Package Files

 * `.github/workflows/build.yaml` (github-actions)
 * `.github/workflows/release.yaml` (github-actions)
 * `gradle.properties` (gradle)
 * `settings.gradle.kts` (gradle)
 * `build.gradle.kts` (gradle)
 * `composeApp/build.gradle.kts` (gradle)
 * `gradle/libs.versions.toml` (gradle)
 * `gradle/wrapper/gradle-wrapper.properties` (gradle-wrapper)

### What to Expect

With your current configuration, Renovate will create 6 Pull Requests:

<details>
<summary>chore(deps): update dependency org.jetbrains.compose to v1.7.3</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/compose.multiplatform`
  - Merge into: `master`
  - Upgrade [org.jetbrains.compose](https://github.com/JetBrains/compose-jb) to `1.7.3`

</details>

<details>
<summary>chore(deps): update agp to v8.8.0</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/agp`
  - Merge into: `master`
  - Upgrade [com.android.library](https://android.googlesource.com/platform/tools/base) to `8.8.0`
  - Upgrade [com.android.application](https://android.googlesource.com/platform/tools/base) to `8.8.0`

</details>

<details>
<summary>chore(deps): update dependency androidx.activity:activity-compose to v1.10.0</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/androidx.activitycompose`
  - Merge into: `master`
  - Upgrade [androidx.activity:activity-compose](https://cs.android.com/androidx/platform/frameworks/support) to `1.10.0`

</details>

<details>
<summary>chore(deps): update dependency gradle to v8.12</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/gradle-8.x`
  - Merge into: `master`
  - Upgrade [gradle](https://github.com/gradle/gradle) to `8.12`

</details>

<details>
<summary>chore(deps): update actions/checkout action to v4</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/actions-checkout-4.x`
  - Merge into: `master`
  - Upgrade [actions/checkout](https://github.com/actions/checkout) to `v4`

</details>

<details>
<summary>chore(deps): update actions/setup-java action to v4</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/actions-setup-java-4.x`
  - Merge into: `master`
  - Upgrade [actions/setup-java](https://github.com/actions/setup-java) to `v4`

</details>

🚸 Branch creation will be limited to maximum 2 per hour, so it doesn't swamp any CI resources or overwhelm the project. See docs for `prhourlylimit` for details.

---

 Got questions? Check out Renovate's [Docs](https://docs.renovatebot.com/), particularly the Getting Started section.
If you need any further assistance then you can also [request help here](https://github.com/renovatebot/renovate/discussions).

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).

<!--renovate-config-hash:94693a990c975907e7f13da3309b9d56ba02b3983519b41786edf5cf031e457c-->

Reviewed-on: #16
Co-authored-by: Renovate Bot <renovate@brmartin.co.uk>
Co-committed-by: Renovate Bot <renovate@brmartin.co.uk>
2025-01-21 14:32:24 +00:00
0feaf9e92b feat: improve layout and add send icon to comment submission UI (#15)
All checks were successful
Build / build (push) Successful in 6m38s
This commit makes the following improvements to the comment submission UI:
-   Wraps the UI in a `Box` to center the content.
-   Pads `Row` components.
-   Adds an `Icon` in the submit button.
-   Makes `TextField` fill available width and height.
These changes affect `App.kt`.

Closes #6

Reviewed-on: #15
Co-authored-by: Ben Martin <ben.martin@sky.uk>
Co-committed-by: Ben Martin <ben.martin@sky.uk>
2025-01-21 13:58:12 +00:00
54fdb64c40 feat: Add Sentiment and UI Changes (#14)
All checks were successful
Build / build (push) Successful in 5m3s
Release / release (push) Successful in 7m0s
-   Adds a `Sentiment` enum with friendly names and leading icons for `HAPPY`, `NEUTRAL`, and `SAD`.
-   Replaces the previous `Greeting` class with this new `Sentiment` based approach.
-   Updates the main UI (`App`) to use `FilterChip` for sentiment selection.
-   Adds a `TextField` for user comments and a "Submit" button.

Closes #1

Reviewed-on: #14
Co-authored-by: Ben Martin <ben.martin@sky.uk>
Co-committed-by: Ben Martin <ben.martin@sky.uk>
2025-01-21 12:50:47 +00:00
f74c22eea4 fix: add release action (#12)
All checks were successful
Build / build (push) Successful in 4m56s
Release / release (push) Successful in 6m57s
This commit updates the release workflow to use the `softprops/action-gh-release@v2` action for releasing artifacts. This change replaces the previous use of `actions/upload-artifact@v4`.
- The workflow now uses the `files` parameter instead of `name` and `path` for uploading artifacts.
- The change affects `release.yaml`.

Closes #10

Reviewed-on: #12
Co-authored-by: Ben Martin <ben.martin@sky.uk>
Co-committed-by: Ben Martin <ben.martin@sky.uk>
2025-01-21 10:28:10 +00:00
362ab97601 fix: update Gradle build command in CI workflows (#11)
All checks were successful
Build / build (push) Successful in 4m41s
This commit updates the CI build and release workflows by changing the Gradle build command from `composeApp:buildDebug` to `composeApp:build`.
This change affects the `build.yaml` and `release.yaml` files.
-  the Gradle build command is updated to use `composeApp:build` instead of `composeApp:buildDebug`

Reviewed-on: #11
Co-authored-by: Ben Martin <ben.martin@sky.uk>
Co-committed-by: Ben Martin <ben.martin@sky.uk>
2025-01-21 10:16:52 +00:00
27240824f6 feature/ci (#8)
All checks were successful
Build / build (push) Successful in 4m25s
Release / release (push) Successful in 5m32s
Resolves #3

Reviewed-on: #8
2025-01-21 01:13:49 +00:00
4b0c4c406f
Initial commit 2025-01-20 22:23:52 +00:00