diff --git a/docs/ui-modernisation/reassessment/concepts/README.md b/docs/ui-modernisation/reassessment/concepts/README.md
index f05214a6..ee0a40f4 100644
--- a/docs/ui-modernisation/reassessment/concepts/README.md
+++ b/docs/ui-modernisation/reassessment/concepts/README.md
@@ -10,6 +10,8 @@ python -m http.server 4327 --bind 127.0.0.1 --directory docs/ui-modernisation/re
## Compare the experiences
+Browser Back and Forward retrace screens and selected opportunities within a concept. For example, open a filtered job, enter its CV workspace and go back twice to return to the filtered results. The ten desktop/phone selected-job journeys exercised this round trip and its forward path on 20 November. Drafts and filters are held in memory for the review session.
+
| Direction | First interaction | Desktop and phone | Implementation implication |
| --- | --- | --- | --- |
| A · Clear Desk | Scan the activity list and agenda | Compact top navigation, high density, horizontally scrollable on a phone | Existing tracker and agenda owners fit. Check legibility as text size increases. |
diff --git a/docs/ui-modernisation/reassessment/concepts/app.js b/docs/ui-modernisation/reassessment/concepts/app.js
index 82dfb395..ed41d3c6 100644
--- a/docs/ui-modernisation/reassessment/concepts/app.js
+++ b/docs/ui-modernisation/reassessment/concepts/app.js
@@ -1,5 +1,4 @@
-const $ = (s) => document.querySelector(s),
- q = new URLSearchParams(location.search);
+const $ = (s) => document.querySelector(s);
const screens = [
"home",
"discover",
@@ -14,14 +13,20 @@ const screens = [
"admin",
"onboarding",
];
-const selected = (key, allowed, fallback) =>
- allowed.includes(q.get(key)) ? q.get(key) : fallback;
+function routeFromLocation() {
+ const query = new URLSearchParams(location.search);
+ const selected = (key, allowed, fallback) =>
+ allowed.includes(query.get(key)) ? query.get(key) : fallback;
+ return {
+ concept: selected("concept", "ABCDE".split(""), ""),
+ screen: selected("screen", screens, "home"),
+ lang: selected("lang", ["en", "nb"], "en"),
+ theme: selected("theme", ["light", "dark"], "light"),
+ phone: query.get("mobile") === "1",
+ };
+}
const state = {
- concept: selected("concept", "ABCDE".split(""), ""),
- screen: selected("screen", screens, "home"),
- lang: selected("lang", ["en", "nb"], "en"),
- theme: selected("theme", ["light", "dark"], "light"),
- phone: q.get("mobile") === "1",
+ ...routeFromLocation(),
calendarView: "agenda",
trackerView: "list",
query: "",
@@ -343,7 +348,11 @@ const records = jobs.map((job, i) => ({
function trackedCount() {
return records.filter((r) => r.stage === "saved").length;
}
-let current = records.find((r) => r.id === q.get("job")) || records[0];
+function jobFromLocation() {
+ const id = new URLSearchParams(location.search).get("job");
+ return records.find((r) => r.id === id) || records[0];
+}
+let current = jobFromLocation();
const detailText = [
[
"Coordinate community care, support families and work with local healthcare teams.",
@@ -550,7 +559,7 @@ function gallery() {
"",
)}
What to compare
Try finding a job, saving it, preparing a CV, reviewing a letter and scheduling a follow-up. Switch between desktop and mobile, English and Bokmål, light and dark. These are design prototypes with synthetic data, not provider or production qualification.
Compare screenshots and tradeoffs · Research notes`;
}
-function render() {
+function render(navigating = false) {
if (!state.concept) {
$("#app").innerHTML = gallery();
return;
@@ -607,20 +616,26 @@ function render() {
.join(
"",
)}