Commit graph

55 commits

Author SHA1 Message Date
Nutcake
76e32887e4
Isovel/contacts sorting (#26)
* feat: update contacts list sorting + correctly handle headless hosts
---------

Co-authored-by: Garrett Watson <toast@isota.ch>
2024-01-27 15:55:55 +01:00
Nutcake
812148658d
Add iOS support (#18)
* add web support and remove all tabs except chat

* Update README.md

* feat: setup project for xcode builds + add other tabs back

* chore: update macos podfile

* chore: update packages + update build config + add audio playback on iOS/macOS + swap downloader library

* chore: remove ide-specific files

* chore: update readme

* chore: update build.gradle to reflect correct minSdkVersion

* chore: remove generated ic_launcher png files

* chore: update formatting to use 120 char line length

* chore: address use of then method on awaited future

* chore: update app icons for macOS & iOS

* Fix file move not waiting for download finish

---------

Co-authored-by: lumey <lumey@lumey.dev>
Co-authored-by: Garrett <toast@isota.ch>
2023-11-14 20:28:14 +01:00
Nutcake
ec4d276cc8 Fix code formatting
This project uses 120 character line width instead of the default 80.
Make sure to change your IDE preferences to auto-format lines to 120
character.
2023-11-11 11:03:14 +01:00
Nutcake
e97e0a52af Move copy message snackbar to top of view
On Android 13 or newer there is an operating system integrated message
bubble that pops up and shows you any automated clipboard changes at the
bottom left of the screen. This bubble obscures the message text of the
snackbar so I've moved it to the top of the screen when on Android.

It might make sense to do more accurate version checking in the future
to only show the snackbar if on Android < 13 or iOS but we'd need to pull in the
device_info_plus package or similar for that.
2023-11-11 11:02:13 +01:00
Nutcake
44e94555f2 Add ripple effect to text-copy action
Generally the use of GestureDetector is discouraged in favor of InkWell
unless you have a very specific reason to use it. InkWells automatically
generate ripple effects if there is a parent material widget in the tree
to indicate to a user that a given widget is interactible.
2023-11-11 10:51:24 +01:00
Nutcake
7ff98649e9 Fix unchecked use of BuildContext after await
When using the BuildContext after an asynchronus gap (like when using
await), you always need to check if the context is still mounted before
using it to retrieve objects from the widget tree like with
`ScaffoldMessenger.of(context)`.

Additionally you don't need to use
`.then((value) {})` on a future, if that future is already awaited, you
can simply put any following statements on a new line for better
readability of program flow.
2023-11-11 10:20:55 +01:00
Garrett Watson
393d71a8bc feat: add copying message text via long press 2023-11-10 18:34:17 -05:00
Nutcake
023ed9edc1 Explicitly disable non functional features 2023-10-10 11:07:54 +02:00
Nutcake
1bcebbacc8 Fix visual issues with bottom navigation bar 2023-10-10 10:57:14 +02:00
Nutcake
fb30007799 Improve user session status tracking 2023-10-10 09:53:34 +02:00
Nutcake
74fb91e0a4 Replace all text references with new ReCon branding 2023-10-03 19:00:59 +02:00
Nutcake
bace94b6d2 Fix user session status not showing 2023-10-03 18:20:02 +02:00
Nutcake
56ed403d79 Add preliminary hash based session handling 2023-10-01 21:14:38 +02:00
Nutcake
bcc03b4c9a Change navbar color in chat view 2023-09-30 14:20:08 +02:00
Nutcake
cc1bcb7a72 Remove more references to old platform 2023-09-30 12:22:32 +02:00
Nutcake
6e83ce32f8 Remove client secret dependecy and fix session thumbnails 2023-09-30 11:15:17 +02:00
Nutcake
73f41ef71e Switch to new endpoints 2023-09-29 09:51:46 +02:00
Nutcake
d855d7dda3 Change AppBar colors to be consistent across the app 2023-06-24 13:34:25 +02:00
Nutcake
65207e6e90 Add filter function to session list 2023-06-04 16:27:18 +02:00
Nutcake
24178aaa43 Add tabbed view to homescreen 2023-06-03 17:17:54 +02:00
Nutcake
a7f39c1d06 Add zero-padding to session user-count 2023-05-29 20:22:06 +02:00
Nutcake
a3ecbfe281 Improve session view design and move some things around 2023-05-29 20:16:23 +02:00
Nutcake
1a5114a217 Fix friend online status in message view not updating 2023-05-29 16:48:53 +02:00
Nutcake
82e045f2ee Fix audio recording bugging out when asking for permission 2023-05-28 19:00:22 +02:00
Nutcake
aa882a13ae Refactor audio-message error handling 2023-05-28 18:28:04 +02:00
Nutcake
9ab4774f34 Fix uploaded assets getting deleted and fix new audio messages loading wrong file 2023-05-28 16:38:59 +02:00
Nutcake
c368fb6fe5 Improve message list visuals 2023-05-25 20:19:03 +02:00
Nutcake
8668e66813 Improve light-mode support 2023-05-25 19:30:15 +02:00
Nutcake
730de37b78 Fix some auth and attachment issues 2023-05-25 15:50:38 +02:00
Nutcake
358e8490bc Improve design of attachment buttons 2023-05-21 18:43:01 +02:00
Nutcake
2987603b7a Move messaging input bar to separate file 2023-05-21 17:27:29 +02:00
Nutcake
1b7af5f4a7 Minor message view improvements 2023-05-21 14:23:53 +02:00
Nutcake
c12748de6c Add audio file caching 2023-05-20 21:09:22 +02:00
Nutcake
a8063a74d7 Clean up asset upload functionality 2023-05-20 15:40:03 +02:00
Nutcake
b7a27944cf Improve audio player stability 2023-05-18 15:17:05 +02:00
Nutcake
ce98e73f6f Add initial support for sending voice messages 2023-05-18 13:52:34 +02:00
Nutcake
0e15b3c387 Split attachment list into separate file 2023-05-18 12:18:53 +02:00
Nutcake
52d6f40d82 Add initial camera functionality and improve attachment visuals 2023-05-18 11:53:32 +02:00
Nutcake
3c4a4fb80b Add progress indicator for file upload 2023-05-18 10:52:32 +02:00
Nutcake
717cdb5064 Implement message attachment UI 2023-05-17 23:20:56 +02:00
Nutcake
76fcec05de Implement chunked file upload and make uploaded files spawnable 2023-05-17 15:35:36 +02:00
Nutcake
362f0cef09 Add basic image upload functionality 2023-05-17 13:55:24 +02:00
Nutcake
f411835c83 Remove redundant provider 2023-05-17 13:55:24 +02:00
Nutcake
5d5b01b8a9 Improve error handling in message view 2023-05-16 15:57:44 +02:00
Nutcake
57cbd4370b Improve responsiveness of bottom inset in message view 2023-05-16 13:20:11 +02:00
Nutcake
3fcb9b7a49 Improve design of message view text input 2023-05-16 10:51:55 +02:00
Nutcake
2b7b4e2dba Add support for material you and improve message design coherency 2023-05-15 15:45:41 +02:00
Nutcake
5e267b7ff0 Improve text formatting with extreme size values and fix session header not getting formatted 2023-05-15 11:46:31 +02:00
Nutcake
d51eba5009 Fix message timestamps showing in UTC instead of local time 2023-05-15 10:39:22 +02:00
Nutcake
8a6a033cfd Add active session name and headless indicator to friend tile 2023-05-12 19:29:23 +02:00