Skip to content

Commit ae4ee90

Browse files
authored
Update frontend and prepare architecture to multi-steward support (#46)
* start to update ui * remove websocket ui * refactor code after ws removing * update frontend * Unable real consensus result * update proposal ui * add current pending proposal to ui section * Refactor UI and backend for ban request feature - Updated `build.rs` to ensure proper protobuf compilation. - Removed `tracing-subscriber` dependency from `Cargo.toml` and `Cargo.lock`. - Refactored `main.rs` in the desktop UI to improve state management and UI interactions for group chat. - Enhanced `Gateway` and `User` structs to support sending ban requests and processing related events. - Updated UI components to reflect changes in proposal handling and improve user experience during voting and group management. - Added tests for new functionality and improved error handling across modules. * Add mls_crypto integration and group member management features - Introduced `mls_crypto` as a dependency for wallet address normalization. - Enhanced the desktop UI to support group member management, including requesting user bans. - Implemented new commands and events in the `Gateway` and `User` structs for retrieving group members and processing ban requests. - Updated the `User` struct to include methods for fetching group members and validating wallet addresses. - Refactored various components to improve state management and UI interactions related to group chat and member actions. - Added error handling for invalid wallet addresses and improved overall user experience in group management features. * Replace Apache License with a new version and add MIT License; update README to reflect new licensing information and enhance user module documentation. Refactor user module to improve group management, consensus handling, and messaging features, including ban request processing and proposal management. * Update dependencies and refactor package names for consistency * update ci * update ci * - Added `mls_crypto` as a dependency for wallet address normalization. - Introduced a new CSS file for styling the desktop UI, improving overall aesthetics and user experience. - Enhanced the `User` and `Gateway` structs to support group member management, including ban requests and proposal handling. - Implemented new commands and events for retrieving group members and processing ban requests. - Refactored various components to improve state management and UI interactions related to group chat and member actions. - Updated the `Cargo.toml` and `Cargo.lock` files to reflect new dependencies and configurations. - Added new profiles for development builds targeting WebAssembly, server, and Android environments.
1 parent 4ea1136 commit ae4ee90

File tree

107 files changed

+10157
-32784
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+10157
-32784
lines changed

.dockerignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,22 @@ jobs:
2727
uses: taiki-e/install-action@v2
2828
with:
2929
tool: protoc@${{ env.PROTOC_VERSION }}
30+
- name: Install system dependencies
31+
run: |
32+
sudo apt update
33+
sudo apt install libwebkit2gtk-4.1-dev \
34+
build-essential \
35+
curl \
36+
wget \
37+
file \
38+
libxdo-dev \
39+
libssl-dev \
40+
libayatana-appindicator3-dev \
41+
librsvg2-dev
3042
- name: Check formatting
3143
run: cargo fmt --all --check
3244
- name: Run clippy
33-
run: cargo clippy --all-features --tests -- -D warnings
45+
run: cargo clippy -p de_mls_desktop_ui --all-features --tests -- -D warnings
3446

3547
docs:
3648
runs-on: ubuntu-latest

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ target/
1212
.DS_Store
1313
src/.DS_Store
1414
.idea
15+
apps/de_mls_desktop_ui/logs
1516

1617
# files
1718
*.env

0 commit comments

Comments
 (0)