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

👋 Onboarding first admin #223

Merged
merged 11 commits into from
Nov 4, 2024
Merged

👋 Onboarding first admin #223

merged 11 commits into from
Nov 4, 2024

Conversation

brunobuddy
Copy link
Contributor

Description

This PR creates a "Register first admin" page for the first launch if the DB is empty.

@SebConejo some styling is needed for the "register first admin" page.

How can it be tested?

  • Pull that code
  • Delete your /manifest/packages/core/manifest/manifest/backend.db file
  • Run npm run dev

You will be redirected to the /auth/welcome page to create a new admin. Follow the instructions.

Ensure that you cannot go to that page again after admin creation.

To repeat to tests, delete again the backend.db file and restart the npm run dev task

Impacted packages

Check the NPM packages that require a new publication or release:

Check list before submitting

  • I have performed a self-review of my code (no debugs, no commented code, good naming, etc.)
  • I wrote the relative tests
  • I created a PR for the documentation if necessary and attached the link to this PR
  • This PR is wrote in a clear language and correctly labeled

@brunobuddy brunobuddy self-assigned this Nov 4, 2024
Copy link

vercel bot commented Nov 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
manifest-schema ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 4, 2024 3:40pm

@brunobuddy brunobuddy marked this pull request as ready for review November 4, 2024 14:22
@SebConejo
Copy link
Contributor

SebConejo commented Nov 4, 2024

Ok for me 👍

@brunobuddy fyi, Here is the page after styling it :
Capture d’écran 2024-11-04 à 16 23 39

@brunobuddy brunobuddy merged commit a3f34aa into develop Nov 4, 2024
4 checks passed
@brunobuddy brunobuddy deleted the feature/deploy branch November 4, 2024 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants