Commit Graph

771 Commits

Author SHA1 Message Date
Adam Brown 03a86a3e5c allowing the prefetching of local echos to fail 2022-10-03 20:08:03 +01:00
Adam Brown 5153ac08c0 fixing random device id generator starting with the same values 2022-10-03 20:08:03 +01:00
Adam Brown 19724ea5b3 avoiding recalculating static toolbar height 2022-10-03 20:08:03 +01:00
Adam Brown eb497be421 avoiding recreating navigation callback on recomposition 2022-10-03 20:08:03 +01:00
Adam Brown 4a4fad3cc0 providing a custom initial device display name
- Uses SmallTalk Android with a 4 character random
2022-10-03 20:08:03 +01:00
Adam Brown 011c7aebf9 updating sync service fake to reflect events by roomid change 2022-10-03 20:08:03 +01:00
Adam Brown a396712e8e fixing test harness compilation error 2022-10-03 20:08:03 +01:00
Adam Brown 511273517e extracting flow extension for starting and ignoring future emissions 2022-10-03 20:08:03 +01:00
Adam Brown 8e336fd730 avoiding duplicated room event emissions when watching a specific room id 2022-10-03 20:08:03 +01:00
Adam Brown 74dff9ccf2 avoiding sync event updates from other rooms 2022-10-03 20:08:03 +01:00
Adam Brown 03cb954ea8 computing the image size before sending to allow it to be used in local echos
- fixes local echo images changing size
2022-10-03 20:08:03 +01:00
Adam Brown aa813fe67a switching to lazy variant configuration 2022-10-03 20:08:03 +01:00
Adam Brown 1efb1cf6c6 styling the inline composer rely to match the reply messages 2022-10-03 20:08:03 +01:00
Adam Brown d18c14b152 using bubble colour with alpha for the reply background + some tweaks to padding and corners 2022-10-03 20:08:03 +01:00
Adam Brown 98d0652616 adding button to dismiss inprogress reply 2022-10-03 20:08:03 +01:00
Adam Brown 95c95c38ca allowing the canonical alias to be null when parsing the sync response 2022-10-03 20:08:03 +01:00
Adam Brown 933197dfd7 supporting local echos for text replies 2022-10-03 20:08:03 +01:00
Adam Brown 7a8b91a376 replacing sealed class with interface 2022-10-03 20:08:03 +01:00
Adam Brown fa177de185 removing redundant serializable 2022-10-03 20:08:03 +01:00
Adam Brown b8d9572bf3 removing unused field 2022-10-03 20:08:03 +01:00
Adam Brown cbf1e568a7 fixing test compilation error 2022-10-03 20:08:03 +01:00
Adam Brown aa277615e5 adding support for sending replies 2022-10-03 20:08:03 +01:00
Adam Brown 418fa46346 ignoring nulls unless explicitly declared in the api models, passing null breaks some endpoints 2022-10-03 20:08:03 +01:00
Adam Brown 2486a1eef6 adding barebones styling to the reply box 2022-10-03 20:08:03 +01:00
Adam Brown 625a2f682f adding sliding reply animation 2022-10-03 20:08:03 +01:00
Adam Brown f4e852b628 flattening box layer 2022-10-03 20:08:03 +01:00
Adam Brown 65bc3d8100 moving the hint state to the field decoration 2022-10-03 20:08:03 +01:00
Adam Brown a919e1b966 adding swiping to start reply process 2022-10-03 20:08:03 +01:00
Adam Brown 86a8865cd1 updating to latest material3 lib 2022-10-03 20:08:03 +01:00
Adam Brown 6532478fc8 extracting me fetching logic to its own usecase and testing 2022-10-03 20:08:03 +01:00
Adam Brown 1d1aff0ca9 allowing the profile call to continue when receiving a 404 instead of crashing
- this case is known by the spec for when a profile doesn't exist yet
- 403s still crash as fetching your own profile information should never result in access denied
2022-10-03 20:08:03 +01:00
Adam Brown 9d4f0f4197 adding ability to show the raw exception information on login errors 2022-10-03 20:08:03 +01:00
dependabot[bot] 768cbc7eb2
Bump coil-compose from 2.2.1 to 2.2.2
Bumps [coil-compose](https://github.com/coil-kt/coil) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/coil-kt/coil/releases)
- [Changelog](https://github.com/coil-kt/coil/blob/main/CHANGELOG.md)
- [Commits](https://github.com/coil-kt/coil/compare/2.2.1...2.2.2)

---
updated-dependencies:
- dependency-name: io.coil-kt:coil-compose
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-03 05:30:33 +00:00
dependabot[bot] ec608fd010
Bump ktorVer from 2.1.1 to 2.1.2
Bumps `ktorVer` from 2.1.1 to 2.1.2.

Updates `ktor-client-android` from 2.1.1 to 2.1.2
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/2.1.1...2.1.2)

Updates `ktor-client-core` from 2.1.1 to 2.1.2
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/2.1.1...2.1.2)

Updates `ktor-client-serialization` from 2.1.1 to 2.1.2
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/2.1.1...2.1.2)

