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

feat: invite user, admin setup #132

Merged
merged 4 commits into from
May 31, 2024
Merged

Conversation

jiyuujin
Copy link
Collaborator

@jiyuujin jiyuujin commented Apr 30, 2024

やったこと一覧

  • スタッフ招待、スタッフ削除を行うためのページを構築
    • 削除は Supabase 管理画面から行えないため API のお世話になる
  • Authentication ( 現状 GitHub OAuth2 のみ仕込んでいます ) のベースを構築 / issue
  • コアスタッフ用 Console のベースを構築 / issue

cc: @vuejs-jp/vuefes-2024-maintainer

Copy link

netlify bot commented Apr 30, 2024

Deploy Preview for vuefes-2024 ready!

Name Link
🔨 Latest commit 735350d
🔍 Latest deploy log https://app.netlify.com/sites/vuefes-2024/deploys/66591f76dd249c0008f0f210
😎 Deploy Preview https://deploy-preview-132--vuefes-2024.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

// for https on localhost
// devServer: {
// https: {
// key: './certificates/localhost-key.pem',
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✍️

ローカルで HTTPS の下より確認できるようにしています
オレオレ証明書 (.pem) の作成については、各自進めていただければと思います

@toshick
Copy link
Contributor

toshick commented May 15, 2024

みれました
image

}

if (!supabaseUrl || !supabaseKey) {
return { signedUserId: null, onAuthChanged }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

最後のreturnにあわせて

return { hasAuth: false, onAuthChanged }

にするか、

return { signedUserId: null, hasAuth: false, onAuthChanged }

がよいかと思いました。
今のところ signedUserId を使わないのであれば返却しなくてもよいかもしれないです。
2つのreturnの中身を統一すべきかと思います

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ご確認いただきありがとうございます!
おっしゃるように signedUserId は使用されていませんので、削除しておきました mm

Copy link
Contributor

@toshick toshick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

cloudflare-workers-and-pages bot commented May 31, 2024

Deploying vuefes-2024-designsystem with  Cloudflare Pages  Cloudflare Pages

Latest commit: 735350d
Status: ✅  Deploy successful!
Preview URL: https://09d143a3.vuefes-2024-designsystem.pages.dev
Branch Preview URL: https://feature-invite-user-admin-se.vuefes-2024-designsystem.pages.dev

View logs

@jiyuujin
Copy link
Collaborator Author

一旦マージします、何かあれば随時 PR 上げてください mm
cc: @vuejs-jp/vuefes-2024-maintainer

@jiyuujin jiyuujin merged commit a855245 into main May 31, 2024
5 checks passed
@jiyuujin jiyuujin deleted the feature/invite-user-admin-setup-etc branch May 31, 2024 00:55
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