Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Issue 2726123004: Unhide folded sections in wiki pages (Closed)

Created:
3 years, 9 months ago by wychen
Modified:
3 years, 8 months ago
Reviewers:
mdjones, Olivier
CC:
noyau (Ping after 24h), lody, gambard
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Unhide folded sections in wiki pages On narrow mobile, subheadings are folded by default. All elements with aria-expanded=false would be unhidden. Score changes (as of @150259105): https://x20web.corp.google.com/~wychen/domdistillerscore/wiki-unfold/top-mobile-mhtml.html 1 entry changed (mobile version of wikipedia): Precision remains 1.0 Recall 0.047 → 0.683 F1 0.091 → 0.812 No score changes in the following datasets: cjk-golden-data golden_data_with_knowledge distillable-desktop-mhtml multi-page-golden-data page-links-golden-data reader-images-golden-data reader-mode-golden-data BUG=647667 R=mdjones@chromium.org, olivierrobin@chromium.org Committed: cd538d1b68a9128d704ab9ee92d4e5cbd197abbc

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -0 lines) Patch
M java/org/chromium/distiller/webdocument/DomConverter.java View 1 chunk +5 lines, -0 lines 2 comments Download
M javatests/org/chromium/distiller/webdocument/DomConverterTest.java View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (8 generated)
Olivier
https://codereview.chromium.org/2726123004/diff/1/java/org/chromium/distiller/webdocument/DomConverter.java File java/org/chromium/distiller/webdocument/DomConverter.java (right): https://codereview.chromium.org/2726123004/diff/1/java/org/chromium/distiller/webdocument/DomConverter.java#newcode115 java/org/chromium/distiller/webdocument/DomConverter.java:115: if (e.getAttribute("aria-expanded").equals("false")) { Is there a risk that this ...
3 years, 9 months ago (2017-03-04 09:26:51 UTC) #3
wychen
PTAL https://codereview.chromium.org/2726123004/diff/1/java/org/chromium/distiller/webdocument/DomConverter.java File java/org/chromium/distiller/webdocument/DomConverter.java (right): https://codereview.chromium.org/2726123004/diff/1/java/org/chromium/distiller/webdocument/DomConverter.java#newcode115 java/org/chromium/distiller/webdocument/DomConverter.java:115: if (e.getAttribute("aria-expanded").equals("false")) { On 2017/03/04 09:26:51, Olivier Robin ...
3 years, 9 months ago (2017-03-14 01:06:02 UTC) #6
mdjones
lgtm
3 years, 9 months ago (2017-03-14 15:54:38 UTC) #7
Olivier
lgtm
3 years, 8 months ago (2017-04-10 07:36:39 UTC) #11
wychen
3 years, 8 months ago (2017-04-11 00:33:37 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
cd538d1b68a9128d704ab9ee92d4e5cbd197abbc (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698