Problem/Motivation
In #2913321: Proposal to experiment with React for building Drupal’s administrative UIs, #2675320: A list of interactions that could benefit from having a smart frontend framework, #2920196: Which capabilities should modules have in a new JS based admin UI, and related issues, we're exploring the use of a JavaScript framework for Drupal core. This initiative has the support of the JavaScript subsystem maintainers, the frontend framework managers, Dries, etc.
Proposed resolution
@drpal and @justafish already seem to be coordinating things, so let's invite them to be the initiative coordinators.
@lauriii and the other JavaScript subsystem maintainers would be technical advisors to the initiative, but they already have separate roles in the governance for this.
Remaining tasks
- I've called it the "JavaScript Framework Initiative" but feel free to propose something better.
- @drpal and @justafish can confirm here whether they in fact want this role. :) https://www.drupal.org/contribute/core/maintainers#initiative
- The product and framework managers probably will want to +1 this as a strategic initiative.
- Dries appoints and signs off on initiatives and their coordinators so it's his decision ultimately.
| Comment | File | Size | Author |
|---|---|---|---|
| #19 | interdiff-2921367-14-19.txt | 434 bytes | ApacheEx |
| #19 | 2921367-19.patch | 688 bytes | ApacheEx |
Comments
Comment #2
xjmComment #3
GrandmaGlassesRopeMan➕1️⃣ for @justafish
Additionally, I'm good with this, and accept the responsibility. ✌️
Comment #4
star-szr+1!
Comment #5
justafish👍 🎉
Comment #6
GrandmaGlassesRopeManIs it possible to generalize this, maybe? Something like Drupal JavaScript Initiatives?
Comment #7
xjmSeems like a good Dries question. Dries, thoughts on what we should call it?
Comment #8
effulgentsia commentedFWIW, my $0.02 is that for initiatives, more specific/focused is better. So I propose renaming to "React initiative" (since that's the chosen library) or "Reactive admin UIs initiative" (if we want to focus on the product benefit rather than the technology).
For reflecting other JS work in Drupal, we already have a "JavaScript" subsystem in MAINTAINERS.txt. But if we want initiatives for certain efforts (e.g., ES6), what about proposing those as separate initiatives?
Comment #9
xjmI'd actually say we shouldn't make it just about React. Other initiatives are very broad with broad goals (Worfklow Initiative, not "Content Moderation Initiative" or "Workspaces Initiative", etc.)
"JavaScript Modernization Initiative" might be another option but I defer to the people organizing it. :)
Comment #10
effulgentsia commented+1 to "JavaScript Modernization Initiative". I'm also happy to defer the final choice of name to @drpal, @justafish, and @Dries.
Comment #11
dawehner@xjm asked me to explain why I dislike the term "React initiative".
a) React is not a self-goal, as in, the value is not in react, its in having a better user experience, better integration with modern JS etc.
b) The hard problems will not be in using react, it will probably be in the integration with PHP, and the general problem space of having modules inside the more full control JS world. Other problems will be defining a component library for example. Nothing is intrinsic a react problem.
Comment #12
justafish+1 for JavaScript Modernisation Initiative
Comment #13
GrandmaGlassesRopeMan@justafish
sorz? Either way, ➕1️⃣ from me.Comment #14
effulgentsia commentedInitiative name change per #12, but with a "z".
Also, signing off on this as framework manager.
Comment #16
webchick@drpal asked me to join the team as an initiative coordinator, to handle communication-style tasks in order to free up he and @justafish and others to rock out on JS, and just wanted to leave a note here that I'm both honoured to be asked and happy to play this role. :)
Comment #17
dries commentedThis was blocked on having an initiative coordinator (based on conversations with all core committers, drpl and justafish). Big +1 for the drpl + justafish + webchick combination. I'm excited to see this move forward! Feel free to commit and updated version of this patch.
Comment #18
xjmThanks @Dries!
I think we should update the patch to add @webchick?
Comment #19
ApacheEx commentedHere it is.
I've added @webchick
Comment #20
webchickThank you, @ApacheEx! :)
From a product management POV, I guess one thing we want to ensure isn't lost is that the end goal of this initiative isn't to modernize Drupal's JavaScript, nor is it to ship Drupal with React. It's rather to do those things in service of utilizing the kinds of interactive interactions provided by a JS library like React for the purpose of making Drupal administration easier to use.
However, as we were discussing in UX meeting today, we don't yet have a real clear idea of what that "end game" looks like. #2902399: Redesign the Admin UI is the closest place we have for a brainstorming place on this, so we can continue to discuss over there in the coming weeks.
This should not hold up the initiative from kicking off, though, since there's quite a lot of "foundational" things on the plate listed at #2926656: [plan] Modernize Drupal's JavaScript. Just a general plea to keep the end goal in mind throughout. :)
Not marking RTBC yet, since framework manager review tag is still on it, but removing ours.
Comment #21
effulgentsia commented@Cottser +1'd this in #4, so I think we can remove the "Needs frontend framework manager review" tag now.
Comment #22
webchickWell all righty then!
Comment #23
nod_haha did not see that one go through.
Comment #24
xjmHooray!
I reordered it to be alphabetical (by last name) to match the rest of the file:
Saving issue credit.
Comment #25
xjmCommitted and pushed to 8.6.x. Thanks!
We'll want to backport this to 8.5.x. as well, so leaving RTBC for that after the commit freeze.
Comment #27
xjmI also added @drpal and @justafish to g.d.o/core so that they can post announcements about the initiative.
Comment #28
xjmI also added @justafish to https://groups.drupal.org/core so she can post announcements etc. about the initiative as needed. (drpal was already a member, and she and drpal both already had "maintain issues" permission for core.)
Comment #30
xjmSilly testbot, of course it doesn't apply to 8.6.x anymore. :)
Comment #32
xjmBackported to 8.5.x as well. Thanks!