Inlined Timestamp in bubble style for messages that have a bubble (#947)

* web-like solution

* not super polished but working implementation

* polishing the spacing and sizes

* removing unused code

* code improvements

* adding a test case in the preview for RTL

* addressing some PR comments

* added some tests and polished the code

* better naming

* code improvement

* RTL fix

* Revert "RTL fix"

This reverts commit 14e4468a5358769daa57891f4991e9e32da1c985.

* better RTL fix

* updated UI tests

* separated some files

* addressed some PR comments

* some more tests
This commit is contained in:
Mauro
2023-05-25 12:13:45 +02:00
committed by GitHub
parent 6b13c52cd0
commit c59921103d
44 changed files with 468 additions and 152 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ class RoomScreenUITests: XCTestCase {
defer { try? client.stop() }
// Given a timeline that is scrolled to the top.
while !app.staticTexts["Bacon ipsum dolor amet commodo incididunt ribeye dolore cupidatat short ribs."].isHittable {
for _ in 0...5 {
app.tables.element.swipeDown()
}
let cropped = UIEdgeInsets(top: 150, left: 0, bottom: 0, right: 0) // Ignore the navigation bar and pagination indicator as these change.
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0e61e6dccf47027af9b1d9d40b28a38ab9b75b4455cfc4dd93835748caf095b7
size 226144
oid sha256:a4983811f9c93ae9d91957ad62b91456beed84048abbc78339ccd159edb9b6e9
size 234145
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:72f234c5fe48fb4a1faa736c34d35a9bb693c3d3fa2b729a09df0602ca072ef5
size 266282
oid sha256:a1ddd83f9f845b6d6281f8e291674957f9d3b2d6d5dfad66b3ead58cf3faa147
size 278646
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:23c7126fd1fa69e482220b3a1e1fc3608b72e8a7dacb1f2abf5b8d5b95befb1b
size 226023
oid sha256:b24385ffd83f5124614ec088dbcc96ac80b717eeba49b0e87624b308a6a00875
size 234046
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1071fdafcad66664288bc18505f733829f045c07faecaeb36d62be896262a3a8
size 96975
oid sha256:d16782fe705cc6c2d5dcf0c5e60ee72898c599c8226e6fc3abdbe0b2f6ede5f7
size 100181
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8f8de7ead20eef42d189b3582169783eaa037478ca43c9f1004f216abfc2b3e9
size 116418
oid sha256:863a56b98b4781de1da9122817c84df6791afd25defc3b9709737c9417e72481
size 122963
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a3204698079695ad6197fbdba23e1e45322f3981a202019bbedf44fda401dc4d
size 284896
oid sha256:17578cec39bfddd1b1ff1963b74ce1e9863d073f133de441e0997a21c5bfdf37
size 298067
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:891bd87182b1ce91da99b4748b4c951eeea0f8cb81355628a3f6cf75d97c1e6a
size 350090
oid sha256:e44ebb4db0febc50dd1ae363c106d149e4a8e6e0386eb7c6e2b6b442a3784535
size 358633
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:71b1a302c3013f61056be9c3aad8d429aad25f402a38b7ad47fca32999b6e5d3
size 248611
oid sha256:81b08daf45dccae39110df315f14d0aeb5027b805af18bee10ba8fa561fb980a
size 246221
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2d5cf517ea15a9a5fdfcacc858b7b3173cdc1a9bda0afa975b4e271f4afdc0c9
size 349837
oid sha256:0160aea39bc6016c5e423d2d846f247d1f1e9d0024a1f5c833a98be7e77ea207
size 358357
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7109c790683af45b2f29fd0a6aa8496ac09325e48a15a27d6abde5212139acad
size 150619
oid sha256:9fc157e760cd2faf5936011d69f53744b7d037c9ee8f8434d071ff49e626e9da
size 155517
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b7c6bac06cdaa0b3f126eecbfe1cf232ac34707e065f13fbaf68708c58cf2293
size 181693
oid sha256:c849dbf18fda70046a9cc5e8a117078a69c7b5618222710c92f437b288217d74
size 191841
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1961e6e76df75e7d3fcb5e385fa66f5d8895e0dc3a48d5b12d42ef37253488ec
size 302074
oid sha256:77e6a585c3e6057cbb2c92f7b525b1464c13570a67b809ba6c02a4f09b7e0a60
size 318416
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6ee1d5f6d28f2edc5fa5446e8e9df6268df8e543dd83230f05001f6a502b54da
size 227470
oid sha256:845e339376c379882e2a4811a4349cb89377abd348282a76b29640ec3ed5e551
size 235185
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c80d586a3bac65665769abdaea9bd94819eb0e5796aa5b84d668638124e95b73
size 266691
oid sha256:5460a8e7171dccc726fc7a5da386d0408f86998ea4d51b06b05c90f077b8bc21
size 279028
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6e24bd90d4861049fd1473e81e237f35253063544fa5205ead132566fa3f4c76
size 227347
oid sha256:f7b7650aab00b11152a22a63721b2005364d1e915c44cd802a29ced4f5f586ab
size 235091
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7590bf3ce258bd1ed83674c7aa8fe029cc6b65cc789e60db6c5aac75f88de1c5
size 97468
oid sha256:d413f50e7778b19fdb8baac0e11b6f78c76af3b58436e405a6f60a9b42a50940
size 100669
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:aff34dd5e386da4c9491eb19bcb6e2ecd40301640be3768f04f40b2f447dcda2
size 116895
oid sha256:283db285833ed3fd65ae6adf61111ffca3f3a9d5fc3fb05d240f81fac7ea8b17
size 123454
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:55e1b3c880fc7589c9d955605e16d3df33d842d37fff91efd31acc787d817ee6
size 285371
oid sha256:3b7fb769b14c81ff5e9d9be36083ffa48623c90ea4d333105c071bf326d0c859
size 298553
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:270122db18781f10a4357610bec368381c8977f36cd81ebabd16ab8abefae822
size 350678
oid sha256:a2ab1da0274529f2bc26af0b7d9d94ad399a5c46e6f3a496df3885d1cd650729
size 332000
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8fb535d6c0766d034d32cf2488acbee08053d620dec8f33570506073eca44af7
size 249202
oid sha256:8f2115478483a5e24fa09118e00efc8eedb79db01782b7a54ef0e70c5baf27b3
size 239702
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d11402df691d0fce38b74683a8e3e21915ad592ce8ef9a72c6a0947e8a5af30d
size 350425
oid sha256:b4764bac791d16b80ab2a2303e97bad7eb5971b45439319b8f633752718279cd
size 331646
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8feb34445e1fcb0d2fe2061a225428f5658436a8821a722b31fefb6e0063f7c8
size 151125
oid sha256:a1ef9a0b33c1c8c9fbae6fc66f0d9bbdbda390574539c6c2bfc94c1c8e3ac81a
size 156266
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:26051b89f610c6d5810559df462951cbe4f82ba0dba02568d27052ec7ce895f1
size 182242
oid sha256:8fc2fcf3937665fe3a581c9378d023ca57f4d5e630eb51496d7f21a1e4fe9a8f
size 192441
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7484ae40068b388b98e271f962529e44c67b514c2e8a7bac934bfbbfeb4b9903
size 302656
oid sha256:643fdf24fa8f7553f120da069ddbfe13d5b2e2405ad2b0041ad765b0efd99797
size 305866