Attempt to detect unused code in the frontend (#1375)

This commit is contained in:
jbirddog 2024-04-10 12:05:29 -04:00 committed by GitHub
parent 9043a08a9e
commit 3f5e0db19b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 16 deletions

View File

@ -97,6 +97,9 @@ fe-npm-i:
fe-sh: fe-sh:
$(IN_FRONTEND) /bin/bash $(IN_FRONTEND) /bin/bash
fe-unimported:
$(IN_FRONTEND) npx unimported
poetry-i: poetry-i:
$(IN_ARENA) poetry install --no-root $(IN_ARENA) poetry install --no-root
@ -124,6 +127,6 @@ take-ownership:
start-dev stop-dev \ start-dev stop-dev \
be-clear-log-file be-logs be-mypy be-poetry-i be-poetry-lock be-poetry-rm \ be-clear-log-file be-logs be-mypy be-poetry-i be-poetry-lock be-poetry-rm \
be-db-clean be-db-migrate be-sh be-sqlite be-tests be-tests-par \ be-db-clean be-db-migrate be-sh be-sqlite be-tests be-tests-par \
fe-lint-fix fe-logs fe-npm-i fe-sh \ fe-lint-fix fe-logs fe-npm-i fe-sh fe-unimported \
poetry-i poetry-rm pre-commit ruff run-pyl \ poetry-i poetry-rm pre-commit ruff run-pyl \
take-ownership take-ownership

View File

@ -1,15 +0,0 @@
import TasksForMyOpenProcesses from '../components/TasksForMyOpenProcesses';
import TasksWaitingForMe from '../components/TasksWaitingForMe';
import TasksWaitingForMyGroups from '../components/TasksWaitingForMyGroups';
export default function GroupedTasks() {
return (
<>
{/* be careful moving these around since the first two have with-large-bottom-margin in order to get some space between the three table sections. */}
{/* i wish Stack worked to add space just between top-level elements */}
<TasksForMyOpenProcesses />
<TasksWaitingForMe />
<TasksWaitingForMyGroups />
</>
);
}