but even for |
[00:31:35] it's just a matter of preference?
[00:32:14] Krinkle: Do you have a list of unfinished jsduck files?
[00:32:15] I guess this affects whether
| gets normalized to |
or
| ?
[00:32:52] I think so
[00:33:34] Right
[00:33:46] Well, I don't care too much about that
[00:34:08] edsanders: You've still got "searching" misspelled in the doc comment
[00:34:13] ("serching")
[00:36:02] (03PS6) 10Esanders: Fix ce#getOffset when cursor is to the left of an annotation. [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/114000
[00:36:18] It seems like mostly they're done, except for ones that are like "run once and be inaccessible to other scripts"
[00:36:28] Which isn't super useful to document anyway
[00:36:56] RoanKattouw, I was thinking the problem with writing test cases here is that they take ages
[00:37:22] we could do a smoke test by asserting that the offsets are always-increasing
[00:37:41] then throw in a massive test document
[00:38:08] (03CR) 10Catrope: [C: 032] "Meh, this function is horrible, and we should rewrite it (bug 61567) but this seems to work well enough." [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/114000 (owner: 10Esanders)
[00:38:17] all the test failures so far have resulted in the cursor jumping backwards
[00:38:24] Sounds good
[00:39:08] (03Merged) 10jenkins-bot: Fix ce#getOffset when cursor is to the left of an annotation. [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/114000 (owner: 10Esanders)
[00:40:52] (03CR) 10Catrope: [C: 04-1] "Clever way of tagging these edits :) . I think you picked the wrong target though, see inline comments." (033 comments) [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/113665 (owner: 10Alex Monk)
[00:41:36] (03CR) 10Catrope: Track edits where user switched into wikitext editor from VE (031 comment) [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/113665 (owner: 10Alex Monk)
[00:42:05] (03CR) 10Catrope: [C: 032] Show placeholder text in group input box on reference list dialog [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/113684 (owner: 10Alex Monk)
[00:43:58] (03Merged) 10jenkins-bot: Show placeholder text in group input box on reference list dialog [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/113684 (owner: 10Alex Monk)
[00:50:05] (03PS5) 10Krinkle: [WIP] Convert styles to LESS and implement grunt task [oojs/ui] - 10https://gerrit.wikimedia.org/r/114093 (owner: 10Trevor Parscal)
[00:50:41] (03CR) 10Krinkle: "* Moved module resource expansion to a utility method shared between recess config and js-concat build task." [oojs/ui] - 10https://gerrit.wikimedia.org/r/114093 (owner: 10Trevor Parscal)
[00:51:16] (03CR) 10Krinkle: "OK. Grunt build stuff is done and working. Not ideal but might be pretty enough. Review :)" [oojs/ui] - 10https://gerrit.wikimedia.org/r/114093 (owner: 10Trevor Parscal)
[00:53:44] RoanKattouw, James_F|Away What are we doing for Zurich?
[00:54:06] No idea
[00:56:32] edsanders: RoanKattouw: For presentation?
[00:56:55] I mean the hotel/hostel survey
[00:57:19] I filled in mine a few minutes ago.
[00:58:32] Arriving 8th and departing 12th (the first one about registration gives a choice for dates, the day itself or day before/after), the second for wmf doesn't have that choice. And since it starts early on friday and ends at 5-6pm on the third day, checking in the night beofre until the morning after makes sense.
[01:00:42] Yeah I did 8th-12th too
[01:00:58] More of a no-brainer for me given how far away I am :)
[01:02:07] Accommodation itself, I went with hotel myself. And for motivation/expertise I re-used our hong kong/amsterdam snippet mostly with changes and extra little about platform stuff.
[01:03:23] I actually got that snippet via edsanders from the VE (WMF) hangout backscroll.
[01:06:24] (03CR) 10Catrope: [C: 04-1] Mark hidden categories as different in the meta-data dialog (0315 comments) [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/113464 (owner: 10Alex Monk)
[01:25:18] (03CR) 10Jforrester: "Later filed as bug 61571." [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/113477 (owner: 10Catrope)
[01:34:58] (03PS1) 10Catrope: Deal with ./ prefixes etc. in MWRedirectMetaItem [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/114381
[01:35:01] (03PS1) 10Jforrester: Add placeholder to 'group' field in reference dialog too [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/114382
[01:36:03] (03CR) 10Jforrester: [C: 032] Deal with ./ prefixes etc. in MWRedirectMetaItem [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/114381 (owner: 10Catrope)
[01:37:10] (03CR) 10Catrope: "Tech debt bug https://bugzilla.wikimedia.org/show_bug.cgi?id=61572" [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/114381 (owner: 10Catrope)
[01:37:32] (03CR) 10Catrope: [C: 032] Add placeholder to 'group' field in reference dialog too [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/114382 (owner: 10Jforrester)
[01:38:25] (03Merged) 10jenkins-bot: Deal with ./ prefixes etc. in MWRedirectMetaItem [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/114381 (owner: 10Catrope)
[01:39:34] (03Merged) 10jenkins-bot: Add placeholder to 'group' field in reference dialog too [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/114382 (owner: 10Jforrester)
[01:47:43] (03CR) 10Catrope: [C: 032] Let users set __NOINDEX__ & __INDEX__ status [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/95724 (owner: 10Jforrester)
[01:48:10] (03PS20) 10Catrope: Let users set __NOINDEX__ & __INDEX__ status [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/95724 (owner: 10Jforrester)
[01:48:22] (03CR) 10Catrope: [C: 032] Let users set __NOINDEX__ & __INDEX__ status [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/95724 (owner: 10Jforrester)
[01:50:31] (03Merged) 10jenkins-bot: Let users set __NOINDEX__ & __INDEX__ status [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/95724 (owner: 10Jforrester)
[01:50:39] (03PS16) 10Catrope: Let users set __NEWEDITSECTION__ & __NONEWEDITSECTION__ status [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/95725 (owner: 10Jforrester)
[02:25:08] (03CR) 10Jforrester: [WIP] Convert styles to LESS and implement grunt task (032 comments) [oojs/ui] - 10https://gerrit.wikimedia.org/r/114093 (owner: 10Trevor Parscal)
[02:25:48] Krinkle: Is https://gerrit.wikimedia.org/r/#/c/109006/11 only a WIP because of "(FIXME: Actually create demo/layouts.html)"?
[02:26:07] James_F: https://gerrit.wikimedia.org/r/#/c/112132/3 is ready for merge
[02:26:17] The demos WIP is far from ready.
[02:26:33] Krinkle: Yeah, Trevor will look at it tomorrow morning I think.
[02:26:53] Krinkle: https://gerrit.wikimedia.org/r/#/c/114093/ depends on the demos WIP, though. :-(
[02:27:10] Krinkle: (I assume it's a fake dependency?)
[02:27:20] the demos WIP right now (since I split the dialog refactor out of it) is only a small wrapper for what will be a demo. That took the most work, but it's not useful to merge with nothing in it.
[02:27:34] James_F: I dont know why Trevor made it dependent on that, shouldn't be.
[02:27:53] We can untangle that in the next patch set
[02:28:23] Krinkle: Sure.
[02:28:29] Krinkle: Understood.
[02:28:53] Krinkle: I can rebase it if needed. Can you confirm if my query on "which bit of this is WIP?" is right?
[02:29:58] (03CR) 10Jforrester: [C: 031] "LGTM." [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/95725 (owner: 10Jforrester)
[02:31:50] (03PS1) 10Jforrester: Update VE core submodule to master (767f6b2) [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/114393
[02:33:02] (03CR) 10jenkins-bot: [V: 04-1] Update VE core submodule to master (767f6b2) [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/114393 (owner: 10Jforrester)
[02:33:30] (03CR) 10Krinkle: [WIP] Convert styles to LESS and implement grunt task (032 comments) [oojs/ui] - 10https://gerrit.wikimedia.org/r/114093 (owner: 10Trevor Parscal)
[02:35:49] (03CR) 10Krinkle: "fixme: comment syntax" (031 comment) [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/109483 (owner: 10Esanders)
[02:36:30] Krinkle: Want me to do that?
[02:36:44] already on it
[02:36:50] OK. :-)
[02:37:01] this is slightly ugly though, as css has no nice way of doing multu-line inline comments
[02:38:24] (03PS1) 10Krinkle: Dialog: Fix inline comment to use /* instead of /**. [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/114394
[02:38:40] (03CR) 10Jforrester: [C: 032] Dialog: Fix inline comment to use /* instead of /**. [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/114394 (owner: 10Krinkle)
[02:39:03] (03CR) 10Krinkle: "Fixed in If40dbbaa02a30cbf." [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/109483 (owner: 10Esanders)
[02:39:44] (03Merged) 10jenkins-bot: Dialog: Fix inline comment to use /* instead of /**. [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/114394 (owner: 10Krinkle)
[02:39:53] (03CR) 10Krinkle: "(See build failure in patch set 1 of I78a3d992660040281)" [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/109483 (owner: 10Esanders)
[02:40:07] James_F: Wanna update the update?
[02:40:19] Krinkle: Sure, one moment, fixing other things.
[02:43:25] (03CR) 10jenkins-bot: [V: 04-1] Simplify new INDEX/NOINDEX language, order and panel order [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/114395 (owner: 10Jforrester)
[02:43:40] (03PS2) 10Jforrester: Update VE core submodule to master (b6b80c2) [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/114393
[02:44:02] Krinkle: +2 https://gerrit.wikimedia.org/r/#/c/114393/ for me?
[02:44:10] (03PS2) 10Jforrester: Simplify new INDEX/NOINDEX language, order and panel order [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/114395
[02:44:16] Krinkle: And https://gerrit.wikimedia.org/r/#/c/114395/ ? :-)
[02:46:30] (03CR) 10Krinkle: [C: 032] Update VE core submodule to master (b6b80c2) [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/114393 (owner: 10Jforrester)
[02:47:33] (03CR) 10Catrope: [C: 032] Simplify new INDEX/NOINDEX language, order and panel order [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/114395 (owner: 10Jforrester)
[02:47:44] (03Merged) 10jenkins-bot: Update VE core submodule to master (b6b80c2) [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/114393 (owner: 10Jforrester)
[02:48:44] RoanKattouw_away: James_F|Away: Hm.. the { ? ] and { = } buttons are weird
[02:48:52] (03Merged) 10jenkins-bot: Simplify new INDEX/NOINDEX language, order and panel order [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/114395 (owner: 10Jforrester)
[02:48:56] one ends in a straight edge as for in a group with at least one other button
[02:49:04] and then the hamburger menu is its own rounded group
[02:49:08] with margin in between
[02:52:24] https://bugzilla.wikimedia.org/show_bug.cgi?id=61575 http://bug-attachment.wikimedia.org/attachment.cgi?id=14633
[02:57:55] RoanKattouw_away: Hm.. I was reviewing that page options change. That thing seems fatally broken https://bugzilla.wikimedia.org/show_bug.cgi?id=61576 - it worked for you (with or without that change, merging a change to something broken seems odd as it can't be verified)
[02:58:04] ?
[03:04:51] Krinkle: Looking
[03:05:06] Ahm, wat?
[03:05:10] How is OO.ui.FieldLayout undefined?
[03:05:12] Did you update core?
[03:05:47] Trying to reproduce now
[03:06:02] I did
[03:06:03] Ooooh I see
[03:06:13] That's brand new (2 days ago) oojs-ui wasn't updated yet in ve
[03:06:14] FieldLayout isn't in core, it seems
[03:06:23] Whether it's updated in VE doesn't matter
[03:06:25] someone started using it already, somehow?
[03:06:26] Whether it's updated in core matters
[03:06:33] define core
[03:06:36] MW core
[03:06:37] oh, right
[03:06:38] Sorry
[03:06:58] OK yeah so the TOC option stuff uses it, that's annoying
[03:06:59] OOjs UI doesn't belong in core imho
[03:07:18] I do have to admit that with how much it's still changing, it's annoying to have it in core
[03:07:24] it changes way too often still. We can't expect anyone to use it like this. We rename a class or refactor things once a week.
[03:07:24] But other people want to use it too
[03:07:49] Well, maybe we shouldn't break b/c so much any more
[03:08:14] It's not hugely difficult to do multi-stage changes that end up removing things while keeping b/c in every individual step
[03:08:29] Indeed
[03:08:50] having tests / demos would make that a lot easier
[03:09:16] Well, there's lots of FieldLayout stuff everywhere in ve-mw right now
[03:09:21] if not, enable it. I mean, there is no way to know whether something is broken realistically. Too many calls from one class to another.
[03:09:27] Right
[03:09:37] So I suppose we'll just have to update OOUI in core then
[03:10:18] Hmm, wait
[03:10:29] !g
[03:10:33] !g 2b28b46a9ca3db60b70240cb7817e8fc8e4426c9
[03:10:42] Come on bot
[03:10:44] !gerrit 2b28b46a9ca3db60b70240cb7817e8fc8e4426c9
[03:10:46] !change 2b28b46a9ca3db60b70240cb7817e8fc8e4426c9
[03:10:55] https://gerrit.wikimedia.org/r/#/c/113508/
[03:11:04] We have FieldLayout in core apparently
[03:11:08] Since last week
[03:12:11] Krinkle: OK so I officially cannot reproduce this
[03:12:20] Updated MW core works fine
[03:12:21] Yeah, I just updated mw-core again and it works now
[03:12:49] was using latest master as detached origin/master, and switched to master before I tested this
[03:12:58] which odly enough moved me away from latest master, not to it :)
[03:20:22] (03PS17) 10Catrope: Let users set __NEWEDITSECTION__ & __NONEWEDITSECTION__ status [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/95725 (owner: 10Jforrester)
[03:21:58] (03PS18) 10Catrope: Let users set __NEWEDITSECTION__ & __NONEWEDITSECTION__ status [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/95725 (owner: 10Jforrester)
[03:22:19] (03CR) 10Catrope: [C: 032] Let users set __NEWEDITSECTION__ & __NONEWEDITSECTION__ status [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/95725 (owner: 10Jforrester)
[03:23:34] (03Merged) 10jenkins-bot: Let users set __NEWEDITSECTION__ & __NONEWEDITSECTION__ status [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/95725 (owner: 10Jforrester)
[03:33:12] (03PS1) 10Catrope: Convert the Advanced Settings pane to FieldLayout [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/114405
[03:33:25] Krinkle: ---^^ makes Advanced Settings look less horrible both visually and in terms of code
[03:37:06] Would be nice to get that in before the cut
[03:37:48] (03PS6) 10Esanders: Allow editing of attributes of MW extensions [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/99655
[03:42:43] RoanKattouw: Hm.. where did "Show a tab on this page to add a new section" come from?
[03:42:48] Oh, it has the dependency
[03:42:54] or rather, merged
[03:43:32] holy fucking mess. It's all inline before that
[03:43:54] (03PS1) 10Catrope: Remove .static.title from ve.ui.Inspector [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/114406
[03:43:59] http://i.imgur.com/dllooe5.png
[03:44:36] That can't just be a layout problem. That second one shouldn've been added like that in the first place. Oh well in-master fluctuation no-one will see (layout should've gone in first..)
[03:45:13] (03PS1) 10Catrope: Give MWAlienExtensionInspector its title back [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/114407
[03:45:26] Krinkle: Yeah, sorry about that
[03:45:40] We could put in some
s to remedy that, or add CSS to make the labels display:block;
[03:45:42] Or just convert it to FieldLayout :)
[03:45:53] (03CR) 10Catrope: [C: 032] Allow editing of attributes of MW extensions [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/99655 (owner: 10Esanders)
[03:46:13] Also, those last two commits I pushed are trivial, and https://gerrit.wikimedia.org/r/114407 in particular would be nice to merge before tomorrow
[03:46:22] isn't a nice title
[03:48:31] (03Merged) 10jenkins-bot: Allow editing of attributes of MW extensions [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/99655 (owner: 10Esanders)
[03:50:02] (03CR) 10Krinkle: [C: 032] Convert the Advanced Settings pane to FieldLayout [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/114405 (owner: 10Catrope)
[03:50:06] (03PS2) 10Krinkle: ve.ui.MWAdvancedSettingsPage: Convert page to use FieldLayout [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/114405 (owner: 10Catrope)
[03:50:10] (03CR) 10Krinkle: [C: 032] ve.ui.MWAdvancedSettingsPage: Convert page to use FieldLayout [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/114405 (owner: 10Catrope)
[03:51:14] I find it somewhat arbitrary that each label/control group has to be its own FieldLayout. I'm assuming that is required, and just another reason for why we need visual rendering examples of what each layout is and how it can be used.
[03:51:33] I've lost track of all base oo ui dialog and layout classes, the names mean nothing to me anymore.
[03:51:38] I coulnd't use a single one of them.
[03:51:57] not one
[03:52:04] There's a FieldsetLayout that groups the FieldLayouts if that's what you're concerned with
[03:52:29] A FieldLayout is centered around a field, which is a widget, usually an InputWidget
[03:52:42] Does that make sense?
[03:52:46] The names and descriptions do a minimal job of communicating what it can do function wise, but that's it. I wouldn't know what methods to call, and how flexible it is, or what it'll look like.
[03:52:47] (03Merged) 10jenkins-bot: ve.ui.MWAdvancedSettingsPage: Convert page to use FieldLayout [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/114405 (owner: 10Catrope)
[03:52:51] Obviously we need much, much better docs for all the different OOUI classes
[03:52:55] I mean for all layouts in general.
[03:53:07] Explaining what they are and how they are different from their sibling classes
[03:53:32] Re demos
[03:53:37] The demo already uses FieldLayout extensively :)
[03:53:45] The demo itself is laid out using FieldLayouts
[03:53:55] Although to be fair, it should show off the different label alignments you cna use
[03:54:08] that's what my WIP is for
[03:54:12] Oh nice
[03:54:15] demo/layouts and demo/dialogs
[03:55:02] but before I could do that, I had to refactor dialogs with Trevor because I deemed them unusable from an API point of view when used outside context of VE where instantiation complexity doesn't matter because it is abstracted behind 5 layers there anyway.
[03:55:11] Right
[03:55:33] Ahm https://gerrit.wikimedia.org/r/#/c/109006/ doesn't have layout demos?
[03:55:37] Which is this one: https://gerrit.wikimedia.org/r/#/c/112132/
[03:55:49] Yeah just looking at that now
[03:56:13] https://gerrit.wikimedia.org/r/#/c/109006/ currently is a WIP that lays the ground to actually set up layouts and dialogs from an object literal descriptor (like in buttons demos)
[03:56:25] once that is ready, it's just a matter of populating it with a bunch
[03:57:07] I want to do demos/layouts first, but we currently don't use them outside dialogs I think, and there's some issues with that
[03:57:53] Layouts don't require dialogs to work correctly, do they?
[03:57:59] Although it's true we only use them in dialogs right now
[03:58:22] (03PS6) 10Krinkle: [WIP] Convert styles to LESS and implement grunt task [oojs/ui] - 10https://gerrit.wikimedia.org/r/114093 (owner: 10Trevor Parscal)
[03:58:54] (03CR) 10Krinkle: "Plucked I171874d50 (Add dialogs demo) out of the dependency stack." [oojs/ui] - 10https://gerrit.wikimedia.org/r/114093 (owner: 10Trevor Parscal)
[04:04:15] (03CR) 10Catrope: [C: 04-1] "Looks good overall, minor comments inline" (032 comments) [oojs/ui] - 10https://gerrit.wikimedia.org/r/112132 (owner: 10Krinkle)
[04:17:04] (03PS4) 10Krinkle: Refactor dialog and window sets [oojs/ui] - 10https://gerrit.wikimedia.org/r/112132
[04:17:25] (03CR) 10Krinkle: "Addressed in next patch set." (032 comments) [oojs/ui] - 10https://gerrit.wikimedia.org/r/112132 (owner: 10Krinkle)
[04:43:09] Krinkle|detached: Could you merge https://gerrit.wikimedia.org/r/114407 real quick?
[04:54:15] RoanKattouw: The default message doesn't exist?
[04:54:17]