Commit Graph

103 Commits

Author SHA1 Message Date
76f5c6d325 bug fixes and read sensors states 2024-06-06 11:14:25 +03:00
9877dde78e Added create a unit screen, and implemented otp screen bloc and view 2024-05-30 10:59:22 +03:00
cda41ecf74 Implemented firebase and onesignal 2024-05-23 17:09:10 +03:00
f7db91f212 Added sign up screen and model 2024-05-23 14:08:40 +03:00
0eea5242e1 Added smart door bloc 2024-05-23 02:45:31 +03:00
44b08c482d Implemented ceiling, wall sensors functionality 2024-05-22 23:55:35 +03:00
008ba8be32 Added three gang bloc, event, state, and model 2024-05-21 01:51:53 +03:00
7d4ce7f7b3 Implemented Acs functions and fixed design issue 2024-05-21 00:13:27 +03:00
4257d69768 Implemented Ac functionality, and bug fixes 2024-05-20 02:40:50 +03:00
0f75c3def1 Fixed logout issue 2024-05-18 23:45:23 +03:00
923e7a2d02 Added the curtain interface 2024-05-07 12:26:54 +03:00
fbe2f5fe53 !! BIG CHANGE TO ASSETS GEN !!
changed the method of generating assets to be more declrative when it comes to names of the assets.

it now include the file path name e.g (asset in the path "assets/images/home-images/home.png" will be generated as this "String assetsImagesHomeImageshome = "path" ".

this will be very helpful in the future when we want to orgnize the assets dir.
2024-05-07 12:26:12 +03:00
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
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
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
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
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
97f3ebc583 Changed Size and Shadows in the door lock button containers 2024-04-17 13:59:55 +03:00
086476810c Improved The layout of Door Lock Page 2024-04-17 11:31:09 +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
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
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
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
65112976b2 Update device control logic for three gang interface
Refactor onTap functions in ThreeGangInterfaceBody to control all three switches
simultaneously based on the user interaction. Split the logic for turning on and
off the switches into separate functions for better readability and maintenance.
2024-04-04 01:18:02 +03:00
245ab82208 Refactor GangSwitch widget and ThreeGangInterfaceBody
Refactor GangSwitch widget and ThreeGangInterfaceBody for better readability
and maintainability. Update widget structure and logic for improved
functionality and code organization.
2024-04-04 01:14:55 +03:00
1f4fb940bc apend 2024-04-04 00:50:27 +03:00
20ded336d3 Refactor AC interface temp unit control logic
Refactor the control logic in the AC interface temp unit widget to handle
device control actions more efficiently and improve code readability.
2024-04-04 00:45:54 +03:00
13bfcdfb4d Update device icons and refactor AC interface widget
- Update device icons to match new design requirements
- Refactor AC interface widget to use a more descriptive variable name
- Implement temperature control functionality in AC interface widget
2024-04-04 00:38:27 +03:00
bff4b9493c Refactor device control logic and add temperature and fan speed enums
- Refactor device control logic in the app to improve readability and maintainability.
- Add temperature modes (hot, cold, wind) and fan speeds (auto, low, middle, high) enums.
- Update icon mappings and utility functions for temperature modes and fan speeds.
2024-04-03 18:54:21 +03:00
6577652702 Refactor AC mode control unit widget
Move fan speed and temperature mode logic to the DevicesCubit for better
separation of concerns and improved code readability. Update widget to use
BlocBuilder for state management and simplify control logic.
2024-04-03 18:53:54 +03:00