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

Mm feature/update listitem singlelist styling #51

Conversation

marshjaja
Copy link
Collaborator

@marshjaja marshjaja commented Oct 10, 2024

Description

  • This PR implements the styles defined in the Figma files for the Home and List pages, along with all accompanying files.
    • Slightly reduced the layout width for the navbar on desktop view to ensure the NavBar is not too spaced out.

Related Issue

Close #44, #47

Acceptance Criteria

The acceptance criteria for this PR are specified in Issue #14.

Type of Changes

Use one or more labels to help your team understand the nature of the change(s) you’re proposing. E.g., bug fix or enhancement are common ones.
enhancement
fix

Updates

Before

DESKTOP

Single List dark mode Your lists dark mode Your list Light mode Single List Light mode Screenshot 2024-10-10 at 15:08:02 Screenshot 2024-10-10 at 15:08:14

After

DESKTOP

Screenshot 2024-10-10 at 15:10:45 Screenshot 2024-10-10 at 15:10:58

MOBILE

Screenshot 2024-10-10 at 14:55:03 Screenshot 2024-10-10 at 14:55:19 Screenshot 2024-10-10 at 14:55:39 Screenshot 2024-10-10 at 14:55:57 Screenshot 2024-10-10 at 15:03:01

Testing Steps / QA Criteria

  • Do a git pull and git checkout mm-feature/update-listitem-singlelist-styling
  • On the Home and List pages you can see the styles implemented. You can toggle between Light mode and Dark mode to test the theme-switching functionality.

Some styles might still need to be updated depending on the teams preference

maybe adding some sort of background behind list to break out the white and black backgrounds.

  • examples (Not sure about the look):
Screenshot 2024-10-10 at 16:11:11 Screenshot 2024-10-10 at 16:11:44 Screenshot 2024-10-10 at 16:13:46

Copy link

github-actions bot commented Oct 10, 2024

Visit the preview URL for this PR (updated for commit 6a1fa8f):

https://tcl-79-smart-shopping-list--pr51-mm-feature-update-li-bqb26als.web.app

(expires Sat, 19 Oct 2024 12:40:08 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: d91d9ddbda780208241c52942f544acf8e81407a

Copy link
Collaborator

@Hudamabkhoot Hudamabkhoot left a comment

Choose a reason for hiding this comment

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

looks amazing well done! I left a comment for you but I couldn't find this other thing in this pull request to comment on it but i think removing the label from the search bars would look better!

@@ -26,7 +26,8 @@ export function Layout() {
<div className="Layout text-black dark:text-white bg-white dark:bg-black">
<NavBar darkMode={darkMode} toggleDarkMode={toggleDarkMode} />

<main className="mx-auto px-8 md:px-8 lg:px-20 w-full max-w-screen-sm min-h-screen flex flex-col">
<main className="mx-auto px-8 md:px-8 lg:px-20 w-full max-w-screen-sm min-h-screen flex flex-col rounded-xl pt-20">
Copy link
Collaborator

Choose a reason for hiding this comment

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

Adding bottom padding here would be good so main isn't covered by the nav bar when you scroll to the bottom

Copy link
Collaborator

@joriordan332 joriordan332 left a comment

Choose a reason for hiding this comment

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

This looks brilliant! The only small thing I noticed and it's only on really small devices is that if the item name is a little longer like raspberries for example then the delete button doesn't stay within the box.
Screenshot 2024-10-11 120831

Copy link
Collaborator

@Wyna-7 Wyna-7 left a comment

Choose a reason for hiding this comment

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

It looks incredible, great job Marcia!
The only thing I would change is the position for the sign out and dark/light toggle buttons, I personally prefer the sign out one on the left. No biggie though!

@marshjaja
Copy link
Collaborator Author

@Wyna-7 I have swap them around on mobile it does look better i hope this is want your meant?

@marshjaja
Copy link
Collaborator Author

@joriordan332 very good spot this one Jonathan👏🏾, forgot to check!

@marshjaja
Copy link
Collaborator Author

@Hudamabkhoot for the labels I can't remove them for accessibility reason. I have added button padding very good spot!🤾🏾‍♀️

@marshjaja marshjaja merged commit 7eba74b into feat/setup-tailwind-shadcn Oct 12, 2024
2 checks passed
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.

4 participants