diff --git a/cypress/e2e/clusters/update-cluster.cy.ts b/cypress/e2e/clusters/update-cluster.cy.ts
index 9b5686ea..4167410f 100644
--- a/cypress/e2e/clusters/update-cluster.cy.ts
+++ b/cypress/e2e/clusters/update-cluster.cy.ts
@@ -151,7 +151,7 @@ describe('Update cluster', () => {
cy.get('#peerLoadLimit').should('have.value', 0);
cy.get('#candidateParentLimit').should('have.value', 0);
cy.get('#filterParentLimit').should('have.value', 0);
- cy.get('#jobRateLimit').should('have.value', 0);
+ cy.get('#jobRateLimit').should('have.value', 10);
});
it('can update cluster', () => {
diff --git a/public/icons/cluster/selected-cluster.svg b/public/icons/cluster/selected-cluster.svg
index dcb6fac5..dc96533b 100644
--- a/public/icons/cluster/selected-cluster.svg
+++ b/public/icons/cluster/selected-cluster.svg
@@ -1,5 +1,5 @@
\ No newline at end of file
diff --git a/public/icons/insight/selected-insight.svg b/public/icons/insight/selected-insight.svg
index 1a09d237..e1bd7d2f 100644
--- a/public/icons/insight/selected-insight.svg
+++ b/public/icons/insight/selected-insight.svg
@@ -2,11 +2,11 @@
width="64" height="64">
+ fill="#2e8f79" p-id="9163">
+ fill="#2e8f79" p-id="9164">
+ fill="#2e8f79" p-id="9165">
\ No newline at end of file
diff --git a/public/icons/job/preheat/selected-job.svg b/public/icons/job/preheat/selected-job.svg
index 2943b80e..b0ae8120 100644
--- a/public/icons/job/preheat/selected-job.svg
+++ b/public/icons/job/preheat/selected-job.svg
@@ -2,8 +2,8 @@
width="64" height="64">
+ fill="#2e8f79" p-id="2332">
+ fill="#2e8f79" p-id="2333">
\ No newline at end of file
diff --git a/public/icons/tokens/selected-developer.svg b/public/icons/tokens/selected-developer.svg
index 4fa6ee07..8d578001 100644
--- a/public/icons/tokens/selected-developer.svg
+++ b/public/icons/tokens/selected-developer.svg
@@ -4,5 +4,5 @@
xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="64">
+ fill="#2e8f79" p-id="25173">
\ No newline at end of file
diff --git a/public/icons/user/selected-user.svg b/public/icons/user/selected-user.svg
index cd3111d7..d6d33d3e 100644
--- a/public/icons/user/selected-user.svg
+++ b/public/icons/user/selected-user.svg
@@ -2,5 +2,5 @@
width="200" height="200">
+ fill="#2e8f79" p-id="8273">
\ No newline at end of file
diff --git a/src/components/clusters/edit.tsx b/src/components/clusters/edit.tsx
index 42a865a2..5f710188 100644
--- a/src/components/clusters/edit.tsx
+++ b/src/components/clusters/edit.tsx
@@ -57,13 +57,13 @@ export default function EditCluster() {
scheduler_cluster_config: {
candidate_parent_limit: 0,
filter_parent_limit: 0,
- job_rate_limit: 0,
+ job_rate_limit: 10,
},
seed_peer_cluster_config: {
- load_limit: 0,
+ load_limit: 2000,
},
peer_cluster_config: {
- load_limit: 0,
+ load_limit: 200,
},
created_at: '',
updated_at: '',
@@ -529,7 +529,7 @@ export default function EditCluster() {
type: 'number',
autoComplete: 'family-name',
placeholder: 'Please enter Job Rate Limit',
- value: job_rate_limit,
+ value: job_rate_limit || 10,
helperText: jobRateLimitError ? 'Fill in the number, the length is 1-1000000.' : '',
error: jobRateLimitError,
@@ -547,7 +547,7 @@ export default function EditCluster() {
InputProps: {
endAdornment: (
diff --git a/src/components/clusters/information.tsx b/src/components/clusters/information.tsx
index 4803e206..cb95e6be 100644
--- a/src/components/clusters/information.tsx
+++ b/src/components/clusters/information.tsx
@@ -763,7 +763,7 @@ export default function Information(props: { cluster: getClusterResponse; isLoad
) : (
- {cluster?.scheduler_cluster_config?.job_rate_limit || 0}
+ {cluster?.scheduler_cluster_config?.job_rate_limit || 10}
)}
diff --git a/src/components/menu/index.tsx b/src/components/menu/index.tsx
index d6c2bcc0..89734ef6 100644
--- a/src/components/menu/index.tsx
+++ b/src/components/menu/index.tsx
@@ -276,11 +276,11 @@ export default function Layout(props: any) {
sx={{
'&.Mui-selected': {
backgroundColor: 'var(--menu-background-color)',
- color: 'var(--menu-color)',
+ color: 'var(--description-color)',
},
'&.Mui-selected:hover': {
backgroundColor: 'var(--hover-menu-background-color)',
- color: 'var(--menu-color)',
+ color: 'var(--description-color)',
},
height: '2.6rem',
borderRadius: '0.2rem',
@@ -304,11 +304,11 @@ export default function Layout(props: any) {
sx={{
'&.Mui-selected': {
backgroundColor: '#fff',
- color: 'var(--menu-color)',
+ color: 'var(--description-color)',
},
'&.Mui-selected:hover': {
backgroundColor: '#fff',
- color: 'var(--menu-color)',
+ color: 'var(--description-color)',
},
height: '2.4rem',
borderRadius: '0.2rem',
@@ -335,11 +335,11 @@ export default function Layout(props: any) {
sx={{
'&.Mui-selected': {
backgroundColor: 'var(--menu-background-color)',
- color: 'var(--menu-color)',
+ color: 'var(--description-color)',
},
'&.Mui-selected:hover': {
backgroundColor: 'var(--hover-menu-background-color)',
- color: 'var(--menu-color)',
+ color: 'var(--description-color)',
},
height: '2.6rem',
borderRadius: '0.2rem',