Commit Graph

594 Commits

Author SHA1 Message Date
414a205833 built the interface for the blind curtains. 2024-05-06 14:38:29 +03:00
2c8ea5d51c fixed DevicesView padding 2024-05-01 10:40:10 +03:00
c04e64b613 Initilized the Blinds View and its animations 2024-05-01 10:33:24 +03:00
d802c2e045 Merge pull request #23 from SyncrowIOT/Syncing_with_backend
Synced with the backend
2024-04-30 12:14:10 +03:00
6042208d02 dart fix --apply to remove unused imports and fixed some pages layouts 2024-04-29 11:49:08 +03:00
3607b5353d switched the safe area to be in the scaffold 2024-04-29 11:38:35 +03:00
a12f006d63 Added Control functoinalty on the DoorLock 2024-04-29 11:38:11 +03:00
f8358a0877 Updated the API Endpoints, API Calls, Data Models and cubits to the lateset changes from the backend 2024-04-29 10:00:58 +03:00
6d720546f8 Merge branch 'dev' into finishing_smart_door_pages 2024-04-28 09:34:47 +03:00
ca71574bf2 Added Smart Linkage Button 2024-04-28 09:32:49 +03:00
b9c181c944 Added SmartLinkage page 2024-04-25 13:15:35 +03:00
1e8fb49b45 Added add member interface 2024-04-25 11:47:18 +03:00
bcc9e0c6c2 Added AddMemebers Page 2024-04-24 12:07:39 +03:00
eee889d3e4 Added Members Management Page With Demo Data 2024-04-24 10:39:53 +03:00
50c1e9be84 Added Unlocking Records page 2024-04-24 00:18:00 +03:00
87eb2369ca Added Default Scaffold and Removed unsed file 2024-04-23 23:15:02 +03:00
8127c1978c Added Privacy View 2024-04-23 22:13:32 +03:00
48e6ae2bd3 Added Securty Page 2024-04-23 22:09:32 +03:00
7e3f68b65f Added Manage Home Page And Home Settings Page 2024-04-23 21:58:11 +03:00
8550e81b4e Added join home page 2024-04-23 20:19:43 +03:00
3a41a7118d Added Create Home Page 2024-04-23 16:53:41 +03:00
6050fa745f Add ProfileTab and ProfileView widgets for user profile display
- Added ProfileTab widget for displaying user profile information in a tab.
- Added ProfileView widget for displaying user profile details in a separate view.
2024-04-23 16:38:26 +03:00
e47e428785 created Default Scaffold 2024-04-23 16:28:02 +03:00
6771785a4b removed old menu List and menu List Item models 2024-04-23 15:12:38 +03:00
1da61e7673 quick fixes 2024-04-23 15:11:10 +03:00
88588d9fa8 Refactor menu view to use sections and buttons
Extracted menu sections and buttons into separate data structures for better
organization and readability in the menu view. Updated MenuList widget to
dynamically render buttons based on the new data structure.
2024-04-23 15:11:01 +03:00
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
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
072a043aaa Moved wall sensor files 2024-04-22 10:13:40 +03:00
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
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
c3bc40e0d7 bugs fixed 2024-04-20 01:30:45 +03:00
e312d1fe4d Merge branch 'dev' into wall_mounted_sensor 2024-04-20 00:53:55 +03:00
bb56ea42c5 Remove unused imports
Remove unused imports from multiple files in the project.
2024-04-19 17:48:18 +03:00
d78394d259 Add presence indicator and wall sensor interface 2024-04-19 17:47:49 +03:00
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
09e0695bcc syncing to origin/dev 2024-04-17 16:29:27 +03:00
98f14a56f5 Merge branch 'dev' into doorlock_interface 2024-04-17 14:01:54 +03:00
97f3ebc583 Changed Size and Shadows in the door lock button containers 2024-04-17 13:59:55 +03:00
f4304f1296 Added onTap to DefaultContainer 2024-04-17 12:04:59 +03:00
086476810c Improved The layout of Door Lock Page 2024-04-17 11:31:09 +03:00
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
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
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
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
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
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
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
2ae0c07830 Update import statements from relative tok apsulote paths. 2024-04-13 18:05:19 +03:00
696ff25b6a Update import paths from relative to abslute path accross the entire application. 2024-04-07 12:57:26 +03:00