Nouveautés dans l'app, et « Tout effacer » synchronisé : cet appareil ou partout (2d)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
0ea0ea109f
commit
8ebdca0c30
+3
-1
@@ -25,6 +25,7 @@
|
||||
* | {name: "weight", query: string}
|
||||
* | {name: "data"}
|
||||
* | {name: "profile"}
|
||||
* | {name: "news"}
|
||||
* | {name: "analysis", exercise: string|null}
|
||||
* | {name: "proposal", id: string}
|
||||
* | {name: "sync"}
|
||||
@@ -75,7 +76,7 @@ export function parseRoute(hash) {
|
||||
/** Écrans sans paramètre : adresse → nom. @type {Record<string, string>} */
|
||||
const SIMPLE = {
|
||||
bravo: "finish", progression: "progress", historique: "history",
|
||||
donnees: "data", profil: "profile", synchro: "sync", relier: "pair",
|
||||
donnees: "data", profil: "profile", synchro: "sync", relier: "pair", nouveautes: "news",
|
||||
};
|
||||
|
||||
/** Écrans à chemin simple qui lisent leur requête : adresse → nom. @type {Record<string, string>} */
|
||||
@@ -115,6 +116,7 @@ export const href = {
|
||||
weight: (/** @type {string|null} */ period = null) => withParams("#/poids", { periode: period }, { periode: "3mois" }),
|
||||
data: () => "#/donnees",
|
||||
profile: () => "#/profil",
|
||||
news: () => "#/nouveautes",
|
||||
analysis: (/** @type {string|null} */ exercise = null) => "#/analyses" + (exercise ? "/" + enc(exercise) : ""),
|
||||
proposal: (/** @type {string} */ id) => "#/proposition/" + enc(id),
|
||||
sync: () => "#/synchro",
|
||||
|
||||
Reference in New Issue
Block a user