[ENHANCEMENT]: A cleaner option for the dashboard icon grid #1171
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: joomla/Component-Builder#1171
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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?
Enhancement Details
The current dashboard grid icon don't size well responsively. Here is a suggested fix:
.dashboard-wrapper-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 1rem;
}
.dashboard-wrapper {
background: none repeat scroll 0 0 hsl(0, 0%, 93%);
border-radius: 5px;
float: left;
margin: 1%;
padding: 3px;
width: 17%;
height: 100%;
width: 100%;
}
.dashboard-wrapper img {
max-width: 100%;
height: auto;
}
.dashboard-content a {
background: linear-gradient(to bottom, hsl(0, 0%, 100%) 0%, hsl(0, 0%, 96%) 47%, hsl(0, 0%, 93%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0);
border: 1px solid hsl(0, 0%, 85%);
border-radius: 4px;
box-shadow: 0 0 3px hsla(0, 0%, 0%, 0.1) inset;
color: hsl(0, 0%, 20%);
display: block;
height: 100%;
padding: 10px;
text-align: center;
text-decoration: none;
}
Which part of the extension will be affected by this enhancement?
Dashboard(admin_view)
Additional Context
No response
Just yesterday, we were reviewing the tangled state of the Model and other parts of the Dashboard... and let me tell you (oh boy, what a mess! :)
So, yes, we definitely need to fix and improve this area of JCB. While it functions, it's far from ideal. There have been numerous efforts to suggest a better approach here. The reality is that most of these suggestions tend to focus solely on improving the HTML output. However, the real issue begins with the Model and how JCB currently constructs this whole Dashboard area.
With that in mind, I'm open to any ideas. It might take a dedicated code sprint to really make significant progress and elevate this to where it should be.
Yes, it's a large project and easily tangled. I'm just learning it and still working through the videos, but saw that right away as a quick and easy fix for what already exists. I don't know enough about it yet to offer deeper structural ideas.