Updates `ktor-serialization-kotlinx-json` from 2.1.1 to 2.1.2
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/2.1.1...2.1.2)

Updates `ktor-client-logging-jvm` from 2.1.1 to 2.1.2
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/2.1.1...2.1.2)

Updates `ktor-client-java` from 2.1.1 to 2.1.2
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/2.1.1...2.1.2)

Updates `ktor-client-content-negotiation` from 2.1.1 to 2.1.2
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/2.1.1...2.1.2)

---
updated-dependencies:
- dependency-name: io.ktor:ktor-client-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.ktor:ktor-client-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.ktor:ktor-client-serialization
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.ktor:ktor-serialization-kotlinx-json
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.ktor:ktor-client-logging-jvm
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.ktor:ktor-client-java
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.ktor:ktor-client-content-negotiation
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-03 05:30:25 +00:00
Adam Brown f8783fd008 allowing the prefetching of local echos to fail 2022-10-02 19:22:54 +01:00
Adam Brown 215695a3ce fixing random device id generator starting with the same values 2022-10-02 19:22:54 +01:00
Adam Brown a1460b307d avoiding recalculating static toolbar height 2022-10-02 19:22:54 +01:00
Adam Brown 47be48579d avoiding recreating navigation callback on recomposition 2022-10-02 19:22:54 +01:00
Adam Brown 86d41fd95f providing a custom initial device display name
- Uses SmallTalk Android with a 4 character random
2022-10-02 19:22:54 +01:00
Adam Brown 3f1fec1d8d updating sync service fake to reflect events by roomid change 2022-10-02 19:22:54 +01:00
Adam Brown abcf3193a8 fixing test harness compilation error 2022-10-02 19:22:54 +01:00
Adam Brown 0450dc869d extracting flow extension for starting and ignoring future emissions 2022-10-02 19:22:54 +01:00
Adam Brown 78c62ab7bb avoiding duplicated room event emissions when watching a specific room id 2022-10-02 19:22:54 +01:00
Adam Brown 55cdedd5af avoiding sync event updates from other rooms 2022-10-02 19:22:54 +01:00
Adam Brown 2110667d90 computing the image size before sending to allow it to be used in local echos
- fixes local echo images changing size
2022-10-02 19:22:54 +01:00
Adam Brown 2bb2091234 switching to lazy variant configuration 2022-10-02 19:22:54 +01:00
Adam Brown 906ec486f8 styling the inline composer rely to match the reply messages 2022-10-02 19:22:54 +01:00
Adam Brown 7f9f761eab using bubble colour with alpha for the reply background + some tweaks to padding and corners 2022-10-02 19:22:54 +01:00
Adam Brown 8d7a15e758 adding button to dismiss inprogress reply 2022-10-02 19:22:54 +01:00
Adam Brown 2f9bcb8ccf allowing the canonical alias to be null when parsing the sync response 2022-10-02 19:22:54 +01:00