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

docs.winglang.io #91

Closed
6 tasks done
ekeren opened this issue Nov 17, 2022 · 11 comments
Closed
6 tasks done

docs.winglang.io #91

ekeren opened this issue Nov 17, 2022 · 11 comments
Assignees

Comments

@ekeren
Copy link
Contributor

ekeren commented Nov 17, 2022

When a user is land in docs.winglang.io he should not be able to see the docs, unless he was authorised and part of the contributors / maintainers github teams

General:

  • switch back to docs.winglang.io
  • remove the blog
  • remove landing page

If user is not authenticated he should see:

  • should redirect to auth0 authentication page

If he is already authenticated but not authorised (not part of contributors / maintainers) he should see:

design required: @ekeren

  • design for authenticated but not authorised
@ekeren ekeren changed the title unauthorised docs.winglang.io docs.winglang.io Nov 17, 2022
@ekeren
Copy link
Contributor Author

ekeren commented Nov 17, 2022

How to embed the code in docusaurus:

yarn add @typeform/embed-react
import { PopupButton } from '@typeform/embed-react'

//....

<PopupButton id="xFBdtngT" style={{ fontSize: 20 }} className="my-button" size={60} >

//...

The result is:
image

@ekeren
Copy link
Contributor Author

ekeren commented Nov 17, 2022

Also, I was able to achieve the same result in webflow

webflow-with-typeform.mov

@mbonig
Copy link
Contributor

mbonig commented Nov 17, 2022

Adding a related issue... now that we have authentication concerns on the preview builds this introduces new issues around proper authentication, detailed here: #94

@mbonig
Copy link
Contributor

mbonig commented Nov 17, 2022

@ekeren please check out the preview build here: https://website-git-auth-monada.vercel.app/

@mbonig
Copy link
Contributor

mbonig commented Nov 17, 2022

Also adding another related issue, where currently authorization is determined by pipedrive and not github:

#95

@ekeren
Copy link
Contributor Author

ekeren commented Nov 21, 2022

@skyrpex when a user is authenticated but not authorised:

take their (known) github username and redirect them to

https://monadahq.typeform.com/to/xYJ3iQuC#github_username=<githu_username>

(notice that <github_username> needs to be replaced)

@ekeren
Copy link
Contributor Author

ekeren commented Nov 21, 2022

@skyrpex ☝️

@ekeren
Copy link
Contributor Author

ekeren commented Nov 21, 2022

@skyrpex and @ainvoner updated DOD section for the authenticated and not authorised

@skyrpex
Copy link
Contributor

skyrpex commented Nov 21, 2022

@ekeren great, already did that on our auth0 dev-vw3zp0luf7vo4d8k tenant.

@ekeren
Copy link
Contributor Author

ekeren commented Nov 21, 2022

another last minute change monadahq -> winglang
instead of
https://monadahq.typeform.com/to/xYJ3iQuC#github_username=<githu_username>

it should be
https://winglang.typeform.com/to/xYJ3iQuC#github_username=<githu_username>

@skyrpex

@ekeren
Copy link
Contributor Author

ekeren commented Nov 21, 2022

@ainvoner and @skyrpex FYI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

4 participants