Conversation
(cherry picked from commit f18443a)
Plugin copie src/js/libs/ (marked.min.js) et src/data/activites/ vers dist/ en préservant les chemins relatifs utilisés par les pages HTML. Sans ce commit, Netlify ne trouvait pas marked.min.js → 404 + MIME error. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Système B était un doublon obsolète du Système A (navigation.json + inline script index.html). Les deux peuplaient les mêmes containers (.correction-grid, .tools-grid) → loadLinks() écrasait les données correctes avec du contenu stale contenant des URLs /dist/ invalides. Vérification : links-loader.js n'était importé que par app.js, et .tools-grid/.correction-grid inexistants sur les autres pages qui chargent app.js. Suppression sans régression. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- build/ → check-dist.js, security-check.js - deploy/ → netlify-clean.js - dev/ → sync-dev-pages.js, setup-hooks.js, register-page.js, session-end-check.js - firestore/ → export-firestore.js, autofill-wizard-firestore.js - git/ → autocommit.sh, new-branch.sh, dev-prepare.sh, test-timer.sh Fixes : - dev-prepare.sh : ROOT corrigé (../..) pour le nouveau niveau d'imbrication - session-end-check.js : chemin check-dist.js → scripts/build/check-dist.js - package.json : tous les chemins npm run mis à jour Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…Vite Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Updated the centralized wizard configuration password.
The deploy:dev script deployed raw source code (--dir=.) with only a warning, creating a footgun: users could unknowingly deploy unbuild code to Netlify. deploy:preview (build + preview) replaces all legitimate use cases. For rare debug scenarios, friction (manual netlify deploy --dir=.) is the protection. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
- Remove non-critical outils from nav (keep only: Cours, Révisions, Réparabilité, Tinkercad, Graphiques) - Add overflow-x auto + flex-shrink: 0 on desktop nav to enable horizontal scroll - Style scrollbar: Firefox thin, WebKit custom (discrete 4px gray) Fixes nav overflow on viewport < 1024px. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Fix nav overflow: curate items + add horizontal scroll
Nav (components.js): - Reduce to 3 static items: Cours, Révisions, Corrections - Disable dynamic sections injection (sections = []) - Corrections now links directly to /src/pages/corrections/corrections.html instead of #corrections anchor navigation.json: - Restore outils section (7 items) for index tools-grid (outils data feeds index-loader.js, not the nav) Light/dark mode toggle (full removal): - Remove <button class="mode-toggle"> from index.html - Remove inline initLightModeToggle() script from index.html - Delete src/js/light-mode-toggle.js - Delete src/css/style-index-light.css (~200 lines) - Remove style-index-light.css <link> from index.html Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Ajoute un bouton d'accès rapide au quiz QCM Programmation 4e/3e dans la section hero__secondary-actions de la page d'accueil. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
✅ Deploy Preview for technodocs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
…lignée, pieuvre 8 questions QCM sur les Objets et Systèmes Techniques (OST 11 · OST 21), compétences BO 2024. Même architecture que le quiz Programmation : 2 tentatives max, score × 0,5 à la 2e, sauvegarde Firestore (collection quiz_submissions, wizard_id: ost-quiz-5e-4e-3e). Select classe étendu aux 5e/4e/3e. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
src/pages/activites/4e-3e/programmation-quiz.html— 8 questions QCM sur la programmation (variables, boucles, conditions, algorithmes), conçu pour les 4e et 3esrc/js/activites/programmation-quiz.js— wizard phases 1 à 10 (accueil + 8 questions + bilan), feedback immédiat par réponse, sauvegarde one-shot en Firestore à la finquiz_submissions, champs :wizard_id,id_eleve,classe,score_brut,score,tentative,date_passagesrc/css/wizard.css— ajout classes quiz :.wizard--quiz,.wizard__codeblock,.wizard__option/--selected/--correct/--incorrect,.wizard__feedbackCSS-driven (aucun innerHTML)src/js/wizard-firebase.js— ajout optionwizardIddans le constructeur et dans le document Firestoreindex.html— bouton d'accès rapide au quiz dans.hero__secondary-actionsWhat a reviewer should know
WizardFirebase(pattern incompatible : save one-shot vs autosave) — logique Firebase directe viasetDocinnerHTML, aucunonclick=inline — conforme aux conventions du projetscrollIntoView({ block: 'nearest' })pour éviter le saut en haut de pageread/writesurquiz_submissions(à configurer dans la console Firebase)Test plan
/src/pages/activites/4e-3e/programmation-quiz.htmlquiz_submissions)Generated with Claude Code