-
Notifications
You must be signed in to change notification settings - Fork 38
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
Put open in new tab arrow to the right of the button in process instance tables #1274
Conversation
WalkthroughWalkthroughThis update enhances the user interface of a process instance list table by refining visual elements and interaction cues. It includes adjustments to styling, layout, and accessibility features, such as tooltip positioning and button alignment, to improve user experience and consistency across the interface. Changes
Related issues
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
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.
Review Status
Actionable comments generated: 0
Configuration used: .coderabbit.yaml
Files selected for processing (2)
- spiffworkflow-frontend/src/components/ProcessInstanceListTable.tsx (3 hunks)
- spiffworkflow-frontend/src/index.css (1 hunks)
Files skipped from review due to trivial changes (1)
- spiffworkflow-frontend/src/index.css
Additional comments: 5
spiffworkflow-frontend/src/components/ProcessInstanceListTable.tsx (5)
- 12-12: The import of
TableCell
from@carbon/react
is correctly added to support the alignment changes mentioned in the PR objectives.- 523-523: Adding the new CSS class
pi-show-new-tab-button
aligns with the PR's objective to adjust the positioning of the "open in new tab" arrow. This change is consistent with the description provided in the AI-generated summary.- 526-526: Reducing the button width from 60px to 50px is mentioned in the PR objectives to streamline the UI. However, consider verifying this change with the design team or through user testing to ensure it enhances usability without compromising accessibility or user experience.
- 529-530: The addition of
tooltipPosition="left"
for the button icon is a thoughtful change that addresses the PR's objective to improve tooltip visibility and avoid overlap with other UI elements.- 542-547: The logic to conditionally render the
TableCell
with alignment to the right or a standardtd
based on the process instance status is a good approach to handle different UI states. However, consider abstracting this logic into a separate function or component for better readability and maintainability. This would also make it easier to extend or modify this behavior in the future.
Put open in new tab arrow to the right of the button in process instance tables
make tooltip expand to the left
re: #1030
Summary by CodeRabbit