commit_statut
This commit is contained in:
3
.vs/ProjectSettings.json
Normal file
3
.vs/ProjectSettings.json
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"CurrentProjectSetting": null
|
||||||
|
}
|
||||||
BIN
.vs/RGC/CopilotIndices/17.14.1577.30250/CodeChunks.db
Normal file
BIN
.vs/RGC/CopilotIndices/17.14.1577.30250/CodeChunks.db
Normal file
Binary file not shown.
BIN
.vs/RGC/CopilotIndices/17.14.1577.30250/CodeChunks.db-shm
Normal file
BIN
.vs/RGC/CopilotIndices/17.14.1577.30250/CodeChunks.db-shm
Normal file
Binary file not shown.
BIN
.vs/RGC/CopilotIndices/17.14.1577.30250/CodeChunks.db-wal
Normal file
BIN
.vs/RGC/CopilotIndices/17.14.1577.30250/CodeChunks.db-wal
Normal file
Binary file not shown.
BIN
.vs/RGC/CopilotIndices/17.14.1577.30250/SemanticSymbols.db
Normal file
BIN
.vs/RGC/CopilotIndices/17.14.1577.30250/SemanticSymbols.db
Normal file
Binary file not shown.
BIN
.vs/RGC/CopilotIndices/17.14.1577.30250/SemanticSymbols.db-shm
Normal file
BIN
.vs/RGC/CopilotIndices/17.14.1577.30250/SemanticSymbols.db-shm
Normal file
Binary file not shown.
BIN
.vs/RGC/CopilotIndices/17.14.1577.30250/SemanticSymbols.db-wal
Normal file
BIN
.vs/RGC/CopilotIndices/17.14.1577.30250/SemanticSymbols.db-wal
Normal file
Binary file not shown.
Binary file not shown.
59
.vs/RGC/v17/DocumentLayout.backup.json
Normal file
59
.vs/RGC/v17/DocumentLayout.backup.json
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
{
|
||||||
|
"Version": 1,
|
||||||
|
"WorkspaceRootPath": "C:\\Users\\oimer\\source\\repos\\RGC\\",
|
||||||
|
"Documents": [],
|
||||||
|
"DocumentGroupContainers": [
|
||||||
|
{
|
||||||
|
"Orientation": 0,
|
||||||
|
"VerticalTabListWidth": 256,
|
||||||
|
"DocumentGroups": [
|
||||||
|
{
|
||||||
|
"DockedWidth": 200,
|
||||||
|
"SelectedChildIndex": -1,
|
||||||
|
"Children": [
|
||||||
|
{
|
||||||
|
"$type": "Bookmark",
|
||||||
|
"Name": "ST:128:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Bookmark",
|
||||||
|
"Name": "ST:129:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Bookmark",
|
||||||
|
"Name": "ST:148:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Bookmark",
|
||||||
|
"Name": "ST:149:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Bookmark",
|
||||||
|
"Name": "ST:150:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Bookmark",
|
||||||
|
"Name": "ST:128:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Bookmark",
|
||||||
|
"Name": "ST:129:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Bookmark",
|
||||||
|
"Name": "ST:130:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Bookmark",
|
||||||
|
"Name": "ST:130:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Bookmark",
|
||||||
|
"Name": "ST:131:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -50,6 +50,10 @@
|
|||||||
{
|
{
|
||||||
"$type": "Bookmark",
|
"$type": "Bookmark",
|
||||||
"Name": "ST:131:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
|
"Name": "ST:131:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Bookmark",
|
||||||
|
"Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
{
|
{
|
||||||
"ExpandedNodes": [
|
"ExpandedNodes": [
|
||||||
""
|
"",
|
||||||
|
"\\SuiviREForamteur",
|
||||||
|
"\\SuiviREForamteur\\suivireforamteur"
|
||||||
],
|
],
|
||||||
"SelectedNode": "\\C:\\Users\\oimer\\Source\\Repos\\RGC",
|
|
||||||
"PreviewInSolutionExplorer": false
|
"PreviewInSolutionExplorer": false
|
||||||
}
|
}
|
||||||
BIN
.vs/slnx.sqlite
BIN
.vs/slnx.sqlite
Binary file not shown.
@@ -1316,24 +1316,18 @@ const HistoriquePage: React.FC<HistoriquePageProps> = ({
|
|||||||
}, [records, filter, campusFilter, promoFilter, studentFilter]);
|
}, [records, filter, campusFilter, promoFilter, studentFilter]);
|
||||||
|
|
||||||
const dynamicStatusCounts = useMemo(() => {
|
const dynamicStatusCounts = useMemo(() => {
|
||||||
|
// OUI = les deux sont OUI
|
||||||
const oui = preFilteredRecords.filter(r =>
|
const oui = preFilteredRecords.filter(r =>
|
||||||
r.autoEvaluation === 'OUI' && r.evaluationTuteur === 'OUI'
|
r.autoEvaluation === 'OUI' && r.evaluationTuteur === 'OUI'
|
||||||
).length;
|
).length;
|
||||||
|
|
||||||
|
// PARTIEL = les deux sont PARTIEL
|
||||||
const partiel = preFilteredRecords.filter(r =>
|
const partiel = preFilteredRecords.filter(r =>
|
||||||
r.autoEvaluation === 'PARTIEL' || r.evaluationTuteur === 'PARTIEL'
|
r.autoEvaluation === 'PARTIEL' && r.evaluationTuteur === 'PARTIEL'
|
||||||
).length;
|
).length;
|
||||||
|
|
||||||
const non = preFilteredRecords.filter(r => {
|
// NON = tout le reste (combinaisons mixtes, NON, vide, etc.)
|
||||||
const autoEvalNotOui = r.autoEvaluation !== 'OUI';
|
const non = preFilteredRecords.length - oui - partiel;
|
||||||
const tuteurNotOui = r.evaluationTuteur !== 'OUI';
|
|
||||||
const hasNonOrEmpty =
|
|
||||||
r.autoEvaluation === 'NON' || !r.autoEvaluation ||
|
|
||||||
r.evaluationTuteur === 'NON' || !r.evaluationTuteur;
|
|
||||||
|
|
||||||
return autoEvalNotOui && tuteurNotOui && hasNonOrEmpty &&
|
|
||||||
r.autoEvaluation !== 'PARTIEL' && r.evaluationTuteur !== 'PARTIEL';
|
|
||||||
}).length;
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
tous: preFilteredRecords.length,
|
tous: preFilteredRecords.length,
|
||||||
@@ -1352,17 +1346,15 @@ const HistoriquePage: React.FC<HistoriquePageProps> = ({
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (statusFilter === 'PARTIEL') {
|
if (statusFilter === 'PARTIEL') {
|
||||||
return r.autoEvaluation === 'PARTIEL' || r.evaluationTuteur === 'PARTIEL';
|
// PARTIEL = les deux sont PARTIEL
|
||||||
|
return r.autoEvaluation === 'PARTIEL' && r.evaluationTuteur === 'PARTIEL';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (statusFilter === 'NON') {
|
if (statusFilter === 'NON') {
|
||||||
const autoEvalNotOui = r.autoEvaluation !== 'OUI';
|
// NON = tout ce qui n'est ni OUI/OUI ni PARTIEL/PARTIEL
|
||||||
const tuteurNotOui = r.evaluationTuteur !== 'OUI';
|
const isOui = r.autoEvaluation === 'OUI' && r.evaluationTuteur === 'OUI';
|
||||||
const hasNonOrEmpty =
|
const isPartiel = r.autoEvaluation === 'PARTIEL' && r.evaluationTuteur === 'PARTIEL';
|
||||||
r.autoEvaluation === 'NON' || !r.autoEvaluation ||
|
return !isOui && !isPartiel;
|
||||||
r.evaluationTuteur === 'NON' || !r.evaluationTuteur;
|
|
||||||
|
|
||||||
return autoEvalNotOui && tuteurNotOui && hasNonOrEmpty;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user