Let anyone finish a Rule without an account or email #119

Merged
an.di merged 2 commits from adilallo/fix/CR-380-guest-finish-without-account into main 2026-11-25 01:20:21 +00:00
Member

Overview

No screen from the first step to the finished Rule may require a login or an email. This holds on blank, template, and copy paths.

Staging failed that on 21 Nov: Continue on final review opened “Log in to invite your members,” and the only way out was Back to your Rule. A person with no account could not reach Invite your members or the finished Rule. The header there also read Save and exit though nothing was saved.

This PR lets anyone write and finish a Rule logged out. Login is asked only when they choose it.

Changes

  • Intro lead ends “you don’t need an account to write or finish it.”
  • Continue on final review goes to Invite your members with no login.
  • Finish without inviting publishes and shows the finished Rule. No email is asked.
  • Send invitations, while logged out, opens Log in to invite your members and returns to Invite your members after the link is followed.
  • The header reads Exit until Save your progress is done (a signed-in session). Completed is Exit for everyone. Guests no longer get an auto-opened keep-this-rule login.
  • A logo on the upload step uploads immediately. Guests do not wait until login.
  • A Rule finished logged out stays in this browser. Signing in later on the same browser still attaches it via the existing claim cookie.
  • Edits to a Rule this browser published are saved on that Rule while it is still unclaimed. If that update is refused (leftover id, already claimed, gone), Finish publishes a new Rule instead of treating the old one as saved.

Screenshots

01-intro-no-account.png

How to Test

In a private window with no account:

  1. From Home, write a Rule, skip Save your progress, choose Finish without inviting, and see the finished Rule. No screen asks for an email. Header stays Exit.
  2. Export PDF and RULE.md from that Rule while still logged out.
  3. Start again, reach Invite your members, choose Send invitations, and get the invite login dialog, not an error. Dismiss it and Finish without inviting still works.
  4. Same path from Consensus with Use without changes, then again with Customize. Continue on final review must not open a login.
  5. Same with a logo on the upload step. The photo must upload without a login.
  6. Same at 390 wide.
  7. Log in later on the same browser and find the Rule on Profile.
  8. While still logged out, Edit that finished Rule, change a card, and Finish. The public Rule should show the change. If the browser cannot update that Rule, Finish should create a new one instead of silently keeping the old copy.

Notes

  • Print, PDF, and RULE.md already work from the last published Rule with no auth. Unchanged.
  • Skip for now on Save your progress still never comes back as a required step.
  • Stakeholder invites still send only when a session exists. Guests can finish first and invite after they log in.02-invite-your-members.png03-invite-login.png
## Overview No screen from the first step to the finished Rule may require a login or an email. This holds on blank, template, and copy paths. Staging failed that on 21 Nov: Continue on final review opened “Log in to invite your members,” and the only way out was Back to your Rule. A person with no account could not reach Invite your members or the finished Rule. The header there also read Save and exit though nothing was saved. This PR lets anyone write and finish a Rule logged out. Login is asked only when they choose it. ## Changes - Intro lead ends “you don’t need an account to write or finish it.” - Continue on final review goes to Invite your members with no login. - Finish without inviting publishes and shows the finished Rule. No email is asked. - Send invitations, while logged out, opens Log in to invite your members and returns to Invite your members after the link is followed. - The header reads Exit until Save your progress is done (a signed-in session). Completed is Exit for everyone. Guests no longer get an auto-opened keep-this-rule login. - A logo on the upload step uploads immediately. Guests do not wait until login. - A Rule finished logged out stays in this browser. Signing in later on the same browser still attaches it via the existing claim cookie. - Edits to a Rule this browser published are saved on that Rule while it is still unclaimed. If that update is refused (leftover id, already claimed, gone), Finish publishes a new Rule instead of treating the old one as saved. ## Screenshots ![01-intro-no-account.png](attachments/b96e3ee9-4dcd-4463-bc4d-d9433fa97821) ## How to Test In a private window with no account: 1. From Home, write a Rule, skip Save your progress, choose Finish without inviting, and see the finished Rule. No screen asks for an email. Header stays Exit. 2. Export PDF and RULE.md from that Rule while still logged out. 3. Start again, reach Invite your members, choose Send invitations, and get the invite login dialog, not an error. Dismiss it and Finish without inviting still works. 4. Same path from Consensus with Use without changes, then again with Customize. Continue on final review must not open a login. 5. Same with a logo on the upload step. The photo must upload without a login. 6. Same at 390 wide. 7. Log in later on the same browser and find the Rule on Profile. 8. While still logged out, Edit that finished Rule, change a card, and Finish. The public Rule should show the change. If the browser cannot update that Rule, Finish should create a new one instead of silently keeping the old copy. ## Notes - Print, PDF, and RULE.md already work from the last published Rule with no auth. Unchanged. - Skip for now on Save your progress still never comes back as a required step. - Stakeholder invites still send only when a session exists. Guests can finish first and invite after they log in.![02-invite-your-members.png](attachments/c8d2a93c-602b-4a58-b1a4-c685b05c0f35)![03-invite-login.png](attachments/5fed6b37-9d2f-44ca-a0a6-53ab9d796da7)
an.di added 2 commits 2026-11-25 01:20:11 +00:00
Continue on final review and Finish without inviting no longer open a login wall. The header stays Exit until Save your progress is done, and Send invitations is the only invite-path login.
A leftover editing id was treated as a successful finish in this browser only, so the public Rule stayed stale and a later Finish could skip creating a new Rule.
an.di merged commit 9621fa4d7d into main 2026-11-25 01:20:21 +00:00
an.di deleted branch adilallo/fix/CR-380-guest-finish-without-account 2026-11-25 01:20:21 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: CommunityRule/community-rule#119