Shemy Gan
c9b804a9ab
- Update getStatusPageByUrl to match BE
...
- Change layout to use the one that has vertical line
- Update name to CreateStatusContext instead of TabContext to make it clearer
- Handle errors to land on the respective page tab
2024-12-17 11:24:01 -05:00
Shemy Gan
219bcd4361
- Add GetStatusPageByUrl to networkservice
...
- Make static status page and actual status config page toggleable
- Remove the sidebar nested menu item entry for status page tabs
- Pass context to status config page which contains general settings and contents tabs
- Status config page is now one submission and one validation
2024-12-16 20:18:05 -05:00
Shemy Gan
5045eafb8e
- useContext from parent page for form fields
2024-12-13 15:59:54 -05:00
Shemy Gan
8292654d27
- Add context provider for both tabs
2024-12-13 15:58:52 -05:00
Shemy Gan
c1dc04939e
- Remove nested routes for tabs
2024-12-13 15:58:24 -05:00
Shemy Gan
406fa6ed9f
- Merge feedback works from status page 1 and status page 2 branches
2024-12-13 11:29:50 -05:00
Shemy Gan
fdca92e543
Merge branch 'develop' into feat/fe/statuspage-3
2024-12-13 11:10:47 -05:00
Shemy Gan
9d212c9616
Merge branch 'develop' into feat/fe/statuspage-3
2024-12-12 10:51:58 -05:00
Shemy Gan
c61d1acfee
Merge branch 'develop' into feat/fe/statuspage-3
2024-12-12 10:09:34 -05:00
Shemy Gan
00be6c219a
- Fix the warning button can not be descendant of button
...
- Fix the warning possible change from uncontrolled to controlled component
2024-12-12 09:58:11 -05:00
Shemy Gan
9370db62cc
- Fix the suburl prefix via extending existing HttpAdorment
...
- Add the rest of content panel UI layouts
- Update the card value with onChange
2024-12-10 16:07:42 -05:00
Shemy Gan
1ab4bd7275
Merge branch 'develop' into feat/fe/statuspage-3
2024-12-10 15:00:26 -05:00
Shemy Gan
9c48ffe977
- Remove text from configuration
2024-12-10 14:53:07 -05:00
Shemy Gan
1d56c5b674
- Change to grey color for pending status
2024-12-10 14:41:06 -05:00
Shemy Gan
b02044ae7f
- Remove disabled notifications
2024-12-10 10:16:04 -05:00
Shemy Gan
b1f056809f
- Created Card type
...
- Implemented drag and drop for the server list section
2024-12-09 11:33:30 -05:00
Shemy Gan
03ce805e9f
- Add React DND related libraries
2024-12-09 11:21:02 -05:00
Shemy Gan
2825ff4019
- WIP contents tab adding servers list
2024-12-06 10:41:43 -05:00
Shemy Gan
cbec5fd25c
- Change "Next" to "Save"
2024-12-06 10:28:42 -05:00
Shemy Gan
b651369dc5
- WIP Server list tab
2024-12-06 10:26:22 -05:00
Shemy Gan
35a981abb0
- Update icons etc
2024-12-06 10:17:48 -05:00
Shemy Gan
b275bdc8ef
- Link general settings and contens to status page in navigation
2024-12-06 10:17:25 -05:00
Shemy Gan
cc2187d51e
- add routes to status page nested pages
2024-12-06 10:16:53 -05:00
Shemy Gan
0759b16f9e
- add lower case first letter string util func
2024-12-06 10:09:16 -05:00
Shemy Gan
5df7ddbe0f
- WIP Replace Field with TextInput , HttpAdornment seems not working
2024-12-06 10:06:56 -05:00
Shemy Gan
df36f873ae
- Add log and general settins tab validation
...
- WIP logo uploading in general settings tab
2024-12-06 10:05:35 -05:00
Shemy Gan
8506291586
- Fix the component not showing the file text and logo section issue
2024-12-06 10:02:08 -05:00
Shemy Gan
2405d017ec
- update to match BE
2024-12-06 10:00:59 -05:00
Shemy Gan
5adffd8c1e
- WIP general setting panel
2024-12-06 09:59:36 -05:00
Shemy Gan
4345d6988b
- Fix the checkbox position to be conditional on non string label
2024-12-06 09:46:16 -05:00
Shemy Gan
136ed04b3a
- Update status home page to connect to create status page
...
- Create CreateStatus page -WIP
2024-12-06 09:43:21 -05:00
Shemy Gan
0e8bccfea1
- Update Falback component to accept ovelStart and enlarge the maxWidth to fit into one line
...
- Add empty page when there is no infrastructure monitors
2024-12-02 10:08:41 -05:00
Shemy Gan
fe96097851
- Fix words in sentence based on figma
2024-11-22 15:27:34 -05:00
Shemy Gan
70df0738ad
- Remove inactive upcoming features
2024-11-22 15:11:54 -05:00
Shemy Gan
3053d632c6
- extend field class instead
2024-11-20 14:20:12 -05:00
Shemy Gan
a0694d4f4a
Merge branch 'develop' into feat/fe/infrastructure-details-connect-to-BE
2024-11-20 09:14:17 -05:00
Shemy Gan
e239a72b87
- cleanup
2024-11-20 08:59:06 -05:00
Shemy Gan
d12420e7ce
Merge branch 'develop' into feat/fe/infrastructure-details-connect-to-BE
2024-11-19 21:50:09 -05:00
Shemy Gan
afee7159ca
Merge branch 'develop' into feat/fe/infrastructure-details-connect-to-BE
2024-11-19 21:35:47 -05:00
Shemy Gan
90acb72f20
- Connect to BE to get infrastructure details
2024-11-19 21:33:52 -05: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
5774d52179
Merge branch 'develop' into 1067-fe-hardware-monitoring-create-hardware-monitor
2024-11-19 09:58:15 -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
Shemy Gan
657a953ad9
- remove retention
2024-11-18 22:07:01 -05:00
Shemy Gan
7251c6c06d
- Minor updates based on meeting discussion.
...
- fix typo, remove retention log section
- change to use ms per minute for frequency etc
2024-11-18 22:06:18 -05:00
Shemy Gan
49f95f1a71
- Let input field keep left/right aligned until wrap around when screen gets smaller
2024-11-18 16:11:02 -05:00
Shemy Gan
683ea81db4
Merge branch 'develop' into 1067-fe-hardware-monitoring-create-hardware-monitor
2024-11-18 09:17:53 -05:00
Shemy Gan
a45cddb91f
- Keep the threshold default value as string, it is required by the Field component
2024-11-15 14:51:49 -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
Shemy Gan
407e5a8711
- Add JSDoc and use css varialble for pixels
2024-11-13 20:16:35 -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
2e51f025f9
Merge branch 'develop' into 1067-fe-hardware-monitoring-create-hardware-monitor
2024-11-12 09:12:41 -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
d5c51482f7
Merge branch 'develop' into 1067-fe-hardware-monitoring-create-hardware-monitor
2024-11-11 11:17:00 -05:00
Shemy Gan
7bbd984fcf
- WIP add memory and disk usage
2024-11-11 11:16:06 -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
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
df7813c6aa
Merge branch 'develop' into 1067-fe-hardware-monitoring-create-hardware-monitor
2024-11-06 11:15:16 -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
Shemy Gan
c59af66be1
Merge branch 'develop' into 1067-fe-hardware-monitoring-create-hardware-monitor
2024-11-01 15:13:26 -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
Shemy Gan
a2d31124ff
- Updated to use configurable gaugeHeader, gaugeSubheader and containerHeight etc
2024-11-01 11:06:25 -04:00
Shemy Gan
f4f863e60f
Merge branch 'develop' into 1063-fe-hardware-montioring-monitor-gauge
2024-11-01 09:14:18 -04:00
Shemy Gan
74eaf14c7c
- Update infrastructure page based on figma
2024-10-31 15:44:12 -04:00
Shemy Gan
ffeb4d7991
- Add initial create infrastructure page
2024-10-31 15:19:57 -04:00
Shemy Gan
42ae1af987
- Add infrastructure monitor slice
2024-10-31 10:36:09 -04:00
Shemy Gan
cb81f87a33
Merge branch 'develop' into 1063-fe-hardware-montioring-monitor-gauge
2024-10-29 21:36:51 -04:00
Shemy Gan
5e54f5c757
- Move styles to theme
...
- Use different color for above and below 50%
2024-10-29 21:35:58 -04:00
Shemy Gan
09ba21245c
- Update css font/color based on figma
2024-10-29 14:55:35 -04:00
Shemy Gan
fe5f2af649
- Update based on coderabbitai feedback
2024-10-29 14:03:41 -04:00
Shemy Gan
239bd9c14e
Merge branch 'develop' into 1063-fe-hardware-montioring-monitor-gauge
2024-10-29 10:25:26 -04:00
Shemy Gan
50c1896cfa
- Create Gauge component
2024-10-29 10:24:03 -04:00
Shemy Gan
39e8ad4308
- Fix empty port number case
2024-10-25 14:37:43 -04:00
Shemy Gan
a823bd9372
- change joi to be optional number for redis port and email port
2024-10-25 14:27:11 -04:00
Shemy Gan
2427bdb788
- Fix the wrong label
2024-10-25 10:00:10 -04:00
Shemy Gan
1526b50fd2
- update unitItems with lookup
2024-10-24 14:40:04 -04:00
Shemy Gan
fd261d3eb1
- update number validation
2024-10-24 14:13:07 -04:00
Shemy Gan
5c45d934a6
Merge branch 'develop' into 913-fe-advanced-settings-page-validation-and-error-handling
2024-10-24 13:48:06 -04:00
Shemy Gan
410f3b7ab1
- updated js doc
2024-10-24 13:33:05 -04:00
Shemy Gan
57edff36c9
- handle form save for jwtTTL
...
- update validation for advanced settings page black list some unused fields which causing errors
2024-10-24 11:31:10 -04:00
Shemy Gan
a4344b89a2
- Add select dropdown for jwt ttl units
2024-10-23 21:03:40 -04:00
Shemy Gan
6425113766
- add OnBlur to Field and Select
...
- update regex to remove dot for jwtttl
2024-10-23 13:18:00 -04:00
Shemy Gan
f707965155
- minor update
2024-10-22 14:17:29 -04:00
Shemy Gan
4966f3fd38
- Update jwt ttl validation
2024-10-22 14:15:11 -04:00