#779-fix-map-view-scaling #806

Merged
a22erigr merged 2 commits from 779-fix-scaling-map-view into team_2_week_5 2026-05-07 13:59:10 +00:00
Collaborator

Changes:
Updated the map view scaling to keep the svg proportions when resizing the card.

Changes: Updated the map view scaling to keep the svg proportions when resizing the card.
Author
Collaborator
No description provided.
a22erigr 2026-05-07 09:46:19 +00:00
b24idalu left a comment
Collaborator

image

Review on #779

Whats done

Implement so that the indented proportion are kept regardless of size.

Tested on Windows using Chrome & Firefox

  • App starts
    • Everything still works like normally.
    • Tested the new map view, it still launches like normally. The map now has one size, no matter how big the card is. See picture,

Inspected following files

  • frontend/src/features/map/MapView.js
    • Indentation/code styling
      • Follows prettier.
    • Naming convention
      • No new files/variables.
    • Comments
      • No new comments needed.
    • General code quality
      • Nothing to mention, still looks good.

What needs to be done

  • frontend/src/features/map/MapView.js
    • The solution does not meet the requirements. The map is always one size and does not scale with the card.

Conclusion

  • I believe what was meant with the issue was to always keep the same proportion on the room squares, but still let the map scale with the card. The solution does not do this, and is therefore not ready to be merged.
![image](/attachments/c567d359-bc0a-4f37-9f7c-a88c587143d3) # Review on #779 ## Whats done Implement so that the indented proportion are kept regardless of size. ### Tested on Windows using Chrome & Firefox + App starts + Everything still works like normally. + Tested the new map view, it still launches like normally. The map now has one size, no matter how big the card is. See picture, ### Inspected following files + frontend/src/features/map/MapView.js + Indentation/code styling + Follows prettier. + Naming convention + No new files/variables. + Comments + No new comments needed. + General code quality + Nothing to mention, still looks good. ## What needs to be done + frontend/src/features/map/MapView.js + The solution does not meet the requirements. The map is always one size and does not scale with the card. ## Conclusion + I believe what was meant with the issue was to always keep the same proportion on the room squares, but still let the map scale with the card. The solution does not do this, and is therefore not ready to be merged.
Collaborator

@j21marbr Can you fix the issues found in review?

@j21marbr Can you fix the issues found in review?
Author
Collaborator

Yes I will fix it

Yes I will fix it
Author
Collaborator
No description provided.
Collaborator

I have reviewed the fix. The problem was that the map didn't scale well with the card. The problem is now solved and in my opinion it scales well for now, I could not find any issues. My opinion is that the problem is solved now. Look at the screenshots down below.

imageimage

I have reviewed the fix. The problem was that the map didn't scale well with the card. The problem is now solved and in my opinion it scales well for now, I could not find any issues. My opinion is that the problem is solved now. Look at the screenshots down below. ![image](/attachments/5615835f-132f-404b-a5df-645c0d552707)![image](/attachments/eb66bd67-574b-4f97-b625-aceb59f41dfa)
a22erigr merged commit a3dc491191 into team_2_week_5 2026-05-07 13:59:10 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Andras/BoundlessFlowCampus2K!806
No description provided.