Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29790573: Fixes #6 - Extend address masking to mask other attributes (Closed)

Created:
May 25, 2018, 7:34 a.m. by ire
Modified:
May 25, 2018, 9:02 a.m.
Reviewers:
juliandoucette
Base URL:
https://hg.adblockplus.org/website-defaults
Visibility:
Public.

Description

Fixes #6 - Extend address masking to mask other attributes

Patch Set 1 #

Total comments: 5

Patch Set 2 : Addressed NITs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -7 lines) Patch
M pages/address-masking.md View 1 1 chunk +14 lines, -4 lines 0 comments Download
M static/js/address-masking.js View 1 chunk +7 lines, -3 lines 0 comments Download

Messages

Total messages: 4
ire
May 25, 2018, 7:34 a.m. (2018-05-25 07:34:20 UTC) #1
ire
Ready for review https://codereview.adblockplus.org/29790573/diff/29790574/pages/address-masking.md File pages/address-masking.md (right): https://codereview.adblockplus.org/29790573/diff/29790574/pages/address-masking.md#newcode25 pages/address-masking.md:25: [Private Email](#){: data-mask='{ "href": "bWFpbHRvOnVzZXJuYW1lQGV4YW1wbGUuY29t" }' ...
May 25, 2018, 7:35 a.m. (2018-05-25 07:35:05 UTC) #2
juliandoucette
LGTM + NITs https://codereview.adblockplus.org/29790573/diff/29790574/pages/address-masking.md File pages/address-masking.md (right): https://codereview.adblockplus.org/29790573/diff/29790574/pages/address-masking.md#newcode25 pages/address-masking.md:25: [Private Email](#){: data-mask='{ "href": "bWFpbHRvOnVzZXJuYW1lQGV4YW1wbGUuY29t" }' ...
May 25, 2018, 8:51 a.m. (2018-05-25 08:51:00 UTC) #3
ire
May 25, 2018, 9:02 a.m. (2018-05-25 09:02:10 UTC) #4
Thanks. I've made the changes, will commit & push now

https://codereview.adblockplus.org/29790573/diff/29790574/pages/address-maski...
File pages/address-masking.md (right):

https://codereview.adblockplus.org/29790573/diff/29790574/pages/address-maski...
pages/address-masking.md:25: [Private Email](#){: data-mask='{ "href":
"bWFpbHRvOnVzZXJuYW1lQGV4YW1wbGUuY29t" }'
On 2018/05/25 08:50:59, juliandoucette wrote:
> On 2018/05/25 07:35:05, ire wrote:
> > This requires that we use a single quote for the opening closing of the
> > data-mask attribute
> 
> You mean we can't just escape or flip the quotes the other way (double outer,
> single inner)?
> 
> If so, it's worth mentioning that on the page.

No we can't. I will add that.

https://codereview.adblockplus.org/29790573/diff/29790574/pages/address-maski...
pages/address-masking.md:27: [#](#){: data-mask='{ "href":
"bWFpbHRvOnVzZXJuYW1lQGV4YW1wbGUuY29t", "textContent":
"dXNlcm5hbWVAZXhhbXBsZS5jb20=" }'
On 2018/05/25 08:50:59, juliandoucette wrote:
> TOL: Seems like we could make this friendlier than "#"?

Changed to "email"

Powered by Google App Engine
This is Rietveld