Skip to content

[website] Remove banner for the ongoing Material UI survey 2025 #45909

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 26, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions docs/notifications.json
Original file line number Diff line number Diff line change
@@ -14,11 +14,6 @@
"title": "MUI X v8 alpha",
"text": "Check our plans for the upcoming stable in the <a style=\"color: inherit;\" data-ga-event-category=\"Announcement\" data-ga-event-action=\"notification\" data-ga-event-label=\"mui-x-v8-alpha-zero\" href=\"https://mui.com/blog/mui-x-v8-alpha-zero/\">announcement blog post</a>."
},
{
"id": 86,
"title": "Influence the roadmap for 2025",
"text": "Take a few minutes to share your feedback and expectations in the <a style=\"color: inherit;\" data-ga-event-category=\"Announcement\" data-ga-event-action=\"notification\" data-ga-event-label=\"mui-survey\" href=\"https://tally.so/r/mObbvk?source=docs-notification\">Developer Survey</a>."
},
{
"id": 87,
"title": "Material UI v7 is here",
2 changes: 1 addition & 1 deletion docs/src/components/banner/AppFrameBanner.tsx
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ import FEATURE_TOGGLE from 'docs/src/featureToggle';
import PageContext from 'docs/src/modules/components/PageContext';
import { convertProductIdToName } from 'docs/src/modules/components/AppSearch';

const showSurveyMessage = true;
const showSurveyMessage = false;

function isBlackFriday() {
const today = Date.now();
2 changes: 1 addition & 1 deletion docs/src/components/banner/AppHeaderBanner.tsx
Original file line number Diff line number Diff line change
@@ -55,7 +55,7 @@ function getDefaultHiringMessage() {
}

export default function AppHeaderBanner() {
const showSurveyMessage = true;
const showSurveyMessage = false;
const bannerMessage = showSurveyMessage ? getSurveyMessage() : getDefaultHiringMessage();

return FEATURE_TOGGLE.enable_website_banner ? (
4 changes: 2 additions & 2 deletions docs/src/featureToggle.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export default {
enable_website_banner: true,
enable_docsnav_banner: true,
enable_website_banner: false,
enable_docsnav_banner: false,
enable_job_banner: false,
};