Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Furniture: Spotlight! #675

Merged
merged 14 commits into from Jun 2, 2022
Merged

Conversation

anaulin
Copy link
Member

@anaulin anaulin commented May 11, 2022

TODO

  • fix broken tests (they rely on System Test being a certain shape, which we changed)
  • Rename to Spotlight!
  • Fix Words to be Less Silly
  • add tests
  • test this with S3 (Ideally in CI?)
  • (maybe) add feature definition
  • Rename from image_file to image

@anaulin anaulin force-pushed the ensemble/feature--image-furniture branch from d214597 to a286acd Compare May 11, 2022 03:02
@zspencer zspencer force-pushed the ensemble/feature--image-furniture branch from 69714fa to d09768d Compare May 22, 2022 00:20
@anaulin anaulin force-pushed the ensemble/feature--image-furniture branch from 4583d45 to 376674a Compare May 26, 2022 00:18
@zspencer zspencer changed the title [WIP] Furniture: Embedded Image [WIP] Furniture: Spotlight! May 26, 2022
@anaulin anaulin changed the title [WIP] Furniture: Spotlight! Furniture: Spotlight! Jun 2, 2022
@anaulin anaulin marked this pull request as ready for review June 2, 2022 02:20
anaulin and others added 13 commits June 1, 2022 19:20
Co-authored-by: Zee Spencer <zspencer@users.noreply.github.com>
Co-authored-by: Zee Spencer <zspencer@users.noreply.github.com>
Co-authored-by: Zee Spencer <zspencer@users.noreply.github.com>
Rails Model => Route inference is notoriously bad when dealing with
singular resources.

This sidesteps that by now by shifting so that the EmbeddedImage can have
many image files.
This builds on the infrastructure defined in the [Furniture: Livestream
- Owncast!](https://github.com/zinc-collective/convene/pull/669/files)
patch, which probably should be merged first (or I should decompose the
supporting bits)

Essentially, the "Image" furniture is a great start, but I'm hoping to
shift our design from the technical to the marketing / designer friendly
use-case.

Ideally, a Spotlight isn't just a hero image, but can also support the
little "Here's an icon + summary + call to action" that many sites use
to specify their value propositions.

By making the Spotlight responsible for exposing affordances like
alt-text, focal point, aspect ratio, etc. we can give folks who are
being intentional about the presentation of their digital storefront
with super-powers that help them get better conversion.
Co-authored-by:  <zspencer@users.noreply.github.com>
Co-authored-by:  <zspencer@users.noreply.github.com>
Co-authored-by:  <zspencer@users.noreply.github.com>
This may be a bit risky, but the intention here is to make all Furniture
live inside a Turbo Frame, so the "modify in-line" behavior "just works"

Co-authored-by: Zee Spencer <zspencer@users.noreply.github.com>
* A step closer to inflating and confirming Furniture in Features

* Get rid of unnecessary parameterTypes

* Pull back from moving to a hidden _attributes

It wasn't working anyway

* Sending Furniture over the wire kinda works.

* Consolidate on the less json-y way to set furnitur attributes

Co-authored-by: Zee Spencer <zspencer@users.noreply.github.com>
Co-authored-by:  <zspencer@users.noreply.github.com>
Co-authored-by:  <zspencer@users.noreply.github.com>
@anaulin anaulin force-pushed the ensemble/feature--image-furniture branch 4 times, most recently from e37ea60 to b400eda Compare June 2, 2022 02:33
Co-authored-by:  <zspencer@users.noreply.github.com>
@anaulin anaulin force-pushed the ensemble/feature--image-furniture branch from b400eda to f71484d Compare June 2, 2022 02:37
Copy link
Member

@zspencer zspencer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I luv it.

@anaulin anaulin merged commit 4966241 into development Jun 2, 2022
@anaulin anaulin deleted the ensemble/feature--image-furniture branch June 2, 2022 03:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants