Skip to content

Implement new anonymous issue creation flow #3139

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

Closed
miketaylr opened this issue Jan 9, 2020 · 2 comments
Closed

Implement new anonymous issue creation flow #3139

miketaylr opened this issue Jan 9, 2020 · 2 comments
Assignees

Comments

@miketaylr
Copy link
Member

miketaylr commented Jan 9, 2020

It may make sense to split this bug up, but keeping together for now because it's all related, and maybe awkward to implement in multiple PRs (maybe not?)

When a user goes to file an anonymous bug:

  1. Create a (public) issue in the web-bugs repository that contains the boilerplate “thanks, we will moderate, feel free to bookmark and check-back” text
  2. Grab the Issue Number of the newly created public and create a private issue in web-bugs-private which associates the public issue number with it somehow. One idea, just store it in the issue body, for example we could re-use our: <!-- @public_url: foo > convention. Or we create a private -> public mapping in a database table.
  3. Make sure this new issue is an a “Unmoderated” milestone, if we’re taking the private GitHub repo shortcut.: See Make sure new private issues are assigned to the "unmoderated" milestone #3146
@miketaylr miketaylr changed the title Implement new anonymous reporting workflow Implement new anonymous issue creation flow Jan 9, 2020
@miketaylr miketaylr self-assigned this Jan 10, 2020
@miketaylr
Copy link
Member Author

(let's see how far I can get)

miketaylr pushed a commit that referenced this issue Jan 10, 2020
This first files a public issues, with some placeholder text, then
uses its public URL to add to a private issue's metadata (which contains
the original reporter's data).
@miketaylr
Copy link
Member Author

Make sure this new issue is an a “Unmoderated” milestone, if we’re taking the private GitHub repo shortcut.

I think I'm going to spin this out into a different issue and focus on tests for what I just wrote.

miketaylr pushed a commit that referenced this issue Jan 10, 2020
This first files a public issues, with some placeholder text, then
uses its public URL to add to a private issue's metadata (which contains
the original reporter's data).
miketaylr pushed a commit that referenced this issue Jan 10, 2020
We don't want to return any info here, let's be explicit.
miketaylr pushed a commit that referenced this issue Jan 10, 2020
They're not amazing, but it's something.
miketaylr pushed a commit that referenced this issue Jan 13, 2020
This first files a public issues, with some placeholder text, then
uses its public URL to add to a private issue's metadata (which contains
the original reporter's data).
miketaylr pushed a commit that referenced this issue Jan 13, 2020
We don't want to return any info here, let's be explicit.
miketaylr pushed a commit that referenced this issue Jan 13, 2020
They're not amazing, but it's something.
miketaylr pushed a commit that referenced this issue Jan 13, 2020
miketaylr pushed a commit that referenced this issue Jan 13, 2020
This allows us to pass in arbitrary metadata keys and values
to be "wrapped" as HTML comments for the issue body
miketaylr pushed a commit that referenced this issue Jan 13, 2020
This allows us to pass in arbitrary metadata keys and values
to be "wrapped" as HTML comments for the issue body
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

No branches or pull requests

1 participant