Attempt to detect unused code in the frontend (#1375)
This commit is contained in:
parent
9043a08a9e
commit
3f5e0db19b
5
Makefile
5
Makefile
|
@ -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
|
||||||
|
|
|
@ -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 />
|
|
||||||
</>
|
|
||||||
);
|
|
||||||
}
|
|
Loading…
Reference in New Issue