add centralized view size config with default and custom rules #410
No reviewers
Labels
No labels
_CRITICAL_
API
app
backEnd
Blocked-waiting-for-further-changes
bug
bug-only-on-server-for-mobile-not-webpage
Bug-Report-After-Merge
cleanup
close
design
duplicate
enhancement
feature request
frontEnd
further-changes-needed
future-problem-not-fixint-this-period
help wanted
invalid
last-week-issue-to-fix
library
low-priority
needs input
needs review
not-implemented.
project documentation
question
research
reviewed
Script
security
SQL
style
Team 1
Team 2
team leaders
test-creation
testing
topLevel
unassigned
Under-review
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Andras/BoundlessFlowCampus2K!410
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "252-enforce-view-settings-in-grid"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implemented centralized configuration for view size settings in the grid.
What was done
Added a default configuration (DEFAULT_VIEW_CONFIG) for consistent sizing across all views
Added custom configurations for specific views that require different size constraints
Implemented responsive breakpoints (lg, md, sm, xs, xxs) based on container width
Created a helper function (getViewSizeConfig) to dynamically apply the correct configuration
Integrated the configuration system into Dashboard when adding new views
Result
All views now receive size constraints automatically
Specific views can override default behavior when needed
Improved consistency and maintainability of grid layout
Notes
Views that do not have custom config fall back to default settings
No manual size configuration is required when adding new views
Review on #252
Whats done
I checked that the code follows the standards and that the addition of of view config did not break any part of the application.
Tested on ubuntu using firefox
(Top card was moved before resized and can not be changed to have the same hight as the bottom card, which leads me to believe that this is caused by it having a different size config)
Inspected following files
What needs to be done
Conclusion
Fixed merge conflict.
The fixes discussed need to be revisited after Wednesday's merge.