codeforboston / codeforboston/maple
Embed Link to Follow Org on MAPLE
- Dominant language
- TypeScript
- Stars
- 56
- Forks
- 175
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 13
Description
## Problem
We should allow Orgs to generate an embed link that they can send to their members that will help their members to easily follow them on MAPLE.
The desired flow is:
- Org clicks a link in their Profile somewhere to generate an URL
- Org sends that URL to their members
- An Org member clicks the URL and it takes them to MAPLE
- If they have an account:
- Direct them to the Org's page and automatically follow the org
- If they don't have an account:
- Link them to the signup flow
- On signup, also follow the Org in the URL code
- After signup, redirect to the Org page instead of the home page?
## Success Criteria
- [ ] Add "Create Embed Link" to an Org's profile page
- [ ] Add new param to Org profile page to auto-follow?
- [ ] (or add a pop-up to confirm follow?)
## Open questions
- How does the look from the Org perspective?
- It's easier to add a link to their profile page that they can share
- How does this look from the User perspective?
- If the user has an account and is logged in, what should happen on clicking the link sent to them by the Org:
- Just open to the Org profile page?
- Open to the Org profile page with the "Follow" button highlighted somehow?
- Open to the Org profile page with a Confirmation modal if the user wants to follow the org?
- If the user is not logged in, what should happen? (Remember, only logged-in users can follow bills/orgs)
- Go to the Org profile page and then open the login/signup modal?
- Redirect to the Org profile page after login/signup with the Org followed?
Contributor guide
Assessment
This issue has not been assessed yet.