Page MenuHomePhabricator

dchan (David Chan)
User

Projects (15)

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Monday

  • Clear sailing ahead.

User Details

User Since
Oct 23 2014, 10:14 AM (440 w, 2 d)
Availability
Available
IRC Nick
divec
LDAP User
Unknown
MediaWiki User
DChan (WMF) [ Global Accounts ]

Recent Activity

Thu, Mar 16

dchan added a comment to T331083: Link up WIP sentence splitting to content detection.

This update better detects inserted text, by disregarding HTML tree structure (which isn't very relevant for these purposes).

Thu, Mar 16, 1:45 PM · Editing-team (Kanban Board), EditCheck
dchan added a comment to T331686: Evaluate reliability of sentence splitting approach.

I think these are good suggestions. I'd also suggest adding an Indic script.

Thu, Mar 16, 12:51 PM · EditCheck, Editing-team (Kanban Board), Spike

Wed, Mar 8

dchan added a comment to T324733: Introduce a tag to identify edits that meet the Edit Check heuristic .

Oh, probably I'm not being clear. I was thinking:

  • we want to tag edits that should contain a reference (according to our heuristic)
  • regardless whether or not they do contain one
  • and regardless whether the reference check UI is deployed
Wed, Mar 8, 3:18 PM · MW-1.41-notes (1.41.0-wmf.3; 2023-04-03), Editing-team (Kanban Board), EditCheck, VisualEditor

Fri, Mar 3

dchan added a subtask for T324363: Investigate sentence splitting: T331083: Link up WIP sentence splitting to content detection.
Fri, Mar 3, 3:44 AM · Patch-For-Review, EditCheck, Editing-team (Kanban Board), Spike
dchan added a parent task for T331083: Link up WIP sentence splitting to content detection: T324363: Investigate sentence splitting.
Fri, Mar 3, 3:44 AM · Editing-team (Kanban Board), EditCheck
dchan created T331083: Link up WIP sentence splitting to content detection.
Fri, Mar 3, 3:44 AM · Editing-team (Kanban Board), EditCheck
dchan added a comment to T324733: Introduce a tag to identify edits that meet the Edit Check heuristic .

On reflection, I suggest we consider removing requirement 1B ("the new paragraph does not include a reference"), because:

Fri, Mar 3, 1:46 AM · MW-1.41-notes (1.41.0-wmf.3; 2023-04-03), Editing-team (Kanban Board), EditCheck, VisualEditor
dchan added a subtask for T324363: Investigate sentence splitting: T331080: Hook up WIP sentence splitting as a bookmarklet.
Fri, Mar 3, 1:32 AM · Patch-For-Review, EditCheck, Editing-team (Kanban Board), Spike
dchan added a parent task for T331080: Hook up WIP sentence splitting as a bookmarklet: T324363: Investigate sentence splitting.
Fri, Mar 3, 1:32 AM · Editing-team (Kanban Board), EditCheck
dchan created T331080: Hook up WIP sentence splitting as a bookmarklet.
Fri, Mar 3, 1:32 AM · Editing-team (Kanban Board), EditCheck

Feb 23 2023

dchan added a comment to T324363: Investigate sentence splitting.

We're currently envisaging two uses for sentence segmentation in Edit Check:

Feb 23 2023, 3:58 PM · Patch-For-Review, EditCheck, Editing-team (Kanban Board), Spike

Feb 22 2023

dchan added a comment to T325129: On-screen keyboard disappears when cursor encounters non-breaking space in Chrome; cannot delete nbsp in Firefox.

Based on investigations, I believe Change 881705 fixes the likeliest occurrences of this Gboard bug. I don't think it breaks any case that works at the moment, even though it allows the user to experience T330284 (which needs a separate fix).

Feb 22 2023, 12:47 PM · Patch-For-Review, Editing-team, VisualEditor-ContentEditable, VisualEditor, VisualEditor-MediaWiki-Mobile
dchan added a comment to T330284: English Gboard causes corruption when backspacing a focusable node that ends with a Latin letter.

Technical notes copied from T325129:

Feb 22 2023, 12:40 PM · Patch-For-Review, VisualEditor-ContentEditable, VisualEditor
dchan created T330284: English Gboard causes corruption when backspacing a focusable node that ends with a Latin letter.
Feb 22 2023, 12:27 PM · Patch-For-Review, VisualEditor-ContentEditable, VisualEditor

Jan 11 2023

dchan added a comment to T325129: On-screen keyboard disappears when cursor encounters non-breaking space in Chrome; cannot delete nbsp in Firefox.

Yes, here is a viable fixup for the above case:

  1. On an input event of inputType 'deleteContentBackward', save the current cursor position (but only if the selection is collapsed).
  2. If a subsequent keyup event occurs during the same tick, and lands inside a contentEditable=false node, then restore the saved cursor position.
  3. In any case, clear the saved cursor position at the end of the tick (i.e. using setTimeout).

The fixup has to occur in the keyup event: waiting for the more logical selectionchange event means the soft keyboard has already closed and it's too late.

Jan 11 2023, 12:06 PM · Patch-For-Review, Editing-team, VisualEditor-ContentEditable, VisualEditor, VisualEditor-MediaWiki-Mobile

Jan 10 2023

dchan added a comment to T325129: On-screen keyboard disappears when cursor encounters non-breaking space in Chrome; cannot delete nbsp in Firefox.

This appears to happen because English Gboard + Android Chrome lets the cursor land inside a contenteditable=false span. It does not happen with certain other Gboard languages (e.g. Cantonese). Below is a minimal test case.

Jan 10 2023, 11:03 AM · Patch-For-Review, Editing-team, VisualEditor-ContentEditable, VisualEditor, VisualEditor-MediaWiki-Mobile

Jul 29 2022

dchan added a comment to T312558: Google Keyboard input events can leave VisualEditor DM out of sync.

Change 812093 Patch set 5 handles the <div><br></div> but fails in other cases (e.g. when the native action adds a list item).

Jul 29 2022, 8:55 AM · Verified, MW-1.40-notes (1.40.0-wmf.4; 2022-10-03), Patch-For-Review, Editing-team (Kanban Board), VisualEditor-ContentEditable, VisualEditor, Browser-Support-Android-Google-Chrome, VisualEditor-MediaWiki-Mobile
dchan added a comment to T312558: Google Keyboard input events can leave VisualEditor DM out of sync.

Ok, change 812093 triggers the VE Enter handler — which is a big improvement! As it stands, it still leaves a spurious <div><br></div>, into which we can drag the cursor and type text which then doesn't get put into the model (see screenshot). We should check for this spurious div and clean it up — and as a bonus, we can condition triggering the VE Enter handler on finding this div, so that if another IME behaves as we want it to already, then it won't be affected.

Jul 29 2022, 8:34 AM · Verified, MW-1.40-notes (1.40.0-wmf.4; 2022-10-03), Patch-For-Review, Editing-team (Kanban Board), VisualEditor-ContentEditable, VisualEditor, Browser-Support-Android-Google-Chrome, VisualEditor-MediaWiki-Mobile

Jul 5 2022

dchan added a comment to T312174: Provide a way to run undeployed VE code against live mediawiki instances.

The video below shows the bookmarklet used to run undeployed code against a live mediawiki instance:

Jul 5 2022, 9:44 PM · Patch-For-Review, VisualEditor
dchan created T312174: Provide a way to run undeployed VE code against live mediawiki instances.
Jul 5 2022, 8:53 PM · Patch-For-Review, VisualEditor
dchan moved T261662: undo/redo is slow on large documents from Doing to Code Review on the Editing-team (Kanban Board) board.
Jul 5 2022, 8:07 PM · Editing-team (Kanban Board), Patch-For-Review, User-Ryasmeen, Performance Issue, VisualEditor-ContentEditable, VisualEditor
dchan moved T311513: Fix or remove well-formedness check in ve.dm.TransactionProcessor from Doing to Code Review on the Editing-team (Kanban Board) board.
Jul 5 2022, 8:07 PM · Patch-For-Review, Editing-team (Kanban Board), VisualEditor-DataModel, VisualEditor
dchan added a comment to T261662: undo/redo is slow on large documents.

On a quick test I see a ~5x speedup, testing on 809052 and 909093 above.

Jul 5 2022, 8:04 PM · Editing-team (Kanban Board), Patch-For-Review, User-Ryasmeen, Performance Issue, VisualEditor-ContentEditable, VisualEditor

Jun 28 2022

dchan updated the task description for T308714: Spike: Make proof of concept VE link context using Vue.
Jun 28 2022, 2:08 PM · Editing-team (Kanban Board), Design-Systems-Team, Vue.js, VisualEditor
dchan moved T308714: Spike: Make proof of concept VE link context using Vue from Incoming to Doing on the Editing-team (Kanban Board) board.
Jun 28 2022, 2:07 PM · Editing-team (Kanban Board), Design-Systems-Team, Vue.js, VisualEditor
dchan added a project to T308714: Spike: Make proof of concept VE link context using Vue: Editing-team (Kanban Board).
Jun 28 2022, 2:06 PM · Editing-team (Kanban Board), Design-Systems-Team, Vue.js, VisualEditor
dchan moved T311513: Fix or remove well-formedness check in ve.dm.TransactionProcessor from Incoming to Doing on the Editing-team (Kanban Board) board.
Jun 28 2022, 1:51 PM · Patch-For-Review, Editing-team (Kanban Board), VisualEditor-DataModel, VisualEditor
dchan moved T261662: undo/redo is slow on large documents from Ready for Sign Off to Doing on the Editing-team (Kanban Board) board.
Jun 28 2022, 1:51 PM · Editing-team (Kanban Board), Patch-For-Review, User-Ryasmeen, Performance Issue, VisualEditor-ContentEditable, VisualEditor
dchan claimed T261662: undo/redo is slow on large documents.
Jun 28 2022, 1:50 PM · Editing-team (Kanban Board), Patch-For-Review, User-Ryasmeen, Performance Issue, VisualEditor-ContentEditable, VisualEditor
dchan claimed T311513: Fix or remove well-formedness check in ve.dm.TransactionProcessor.
Jun 28 2022, 1:49 PM · Patch-For-Review, Editing-team (Kanban Board), VisualEditor-DataModel, VisualEditor
dchan triaged T311513: Fix or remove well-formedness check in ve.dm.TransactionProcessor as Low priority.
Jun 28 2022, 1:41 PM · Patch-For-Review, Editing-team (Kanban Board), VisualEditor-DataModel, VisualEditor
dchan created T311513: Fix or remove well-formedness check in ve.dm.TransactionProcessor.
Jun 28 2022, 1:40 PM · Patch-For-Review, Editing-team (Kanban Board), VisualEditor-DataModel, VisualEditor
dchan added a comment to T261662: undo/redo is slow on large documents.

It's done because a model change within a ContentBranchNode gets propagated to the view by replacing the entire contents of the CBN, which resets the native selection to the start of the CBN.

Jun 28 2022, 5:54 AM · Editing-team (Kanban Board), Patch-For-Review, User-Ryasmeen, Performance Issue, VisualEditor-ContentEditable, VisualEditor

Mar 30 2022

dchan added a comment to T304579: Define user experience for when it is ambiguous what page permalink should lead you to.

How about "topic is renamed"?

Mar 30 2022, 2:41 PM · Design, Editing-team (Kanban Board), TPP-Phase1, Goal, DiscussionTools

Feb 10 2022

dchan renamed T230325: Make each ve.ce.ContentBranchNode track its own most recently rendered state from Make each ve.ce.ContentBranchNode track its own most recently rendered state. to Make each ve.ce.ContentBranchNode track its own most recently rendered state.
Feb 10 2022, 3:44 AM · Patch-Needs-Improvement, Editing-team (Tracking), VisualEditor, VisualEditor-ContentEditable
dchan added a comment to T220629: Right click to delete across paragraphs in Firefox results in no model transaction.

Deleted text is supported by resolving T230325 . Deleted DOM nodes need T230323 (which does not fix deleted text).

Feb 10 2022, 3:43 AM · VisualEditor, VisualEditor-ContentEditable
dchan renamed T230325: Make each ve.ce.ContentBranchNode track its own most recently rendered state from Make each ve.ce.ContentBranchNode track its own ve.ce.TextState to Make each ve.ce.ContentBranchNode track its own most recently rendered state..
Feb 10 2022, 3:40 AM · Patch-Needs-Improvement, Editing-team (Tracking), VisualEditor, VisualEditor-ContentEditable
dchan updated the task description for T220629: Right click to delete across paragraphs in Firefox results in no model transaction.
Feb 10 2022, 3:28 AM · VisualEditor, VisualEditor-ContentEditable

Jan 20 2022

dchan added a comment to T111672: Ugly wrapping of link cartouches.

Glitch behaviour for the 754986 option

Jan 20 2022, 8:41 AM · VisualEditor-ContentLanguage, VisualEditor-ContentEditable, VisualEditor
dchan added a comment to T111672: Ugly wrapping of link cartouches.

@matmarex coded the approach of styling the link node with "white-space: no-wrap", then adding an inner span styled as "white-space: normal". See here: https://gerrit.wikimedia.org/r/c/VisualEditor/VisualEditor/+/754986/

Jan 20 2022, 8:36 AM · VisualEditor-ContentLanguage, VisualEditor-ContentEditable, VisualEditor

Dec 22 2021

Waddie96 awarded T274814: In VisualEditor clicking white space to the right of the end of a paragraph does not place cursor correctly a Burninate token.
Dec 22 2021, 4:13 PM · Verified, Editing-team (Kanban Board), VisualEditor

Dec 10 2021

dchan added a comment to T296905: Content pasted just after a link is always placed inside a link.

Confirmed that this happens even with the cursor outside the link cartouche. It happens because the paste is calculated entirely within the DM, and the DM cursor positions do not specify on which side of the annotation boundary they lie.

Dec 10 2021, 2:56 AM · Patch-For-Review, Editing-team (Kanban Board), VisualEditor-CopyPaste, VisualEditor

Nov 9 2021

dchan added a comment to T295166: Determine how the TextInput component should work with IMEs.

Some brief points from our conversation just now. It's great that you're looking at this issue early on, so thank you!

Nov 9 2021, 5:18 PM · Design-Systems-Team, Codex

Oct 19 2021

dchan added a comment to T293661: Clicking from text to a link in iOS Safari doesn't open the link context.

Hmm, can't reproduce the behaviour on iOS 12. Can you give a specific minimal example (exactly what content, where to click etc)?

Oct 19 2021, 10:23 AM · Verified, MW-1.38-notes (1.38.0-wmf.6; 2021-10-26), Editing-team (Kanban Board), VisualEditor
dchan added a comment to T274068: Can't place cursor to the right of a link at the end of paragraph (beyond the cartouche/nail) by clicking..

I think the second patch means you may have to tap again sometimes to get into the link, but that's better than not being able to drop the cursor outside the link at all.

Oct 19 2021, 12:26 AM · Verified, MW-1.38-notes (1.38.0-wmf.6; 2021-10-26), VisualEditor-ContentEditable, Editing-team (Kanban Board), VisualEditor

Jun 6 2021

dchan claimed T284402: Don't show toolbar in LanguageVariantInspector text targets.
Jun 6 2021, 4:20 PM · Skipped QA, MW-1.37-notes (1.37.0-wmf.19; 2021-08-16), Editing-team (Kanban Board), VisualEditor-MediaWiki-Mobile, VisualEditor
dchan moved T284402: Don't show toolbar in LanguageVariantInspector text targets from Incoming to Doing on the Editing-team (Kanban Board) board.
Jun 6 2021, 4:19 PM · Skipped QA, MW-1.37-notes (1.37.0-wmf.19; 2021-08-16), Editing-team (Kanban Board), VisualEditor-MediaWiki-Mobile, VisualEditor
dchan added a project to T284402: Don't show toolbar in LanguageVariantInspector text targets: Editing-team (Kanban Board).
Jun 6 2021, 4:19 PM · Skipped QA, MW-1.37-notes (1.37.0-wmf.19; 2021-08-16), Editing-team (Kanban Board), VisualEditor-MediaWiki-Mobile, VisualEditor
dchan added a comment to T284402: Don't show toolbar in LanguageVariantInspector text targets.

Without the toolbars, the interface is less unwieldy and easier to navigate, especially on mobile:

LanguageVariantInspector2.png (596×402 px, 39 KB)

Jun 6 2021, 4:13 PM · Skipped QA, MW-1.37-notes (1.37.0-wmf.19; 2021-08-16), Editing-team (Kanban Board), VisualEditor-MediaWiki-Mobile, VisualEditor
dchan created T284402: Don't show toolbar in LanguageVariantInspector text targets.
Jun 6 2021, 3:55 PM · Skipped QA, MW-1.37-notes (1.37.0-wmf.19; 2021-08-16), Editing-team (Kanban Board), VisualEditor-MediaWiki-Mobile, VisualEditor

May 23 2021

dchan created T283445: Error when selecting an image on mobile.
May 23 2021, 3:10 AM · Skipped QA, Editing-team (Kanban Board), VisualEditor-MediaWiki-Mobile, VisualEditor

Mar 16 2021

dchan added a comment to T274068: Can't place cursor to the right of a link at the end of paragraph (beyond the cartouche/nail) by clicking..

Hmmm I'm not seeing this as a regression — I get the same behaviour going right back to 2016. Investigating further.

Mar 16 2021, 1:33 PM · Verified, MW-1.38-notes (1.38.0-wmf.6; 2021-10-26), VisualEditor-ContentEditable, Editing-team (Kanban Board), VisualEditor
dchan added a comment to T272207: Unable to place cursor or type after reference at end of line.

This is due to a Firefox issue. A minimal test case for it is:

Mar 16 2021, 1:22 PM · Editing-team, Browser-Support-Firefox, VisualEditor-ContentEditable, VisualEditor-MediaWiki-References, VisualEditor

Mar 2 2021

dchan claimed T276164: Opening special character toolbar moves the cursor to [1,1].
Mar 2 2021, 4:47 PM · Verified, MW-1.36-notes (1.36.0-wmf.34; 2021-03-09), Editing-team (Kanban Board), Regression, VisualEditor

Jan 16 2021

dchan created T272219: ve.dm.Surface#setNullSelection should not clear a native selection that is outside of the document.
Jan 16 2021, 3:01 PM · MW-1.36-notes (1.36.0-wmf.27; 2021-01-19), User-Ryasmeen, VisualEditor-ContentEditable, VisualEditor

Oct 21 2020

dchan added a comment to T195265: As a Chinese reader, I want better control of which character set I see zh wiki content in.

If I've understood the meaning of the diagram above correctly, I don't think the fallback case will ever happen — because LanguageConverter will always return output for whichever zh variant is specified.

Oct 21 2020, 6:03 AM · iOS-app-v6.8-Manta-Ray-On-A-Riding-Mower, Chinese-Sites, Wikipedia-iOS-App-Backlog

Jul 2 2020

dchan added a comment to T247083: Research spike: vue.js and visual editor.

Further detail (from discussing with @DLynch): it's not clear what document data a top-level wrapper could usefully expose as a Vue-style reactive property.

Jul 2 2020, 5:23 PM · Editing-team (Kanban Board), Design-Systems-team-20200324-20220422, Spike, VisualEditor

Apr 24 2020

dchan added a comment to T250702: Document corruption when inserting linebreak while annotating.

Ah, i see ... with TreeModifier, pressing Enter at the end of a paragraph leaves that paragraph unchanged (whereas before TreeModifier, it was getting rebuilt entirely). Then it moves the focus into the new paragraph below. That means we're escaping the paragraph without cleaning up the unicorns, which the current code assumes to be impossible.

Apr 24 2020, 9:52 AM · User-Ryasmeen, Skipped QA, MW-1.35-notes (1.35.0-wmf.30; 2020-04-28), Editing-team (Q3 2019-2020 Kanban Board), Regression, VisualEditor, VisualEditor-ContentEditable

Mar 18 2020

ToBeFree awarded T246481: Prevent page corruption in DiscussionTools caused by broken and incomplete table syntax a Like token.
Mar 18 2020, 12:58 AM · Skipped QA, Editing-team (Kanban Board), MW-1.35-notes (1.35.0-wmf.30; 2020-04-28), OWC2020 (OWC2020 Replying 1.0), DiscussionTools

Mar 10 2020

dchan added a comment to T246481: Prevent page corruption in DiscussionTools caused by broken and incomplete table syntax.

As discussed, I'll base on https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/DiscussionTools/+/578387/ and use the https://en.wikipedia.org/api/rest_v1/page/lint api.

Mar 10 2020, 4:17 PM · Skipped QA, Editing-team (Kanban Board), MW-1.35-notes (1.35.0-wmf.30; 2020-04-28), OWC2020 (OWC2020 Replying 1.0), DiscussionTools

Feb 15 2020

marcella awarded T243860: Clicking on a slug while the selection is inside a table causes an exception a Cookie token.
Feb 15 2020, 7:39 PM · User-Ryasmeen, Verified, Editing-team (Q3 2019-2020 Kanban Board), VisualEditor, MW-1.35-notes (1.35.0-wmf.18; 2020-02-04), VisualEditor-ContentEditable

Jan 28 2020

dchan added a comment to T243860: Clicking on a slug while the selection is inside a table causes an exception.

The table selection update is incorrect, because we're calling tx.translateRange with excludeInsertion=false, but there should always be excludeInsertion=true for a table.

Jan 28 2020, 8:23 PM · User-Ryasmeen, Verified, Editing-team (Q3 2019-2020 Kanban Board), VisualEditor, MW-1.35-notes (1.35.0-wmf.18; 2020-02-04), VisualEditor-ContentEditable
dchan updated the task description for T243860: Clicking on a slug while the selection is inside a table causes an exception.
Jan 28 2020, 8:22 PM · User-Ryasmeen, Verified, Editing-team (Q3 2019-2020 Kanban Board), VisualEditor, MW-1.35-notes (1.35.0-wmf.18; 2020-02-04), VisualEditor-ContentEditable
dchan created T243860: Clicking on a slug while the selection is inside a table causes an exception.
Jan 28 2020, 8:07 PM · User-Ryasmeen, Verified, Editing-team (Q3 2019-2020 Kanban Board), VisualEditor, MW-1.35-notes (1.35.0-wmf.18; 2020-02-04), VisualEditor-ContentEditable

Jan 22 2020

dchan added a comment to T233480: Find a way to detect unhandled jQuery promise rejections in VisualEditor.

The technique in https://gerrit.wikimedia.org/r/539074 does work. And I've used that patchset a few times now to debug silent errors. But it's perhaps too hacky to merge even for debug mode only (it shadows each jQuery promise with a native promise). Maybe it could be merged but needing specific activation.

Jan 22 2020, 7:05 PM · Developer Productivity, Performance-Team, MediaWiki-ResourceLoader, VisualEditor, Editing-team (Tracking)

Jan 7 2020

dchan claimed T185546: EventEmitters must behave appropriately if a handler raises an exception.
Jan 7 2020, 5:34 PM · VisualEditor (Current work), OOjs core, VisualEditor-DataModel
dchan created T242134: Security Review For Talk pages project.
Jan 7 2020, 5:21 PM · secscrum, MW-1.35-notes (1.35.0-wmf.21; 2020-02-25), Security, user-sbassett, Editing-team (Tracking), DiscussionTools, Application Security Reviews

Dec 19 2019

dchan added a comment to T240955: Firefox CI tests keep failing in VE with Firefox 68.

Ooh, thanks!

Dec 19 2019, 5:14 PM · Release-Engineering-Team, Patch-For-Review, Technical-Debt, Editing-team (Tracking), Continuous-Integration-Config, VisualEditor

Dec 3 2019

dchan added a comment to T239209: XSS in Visual Editor via Copy&Paste (CVE-2019-19708).

Apologies @sbassett , I judged the patch wasn't particularly revealing but maybe that wasn't really my call. Given it's already up, should we now proceed as we would with a non-security-related UBN?

Dec 3 2019, 1:00 AM · Security, MW-1.35-notes (1.35.0-wmf.5; 2019-11-05), VisualEditor (Current work), Security-Team, VisualEditor-CopyPaste, Vuln-XSS

Dec 2 2019

dchan added a project to T239209: XSS in Visual Editor via Copy&Paste (CVE-2019-19708): Patch-For-Review.

This patchset should fix ithe security issue: https://gerrit.wikimedia.org/r/553888

Dec 2 2019, 11:08 PM · Security, MW-1.35-notes (1.35.0-wmf.5; 2019-11-05), VisualEditor (Current work), Security-Team, VisualEditor-CopyPaste, Vuln-XSS

Nov 27 2019

dchan claimed T239209: XSS in Visual Editor via Copy&Paste (CVE-2019-19708).
Nov 27 2019, 4:57 PM · Security, MW-1.35-notes (1.35.0-wmf.5; 2019-11-05), VisualEditor (Current work), Security-Team, VisualEditor-CopyPaste, Vuln-XSS

Oct 21 2019

dchan added a comment to T235959: Visual Editor: deleting selected text not working.

Yes that looks like the same pattern – thanks for the additional info!

Oct 21 2019, 10:12 AM · Verified, MW-1.35-notes (1.35.0-wmf.2; 2019-10-15), VisualEditor-DataModel, VisualEditor (Current work)
dchan added a comment to T235959: Visual Editor: deleting selected text not working.

Technical details for triage: this is triggered if a transaction contains a removal starting in the interior of a text node, crosses an inline element, and moves immediately into another text node, and then is followed by a subsequent retain and removal. See the patch set above for a minimal example.

Oct 21 2019, 3:11 AM · Verified, MW-1.35-notes (1.35.0-wmf.2; 2019-10-15), VisualEditor-DataModel, VisualEditor (Current work)

Oct 12 2019

dchan added a comment to T233101: Wikilinking a label with a HTML entities in it freezes the Visual Editor.

I can no longer reproduce this on https://en.wikipedia.org/w/index.php?title=GC_skew&oldid=917245666 – Adding a link annotation to "locations plotted 5′ to 3′ and y-axis" appears to work fine.

Oct 12 2019, 5:11 AM · Verified, VisualEditor (Current work)

Oct 10 2019

dchan added a comment to T234881: TreeModifier: remover does not skip over a deleted node immediately following a text node.

Change 541995 fixes the real-life example above.

Oct 10 2019, 1:53 AM · Editing QA, MW-1.35-notes (1.35.0-wmf.1; 2019-10-08), VisualEditor (Current work), VisualEditor-ContentEditable
dchan added a comment to T234881: TreeModifier: remover does not skip over a deleted node immediately following a text node.

Steps to reproduce real-life example (from T234142):

Oct 10 2019, 1:04 AM · Editing QA, MW-1.35-notes (1.35.0-wmf.1; 2019-10-08), VisualEditor (Current work), VisualEditor-ContentEditable

Oct 8 2019

dchan added a comment to T234142: VE: Selecting/copying/deleting text that includes citation footnotes is broken in various ways.

Example 3 is not fixed by Change Set 541088. It is a different bug, which I've filed separately as T234881 .

Oct 8 2019, 6:57 AM · Patch-For-Review, User-notice, VisualEditor, VisualEditor-ContentEditable
dchan created T234881: TreeModifier: remover does not skip over a deleted node immediately following a text node.
Oct 8 2019, 6:53 AM · Editing QA, MW-1.35-notes (1.35.0-wmf.1; 2019-10-08), VisualEditor (Current work), VisualEditor-ContentEditable

Oct 6 2019

dchan added a comment to T234489: Problems with deleting/cutting/moving references in VisualEditor.

Change 541088 appears to fix every failure case given in the subtasks. (I loaded them all up on the live sites, in-browser patched the code, and cofirmed they no longer fail).

Oct 6 2019, 3:49 PM · User-notice-archive, User-Ryasmeen, Verified, VisualEditor-DataModel, VisualEditor-MediaWiki-References, VisualEditor (Current work)
dchan added a comment to T234489: Problems with deleting/cutting/moving references in VisualEditor.

On investigation, all subtasks are failing for precisely the same reason, so we should probably fold them into this task.

Oct 6 2019, 3:18 PM · User-notice-archive, User-Ryasmeen, Verified, VisualEditor-DataModel, VisualEditor-MediaWiki-References, VisualEditor (Current work)
dchan created T234742: TreeModifier: ensureNotText can return the wrong position.
Oct 6 2019, 7:17 AM · Verified, MW-1.34-notes (1.34.0-wmf.25; 2019-10-01), MW-1.35-notes (1.35.0-wmf.1; 2019-10-08), VisualEditor (Current work), VisualEditor-DataModel
dchan moved T229079: Instrument each step of mobile VE edit flow from Current work to Analysis on the VisualEditor board.
Oct 6 2019, 6:09 AM · VisualEditor (Current work), Skipped QA, MW-1.34-notes (1.34.0-wmf.24; 2019-09-24), Product-Analytics, VisualEditor-MediaWiki-Mobile

Sep 21 2019

dchan created T233480: Find a way to detect unhandled jQuery promise rejections in VisualEditor.
Sep 21 2019, 11:04 AM · Developer Productivity, Performance-Team, MediaWiki-ResourceLoader, VisualEditor, Editing-team (Tracking)

Sep 16 2019

dchan updated the task description for T232944: ve.ui.MWWikitextStringTransferHandler uses bare content.
Sep 16 2019, 2:23 AM · Skipped QA, MW-1.34-notes (1.34.0-wmf.24; 2019-09-24), VisualEditor (Current work), User-Ryasmeen, VisualEditor-DataModel

Sep 15 2019

dchan created T232944: ve.ui.MWWikitextStringTransferHandler uses bare content.
Sep 15 2019, 4:54 AM · Skipped QA, MW-1.34-notes (1.34.0-wmf.24; 2019-09-24), VisualEditor (Current work), User-Ryasmeen, VisualEditor-DataModel
dchan created T232942: TreeModifier#applyTreeOperation doesn't delete text nodes emptied by moveText operations.
Sep 15 2019, 4:01 AM · Skipped QA, MW-1.34-notes (1.34.0-wmf.24; 2019-09-24), VisualEditor (Current work), VisualEditor-DataModel

Aug 22 2019

dchan added a comment to T185546: EventEmitters must behave appropriately if a handler raises an exception.

Ok, I've added the extra emit method, but with the name emitThrow rather than emitSync, since that makes clearer how this method differs from plain emit: see https://gerrit.wikimedia.org/r/#/c/oojs/core/+/529726/8/src/EventEmitter.js .

Aug 22 2019, 2:06 AM · VisualEditor (Current work), OOjs core, VisualEditor-DataModel

Aug 20 2019

dchan created T230814: If RangeState tests fail, they can hang QUnit by triggering a diff of a giant string.
Aug 20 2019, 3:33 PM · MW-1.34-notes (1.34.0-wmf.20; 2019-08-27), Skipped QA, VisualEditor (Current work)

Aug 13 2019

dchan added a comment to T185546: EventEmitters must behave appropriately if a handler raises an exception.

I filed a separate task about using window.onerror (T230441)

Aug 13 2019, 6:31 PM · VisualEditor (Current work), OOjs core, VisualEditor-DataModel
dchan created T230441: Uncaught errors: inform the editor, or log, or both.
Aug 13 2019, 6:28 PM · VisualEditor

Aug 12 2019

dchan moved T227616: Conduct Edit Cards v2 on-wiki test from In progress to Incoming on the VisualEditor (Current work) board.
Aug 12 2019, 10:53 AM · Editing-team (Q3 2019-2020 Kanban Board)
dchan moved T230325: Make each ve.ce.ContentBranchNode track its own most recently rendered state from Incoming to In progress on the VisualEditor (Current work) board.
Aug 12 2019, 10:53 AM · Patch-Needs-Improvement, Editing-team (Tracking), VisualEditor, VisualEditor-ContentEditable
dchan moved T230323: Use MutationObservers to detect structural changes from Incoming to In progress on the VisualEditor (Current work) board.
Aug 12 2019, 10:53 AM · Editing-team (Tracking), Patch-For-Review, VisualEditor, VisualEditor-ContentEditable
dchan moved T230325: Make each ve.ce.ContentBranchNode track its own most recently rendered state from To Triage to Current work on the VisualEditor board.
Aug 12 2019, 10:52 AM · Patch-Needs-Improvement, Editing-team (Tracking), VisualEditor, VisualEditor-ContentEditable
dchan moved T230323: Use MutationObservers to detect structural changes from To Triage to Current work on the VisualEditor board.
Aug 12 2019, 10:52 AM · Editing-team (Tracking), Patch-For-Review, VisualEditor, VisualEditor-ContentEditable
dchan added a subtask for T230325: Make each ve.ce.ContentBranchNode track its own most recently rendered state: T220629: Right click to delete across paragraphs in Firefox results in no model transaction.
Aug 12 2019, 10:51 AM · Patch-Needs-Improvement, Editing-team (Tracking), VisualEditor, VisualEditor-ContentEditable
dchan added a parent task for T220629: Right click to delete across paragraphs in Firefox results in no model transaction: T230325: Make each ve.ce.ContentBranchNode track its own most recently rendered state.
Aug 12 2019, 10:51 AM · VisualEditor, VisualEditor-ContentEditable
dchan created T230325: Make each ve.ce.ContentBranchNode track its own most recently rendered state.
Aug 12 2019, 10:50 AM · Patch-Needs-Improvement, Editing-team (Tracking), VisualEditor, VisualEditor-ContentEditable
dchan added a subtask for T230323: Use MutationObservers to detect structural changes: T220629: Right click to delete across paragraphs in Firefox results in no model transaction.
Aug 12 2019, 10:43 AM · Editing-team (Tracking), Patch-For-Review, VisualEditor, VisualEditor-ContentEditable
dchan added a parent task for T220629: Right click to delete across paragraphs in Firefox results in no model transaction: T230323: Use MutationObservers to detect structural changes.
Aug 12 2019, 10:43 AM · VisualEditor-ContentEditable, VisualEditor