-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: tup-414 help users "View all …" #317
Conversation
Another PR may require this value to change further: #312
Also, do so via— NEWS_DASHBOARD_DISPLAY_LIMIT —to mimic clarity of—TICKETS_DASHBOARD_DISPLAY_LIMIT
Also, do so via— PROJECTS_DASHBOARD_DISPLAY_LIMIT —to mimic clarity of—TICKETS_DASHBOARD_DISPLAY_LIMIT
This reverts commit 6d62c21. The alignment will not be an issue after new branch: enhance/tup-414-help-users-view-all-tickets--indirectly-support-small-size-button
Designers do not intend nor like big gap. It's been around since Portal. But it's been so difficult to fix… until `project-ticket-grid` came. I hadn't noticed the fix was possible until just now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Notes for reviewer.
grid-template-rows: 1fr 1fr; | ||
grid-template-areas: | ||
grid-template-rows: auto 1fr; | ||
grid-template-areas: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To fix an unrelated Dashboard layout bug that I am sneaking in, because it has been a bane to the designers but I see how easy it has become to fix.
@@ -7,6 +7,8 @@ import { | |||
} from '@tacc/core-components'; | |||
import styles from './UserNews.module.css'; | |||
|
|||
const NEWS_DASHBOARD_DISPLAY_LIMIT = 3; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const projectData = data | ||
?.filter((prj) => | ||
prj.allocations?.some((alloc) => alloc.status === 'Active') | ||
) | ||
.slice(0, PROJECTS_DASHBOARD_DISPLAY_LIMIT); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<Link to="/tickets" className={styles['viewall-action']}> | ||
View all Tickets | ||
</Link> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added link to "View all Tickets".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Exacerbates a bug. Bug must be fixed in tandem. I restored this work in #330, where I will also fix the bug. |
Overview
Change UI so users can more clearly see where to "View all" Tickets, Projects, and News.
Related
requires feat: support different buttons for TicketCreateModal #318*requires feat: allow smaller*<TicketCreateModal>
button #319-small
display toTicketCreateModal
#320 ** Without it, scrollbar can show on Dashboard "My Tickets", but design wants to avoid scrollbar
Changes
NEWS_DASHBOARD_DISPLAY_LIMIT
PROJECTS_DASHBOARD_DISPLAY_LIMIT
Testing
UI
The cut off System Status "Running Jobs" is a bug caused by #312, not this.
Outdated