Create a "mini-browser" UI

Created on 29 May 2024, 7 months ago

Problem/Motivation

Starshot's UI/mockups show a way to apply recipes that are in the local codebase. We need to provide that UI.

Proposed resolution

  1. Create a source plugin where the source is "locally-available recipes"
  2. Create a mini browser that can be embedded into the installer (that is tied to a specific source plugin?)
โœจ Feature request
Status

Active

Version

1.0

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States chrisfromredfin Portland, Maine

Live updates comments and jobs are added and updated live.
  • Starshot blocker

    A potential blocker for Drupal Starshot. More information: http://www.drupal.org/project/starshot

Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @chrisfromredfin
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States chrisfromredfin Portland, Maine
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States chrisfromredfin Portland, Maine

    Yup! The first one is for the "site template" version and the second is for the "feature-based" one - and we're prioritizing the "feature-based" one first.

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia Jeya sundhar Coimbatore

    Hi @Ravi Kant,
    Thanks for considering this project. We are going to maintain the theme, so currently, we don't need new maintainers for this theme.

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia yash.rode pune

    yash.rode โ†’ made their first commit to this issueโ€™s fork.

  • Merge request !558Resolve #3450629 "Create a mini browser" โ†’ (Open) created by yash.rode
  • Pipeline finished with Failed
    5 months ago
    Total: 420s
    #244106
  • Merge request !559Resolve #3450629 "Mini browser" โ†’ (Open) created by yash.rode
  • Pipeline finished with Failed
    5 months ago
    Total: 492s
    #244506
  • Assigned to yash.rode
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia yash.rode pune
  • Pipeline finished with Failed
    5 months ago
    Total: 379s
    #245484
  • Pipeline finished with Failed
    4 months ago
    Total: 710s
    #259062
  • Pipeline finished with Failed
    4 months ago
    Total: 277s
    #262343
  • Pipeline finished with Failed
    4 months ago
    Total: 445s
    #262401
  • Pipeline finished with Failed
    4 months ago
    Total: 420s
    #264897
  • Pipeline finished with Failed
    4 months ago
    Total: 405s
    #265945
  • Pipeline finished with Failed
    4 months ago
    Total: 214s
    #266693
  • Pipeline finished with Failed
    4 months ago
    Total: 330s
    #266695
  • Pipeline finished with Failed
    4 months ago
    Total: 405s
    #266706
  • Pipeline finished with Failed
    4 months ago
    Total: 2660s
    #266718
  • Pipeline finished with Failed
    4 months ago
    Total: 473s
    #266760
  • Pipeline finished with Failed
    4 months ago
    Total: 446s
    #266862
  • Pipeline finished with Failed
    4 months ago
    Total: 405s
    #266923
  • Pipeline finished with Failed
    4 months ago
    Total: 660s
    #266935
  • Pipeline finished with Failed
    4 months ago
    Total: 413s
    #266968
  • Pipeline finished with Failed
    4 months ago
    Total: 441s
    #267009
  • Pipeline finished with Failed
    4 months ago
    Total: 547s
    #267197
  • Pipeline finished with Failed
    4 months ago
    Total: 443s
    #268225
  • Pipeline finished with Failed
    4 months ago
    Total: 709s
    #269053
  • Pipeline finished with Success
    4 months ago
    Total: 366s
    #269078
  • Status changed to Needs review 4 months ago
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia yash.rode pune
  • Pipeline finished with Failed
    4 months ago
    Total: 550s
    #271403
  • Pipeline finished with Failed
    4 months ago
    Total: 322s
    #271417
  • Pipeline finished with Failed
    4 months ago
    Total: 291s
    #271448
  • Pipeline finished with Failed
    4 months ago
    Total: 338s
    #271453
  • Pipeline finished with Failed
    4 months ago
    Total: 339s
    #271463
  • Pipeline finished with Failed
    4 months ago
    Total: 650s
    #271473
  • Pipeline finished with Failed
    4 months ago
    Total: 452s
    #272514
  • Pipeline finished with Failed
    4 months ago
    #272540
  • Pipeline finished with Failed
    4 months ago
    Total: 473s
    #272620
  • Pipeline finished with Failed
    4 months ago
    Total: 485s
    #273236
  • First commit to issue fork.
  • Pipeline finished with Canceled
    4 months ago
    Total: 259s
    #278330
  • Pipeline finished with Failed
    4 months ago
    Total: 371s
    #278333
  • Pipeline finished with Failed
    4 months ago
    Total: 358s
    #278342
  • Pipeline finished with Canceled
    4 months ago
    Total: 75s
    #278362
  • Pipeline finished with Failed
    4 months ago
    Total: 679s
    #278364
  • Pipeline finished with Success
    4 months ago
    Total: 342s
    #278372
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States phenaproxima Massachusetts

    Gave this a quick manual test. It worked, but there were a few things I noticed:

    • The styling is virtually nonexistent (see screenshot). It can probably be deferred to a follow-up, but it's ugly the way it currently is.
    • There's no text or anything that indicates what this little list of projects is, or what to do with it. Ideally, we'd add a configuration option to the block which allowed us to set some preamble text.
    • If you click to a project's detail page, "back to browse" takes you back to the main project browser, rather than where you were. That's jarring.
    • There's no indication that a project browser is loading in the block's spot. This is something we'd ideally fix for all project browsers; it'd be good to have some sort of throbber there while it loads.

    I think these are all follow-up material, though.

  • Issue was unassigned.
  • Status changed to Postponed: needs info 4 months ago
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States phenaproxima Massachusetts

    Let me preface this comment by saying that nothing I am about to say is meant to impugn any work that was done by Yash, myself, or anyone else who worked on this. My problems here are with the management, not the technical side.

    Having said that...what are we doing here?

    When I manually tested this issue, I saw a small project browser displayed in a block, exactly as promised. So it does what it sets out to do...but how is it useful? What problem is this mini-browser solving?

    I am hard-pressed to figure out what a non-technical user is supposed to make of this thing. They will see several icons, and some words that are most likely meaningless to them. One of those things will be freaking Chaos tools, which should never be seen by a non-technical person under any circumstances.

    I think this was implemented without a clear idea of who it was meant for, or how it would be used, or what the benefit to end users would be. We need to take this back to the drawing board and figure out what we're trying to achieve. This is a case, I think, of incomplete wireframes (Drupal CMS's, to be precise) dictating the implementation, rather than a fully thought-out user experience being brought to life.

    Postponing until we have more info from the UX team.

  • ๐Ÿ‡ฆ๐Ÿ‡บAustralia pameeela

    Agree this should be postponed for now. We may have a need for something along these lines to expose local recipes post-install, but we are best off waiting for wireframes before we continue.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States chrisfromredfin Portland, Maine

    The main reason for this issue's existence was to support the Starshot wireframes Dries presented, which showed a way to apply recipes during the installer. Since that was abandoned in favor of a post-install recipe-chooser, and that was largely handled in โœจ Expose each source plugin at its own dedicated route Active , can this issue be closed? I don't think there's a need for this specifically; or, at best, we re-scope this issue for whatever the next logical choice is for the post-install thing. However, I think that might be handled in Recipes initiative and not here in PB.

  • ๐Ÿ‡ฆ๐Ÿ‡บAustralia pameeela

    Setting this as a target per our discussion earlier. Updated IS with the dashboard design.

  • ๐Ÿ‡ช๐Ÿ‡ธSpain penyaskito Seville ๐Ÿ’ƒ, Spain ๐Ÿ‡ช๐Ÿ‡ธ, UTC+2 ๐Ÿ‡ช๐Ÿ‡บ

    penyaskito โ†’ changed the visibility of the branch 3450629-create-a-mini-browser to hidden.

  • ๐Ÿ‡ช๐Ÿ‡ธSpain penyaskito Seville ๐Ÿ’ƒ, Spain ๐Ÿ‡ช๐Ÿ‡ธ, UTC+2 ๐Ÿ‡ช๐Ÿ‡บ

    I tried to rebase the latest PR but had no luck, too outdated and I wasn't following that closely.
    My svelte foo is none. But with the available docs for handling svelte in project_browser I got really close.

    I think we still need a block providing a curated set of 3 local recipes to install.
    That block is designed to be on the Welcome dashboard.

    With that block:

    • Should the install happen on the dashboard itself? Not sure.
    • Should it follow the "add to cart" pattern? My guess is not, as you only have 3 recipes to install.

    I think I might be able to give this is a try if someone helps with the rebase, or if I start from scratch a new MR.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States chrisfromredfin Portland, Maine

    We have designs now of what we're shooting for - we'll see if we can help C with the rebase!

Production build 0.71.5 2024