diff --git a/chase/backend/src/main.ts b/chase/backend/src/main.ts index 7e85960c..a3d7779d 100644 --- a/chase/backend/src/main.ts +++ b/chase/backend/src/main.ts @@ -75,6 +75,7 @@ export let server: FastifyInstance; }, }); + // rome-ignore lint: console output is intended console.log(` ╔══════════════════════════════════════════════════════════════════╗ ║ Serving API documentation on http://localhost:${PORT}/documentation ║ @@ -155,6 +156,7 @@ export let server: FastifyInstance; if (!process.env.PRODUCTION) { server.swagger(); } + // rome-ignore lint: console output is intended console.log(`Running on port ${PORT}`); await server.listen({ port: PORT, host: "0.0.0.0" }); db?.$disconnect(); @@ -164,4 +166,5 @@ export let server: FastifyInstance; } })(); +// rome-ignore lint: console output is intended console.log("Starting server..."); diff --git a/chase/frontend/app/chair/dashboard/page.tsx b/chase/frontend/app/chair/dashboard/page.tsx index 2578bb39..da176981 100644 --- a/chase/frontend/app/chair/dashboard/page.tsx +++ b/chase/frontend/app/chair/dashboard/page.tsx @@ -21,7 +21,6 @@ export default function ParticipantDashboard() { useEffect(() => { const intervalAPICall = setInterval(() => { - console.log("API Call"); setData(apiTestData); }, 1000); return () => clearInterval(intervalAPICall); diff --git a/chase/frontend/app/chair/speakers/page.tsx b/chase/frontend/app/chair/speakers/page.tsx index 8364e7d9..e92af93c 100644 --- a/chase/frontend/app/chair/speakers/page.tsx +++ b/chase/frontend/app/chair/speakers/page.tsx @@ -14,7 +14,6 @@ export default function ChairSpeakersList() { useEffect(() => { const intervalAPICall = setInterval(() => { - console.log("API Call"); setData(apiTestData); }, 1000); return () => clearInterval(intervalAPICall); diff --git a/chase/frontend/app/chair/voting/page.tsx b/chase/frontend/app/chair/voting/page.tsx index bc1da2e7..17f376fb 100644 --- a/chase/frontend/app/chair/voting/page.tsx +++ b/chase/frontend/app/chair/voting/page.tsx @@ -74,9 +74,7 @@ export default function ChairVoting() { label={LL.chairs.voting.BUTTON_NEW_MOTION()} icon={} className="w-full" - onClick={() => { - console.log("API call to create a new motion"); - }} + onClick={() => {}} model={[]} /> (whiteboardTestData); - const pushWhiteboardContent = () => { - console.log("Pushing whiteboard content to server...", whiteboardContent); - }; + const pushWhiteboardContent = () => {}; const resetWhiteboardContent = () => { - console.log("Resetting whiteboard content..."); setWhiteboardContent(whiteboardTestData); }; diff --git a/chase/frontend/app/participant/dashboard/page.tsx b/chase/frontend/app/participant/dashboard/page.tsx index dd36d728..ecf2a078 100644 --- a/chase/frontend/app/participant/dashboard/page.tsx +++ b/chase/frontend/app/participant/dashboard/page.tsx @@ -22,7 +22,6 @@ export default function participant_dashboard() { useEffect(() => { const intervalAPICall = setInterval(() => { - console.log("API Call"); setData(apiTestData); }, 1000); return () => clearInterval(intervalAPICall); diff --git a/chase/frontend/app/participant/speakers/page.tsx b/chase/frontend/app/participant/speakers/page.tsx index e7b26737..5cc239b5 100644 --- a/chase/frontend/app/participant/speakers/page.tsx +++ b/chase/frontend/app/participant/speakers/page.tsx @@ -13,7 +13,6 @@ export default function SpeakersList() { useEffect(() => { const intervalAPICall = setInterval(() => { - console.log("API Call"); setData(apiTestData); }, 1000); return () => clearInterval(intervalAPICall); diff --git a/chase/frontend/components/navbar/navbar.tsx b/chase/frontend/components/navbar/navbar.tsx index 580e3642..e7eee96e 100644 --- a/chase/frontend/components/navbar/navbar.tsx +++ b/chase/frontend/components/navbar/navbar.tsx @@ -35,9 +35,7 @@ export default function Navbar({ children }: { children: React.ReactNode }) { router.push("/login/participant"); }; - const rejectLogout = () => { - console.log("Logout rejected"); - }; + const rejectLogout = () => {}; const confirmLogout = () => { confirmDialog({ diff --git a/chase/frontend/components/navbar/settings_sidebar.tsx b/chase/frontend/components/navbar/settings_sidebar.tsx index 242d072a..73dbf890 100644 --- a/chase/frontend/components/navbar/settings_sidebar.tsx +++ b/chase/frontend/components/navbar/settings_sidebar.tsx @@ -89,10 +89,8 @@ export default function SettingsSidebar({ if (colortheme === "system") { document.documentElement.classList.remove("contrast"); if (isDarkMode) { - console.log("dark"); document.documentElement.classList.add("dark"); } else { - console.log("light"); document.documentElement.classList.remove("dark"); } } else if (colortheme === "light") { diff --git a/chase/frontend/components/speakers_list/add_speaker.tsx b/chase/frontend/components/speakers_list/add_speaker.tsx index adc4000c..aa520520 100644 --- a/chase/frontend/components/speakers_list/add_speaker.tsx +++ b/chase/frontend/components/speakers_list/add_speaker.tsx @@ -45,7 +45,6 @@ export default function AddSpeakerOverlay({ }) { const { LL, locale } = useI18nContext(); const { showToast } = useContext(ToastContext); - console.log(showToast); const [countries, setCountries] = useState(null); const [query, setQuery] = useState(""); diff --git a/chase/frontend/components/speakers_list/change_speech_time.tsx b/chase/frontend/components/speakers_list/change_speech_time.tsx index 22dedb95..38ffb84a 100644 --- a/chase/frontend/components/speakers_list/change_speech_time.tsx +++ b/chase/frontend/components/speakers_list/change_speech_time.tsx @@ -50,12 +50,6 @@ export default function ChangeSpeechTimeOverlay({ return; } - console.log( - `API call to change the speech time (in seconds): ${calculateSecondsFromTime( - time, - )}`, - ); - showToast({ severity: "success", summary: LL.chairs.speakersList.changeSpeechTimeOverlay.TOAST_SUCCESS( diff --git a/chase/frontend/components/voting/voting.tsx b/chase/frontend/components/voting/voting.tsx index ee3aa5b8..e6e593ef 100644 --- a/chase/frontend/components/voting/voting.tsx +++ b/chase/frontend/components/voting/voting.tsx @@ -85,24 +85,18 @@ export default function VotingArea({