mirror of
https://github.com/rzuasti/oott.git
synced 2026-07-08 19:21:54 +02:00
Update docs, TODO progress, and add run/db helper scripts
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
3d7f465c99
commit
dcb0bcaed1
@@ -19,9 +19,9 @@ For Flutter/Dart code:
|
||||
|
||||
## Project commands
|
||||
|
||||
- `sudo cargo run` from the `backend/` folder - Run the backend (you need sudo to enable the process to attach itself to the network channel)
|
||||
- `flutter run -d web-server --web-port 3333` from the `frontend/` folder - Run the front-end for the web
|
||||
- `run_tests.sh` - Run the backend tests
|
||||
- `cd backend && run.sh` from the `backend/` folder - Run the backend
|
||||
- `cd frontend && run.sh` from the `frontend/` folder - Run the front-end for the web
|
||||
- `cd backend && run_tests.sh` - Run the backend tests
|
||||
- `cargo clippy` - Run the clippy linter for Rust code
|
||||
- `dart analyze` - Run the Dart linter
|
||||
|
||||
|
||||
@@ -5,8 +5,10 @@
|
||||
## Backend
|
||||
|
||||
- [x] Add Swagger and API docs (OpenAPI)
|
||||
- [ ] Record an activity log in the database
|
||||
- [ ] One event for each device appearance
|
||||
- [x] Record an activity log in the database
|
||||
- [x] One event for each device appearance
|
||||
- [x] Add date filter to device event list method (from)
|
||||
- [ ] Add a data set (json) to store maps from vendors -> device type; modify the device creation so that it uses it automatically
|
||||
|
||||
## Frontend
|
||||
|
||||
@@ -18,7 +20,11 @@
|
||||
- [x] Extract the device type as an enum (idem Notification) and with Icon getter too
|
||||
- [x] Extract the confirmForget and showRegisterDialog methods from both device pages
|
||||
- [x] In the devices list add filters by owner and device type
|
||||
- [ ] View detailed log of device activity (based on event log in the backend)
|
||||
- [x] View detailed log of device activity (based on event log in the backend)
|
||||
- [x] Use date filter from backend API for device events list
|
||||
- [x] Use favicon in web frontend
|
||||
- [ ] Style app title like favicon (font Barlow Condensed in a pill format with "primary" background)
|
||||
- [ ] Change the unkown device icon (maybe just a question mark)
|
||||
- [ ] Scan process monitor and summary page
|
||||
- [ ] Is the scan process running
|
||||
- [ ] Last run (when, how long did it take, how many devices did it found)
|
||||
|
||||
Executable
+2
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
sudo sqlite3 oott.db
|
||||
Executable
+2
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
flutter run -d web-server --web-port 3333
|
||||
Reference in New Issue
Block a user