-
Notifications
You must be signed in to change notification settings - Fork 1
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
GH-83: Callout Plugin #324
Conversation
Requires new `x-article-link-active` mixin. The reason 0003 is added, not 0002, is cuz extending branch added 0002: - site/frontera/task/GH-83-callout-element--GH-321-resize-callout-image (there, the 0003 migration has 0002 as a dependency) (here, the 0003 migration has 0001 as a dependency) When a proper main-extending branch is made, this should still happen: - task/GH-83-callout-element--GH-321-resize-callout-image - task/GH-321-resize-callout-image (there, the 0003 migration will have ??? as a dependency) Good luck, Wes.
as part of GH-83.
CAVEAT: The addition to 0001 migration was manual and is untested.
- Add helper to get a model name. - Simplify user instruction for fixing caveat. - Do not allow normal user to check resize field. - Hide field and caveat details in "Advanced settings". - Default resize field to false.
The plugin may require a link and should require an image (GH-328)… But the styles (and template) work fine without either.
- Update comments for clarity and accuracy and scope. - Update equality that was not explicit enough.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added notes for reviewers.
taccsite_cms/contrib/_docs/how-to-override-validation-error-from-parent-model.md
Show resolved
Hide resolved
See d01c8cf for details.
- Different padding for narrow screens. - Different text alignment for narrow screens. - Bolder font for descriptions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was able to add the plugin and overall it made sense!
However, I wasn't able to get the image to load properly and test the options yet. Was able to run after restarting everything
taccsite_cms/contrib/_docs/how-to-override-validation-error-from-parent-model.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Ian Park <[email protected]>
The comment may be obvious knowledge learned by new python dev (me). The comment also references code that is removed with this commit.
@duckonomy Two changes: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
To Do (Done)
Overview / Issues
Changes
Screenshots
Form
Render
TACC: Shared UI - Constants - Breakpoints
Structure
The "Style" elements are a necessary evil until I create Section plugin (GH-91).
Testing
python3 manage.py migrate
.Notes
Known Issues
There are many edge cases and better ways, but none seem to be a requirement.
Callout Plugin - Fix Image Resize Caveat #327
Callout Plugin - Require & Integrate Image #328
(fixed with hack) Element Transform Fails on Child Plugin Markup w/out Hack #320
Callout Plugin - Crop Images within Ratio #329
There is not support for edits to text to change all instances (as #83 description directs).
See https://github.com/TACC/Core-CMS/projects/8 for more (if I have not updated the list above).
Undecided UI
Horizontal Alignment for Narrow Images
…figure { align-self: center }
)…figure { place-self: center }
)Images are vertically aligned center (because design did not complain when viewing samples).