Commit Graph
1388 Commits
Author SHA1 Message Date
Shemy Gan 2f8638cf04 - update safe checking for string util
- remove required for threshold in joi
-  refine if logic and update no error checking with values due to the change to set null instead of delete error entry
- move customthreshold component to under create infrastructure folder
- correct interval setting and threshold default value and fix typo
2024-11-15 14:49:27 -05:00
Shemy Gan c3859c7507 - wrap when overflow 2024-11-14 14:42:23 -05:00
Shemy Gan 4e60981b0b - Add JSDoc for the new component 2024-11-14 14:28:42 -05:00
Shemy Gan aa6e881c1a Merge branch 'develop' into 1067-fe-hardware-monitoring-create-hardware-monitor 2024-11-14 11:03:38 -05:00
Shemy Gan a9aece6123 - set error as null instead of delete it
- customize checkbox to pass in element as label
- adjust checkbox posion to appear align top with string within the element label based on review feedback
- remove the checkbox margin setting instead of comment out
2024-11-14 11:01:36 -05:00
Alexander Holliday e22476ee4a Merge pull request #1152 from bluewave-labs/refactor/theme
Refactor - Theme
2024-11-13 18:31:37 -08:00
Caio Cabral b13f4b1633 fix: fixing typo 2024-11-13 21:11:41 -05:00
Caio Cabral bfef16fb20 chore: adding jsdocs 2024-11-13 21:10:00 -05:00
Caio Cabral cae03c7c98 remove unused code from Sidebar 2024-11-13 21:05:31 -05:00
Shemy Gan 407e5a8711 - Add JSDoc and use css varialble for pixels 2024-11-13 20:16:35 -05:00
Caio Cabral 6c521436ad chore adding comments 2024-11-13 06:08:58 -05:00
Caio Cabral 5ad5ba7e6f feat: removing all colors from codebase that do not come from theme 2024-11-13 05:50:32 -05:00
Alex Holliday f05c46a8fe Add docker type to monitor table query 2024-11-13 15:33:48 +08:00
Alex Holliday 02b797244e Add docker type to uptime slice 2024-11-13 15:33:18 +08:00
Alex Holliday 206d1f3909 Add docker container to create monitor options. Add map for labels and placeholders 2024-11-13 15:18:03 +08:00
Caio Cabral 2969ca3e35 feat: passing ppalette to global theme, and starting color cleanup 2024-11-12 19:10:48 -05:00
Caio Cabral 841bf7b5ed feat: removing colors from global theme 2024-11-12 17:24:21 -05:00
Shemy Gan 8737dbfd5b - Extract CustomThreshold component
- Refine Error setting in validation to remove any leftover errors
- Add back the await as it is indeed needed even though syntax checker prompts to remove it
2024-11-12 10:19:03 -05:00
Caio Cabral aa1b73c305 feat: finishing extracting color palette 2024-11-12 09:54:19 -05:00
Shemy Gan a9771d941d - refine code 2024-11-12 09:12:12 -05:00
Shemy Gan 11d71060b2 - All threshold use same error msg
- Display one common error msg at bottom
for any field with error
- Hide individual field error for threshold input
2024-11-11 20:10:49 -05:00
Shemy Gan 7bbd984fcf - WIP add memory and disk usage 2024-11-11 11:16:06 -05:00
Caio Cabral 067400437f feat: reoganizing color scheme 2024-11-10 17:00:13 -05:00
Caio Cabral 097b719159 feat: creating base for colors out from createTheme 2024-11-09 08:01:14 -05:00
Caio Cabral d62f5952d5 feat: using common baseTheme to avoid repetition 2024-11-08 18:36:43 -05:00
Shemy Gan 2aa792d820 - code refine 2024-11-08 15:23:33 -05:00
Shemy Gan b35fe8d616 Merge branch 'develop' into 1067-fe-hardware-monitoring-create-hardware-monitor 2024-11-07 15:28:44 -05:00
Shemy Gan 439dea4423 - fine toning payload and default item etc 2024-11-07 15:27:40 -05:00
Shemy Gan 9237f46e7c - handle Validation onBlur , special cases for usage numbers required on condition of checkbox checked
- handle generate payload correspondant to BE format
- comment out retain log period,retry max and 3 other usage threshold currently not avalable yet in BE
2024-11-07 15:26:22 -05:00
Caio Cabral f7a72a86c9 feat: redirect from home to monitors, and setting dashboard open when user navigates to screen even withou clicking 2024-11-07 12:31:58 -05:00
Caio Cabral 082380ad8c feat: removing border 2024-11-07 04:31:31 -05:00
Caio Cabral 539d9ac173 feat: change in structure to apply architecture to project 2024-11-07 04:21:32 -05:00
Alexander Holliday a4944e84f0 Merge pull request #1087 from bluewave-labs/1063-fe-hardware-montioring-monitor-gauge
1063 fe hardware montioring monitor gauge
2024-11-06 19:01:21 -08:00
Alex Holliday da5ecb2b83 Add JSdoc, add underscores to variables 2024-11-07 10:52:19 +08:00
Alex Holliday 19c0632143 decoupled light and dark theme 2024-11-07 10:34:01 +08:00
Shemy Gan 94e4d1b1cb - move font size and color to theme
- move Gauge specific props back to component
2024-11-06 12:48:01 -05:00
Shemy Gan a027b335bf - Correct/comment out this line, this seems a mistake 2024-11-06 11:14:11 -05:00
Shemy Gan 63cb4e7f1d - Add basic joi validation to match what's available in BE
- Extract/ refactor the custom alert section to its own function
- WIP UI added custom alert section, retain log section and maxreties in advaced setting section
- Extend Field component to accomodate for custom alert narrower text field
2024-11-06 11:13:02 -05:00
Shemy Gan 4452cb90e6 - WIP 2024-11-05 14:20:17 -05:00
Shemy Gan fb458b279d - Replace theme param with useTheme
- Remove used import
- use Clamp to check value boundary
- Naming changes
2024-11-05 10:33:20 -05:00
Shemy Gan bb8cfa7985 - WIP 2024-11-04 21:02:28 -05:00
Shemy Gan cabc7a75df Merge branch 'develop' into 1067-fe-hardware-monitoring-create-hardware-monitor 2024-11-04 10:08:56 -05:00
Shemy Gan ba9bb505ed - update UI based on figma 2024-11-04 10:06:00 -05:00
Caio Cabral 3bedb1a689 chore: applying some of code rabit's implementation 2024-11-03 07:01:38 -05:00
Caio Cabral b4f5b68114 chore: cleaning consoles 2024-11-03 06:51:45 -05:00
Caio Cabral 3709e09ef7 fix: erros on console on dialogs 2024-11-03 06:50:49 -05:00
Caio Cabral 4f647028e7 feat: getting rid of tab index -1 and setting form with semantics on login and register 2024-11-01 19:10:50 -04:00
Caio Cabral 8f603d1a5d feat: allow focus ring on action buttons within inputs 2024-11-01 18:35:30 -04:00
Shemy Gan 4939428d2b fix typo 2024-11-01 13:44:55 -04:00
Shemy Gan b389275963 - update based on review
1. Extract out all hardcoded values to consts
2. Add arial labels to text
3. Handle error boundary when progressValue is not within 0 -100
2024-11-01 13:39:02 -04:00