Propose the Preview feature as an experimental Core feature

Created on 28 February 2023, over 1 year ago
Updated 31 May 2024, 28 days ago

Problem/Motivation

When we got together at DrupalCamp Florida we thought, "Wouldn't this be cool to get into core?" The more we advance this work the more I think that is possible.

We should at least propose it for core inclusion and see what feedback we get. We could do it as early as the end of Phase 1.

Experimental features could have a handful of minor revisions to complete. And if all we get is Phase 1 and Phase 2 done, it would still be better than today.

Proposed resolution

Here's the process: https://www.drupal.org/about/core/policies/core-change-policies/experime...

Remaining tasks

Decide if we want to propose this as an inclusion into core.
Talk about when we would want to do that.
Maybe get a better idea what that process will be like.

🌱 Plan
Status

Postponed

Version

2.1

Component

Miscellaneous

Created by

🇺🇸United States cosmicdreams Minneapolis/St. Paul

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @cosmicdreams
  • 🇺🇸United States cosmicdreams Minneapolis/St. Paul
  • 🇪🇸Spain ckrina Barcelona

    Previewing the content was one of the most important features required during the 📌 Directional Feedback for the Next-Gen Admin UI Active , so I truly think this core material. That feedback can be a good resource to back the proposal.

  • 🇺🇸United States cosmicdreams Minneapolis/St. Paul

    Ha! I see what you mean in the "A Way Forward?" section. We literally had that conversation while white-boarding this. I can also see that once we're able to get this locked in the components of what we have here could be tweaked to deliver that.

  • 🇺🇸United States cosmicdreams Minneapolis/St. Paul

    @ckrina what is the process of getting this into core? Do you know?

    I suspect one of the steps would be creating an issue in https://www.drupal.org/project/ideas

  • 🇪🇸Spain ckrina Barcelona

    Yes, first step is creating an ideas issue. But even though it recommends to first summit it and when getting the approval start coding, I think finishing up some of the issues to get a proof of concept would be a best approach here. Because I assume everybody will support the idea of previewing content, but how it is implemented will be what needs to be discussed IMHO.
    I'd recommend to get in some of the existing issues to make testing/evaluation easier before submitting the idea:

  • 🇺🇸United States cosmicdreams Minneapolis/St. Paul

    WIP:

    Consider adding same_page_preview to Core

    Recently, at DrupalCamp Florida, a few of got together to work on a passion project, a better preview experience in core. Our idea was to provide a side-by-side edit + preview experience. The work we’ve done for this is available for you to review at, https://www.drupal.org/project/same_page_preview

    Here’s what it looks like to use it.
    https://www.drupal.org/files/issues/2023-03-01/Screen%20Recording%202023...

    After making some progress it was brought to our attention that this feature was a part of the recommended feature additions from the Directional Feedback for the Next-Gen Admin UI. Specifically that a side-by-side edit and preview experience can “handle the general ‘what will this look like once I hit save?’ problem.”

    We humbly ask you to consider adding this module to Core. We believe it will be a large improvement to the content editing experience and something we can improve in phases.

    Phase 1: Click the preview button, see the current state of the edit page’s fields.
    Phase 2: Update the preview pane wherever a user stops typing in an edit field.
    Phase 3: Use Reactive techniques to update the preview as an editor is making changes.

    Timing

    At this point in time we’re probably too late to be considered for and have everything ready for 10.1-alpha’s cutoff. It would be great to start conversations about what needs to be improved / readied for core inclusion.

  • Status changed to Postponed 28 days ago
  • 🇺🇸United States brianperry

    We did propose this in the ideas queue: https://www.drupal.org/project/ideas/issues/3367356 Consider adding Same Page Preview to core Active and there has also been discussion about inclusion in Starshot. Given all that, I'm not sure core inclusion is the real focus at the moment. More about trying to improve this module as much as we can, and following the Starshot threads.

    Marking as postponed as a result.

Production build 0.69.0 2024