Mohammad Salameh
ca71574bf2
Added Smart Linkage Button
2024-04-28 09:32:49 +03:00
Mohammad Salameh
b9c181c944
Added SmartLinkage page
2024-04-25 13:15:35 +03:00
Mohammad Salameh
1e8fb49b45
Added add member interface
2024-04-25 11:47:18 +03:00
Mohammad Salameh
bcc9e0c6c2
Added AddMemebers Page
2024-04-24 12:07:39 +03:00
Mohammad Salameh
eee889d3e4
Added Members Management Page With Demo Data
2024-04-24 10:39:53 +03:00
Mohammad Salameh
50c1e9be84
Added Unlocking Records page
2024-04-24 00:18:00 +03:00
Mohammad Salameh
8fbcb55e74
Added unlocking records icons
2024-04-24 00:17:42 +03:00
Mohammad Salameh
87eb2369ca
Added Default Scaffold and Removed unsed file
2024-04-23 23:15:02 +03:00
Mohammad Salameh
fd34eecd03
Merge pull request #19 from SyncrowIOT/configure_wall_presence_sensors
...
Configure_wall_presence_sensors
2024-04-22 15:37:09 +03:00
Mohammad Salameh
54982ba777
Configured ceiling presence sensor interface components
...
configured CPS UI to check for the state and the connectivity of the device.
reflected the data from the API to the UI
2024-04-22 11:49:21 +03:00
Mohammad Salameh
00e3c13d03
Add ParameterControlDialog for managing sensor parameters
...
This commit adds a new ParameterControlDialog widget to manage sensor
parameters in the presence sensors feature. The dialog allows users to
adjust sensitivity settings for ceiling sensors.
2024-04-22 10:14:11 +03:00
Mohammad Salameh
072a043aaa
Moved wall sensor files
2024-04-22 10:13:40 +03:00
Mohammad Salameh
2eeee63e1d
Update presence sensor interface and add parameter dialog
...
- Add parameter dialog for adjusting sensitivity in presence sensor interface.
- Implement toTitleCase helper method in StringHelpers class.
- Update UI elements in the presence sensor interface for better user interaction.
2024-04-22 09:14:02 +03:00
Mohammad Salameh
506068474b
Add FunctionType enum and ValueModel class
...
- Added FunctionType enum with values Boolean, Enum, Integer, Raw, String.
- Introduced ValueModel class to handle unit, min, max, scale, and step values
for functions in FunctionModel.
2024-04-21 16:13:51 +03:00
Mohammad Salameh
c97e2715f7
Merge pull request #17 from SyncrowIOT:overflow_fix
...
bugs fixed
2024-04-20 01:31:46 +03:00
Mohammad Salameh
c3bc40e0d7
bugs fixed
2024-04-20 01:30:45 +03:00
Mohammad Salameh
c564885e78
Merge pull request #16 from SyncrowIOT/wall_mounted_sensor
...
Wall Presence Sensor Interface
2024-04-20 00:54:10 +03:00
Mohammad Salameh
e312d1fe4d
Merge branch 'dev' into wall_mounted_sensor
2024-04-20 00:53:55 +03:00
Mohammad Salameh
5a07f6a86c
Merge pull request #15 from SyncrowIOT/ceiling_mounted_page
...
Ceiling_mounted_page
2024-04-19 17:58:58 +03:00
Mohammad Salameh
bb56ea42c5
Remove unused imports
...
Remove unused imports from multiple files in the project.
2024-04-19 17:48:18 +03:00
Mohammad Salameh
d78394d259
Add presence indicator and wall sensor interface
2024-04-19 17:47:49 +03:00
Mohammad Salameh
822de1d9b5
Add presence sensor assets to pubspec.yaml
2024-04-19 17:46:30 +03:00
Mohammad Salameh
f095d29022
Added wall mounted presence sensor assets
2024-04-18 10:01:55 +03:00
Mohammad Salameh
b433cd07e6
Added ceiling sensor interface
...
Add a new widget for displaying the interface of a ceiling sensor device.
This widget includes UI elements to show sensor data and control options.
2024-04-18 09:51:23 +03:00
Mohammad Salameh
1ec1ae76b0
Added ceiling presence sensor assets
2024-04-18 09:50:32 +03:00
Mohammad Salameh
09e0695bcc
syncing to origin/dev
2024-04-17 16:29:27 +03:00
Mohammad Salameh
ff71002ee0
Merge pull request #14 from SyncrowIOT/doorlock_interface
...
Doorlock_interface
2024-04-17 15:58:47 +03:00
Mohammad Salameh
98f14a56f5
Merge branch 'dev' into doorlock_interface
2024-04-17 14:01:54 +03:00
Mohammad Salameh
97f3ebc583
Changed Size and Shadows in the door lock button containers
2024-04-17 13:59:55 +03:00
Mohammad Salameh
136d681182
Merge pull request #13 from SyncrowIOT/token_validation
...
Refactor HTTPInterceptor and add CustomSnackBar helper
2024-04-17 12:06:00 +03:00
Mohammad Salameh
f4304f1296
Added onTap to DefaultContainer
2024-04-17 12:04:59 +03:00
Mohammad Salameh
086476810c
Improved The layout of Door Lock Page
2024-04-17 11:31:09 +03:00
Mohammad Salameh
6266780258
Update form key to be a final field and add validators for email and password
...
- Make the form key a final field in the AuthCubit class
- Add validators for email and password fields in the AuthCubit class
- Update the LoginForm widget to use the form key from AuthCubit class
- Add validators for email and password fields in the LoginForm widget
2024-04-16 16:44:17 +03:00
Mohammad Salameh
fd03d29e93
Avoided null value in network_exception.dart when calling fromResponse
2024-04-16 15:47:03 +03:00
Mohammad Salameh
214c4bb749
Remove unnecessary developer log statements
2024-04-16 15:45:32 +03:00
Mohammad Salameh
95f7ade9e6
removed try-catch blocks from auth_api.dart, devices_api.dart and spaces_api.dart files
2024-04-16 15:45:04 +03:00
Mohammad Salameh
cc6b68e338
Update device interfaces and add new doors list view widget
...
- Add a new widget 'DoorsListView' for displaying a list of smart doors
- Update the navigation method to devices interfaces in 'RoomPageSwitch' widget
- Add battery and doorlock icons to auto generated assets
2024-04-16 14:53:43 +03:00
Mohammad Salameh
cbe4fb285b
Add smart door widgets
...
Added new widgets for a smart door feature including a door button, grid, status bar, and interface. Also included assets and functionality for door lock buttons.
2024-04-16 14:51:18 +03:00
Mohammad Salameh
9904a8cc0b
Added door lock assets
2024-04-16 14:49:17 +03:00
Mohammad Salameh
df13c66b1a
Refactor API error handling and add try-catch blocks
...
Added try-catch blocks for error handling in API's files to rethrow the errors to the cubit so cubits can update the UI based on them.
Refactored error handling in HTTPInterceptor and HTTPService classes.
2024-04-15 15:47:13 +03:00
Mohammad Salameh
dd90a2133f
removed snackbar calling in any place in the app except in the intercepter to improve
...
readability and reduce duplication of error message display logic.
2024-04-15 15:44:32 +03:00
Mohammad Salameh
80d424f114
Refactor code for consistency and readability
...
- Removed unused imports and commented-out code
- Updated class inheritance for AuthState subclasses
- Reorganized code structure for better readability
- Cleaned up debug print statements and replaced with dart:developer logs
2024-04-15 12:03:25 +03:00
Mohammad Salameh
cfc395e210
Refactor HTTPInterceptor and add CustomSnackBar helper
...
Refactor HTTPInterceptor to handle error responses and add a CustomSnackBar
helper to display snack bars. This will improve error handling and user
feedback in the application.
2024-04-15 12:02:34 +03:00
Mohammad Salameh
590c70a7d8
Merge pull request #12 from SyncrowIOT/Configure_devices_statuses
...
Configure devices statuses
2024-04-14 12:01:57 +03:00
Mohammad Salameh
2ae0c07830
Update import statements from relative tok apsulote paths.
2024-04-13 18:05:19 +03:00
Mohammad Salameh
696ff25b6a
Update import paths from relative to abslute path accross the entire application.
2024-04-07 12:57:26 +03:00
Mohammad Salameh
6dfce18703
Refactor UI structure in curtain and light widgets
...
Simplify UI structure in curtain_view.dart and light_interface.dart by
rearranging the widget tree for better readability and maintainability.
2024-04-07 12:50:12 +03:00
Mohammad Salameh
af7b497cdb
apend
2024-04-04 15:51:58 +03:00
Mohammad Salameh
8c80283f9c
Update DefaultNavBar widget and ServerFailure class
...
Refactor DefaultNavBar widget to update page index on item tap.
Update ServerFailure class to handle 400 status code with list of errors.
2024-04-04 15:51:41 +03:00
Mohammad Salameh
a0c553f9ae
Refactor ServerFailure class to use 'message' field from response
...
Update ServerFailure class to extract error message from 'message' field in
response data instead of converting the entire data to a string.
2024-04-04 14:53:58 +03:00