Please note: this is for the 8.x-4.x branch and has a dependency of https://www.drupal.org/project/simplytest/issues/3063298

We have the basics of a React application that will serve as the main end-user form for simplytest.

We have set up an initial component, found here: https://git.drupalcode.org/project/simplytest/blob/8.x-4.x/themes/simply...

This needs to be refactored to just be the project version selector, not specific to Drupal core.

There needs to be a new component for the autocomplete widget, where a user types the name of the project and this triggers the population of the select widget. The select widget should be hidden until the user selects a project from the autocomplete widget.

The autocomplete widget should pull from a new endpoint created to pass a string and search for a matching project.

The "DrupalSelection" component should be refactored to just be a "ProjectSelection" component that contains both the autocomplete and the select component. https://git.drupalcode.org/project/simplytest/blob/8.x-4.x/themes/simply...

All of the logic to populate the select dropdown needs to be replaced with the new endpoint, found in this issue: https://www.drupal.org/project/simplytest/issues/3063298

Comments

nerdstein created an issue. See original summary.

nerdstein’s picture

You can see the new wireframes in this issue/comment, for reference: https://www.drupal.org/project/simplytest/issues/2946735#comment-12516993

And, the new comps in the same issue and this comment: https://www.drupal.org/project/simplytest/issues/2946735#comment-12609706

sumitmadan’s picture

Assigned: Unassigned » sumitmadan
sumitmadan’s picture

Assigned: sumitmadan » Unassigned
Status: Active » Needs review
StatusFileSize
new17.25 KB

I have updated the react application to pull the project information.

sumitmadan’s picture

Version: 8.x-3.x-dev » 8.x-4.x-dev
nerdstein’s picture

Status: Needs review » Needs work

Awesome -- thank you for working on this. I have the following feedback:

`simlytest` - looks like this should be `simplytest`

Otherwise, this looks great. Thanks again.

sumitmadan’s picture

Status: Needs work » Needs review
StatusFileSize
new17.25 KB
new631 bytes

I have updated the patch. Please review now.

nerdstein’s picture

Status: Needs review » Reviewed & tested by the community

Looks good - merging. Thanks again for your help!

  • nerdstein committed 8469a5e on 8.x-4.x authored by sumitmadan
    Issue #3063304 by sumitmadan, nerdstein: Pull projects and versions when...
nerdstein’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.