Skip to content

Fixes #3139 - Implement first stages of private reporting flow#3147

Merged
karlcow merged 10 commits intomasterfrom
issues/3139/1
Jan 13, 2020
Merged

Fixes #3139 - Implement first stages of private reporting flow#3147
karlcow merged 10 commits intomasterfrom
issues/3139/1

Conversation

@miketaylr
Copy link
Copy Markdown
Member

r? @karlcow

The next one to tackle is probably #3146.

@miketaylr miketaylr requested a review from karlcow January 10, 2020 23:55
Comment thread tests/unit/test_issues.py
Comment thread webcompat/issues.py Outdated
Copy link
Copy Markdown
Member

@karlcow karlcow left a comment

Choose a reason for hiding this comment

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

@miketaylr

so I understand the logic of most of the code, and I understand the urgency.

  • There is one question about anonymous reporting button
  • I have the feeling, we try to modify too much of the initial code instead of relying on what already exists. Basically the PR could probably be simpler with a smaller footprint. See my suggestions. I may have missed something in the logic.

Comment thread webcompat/issues.py
Comment thread webcompat/issues.py Outdated
Comment thread webcompat/issues.py Outdated
Comment thread webcompat/issues.py Outdated
Comment thread webcompat/templates/form.html
Comment thread webcompat/issues.py Outdated
Comment thread webcompat/form.py Outdated
Comment thread webcompat/form.py Outdated
Mike Taylor added 5 commits January 13, 2020 11:30
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).
We don't want to return any info here, let's be explicit.
They're not amazing, but it's something.
@miketaylr miketaylr force-pushed the issues/3139/1 branch 3 times, most recently from 4f2bfa8 to 6b655ec Compare January 13, 2020 19:59
@miketaylr
Copy link
Copy Markdown
Member Author

OK, @karlcow, ready for re-review. Thanks for the suggestions so far!

Copy link
Copy Markdown
Member

@karlcow karlcow left a comment

Choose a reason for hiding this comment

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

@miketaylr I have reviewed again. one thing to change.

Comment thread webcompat/issues.py Outdated
Comment thread webcompat/form.py
Comment thread tests/unit/test_form.py
Mike Taylor added 2 commits January 13, 2020 16:13
This allows us to pass in arbitrary metadata keys and values
to be "wrapped" as HTML comments for the issue body
@miketaylr
Copy link
Copy Markdown
Member Author

OK, pushed a fix!

@karlcow karlcow merged commit 588b1d1 into master Jan 13, 2020
@karlcow karlcow deleted the issues/3139/1 branch January 13, 2020 22:27
@karlcow
Copy link
Copy Markdown
Member

karlcow commented Jan 13, 2020

@miketaylr Thanks for the code, the pasta 🍝 and everything.

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