Reviewed via TERMINAL_VIEWER v1.0 at https://producingtechnology.com/browser.html — Page 1 of 143.
CognitiveFlow v1.0.0 is a single-file, JSON-powered mock interface that presents itself as a personalized learning and productivity platform. It fetches a remote JSON profile on load and renders several interconnected UI panels:
You are improving an existing single-file HTML app called CognitiveFlow v1.0.0.
It is a JSON-powered mock productivity/learning dashboard. Please make the
following fixes and additions:
FIXES:
1. User Profile sync: When the user selects a learning style in the
Learning Style Studio, update the "Learning style:" label in the
User Profile card in real time to match the selection.
2. Task completion visual feedback: When "Complete all low priority tasks"
is clicked, visually check off any tasks whose priority is not "high"
in the Projects panel and recalculate the project completion percentage
accordingly.
3. Prompt-aware advice: In the Study Assistant, parse the user's typed
prompt and adjust at least one bullet point of the generated advice
to directly address the question (e.g., if the prompt contains "focus",
prioritize urgency/deadline info; if it contains "learn", lead with
the learning-style strategy).
4. Load Remote JSON confirmation: Before re-fetching remote JSON and
resetting all in-session state, show an inline warning message
(e.g., a yellow banner) asking the user to confirm, with
"Yes, reload" and "Cancel" buttons.
5. Embedded sample differentiation: Make the embedded sample JSON
meaningfully different from the remote JSON (e.g., different user
name, different goals) so the two data sources can be distinguished
in the UI.
ADDITIONS:
6. Analytics chart: Add axis labels (X = metric name, Y = count) and a
tooltip on hover for each bar showing the numeric value.
7. Theme persistence: Save the current theme (light/dark) to
localStorage so it survives page refreshes.
8. Boost cap: Cap the "Boost +10%" button at 100% and disable it with
a visual indicator once the goal reaches 100% progress.