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

THUB-21 | @jdwjdwjdw | Person node and teaser adjustments #8

Merged
merged 7 commits into from
Jul 10, 2024

Conversation

jdwjdwjdw
Copy link
Contributor

@jdwjdwjdw jdwjdwjdw commented Jun 18, 2024

READY FOR REVIEW

Summary

  • THUB-21: People card (or basic card variant for people)
  • Person node and teaser adjustments
  • Admin fixup for unpublished page alert

Review By (Date)

  • When does this need to be reviewed by?

Criticality

  • How critical is this PR on a 1-10 scale? Also see Severity Assessment.
  • E.g., it affects one site, or every site and product?

Urgency

  • How urgent is this? (Normal, High)

Review Tasks

Setup tasks and/or behavior to test

  1. Check out this branch
  2. Rebuild Cache and import config drush cr ; drush ci
  3. Create some people. Add a short title with the long content you want to display on the teaser.
  4. Verify the cards look like the design. We discussed and know about the short title and the long title being kind of confusing.
  5. Add a global message. Verify it works on the admin view.

Site Configuration Sync

  • Is there a config:export in this PR that changes the config sync directory?

Front End Validation

Backend / Functional Validation

Code

  • Are the naming conventions following our standards?
  • Does the code have sufficient inline comments?
  • Is there anything in this code that would be hidden or hard to discover through the UI?
  • Are there any code smells?
  • Are tests provided? eg (unit, behat, or codeception)

Code security

General

  • Is there anything included in this PR that is not related to the problem it is trying to solve?
  • Is the approach to the problem appropriate?

Affected Projects or Products

  • Does this PR impact any particular projects, products, or modules?

Associated Issues and/or People

- THUB-21

Resources

@github-actions github-actions bot added size/s and removed size/xs labels Jun 26, 2024
.ptype-stanford-entity,
.paragraph--type--stanford-entity {

.ds-entity--stanford-person {

Choose a reason for hiding this comment

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

@jenbreese should the Person Teaser span full width for single column/responsive? 🤔

For the screenshot, my screen width was 640px
image

Copy link
Contributor

Choose a reason for hiding this comment

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

@rebeccahongsf No, Kerri wanted the person teaser only to have the max width of 400. I forgot to put in the jira ticket to the PR. I'm sorry about that. https://stanfordits.atlassian.net/browse/THUB-21

&:hover,
&:focus,
&:active {
background: $thub-color-ochre-dark;

Choose a reason for hiding this comment

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

Underline is missing on hover/focus 👀

image

Copy link
Contributor

Choose a reason for hiding this comment

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

@rebeccahongsf I see an underline on hover on my person teaser. Can you pull and refresh?
Screenshot 2024-07-09 at 10 34 03 AM

Copy link

@rebeccahongsf rebeccahongsf left a comment

Choose a reason for hiding this comment

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

Just these fixes and we should be good to go @jenbreese! 😃

@jenbreese
Copy link
Contributor

@rebeccahongsf Can you try this last one? I think it is good to go. Last PR for THUB :)

@rebeccahongsf rebeccahongsf self-requested a review July 10, 2024 15:32
Copy link

@rebeccahongsf rebeccahongsf left a comment

Choose a reason for hiding this comment

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

LGTM 🚢

@jenbreese jenbreese merged commit cb87b83 into 1.x Jul 10, 2024
1 check passed
@jenbreese jenbreese deleted the THUB-21--person-adjustments branch July 10, 2024 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants