Implement designs for Testimonial component within Olivero for XB

Created on 5 January 2025, 4 months ago

Problem/Motivation

Designs have been created in ๐Ÿ“Œ Create designs for Testimonial component within Olivero for XB Active .

Proposed resolution

Implement the component. Figma link.

Fields:

  • Featured image
  • Tagline (mandatory)
  • Name (mandatory)
  • Role / Extra info
  • CTA

How to test

  1. Install Experience Builder (be sure you're synced up with 1.x; if not, do that and run ddev rebuild): ddev drush -y en experience_builder
  2. Create a new xb_page to test with: ddev drush php:eval "\Drupal::service('entity_type.manager')->getStorage('xb_page')->create(['title' => 'XB ๐Ÿ’ซ', 'description' => 'This is an XB page.', 'path' => ['alias' => '/test']])->save();"
  3. Manually test by visiting /xb_page/1.
๐Ÿ“Œ Task
Status

Active

Component

Olivero

Created by

๐Ÿ‡ช๐Ÿ‡ธSpain ckrina Barcelona

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

Merge Requests

Comments & Activities

  • Issue created by @ckrina
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia vasantha deepika Coimbatore
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States phenaproxima Massachusetts
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States bernardm28 Tennessee

    Taking a look at this now. I will open a PR soon.

  • Merge request !404MVP adds basic funcionality โ†’ (Merged) created by bernardm28
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States bernardm28 Tennessee

    I'm unsure how to load the placeholder image as in the example above.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States bernardm28 Tennessee


    Still needs some work but it looks like the image above.

  • Pipeline finished with Success
    4 months ago
    Total: 809s
    #390170
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States Kristen Pol Santa Cruz, CA, USA

    kristen pol โ†’ made their first commit to this issueโ€™s fork.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States Kristen Pol Santa Cruz, CA, USA

    More updates are needed but the above changes include:

    • Move status to experimental per ๐Ÿ› Mark the XB components as experimental, not stable Active
    • Wording changes for clarity
    • Changed from explicit person and place (Princeton) as IMO we should put a dummy person/role
    • Removed attributes as it's auto-injected
    • Formatting cleanup in twig file

    The image isn't working right now so that's the next thing to fix.

  • Pipeline finished with Success
    4 months ago
    Total: 761s
    #391192
  • Pipeline finished with Canceled
    4 months ago
    Total: 223s
    #391241
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States Kristen Pol Santa Cruz, CA, USA

    More cleanup...

    The "tagline" in Figma is "content" in the yml file so I removed the redundant tagline.

    And make the content a textarea so they can see the text they are adding since it'll probably be a sentence or more.

    Unassigning from @vasantha deepika as we are going fast here... if you want to do some more work on this, please ping me in Slack to coordinate.

  • Pipeline finished with Failed
    4 months ago
    Total: 534s
    #391243
  • Pipeline finished with Success
    4 months ago
    Total: 905s
    #392124
  • Pipeline finished with Canceled
    4 months ago
    Total: 271s
    #392319
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States bernardm28 Tennessee

    Latest testimonial component stacked on top of feature component.

  • Pipeline finished with Canceled
    4 months ago
    Total: 547s
    #392323
  • Pipeline finished with Failed
    4 months ago
    Total: 436s
    #392337
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States phenaproxima Massachusetts
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States bernardm28 Tennessee
  • Pipeline finished with Failed
    4 months ago
    Total: 358s
    #394128
  • Pipeline finished with Failed
    4 months ago
    Total: 641s
    #399223
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States Kristen Pol Santa Cruz, CA, USA

    Using the naming convention from ๐Ÿ“Œ Implement designs for Feature component within Olivero for XB Active (cta => link).

    Here's what it looks like now. The link styling might need some tweaking.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States thejimbirch Cape Cod, Massachusetts

    Back to Needs Work for comments in #14

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States Kristen Pol Santa Cruz, CA, USA

    I'll try to clean up the styling.

  • Pipeline finished with Failed
    3 months ago
    Total: 886s
    #415005
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States Kristen Pol Santa Cruz, CA, USA

    Okay... I compared it to Figma and got it closer but it's still not completely there... for example, there should be less space between the quote and the name+role and between name+role and link. And the name+role colors don't match.

    Is it good enough?

    Also, it feels like the CSS is overly complicated and has some unnecessary things, but I didn't try to pull it apart because I don't do CSS every day.

    Figma

    Implementation with image

    Implementation without image

  • Pipeline finished with Failed
    3 months ago
    Total: 938s
    #415071
  • ๐Ÿ‡ฆ๐Ÿ‡บAustralia pameeela

    Thank you @kristen pol! Matching the Figma exactly is definitely not needed, happy to treat it as a more of a guide. This certainly looks close enough to me, based on the screenshots.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States phenaproxima Massachusetts

    I see nothing wrong with the code, but I'm not a FE developer so not the one to ask. If another front-ender can sign off, I'll gladly commit this.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States mherchel Gainesville, FL, US

    Just left a review with a number of changes! Thank you!

  • Pipeline finished with Failed
    3 months ago
    Total: 880s
    #426835
  • Pipeline finished with Failed
    3 months ago
    Total: 967s
    #426846
  • Pipeline finished with Failed
    3 months ago
    Total: 1016s
    #427766
  • Pipeline finished with Failed
    3 months ago
    Total: 856s
    #427792
  • Pipeline finished with Failed
    3 months ago
    Total: 412s
    #427805
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States bernardm28 Tennessee
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States Kristen Pol Santa Cruz, CA, USA

    @bernardm28 Why was the image commented out?

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States phenaproxima Massachusetts

    How to test, now that ๐Ÿ“Œ Add Experience Builder to dev dependencies Active is in:

    • Check out this branch locally
    • Pull changes from 1.x and merge them into this branch
    • ddev rebuild
      ddev drush si -y
      ddev drush recipe ../xb_test
      ddev launch /xb/xb_page/1
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States bernardm28 Tennessee

    The image is commented out because it creates an error with experience builder. Commenting that section out removes said error and the props load from within experience builder. if that issue is solved we can bring it back.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States phenaproxima Massachusetts

    I would vote we remove it for now and fix it in a follow-up.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States bernardm28 Tennessee
  • Pipeline finished with Failed
    3 months ago
    Total: 823s
    #429376
  • Pipeline finished with Success
    3 months ago
    Total: 877s
    #430078
  • Pipeline finished with Success
    3 months ago
    Total: 1395s
    #430170
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States thejimbirch Cape Cod, Massachusetts

    Last commit was "WIP on testimonials.", meaning Work in Progress.

    Moving back to Needs work.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States mherchel Gainesville, FL, US

    OK. Just pushed final fixes. This should be good to go. Note I refactored the CSS and markup significantly, so setting to NR.

  • Pipeline finished with Success
    3 months ago
    Total: 5973s
    #431493
  • Pipeline finished with Success
    3 months ago
    Total: 881s
    #431554
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States phenaproxima Massachusetts

    Gave this a quick manual test and it looks right to me. No objections from the code side. In the name of moving this forward, I'm RTBCing it. Even if a few things are not right yet, that's fine - better to land the foundation now and iterate as we get closer to 1.1.0.

  • Pipeline finished with Skipped
    3 months ago
    #431700
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States phenaproxima Massachusetts

    Merged into 1.x, thanks everyone!

  • Status changed to Fixed 2 months ago
  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024