Skip to content
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

✨ Introducing ActionsColumn Component in Assessment Table #1314

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

ibolton336
Copy link
Member

@ibolton336 ibolton336 commented Aug 25, 2023

  • This PR introduces the ActionsColumn component in the assessment table
Screenshot 2023-08-24 at 9 48 38 PM

@codecov
Copy link

codecov bot commented Aug 25, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (5d784c8) 43.04% compared to head (d9d513c) 43.04%.

❗ Current head d9d513c differs from pull request most recent head 725febc. Consider uploading reports for the commit 725febc to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1314   +/-   ##
=======================================
  Coverage   43.04%   43.04%           
=======================================
  Files         145      145           
  Lines        4330     4330           
  Branches      999      999           
=======================================
  Hits         1864     1864           
  Misses       2454     2454           
  Partials       12       12           
Flag Coverage Δ
client 43.04% <ø> (ø)
server ∅ <ø> (∅)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ibolton336 ibolton336 force-pushed the use-new-actions-column branch 2 times, most recently from 36a056b to cfb3c9f Compare August 25, 2023 01:47
@ibolton336 ibolton336 marked this pull request as ready for review August 25, 2023 01:49
Copy link
Collaborator

@mturley mturley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Nitpicks with self-closing tags, take them or leave them.

TIL about the ActionsColumn component, I suppose we should update the other composable tables to use it too

onClick={() =>
setSaveApplicationModalState(application)
}
></Button>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can make this empty Button tag self-closing

setApplicationDependenciesToManage(application),
},
]}
></ActionsColumn>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here with ActionsColumn

Signed-off-by: ibolton336 <ibolton@redhat.com>
@ibolton336
Copy link
Member Author

Awesome! Nitpicks with self-closing tags, take them or leave them.

TIL about the ActionsColumn component, I suppose we should update the other composable tables to use it too

+1 Opened this issue to track #1318

@ibolton336 ibolton336 merged commit 3c4d31e into konveyor:main Aug 29, 2023
6 checks passed
mturley added a commit that referenced this pull request Sep 5, 2023
Part of #1264.

Uses the ActionsColumn component pattern introduced in
#1314 to add a kebab menu for
actions shown in [this
mockup](https://www.sketch.com/s/af50e991-8061-4b69-84c1-c11241e274f2/a/eldjjKW).
All 3 actions are currently stubs to unblock @sjd78 from integrating his
Edit functionality. PR to implement Duplicate and Delete will be next.

Follows the pattern found in this PF example for "danger" menu items
(red text below a separator):
https://www.patternfly.org/components/menus/menu#danger-menu-item

---------

Signed-off-by: Mike Turley <mike.turley@alum.cs.umass.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants