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

Agency selector: Modal in case of 4 or more agencies #2431

Open
machikoyasuda opened this issue Oct 7, 2024 · 3 comments
Open

Agency selector: Modal in case of 4 or more agencies #2431

machikoyasuda opened this issue Oct 7, 2024 · 3 comments
Labels
front-end HTML/CSS/JavaScript and Django templates

Comments

@machikoyasuda
Copy link
Member

machikoyasuda commented Oct 7, 2024

Status: This ticket needs more design input.

The visual bug

Currently, there are 2 agencies live on production. The test site has 4 agencies live. This is a ticket that can be worked on when we anticipate to get a 4th agency, or might become unnecessary if at that point, it is decided to re-design the agency selection modal entirely.

Image

The agency link buttons should scale down to 2 buttons in 2 rows, rather than 3 in the first row.

Scenarios to test

All of these scenarios are in the Desktop and Tablet widths, not the Mo

  • Modal with 1 agency
  • Modal with 2 agencies
  • Modal with 3 agencies
  • Modal with 4 agencies
  • Modal with 5 agencies

The desired design

Image

For this screenshot, I achieved it by adding to card-row:

width: 75%;
margin: 0 auto;
@machikoyasuda machikoyasuda added the front-end HTML/CSS/JavaScript and Django templates label Oct 7, 2024
@machikoyasuda
Copy link
Member Author

This results in this kind of rendering when there are 3 agencies:
Image

Would this be preferable? @srhhnry
Image

@srhhnry
Copy link
Member

srhhnry commented Oct 10, 2024

Top design is preferable! To be clear: Center the row with one agency and justify left on rows with two agencies. We will likely need to revisit with more agencies, but this design has always been an interim concept.

@machikoyasuda machikoyasuda changed the title Agency selector: Modal in case of more than 3 agencies Agency selector: Modal in case of 4 or more agencies Oct 16, 2024
@machikoyasuda
Copy link
Member Author

@indexing Putting this ticket on your radar, to be worked on as soon as the 3rd agency is live and the 4th is ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
front-end HTML/CSS/JavaScript and Django templates
Projects
Status: Needs shaping
Development

No branches or pull requests

2 participants