Repository navigation
Show example content on every Work mode page when signed out #3869
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
32 changes: 32 additions & 0 deletions
32
docs/decisions/2026-10-27-signed-out-examples-on-every-work-page.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| # Decision: example content on every Work mode page when signed out | ||
|
|
||
| - **Status:** decided 2026-10-27 | ||
| - **Source:** the owner, in chat | ||
|
|
||
| On 27 Oct 2026 the owner asked: "Please ensure there is sample content on all modes for me in | ||
| logged out view", "And all pages in work mode", "To demonstrate what it looks like". | ||
|
|
||
| Every Work mode page was opened signed out. Most already showed example records. These pages | ||
| showed only a sign-in card, and now show clearly marked example content while example data is | ||
| on (the default for a signed-out visitor; turning example data off still gives the plain sign-in | ||
| state): | ||
|
|
||
| - CPD: AMA CPD Home, Evidence, Export, Customise and Learning. The old CPD Job applications links | ||
| follow on to Admin. | ||
| - Admin: Job applications and its CV, the Credential pack (built from the example records with | ||
| made-up all-zero numbers, never the numbers saved on the device), and Contract end (an example | ||
| contract ending five months out). The example contract is only in the signed-out example set, | ||
| never in "Load example content", so a real account never gets an end date it did not enter. | ||
| - My Day: Alerts settings, shown as a look-only example while signed out. Signed in, they are | ||
| always the reader's own. | ||
| - On Call: Who's on from your team roster. | ||
| - Roster: Manage team. | ||
| - Open shifts: the week board, Post, and Post a shift. | ||
|
|
||
| Left as they were, because they are forms or flows rather than records: Open shifts Alerts (the | ||
| same switches as Roster settings, which have nothing to show without phone alerts set up), Log a | ||
| shift, My Day Set up and Favourites, the On Call device tools, and Teaching check-in. | ||
|
|
||
| Nothing here can save: example screens refuse writes, as every example screen already did. | ||
|
|
||
| If this summary and the source ever differ, the source wins. |
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,17 @@ | ||
| import type { Metadata } from "next"; | ||
|
|
||
| import { OpenShiftsBoardPage } from "@/components/open-shifts/open-shifts-board-page"; | ||
| import { RosterSampleGate } from "@/components/roster/roster-sample-gate"; | ||
|
|
||
| export const metadata: Metadata = { | ||
| title: "Board | Open shifts | PsychSift", | ||
| description: "Every open shift in your Roster teams at a glance.", | ||
| }; | ||
|
|
||
| export default function OpenShiftsBoardRoute() { | ||
| return <OpenShiftsBoardPage />; | ||
| return ( | ||
| <RosterSampleGate> | ||
| <OpenShiftsBoardPage /> | ||
| </RosterSampleGate> | ||
| ); | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,17 @@ | ||
| import type { Metadata } from "next"; | ||
|
|
||
| import { OpenShiftsPostPage } from "@/components/open-shifts/open-shifts-post-page"; | ||
| import { RosterSampleGate } from "@/components/roster/roster-sample-gate"; | ||
|
|
||
| export const metadata: Metadata = { | ||
| title: "Post a shift | Open shifts | PsychSift", | ||
| description: "Advertise an extra shift to your Roster team.", | ||
| }; | ||
|
|
||
| export default function OpenShiftsPostRoute() { | ||
| return <OpenShiftsPostPage />; | ||
| return ( | ||
| <RosterSampleGate> | ||
| <OpenShiftsPostPage /> | ||
| </RosterSampleGate> | ||
| ); | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,17 @@ | ||
| import type { Metadata } from "next"; | ||
|
|
||
| import { OpenShiftsPostedPage } from "@/components/open-shifts/open-shifts-posted-page"; | ||
| import { RosterSampleGate } from "@/components/roster/roster-sample-gate"; | ||
|
|
||
| export const metadata: Metadata = { | ||
| title: "Post | Open shifts | PsychSift", | ||
| description: "Extra shifts you have posted for your Roster teams.", | ||
| }; | ||
|
|
||
| export default function OpenShiftsPostedRoute() { | ||
| return <OpenShiftsPostedPage />; | ||
| return ( | ||
| <RosterSampleGate> | ||
| <OpenShiftsPostedPage /> | ||
| </RosterSampleGate> | ||
| ); | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,17 @@ | ||
| import type { Metadata } from "next"; | ||
|
|
||
| import { RosterManagePage } from "@/components/roster/manage/roster-manage-page"; | ||
| import { RosterSampleGate } from "@/components/roster/roster-sample-gate"; | ||
|
|
||
| export const metadata: Metadata = { | ||
| title: "Manage team | Roster | PsychSift", | ||
| description: "For roster managers: cover needs, swap and leave decisions, and your team's shifts.", | ||
| }; | ||
|
|
||
| export default function Page() { | ||
| return <RosterManagePage />; | ||
| return ( | ||
| <RosterSampleGate> | ||
| <RosterManagePage /> | ||
| </RosterSampleGate> | ||
| ); | ||
| } |
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.