Commit Graph
626 Commits
Author SHA1 Message Date
Alex Holliday a3adb80a6e add className to list of class names instead of turning off default classes, add hideErrorText prop to hide errors for thresholds 2024-11-21 12:15:12 +08:00
Alexander Holliday 27f651b828 Merge pull request #1167 from bluewave-labs/feat/fe/infrastructure-details
feat/fe/infrastructure details, resolves #1068
2024-11-20 03:19:22 -08:00
Alex Holliday 11cc2833cf extract tooltip percentage formatting 2024-11-20 12:55:58 +08:00
Alex Holliday 9bbcaaf156 memoize calculations in SVG gauge 2024-11-20 12:13:46 +08:00
Alex Holliday b1449d3587 refactor details page to use reduce code duplication, caluclate area chart height 2024-11-20 12:11:03 +08:00
Alex Holliday 8b73955802 truncate decimals in tool top 2024-11-20 12:10:25 +08:00
Alex Holliday dbe174d171 remove dummy from Area Chart 2024-11-20 12:09:52 +08:00
Shemy Gan d072ef2ee3 - Update proptypes 2024-11-19 13:02:22 -05:00
Shemy Gan b7186aa0ef - Replace pb with alignSelf for checkbox position 2024-11-19 11:31:22 -05:00
Shemy Gan 8b8a0962db - Move create infrastructure folder to infrastructure and remove Infrastructuremonitor folder
- Add create infrastructure page to globle routes and add "infrastructure" to PATH_MAP
- Add navigation/breadcrumb to  create infrastructure page
- Connect create infrastructure page to create monitor button on home page
2024-11-19 09:57:39 -05:00
Alex Holliday 9e7e13baea truncate Gauge percentage to 2 decimal places 2024-11-19 15:28:57 +08:00
Alex Holliday 0c194a0403 Change AreaChart responsive container height to 80% 2024-11-19 14:18:29 +08:00
Alex Holliday 9cf2be774b Add a randomly generated gradientID to so each chart has a unique gradient 2024-11-19 13:54:51 +08:00
Alex Holliday e3c13d93ec Fix label proptype to allow for dates and numbers, add comments 2024-11-19 13:40:52 +08:00
Alex Holliday 6a0d61b73e Update Area Chart docs and proptype 2024-11-19 13:34:43 +08:00
Alex Holliday 924c799858 add and update chartUtils 2024-11-19 13:32:23 +08:00
Alex Holliday 92ba0d84db Add data for area chart 2024-11-19 12:06:21 +08:00
Alex Holliday 49d81cf0ca Add area chart 2024-11-19 12:05:26 +08:00
Alex Holliday 55e13d7deb Add area chart file 2024-11-19 12:04:47 +08:00
Alex Holliday d2f42f432f Add styles for custom gauage 2024-11-19 11:43:29 +08:00
Alex Holliday fbdd3c1520 Add custom gauge component 2024-11-19 11:42:42 +08:00
Shemy Gan 683ea81db4 Merge branch 'develop' into 1067-fe-hardware-monitoring-create-hardware-monitor 2024-11-18 09:17:53 -05:00
Caio Cabral d849a84f02 fix: disabled labels 2024-11-15 18:25:11 -05:00
Caio Cabral 6780374e16 fix: input focus and input error message 2024-11-15 18:10:10 -05:00
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
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
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
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
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 b35fe8d616 Merge branch 'develop' into 1067-fe-hardware-monitoring-create-hardware-monitor 2024-11-07 15:28:44 -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
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 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
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