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

SUL23-489: Places to study table. #148

Merged
merged 23 commits into from
Jun 25, 2024
Merged

SUL23-489: Places to study table. #148

merged 23 commits into from
Jun 25, 2024

Conversation

jenbreese
Copy link
Contributor

@jenbreese jenbreese commented Jun 18, 2024

READY FOR REVIEW

Summary

  • This is a table view of the Places to Study.
  • It has filtering at the top.

Review By (Date)

  • 6/24

Criticality

  • High

Urgency

  • 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. Navigate to a Basic page and add a list of Places to Study. Select the Places to Study Table view.
  4. Verify it looks like the design in all the responsive views. There is a small, med and large layout.
  5. Verify the filters are working as expected.

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

- SUL23-442

Resources

Copy link

vercel bot commented Jun 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
su-library ✅ Ready (Inspect) Visit Preview Jun 25, 2024 7:38pm

}

const {closedAllDay, isOpen, openingTime, closingTime, afterClose} = hours;
const openUntil = "Open until ";
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@pookmish I'd like to put a class on this Open but we can't have html in the variable and string them together like the olden days. What is a better way to think about this challenge?

Copy link
Contributor

Choose a reason for hiding this comment

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

put the variable into the markup:
<span className="foobar">{openUntil}</span><span> More Stuff</span>

Copy link
Contributor

Choose a reason for hiding this comment

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

You should always use the tags and markup in the component, not in variables.

Copy link
Contributor

@pookmish pookmish left a comment

Choose a reason for hiding this comment

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

I want to get some a11y eyes on the hover/checked/focus state of the radio buttons. but we can do that next.

@pookmish pookmish merged commit 5ce526c into 1.x Jun 25, 2024
3 of 4 checks passed
@pookmish pookmish deleted the SUL23-489 branch June 25, 2024 19:39
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