Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Client implementation #2

Merged
merged 42 commits into from
Aug 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
7245102
feat: initial Tui application setup
Atheer2104 Jun 30, 2024
57b7b9a
chore: update workspace cargo files
Atheer2104 Jun 30, 2024
3269945
fix: proper program terminattion
Atheer2104 Jul 19, 2024
d314098
refactor: implement default for App
Atheer2104 Jul 25, 2024
e76a0dd
refactor: rewrite event handler
Atheer2104 Jul 25, 2024
f8ce24b
refactor: update main to handle new events
Atheer2104 Jul 25, 2024
94c8c7c
chore: update cargo.toml
Atheer2104 Jul 26, 2024
b0dc116
feat: add home and footer components
Atheer2104 Jul 26, 2024
e6501e0
feat: add new events to handle
Atheer2104 Jul 26, 2024
502a035
chore: add components to lib
Atheer2104 Jul 26, 2024
71db8f0
feat: add home and footer component to app
Atheer2104 Jul 26, 2024
dd5c919
feat: update ui to render home and footer
Atheer2104 Jul 26, 2024
9a5d735
chore: update root cargo.lock
Atheer2104 Jul 26, 2024
077e751
chore: update cargo.toml & .lock
Atheer2104 Jul 27, 2024
b147f15
feat: add login popup
Atheer2104 Jul 27, 2024
7843c61
feat: update event handling for when selecting an action in home page
Atheer2104 Jul 27, 2024
e19a350
feat: refactor ui into seperate package
Atheer2104 Jul 27, 2024
52d852c
refactor: update app struct with lifetime
Atheer2104 Jul 27, 2024
4349560
feat: initial poc implementation for login pop
Atheer2104 Jul 27, 2024
3519733
feat: add helper text for login popup
Atheer2104 Jul 27, 2024
21c45aa
chore: update cargo
Atheer2104 Jul 28, 2024
92ba698
feat: add Error mode in app.rs
Atheer2104 Jul 28, 2024
6dd706c
feat: update event handler to handle Error event
Atheer2104 Jul 28, 2024
7d5876b
chore: update text in footer
Atheer2104 Jul 28, 2024
d524ad9
feat: add validation of login credentials and error popup
Atheer2104 Jul 28, 2024
7602614
feat: handle error event in program loop
Atheer2104 Jul 28, 2024
0dac770
feat: add validation & helper text for register
Atheer2104 Aug 1, 2024
7831662
feat: add login functionality
Atheer2104 Aug 3, 2024
3a440fb
feat: add register functionality
Atheer2104 Aug 3, 2024
6e92104
chore: fix small clippy suggestions
Atheer2104 Aug 3, 2024
ffd016b
feat: initial PoC implementation for receiving and sending messages
Atheer2104 Aug 5, 2024
e401b01
feat: improve sending and receiving message
Atheer2104 Aug 9, 2024
95cc5eb
feat: improve chat functionality in client
Atheer2104 Aug 10, 2024
062a09a
feat: add error popup when client want to send empty message
Atheer2104 Aug 11, 2024
73e2572
refactor: update chatapi to receive a message without having to send …
Atheer2104 Aug 11, 2024
035cd7c
fix: correctly value of password check operation
Atheer2104 Aug 11, 2024
affc238
chore: remove unecessary prints
Atheer2104 Aug 11, 2024
f3f1d66
fix: update handling of expired jwts
Atheer2104 Aug 11, 2024
45c51f5
chore: fix formatting
Atheer2104 Aug 11, 2024
30a727a
chore: remove --check for sqlx prepare git workflow
Atheer2104 Aug 11, 2024
4d00c11
fix: add cargo update in github workflow
Atheer2104 Aug 11, 2024
a7458e5
chore: update cargo dependencies to latest version
Atheer2104 Aug 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/general.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ jobs:
with:
# this key will be added to tha automatic 'job'-based cache key, this key can also be used in further different jobs
key: "sqlx-${{ env.SQLX_VERSION }}"
- name: update cargo
run: cargo update
- name: Install sqlx cli
run: cargo install sqlx-cli
--version=${{ env.SQLX_VERSION }}
Expand All @@ -58,7 +60,7 @@ jobs:
SKIP_DOCKER=true auth/scripts/init_db.sh
- name: Check sqlx-data.json is up-to-date
run: |
cargo sqlx prepare --workspace --check
cargo sqlx prepare --workspace
- name: Run tests
run: cargo test -- --test-threads=1

Expand Down
Loading
Loading