#630-add-max-sizes-view-config #632

Closed
j21marbr wants to merge 0 commits from #630-add-max-sizes-view-config into team_2_week_3
Collaborator

Changes:
Added sizeConfig to new views so maxW and maxH are used.

Changes: Added sizeConfig to new views so maxW and maxH are used.
Collaborator

Review on #632

Whats done

I tested that the max sizes for cards worked and that nothing else broke

Tested on ubuntu using firefox

  • App starts
    • The cards cannot be resized to be larger than the max width and height.
    • However, the default view config is used for all cards, so max size is 6h 4w (on my screen), even for the views with custom config.
    • I checked with console logs, and the constant customConfig in getViewSizeConfig is an empty object for all views.

Inspected following files frontend/src/components/Dashboard/Dashboard.js

  • Dashboard.js
    • Indentation/code styling
      • Indentation is ok
    • Naming convention
      • Naming convention is followed
    • Comments
      • No comments for the added code, but as it is only one self explanatory line, this is fine

What needs to be done

  • Fix getViewSizeConfig function in viewConfig.js to return custom configs when available, but this should be a separate issue.

Conclusion

  • Code works as intended and nothing breaks.
  • As the only problems encountered are out of scope for this issue, I think this is ready to be merged
# Review on #632 ## Whats done I tested that the max sizes for cards worked and that nothing else broke ### Tested on ubuntu using firefox + App starts + The cards cannot be resized to be larger than the max width and height. + However, the default view config is used for all cards, so max size is 6h 4w (on my screen), even for the views with custom config. + I checked with console logs, and the constant customConfig in getViewSizeConfig is an empty object for all views. ### Inspected following files frontend/src/components/Dashboard/Dashboard.js + Dashboard.js + Indentation/code styling + Indentation is ok + Naming convention + Naming convention is followed + Comments + No comments for the added code, but as it is only one self explanatory line, this is fine ## What needs to be done + Fix getViewSizeConfig function in viewConfig.js to return custom configs when available, but this should be a separate issue. ## Conclusion + Code works as intended and nothing breaks. + As the only problems encountered are out of scope for this issue, I think this is ready to be merged
b23albst approved these changes 2026-04-29 07:01:06 +00:00
Collaborator

Merged manually, nice work!

Merged manually, nice work!
a24vinla closed this pull request 2026-04-29 07:21:50 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 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!632
No description provided.