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

Fixed facility cover photo #4765

Merged
merged 2 commits into from
Feb 27, 2023

Conversation

GokulramGHV
Copy link
Member

Proposed Changes

Screenshot

image

@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers

Merge Checklist

  • Add specs that demonstrate bug / test a new feature.
  • Update product documentation.
  • Ensure that UI text is kept in I18n files.
  • Prep screenshot or demo video for changelog entry, and attach it to issue.
  • Request for Peer Reviews
  • Completion of QA

@GokulramGHV GokulramGHV requested a review from a team February 5, 2023 15:26
@GokulramGHV GokulramGHV requested a review from a team as a code owner February 5, 2023 15:26
@vercel
Copy link

vercel bot commented Feb 5, 2023

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

Name Status Preview Comments Updated
care-storybook ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 7, 2023 at 0:39AM (UTC)

@netlify
Copy link

netlify bot commented Feb 5, 2023

Deploy Preview for care-egov-staging ready!

Name Link
🔨 Latest commit 10823bc
🔍 Latest deploy log https://app.netlify.com/sites/care-egov-staging/deploys/63e246156a3e140007b4677f
😎 Deploy Preview https://deploy-preview-4765--care-egov-staging.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@Pranshu1902
Copy link
Contributor

Pranshu1902 commented Feb 5, 2023

@GokulramGHV The card height is irregular for different facilities now
image

@sonarcloud
Copy link

sonarcloud bot commented Feb 7, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@nihal467
Copy link
Member

nihal467 commented Feb 7, 2023

@GokulramGHV
image

the existing staging card size looks good, rather than the size in the deploy preview, can we keep it that way?

@nihal467 nihal467 added question Further information is requested discussion required labels Feb 7, 2023
Copy link
Member

@rithviknishad rithviknishad left a comment

Choose a reason for hiding this comment

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

@GokulramGHV try these changes, it seems to have solved it

@@ -47,7 +47,7 @@ export const FacilityCard = (props: { facility: any; userType: any }) => {

return (
<div key={`usr_${facility.id}`} className="w-full">
<div className="block rounded-lg h-full overflow-clip bg-white shadow hover:border-primary-500">
<div className="block rounded-lg h-64 overflow-clip bg-white shadow hover:border-primary-500">
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
<div className="block rounded-lg h-64 overflow-clip bg-white shadow hover:border-primary-500">
<div className="block rounded-lg h-full overflow-clip bg-white shadow hover:border-primary-500">

Copy link
Member Author

@GokulramGHV GokulramGHV Feb 9, 2023

Choose a reason for hiding this comment

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

@rithviknishad making this change makes the facility cards' heights not uniform as @Pranshu1902 mentioned above

@@ -57,7 +57,7 @@ export const FacilityCard = (props: { facility: any; userType: any }) => {
<img
src={facility.read_cover_image_url}
alt={facility.name}
className="w-full h-[210px] object-cover"
className="object-cover w-full h-full"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
className="object-cover w-full h-full"
className="object-cover h-full"

Copy link
Member Author

Choose a reason for hiding this comment

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

@nihal467 nihal467 added work-in-progress and removed question Further information is requested needs testing discussion required labels Feb 8, 2023
@nihal467
Copy link
Member

nihal467 commented Feb 8, 2023

@GokulramGHV once you make the changes, mark it for testing

@GokulramGHV
Copy link
Member Author

@nihal467 as this pr was discussed with gigin, he apporved the changes and asked me to mark it for testing

@nihal467
Copy link
Member

LGTM

@khavinshankar
Copy link
Member

@rithviknishad can you rereview this

@khavinshankar khavinshankar merged commit 5a3ab7f into coronasafe:develop Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cover photo in the facility homepage is not properly reflected
5 participants