-
Notifications
You must be signed in to change notification settings - Fork 235
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
Add copy outputs to outputs table #2194
Conversation
/runUiTests |
...s-core/src/software/aws/toolkits/jetbrains/services/cloudformation/stack/OutputsTableView.kt
Outdated
Show resolved
Hide resolved
Seems a little funny they all have the copy icon IMO |
I mean maybe, but that's how it already was for the rest of the cfn table |
/retryBuilds |
I'm wondering if there's a way to change the default behaviour to copy-selected cell rather than copy row - I think that's what customers would expect 99% of the time. |
67da9d6
to
d5df669
Compare
That is a good point, that is also easy to do, so changed |
DynamicTableView.Field(message("cloudformation.stack.outputs.description")) { it.description() }, | ||
DynamicTableView.Field(message("cloudformation.stack.outputs.export")) { it.exportName() } | ||
).apply { component.border = JBUI.Borders.empty() } | ||
private val key = DynamicTableView.Field<Output>(message("cloudformation.stack.outputs.key")) { it.outputKey() } |
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.
Is this just for code-style? These no longer need to be broken out right?
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.
Yeah this change can be reverted now, will do
table.addMouseListener(ResourceActionPopup(this::selected)) | ||
} | ||
|
||
private fun selected(): SelectedResource? { |
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.
awesome - I hated myself for this
|
||
step("Check Logical ID action") { | ||
resource.click(MouseButton.RIGHT_BUTTON) | ||
findAndClick("//div[@text='Copy Logical ID']") |
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.
the copy is actually in a few places I think ...
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.
We have it in cloudwatch logs as well, but I'm not sure why I put it in there. Copying multiple rows/columns works as expected, so removing it from that as well
f62852b
to
ac41068
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Screenshot
related issues
#2179
License
I confirm that my contribution is made under the terms of the Apache 2.0 license.