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

[FEATURE]: Add expand option to the map #648

Open
11 tasks
paulushcgcj opened this issue Mar 4, 2025 · 0 comments
Open
11 tasks

[FEATURE]: Add expand option to the map #648

paulushcgcj opened this issue Mar 4, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@paulushcgcj
Copy link
Contributor

paulushcgcj commented Mar 4, 2025

User Story

As a "user", I want "to be able to expand the map", So that "I can see more data in it"

Additional Context

Currently, our map view is just a small block on the screen, and sometimes the amount of data that the user wants to see is bigger than the area available. To improve visibility, an expand functionality should be added to the map component, allowing it to fill the screen, allowing the user to see more data on the screen at the same time. Also, the user should be able to restore the map to the original size when it is expanded.

The ideal scenario will allow the map to take the main portion of the screen, but not over other components, instead pushing them down, so the user can scroll up and down if needed. This is specially useful for the search page, as the user can scroll down to select more entries to be shown on the map view.

Acceptance Criteria

  • Given "the map is visible", When "I click on the expand button", Then "the map should expand and fill the entire main portion of the screen"
  • Given "the map is expanded", When "I click on the restore button", Then "the map should revert to its original size"
  • Given "the map is expanded", When "I scroll the screen", Then "the map should scroll up and not block the other components"
  • Given "the map component is expanded", When "I close the map view", Then "the map should be hidden"
  • Given "the map component is closed, but it was previously open and expanded", When "I open the map view", Then "the map will be presented on its original size, instead of expanded"

Definition of Done Checklist

  • Ready to Demo in Sprint Review
  • Does what I have made have appropriate test coverage?
  • Documentation and/or scientific documentation exists and can be found
  • Peer Reviewed by 2 people on the team
  • Manual testing of all PRs in Dev and Prod
  • Merged

Additional information

This task was based on the old SILVA-578 task

@paulushcgcj paulushcgcj added the enhancement New feature or request label Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant