-
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
[feat] Make Projects Listing Modal #71
Conversation
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.
Looks good Justin! Just make the small changes I suggested.
Some things that we will address in the future (since it will require more discussions with the team):
- We will discuss design for the overflowing text.
- In the next two weeks, we will also need to fix the individual project modal closing --> redirecting direct to the all projects modal. I agree, how it currently operates is not how we want it to.
app/page.tsx
Outdated
@@ -21,6 +22,7 @@ export default function Home() { | |||
<main style={mainStyles}> | |||
{error ? <div style={errorStyles}>{error}</div> : null} | |||
{projects ? <MapViewScreen projects={projects} /> : null} | |||
<AllProjectsModal projects={projects} /> |
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.
can you move AllProjectsModal to the MapViewScreen?
@@ -162,16 +162,16 @@ export default function ProjectItem({ project_id }: { project_id: number }) { | |||
</Heading2> |
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.
note: we will need to find a solution + fix when the text overflows
@@ -0,0 +1,39 @@ | |||
'use client'; |
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.
Rename AllProjectsModal to ProjectsListingModal because when we filter or search, it will not show all the projects.
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.
approved to squash + merge
rebasing
What's new in this PR
Description
Screenshots
Screen.Recording.2024-11-12.at.20.16.11.mov
How to review
Next steps
Screen.Recording.2024-11-12.at.20.19.16.mov
Relevant links
Online sources
Related PRs
CC: @itsliterallymonique