Skip to content

FP-1415: Callout Pattern with Fixes sans Plugin#427

Merged
wesleyboar merged 8 commits intomainfrom
task/FP-1415-deprecate-callout-plugin
Jan 19, 2022
Merged

FP-1415: Callout Pattern with Fixes sans Plugin#427
wesleyboar merged 8 commits intomainfrom
task/FP-1415-deprecate-callout-plugin

Conversation

@wesleyboar
Copy link
Copy Markdown
Member

@wesleyboar wesleyboar commented Dec 22, 2021

To Do

Details
  • Schedule review with Design.
  • Record Design feedback. — in author's local notes
  • Evaluate whether dev review is blocked by Design feedback. — it's not
  • Create ticket(s) for changes from Design. → FP-1464
  • Create ticket to retire Callout plugin. → FP-1465

Overview

Support Callouts sans custom plugin: use existing plugins & markup-based CSS (#425).*

Also, fix clickable area (#423).

* This will let us retire and uninstall the callout plugin.

Issue

FP-1415 (and sub-tasks)

Demos

Demo Notes
Manual Pattern Library supports .c-callout via snippet
Automatic Pattern Library test of ugly KSS software

Screenshots

Of Demos

Styles for all expected markup and image combinations.

Manual Pattern Library Automatic Pattern Library
component variations
DjangoCMS structure
component variations

Use Cases

Where images are pre-cropped before upload. (To test non-cropped images, see "Demos".)

Frontera Use Case
(wide)
Frontera Use Case
(narrow)
BrainMap Use Case
(wide)
BrainMap Use Case
(narrow)
FP-1417 Frontera System Wide FP-1417 Frontera System Narrow FP-1417 BrainMap Sleuth Wide FP-1417 BrainMap Sleuth Narrow

Link Interaction

A callout is not required to be a link, but when it is, hover and activation UI should exist.

Default State Hover State Active State
FP-1417 State Default FP-1417 State Hover FP-1417 State Active

Testing

  1. Use remote server (CEP, Frontera, Brainmap) or Test CMS Changes locally.
  2. Review/Create plugin combo's with class c-callout on the outermost elements.
  3. Check that UI1—on wide screen—matches wide Design UI (scroll down) (screenshot)
  4. Check that UI1—on narrow screen—matches narrow Design UI (scroll down) (screenshot).
  5. 🆕 Check that existing Callout plugins still display.2
  6. 🆕 Check that pages can still be published.2

🆕 New testing step added after PR was merged.

Footnotes

  1. Any structures using an "Image" with a "Caption" may be skipped during testing. Design says we don't need to support caption for "Callout" (but it will be supported by a future pattern used in Newsletter and DesignSafe). 2

  2. Tested by author on https://dev.cep.tacc.utexas.edu/design-system/ui-patterns and https://dev.fronteraweb.tacc.utexas.edu/system/. 2

@wesleyboar wesleyboar changed the title FP-1416: Callout Pattern with Fixes sans Plugin FP-1415: Callout Pattern with Fixes sans Plugin Dec 22, 2021
@wesleyboar wesleyboar requested a review from iamthatian January 4, 2022 18:22
@wesleyboar wesleyboar marked this pull request as ready for review January 10, 2022 19:41
Copy link
Copy Markdown
Contributor

@iamthatian iamthatian left a comment

Choose a reason for hiding this comment

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

LGTM! Tested locally & through the remote sites.

@wesleyboar
Copy link
Copy Markdown
Member Author

wesleyboar commented Jan 19, 2022

I created two tickets:

This PR may now be merged.

@wesleyboar wesleyboar merged commit a7d6d41 into main Jan 19, 2022
@wesleyboar wesleyboar deleted the task/FP-1415-deprecate-callout-plugin branch January 19, 2022 20:34
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.

Callout Plugin - Crop Images within Ratio Callout Plugin - Fix Image Resize Caveat Element Transform Fails on Child Plugin Markup w/out Hack

2 participants