When running the UI in dev mode (npm run dev) you shouldn't see the login.
When running in preview mode (npm run build && npm run preview) you should see the login.
Resolves #807
Screenshots
Normal Zoom:
150% Zoom:
200% Zoom:
Notes
A couple of accessibility weaknesses were identified, but unfortunately we don't have access to the Amplify components to correct them. The password show/hide button seems to work fine with NVDA, but it's not great with Narrator. Such is life.
Description
Adds auth to the UI, in production mode.
When running the UI in dev mode (
npm run dev
) you shouldn't see the login. When running in preview mode (npm run build && npm run preview
) you should see the login.Resolves #807
Screenshots
Normal Zoom:![image](https://github.com/ScottLogic/prompt-injection/assets/15246391/a07be184-d03b-440d-9898-82697d0e7c19)
150% Zoom:![image](https://github.com/ScottLogic/prompt-injection/assets/15246391/4913834d-a507-4adc-b079-63bae5104397)
200% Zoom:![image](https://github.com/ScottLogic/prompt-injection/assets/15246391/160d23ed-9cf7-4e8f-b8bd-e6ac6534b0a0)
Notes
Checklist
Have you done the following?