Commit Graph

25 Commits

Author SHA1 Message Date
a7bccfa779 ♻️ Add Session domain entity 2024-04-10 12:50:15 +02:00
11e239714b Reuse tracing library to be able to display matrix SDK logs 2024-04-10 12:41:05 +02:00
82b15a5509 💄 Manage config per target and remove menu bar from the desktop one 2024-04-06 12:02:43 +02:00
912b67ed23 🐛 Remove unused tokio::time import 2024-04-06 11:55:32 +02:00
0ec1187fc3 ♻️ Replace tracing dependency with dioxus-logger
tracing package doesn't support web platform when dioxus-logger `will eventually support every target that Dioxus
does. Currently only web and desktop platforms are supported.`
2024-04-06 11:51:46 +02:00
b26cb1d982 Use async-std to sleep asynchronously (previously done with tokio) 2024-04-05 17:23:48 +02:00
0ce0764204 🎨 Isolate infra and ui components
The src/base.rs is still to be reworked.
2024-04-04 14:27:58 +02:00
014a0c2c57 🎨 Put svg image generation in a dedicated datasource 2024-04-01 19:32:35 +02:00
9071b0073c ⬆️ Update the components to take the dioxus 0.5 rework into account 2024-03-31 23:26:10 +02:00
448b81b65d Add Login component 2024-03-30 17:40:17 +01:00
116bbcb247 🚧 Add an interface to the ChatsWindows to drive its behavior
For now, only the ChatsWindow tabs are toggled on clicks on room names (from ContactsSection).
2023-12-30 23:31:51 +01:00
7498638ac1 🚨 Fix clippy warnings 2023-12-26 21:04:57 +01:00
ddeb94e887 ♻️ Replace flume with tokio and share Matrix client infos to chats
- Remove of the flume dependency.
- Add the capability to share data provided by the Matrix client to the ChatsWindow. Indeed, until the 0.6 Dioxus
  release, each window runs in a separate virtual DOM so the context and Fermi states are completely seperate
  (cf. https://discord.com/channels/899851952891002890/1188206938215948378).
2023-12-25 23:14:43 +01:00
c9292fd613 🏗️ Remove data handling from components
The data sent by matrix_interface senders is now handled by the App.
2023-12-21 22:07:08 +01:00
513b05ddb3 🏗️ Split matrix_client.rs to create the matrix_interface module 2023-12-17 11:54:21 +01:00
ae8dba86f6 🏗️ Rearchitecting the interface with the MatrixClient
- Replace RwStore with channels.
- Use of fermi to handle application data.
- Use of tracing.
2023-12-10 22:04:07 +01:00
4988054dae 💄 Display ChatsWindow only once the user logged 2023-08-21 21:43:42 +02:00
94d0ea1cc8 💄 Make all the ChatsWindow main div usable 2023-08-16 22:38:31 +02:00
60f2466411 🎨 Refactor App + add an empty ChatsWindow in a dedicated window 2023-08-16 21:06:28 +02:00
2159c6adeb 🎨 Reorganize the contacts_window widgets + add first interactions with homeserver 2023-08-15 22:17:50 +02:00
22ef914304 First try of making reactive state external using UseRw 2023-08-09 22:54:32 +02:00
fd80b7fc10 🎨 Replace sir with turf + move css to dedicated scss files 2023-08-06 21:27:20 +02:00
a380c42b03 🚧 Handle logged state + Login -> ContactsWindow transition 2023-08-05 20:17:05 +02:00
45d5eb704c 🎨 Split ContactsWindow component + use of dioxus-free-icons 2023-08-04 22:35:32 +02:00
54a50c1ff0 🎉 First commit (💩) 2023-08-03 20:44:53 +02:00