ScottLogic / prompt-injection

Application which investigates defensive measures against prompt injection attacks on an LLM, with a focus on the exposure of external tools.
MIT License
16 stars 10 forks source link

Create mock "SMS Notifications" #574

Open smalyon-scottlogic opened 11 months ago

smalyon-scottlogic commented 11 months ago

Feature Request

Description

Handler communication should be displayed in an "SMS Notification".

Screenshots

image

Additional context

Figma

Handler communication includes both the starting mission info for each level (and sandbox), and messages for after completing the levels (excluding sandbox).

Questions:

Acceptance criteria

Ensure that colour contrast passes accessibility standards. Firefox is good at this. There's an accessibility tab in dev tools where you can see colour contrast warnings.

WHEN the user changes to a different level (including sandbox) THEN the SMS with the level's mission info is shown on the right panel

WHEN the user resets the level THEN the right panel is cleared except for the mission info SMS

WHEN the user completes a level (not sandbox) THEN a completion SMS is shown in the right panel

gsproston-scottlogic commented 10 months ago

570 get wireframes for how this will look for each of the levels.

chriswilty commented 9 months ago

@dhinrichs-scottlogic Do we think this ticket is still valid? We would have wanted to see how it looked, to have an SMS containing the full level info, but maybe we stick with the Level Info box for now?

In either case, at 200% zoom levels we will have difficulty showing all the info, but screen estate is at a premium, so which is better.... We would need UX input, so if we get to it before end of March, maybe we can ask Mark for advice.

chriswilty commented 9 months ago

@m4rkwallace-SL Current level messages in full is at: frontend/src/Levels.ts