Skip to content

Commit 9ab938e

Browse files
[DNA-23181]: Disable Creation of dashboard on Redash (#43)
* feat: new line for checking commit * feat: removing creation of dashboards from welcome page and updating banner content * fix: removed new line from redme
1 parent 2a4d29c commit 9ab938e

File tree

3 files changed

+5
-18
lines changed

3 files changed

+5
-18
lines changed

client/app/components/DeprecationBanner/index.jsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ function DeprecationBanner() {
3333
<div className="banner-content">
3434
<ExclamationCircleFilled className="warning-icon" />
3535
<div className="banner-text">
36-
Redash will be deprecated by {' '}<strong>June 2025.</strong>
37-
For more queries and support, please connect with us on slack at{' '}
36+
Redash will be deprecated by {' '}<strong>June 2025.</strong>Creation of new dashboards has been disabled, and creation of alerts/queries will be disabled soon. Please migrate your assets to <strong>Careem Insights</strong> and for more queries: Please reach out to us on Slack at{' '}
3837
<span className="support-channel">#careem-insights-support</span>
3938
</div>
4039
</div>

client/app/components/DeprecationBanner/index.less

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.deprecation-banner {
22
background-color: rgba(255, 77, 79, 0.1);
33
color: #cf1322;
4-
padding: 11px;
5-
font-size: 16px;
4+
padding: 8px;
5+
font-size: 13px;
66
font-family: Inter, Helvetica, Arial;
77
margin: 9px 0 9px 0;
88
border-radius: 5px;
@@ -28,7 +28,7 @@
2828

2929
strong {
3030
font-weight: bold;
31-
margin-right: 10px;
31+
margin-right: 4px;
3232
}
3333

3434
em {

client/app/components/empty-state/EmptyState.jsx

+1-13
Original file line numberDiff line numberDiff line change
@@ -154,18 +154,6 @@ function EmptyState({
154154
/>
155155
),
156156
},
157-
{
158-
key: "dashboards",
159-
node: (
160-
<Step
161-
key="dashboards"
162-
show={isAvailable.dashboard}
163-
completed={isCompleted.dashboard}
164-
onClick={showCreateDashboardDialog}
165-
urlText="Create your first Dashboard"
166-
/>
167-
),
168-
},
169157
{
170158
key: "users",
171159
node: (
@@ -233,7 +221,7 @@ EmptyState.defaultProps = {
233221
header: null,
234222
helpMessage: null,
235223
closable: false,
236-
onClose: () => {},
224+
onClose: () => { },
237225

238226
onboardingMode: false,
239227
showAlertStep: false,

0 commit comments

Comments
 (0)