Skip to content
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

Mocked NanoKVM Login Page for Development #131

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

S33G
Copy link
Contributor

@S33G S33G commented Nov 5, 2024

PR Summary: Mocked NanoKVM Login Page for Development

This PR introduces a mocked version of the NanoKVM login page, providing a way to bypass the login process for development purposes. Currently, I don’t have a spare NanoKVM unit to dedicate to development, so this mock serves as a starting point with the goal of potentially expanding the mock setup across more NanoKVM features over time.

Key Changes

  • Allows developers to access the NanoKVM interface without valid credentials by running pnpm run mocked, making it easier to test front-end functionality.
  • Keeps the mocked mode isolated for now, but we could consider making it the default behavior in development mode if helpful.
  • Installs MSW for development

I’m open to feedback or alternative approaches—this setup is intended as an initial solution that we can adjust as needed.

Thanks for reviewing!

@wj-xiao wj-xiao merged commit a8d6d61 into sipeed:main Nov 15, 2024
@S33G S33G deleted the feature/mocked-authentication-for-dev branch November 15, 2024 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants