diff --git a/backend/server/server.py b/backend/server/server.py index 626688053..183a1c982 100644 --- a/backend/server/server.py +++ b/backend/server/server.py @@ -6,7 +6,7 @@ from fastapi.middleware.cors import CORSMiddleware from data.config import LIVE_YEAR -from server.routers import courses, planner, programs, specialisations, followups, ctf +from server.routers import courses, planner, programs, specialisations, followups app = FastAPI() @@ -45,7 +45,8 @@ app.include_router(programs.router) app.include_router(specialisations.router) app.include_router(followups.router) -app.include_router(ctf.router) +# TODO: hide this behind a feature flag? +# app.include_router(ctf.router) @app.get("/") diff --git a/frontend/src/pages/TermPlanner/OptionsHeader/OptionsHeader.tsx b/frontend/src/pages/TermPlanner/OptionsHeader/OptionsHeader.tsx index 5365a2589..a2b682227 100644 --- a/frontend/src/pages/TermPlanner/OptionsHeader/OptionsHeader.tsx +++ b/frontend/src/pages/TermPlanner/OptionsHeader/OptionsHeader.tsx @@ -20,7 +20,6 @@ import HelpMenu from '../HelpMenu/HelpMenu'; import ImportPlannerMenu from '../ImportPlannerMenu'; import SettingsMenu from '../SettingsMenu'; import { isPlannerEmpty } from '../utils'; -import ValidateCtfButton from '../ValidateCtfButton/ValidateCtfButton'; import S from './styles'; // Used for tippy stylings import 'tippy.js/dist/tippy.css'; @@ -95,11 +94,6 @@ const OptionsHeader = ({ plannerRef }: Props) => { - -
- -
-
{!isPlannerEmpty(years) && ( diff --git a/frontend/src/pages/TermPlanner/ValidateCtfButton/ValidateCtfButton.tsx b/frontend/src/pages/TermPlanner/ValidateCtfButton/ValidateCtfButton.tsx index 9acb9cdfb..c7799ae2a 100644 --- a/frontend/src/pages/TermPlanner/ValidateCtfButton/ValidateCtfButton.tsx +++ b/frontend/src/pages/TermPlanner/ValidateCtfButton/ValidateCtfButton.tsx @@ -37,6 +37,7 @@ const ModalTitle = styled(Title)` color: ${({ theme }) => theme.text} !important; `; +// TODO: hide this behind a feature flag? const ValidateCtfButton = () => { const planner = useSelector((state: RootState) => state.planner); const degree = useSelector((state: RootState) => state.degree);