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

new content for query building empty state #246

Merged
merged 9 commits into from
Jan 7, 2025

Conversation

fzhao99
Copy link
Collaborator

@fzhao99 fzhao99 commented Jan 6, 2025

PULL REQUEST

Summary

Fixes #213 updating the empty state for query building

Additional Information

For the devs, added a snapshot test in the query building empty state to start seeding more frontend functional testing

Redirect with full DB

Screen.Recording.2025-01-06.at.10.01.36.AM.mov

Redirect with empty DB

Screen.Recording.2025-01-06.at.9.59.39.AM.mov

For design

Make sure empty state matches design. If you want to pull it up locally, will need to clear your db first by

  1. Switching to this branch
  2. Run docker images and take note of the image ID attached to postgres (311abe301881 in the below example)
Screenshot 2025-01-06 at 10 06 06 AM
  1. Run docker compose down --volumes --remove-orphans and then docker image rm <IMAGE-ID from part 1>
  2. Restart your dev server and go to /queryBuilding

Here's a screenshot in case that's easier:
Screenshot 2025-01-06 at 10 03 17 AM

Checklist

  • Descriptive Pull Request title
  • Link to relevant issues
  • Provide necessary context for design reviewers
  • Update documentation

Copy link

linear bot commented Jan 6, 2025

@fzhao99 fzhao99 force-pushed the bob/que-114-update-content-for-query-building branch from 0c5e8a9 to 453e0e0 Compare January 6, 2025 16:18
@fzhao99 fzhao99 force-pushed the bob/que-114-update-content-for-query-building branch from e3c3963 to 9652639 Compare January 6, 2025 16:34
@fzhao99 fzhao99 marked this pull request as ready for review January 6, 2025 16:58
Copy link
Collaborator

@robertandremitchell robertandremitchell left a comment

Choose a reason for hiding this comment

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

looks good. one funky thing: after building the page, I'm not sure if the redirect should function differently, i.e., go to the My Queries page? When you click the back button, it takes you back to the build until you refresh the page.

It's not the biggest deal since the build is a one-time thing for users, just something that seemed a bit off.

Screen.Recording.2025-01-07.at.9.41.40.AM.mov

@fzhao99 fzhao99 merged commit 19795dd into main Jan 7, 2025
11 checks passed
@fzhao99 fzhao99 deleted the bob/que-114-update-content-for-query-building branch January 7, 2025 15:54
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.

Update content for Query Building
2 participants