Skip to content

Add Clipboard Button, Ensure Credentials Keeps Newlines#1883

Open
jabbate19 wants to merge 3 commits intomainfrom
1818-credentials-secret-ui-fix
Open

Add Clipboard Button, Ensure Credentials Keeps Newlines#1883
jabbate19 wants to merge 3 commits intomainfrom
1818-credentials-secret-ui-fix

Conversation

@jabbate19
Copy link
Copy Markdown
Collaborator

What type of PR is this?

/kind bug

What this PR does / why we need it:

Fixes UI such that:

  • Multi-line credentials (SSH Keys) keep their newlines when hidden so it doesn't become one giant line of star
  • Adds button to copy secret to clipboard

Which issue(s) this PR fixes:

Fixes #1818

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 24, 2026

Summary

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
2663    ±0 2663    ±0 0    ±0 0    ±0 0    ±0 0    ±0 1ms    ±0

Previous Results

Build 🏗️ Result 🧪 Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
#1278 2663 2663 0 0 0 0 37.6s

Insights

Average Tests per Run Total Flaky Tests Total Failed Slowest Test (p95)
2663 0 0 6.3s

Slowest Tests

Test 📝 Results 📊 Duration (avg) ⏱️ Duration (p95) ⏱️
TestDockerExecutor_Build_ContextCancellation 1 6.3s 6.3s
eldritch-libsys: std::dll_inject_impl::tests::test_dll_inject_simple 1 5.1s 5.1s
TestInteractiveShell 1 5.1s 5.1s
TestOtherStreamOutput 1 5.0s 5.0s
imix::bin/imix: install::tests::test_install_execution 3 1.6s 4.6s
imix::bin/imix: install::tests::test_install_execution 3 1.6s 4.6s
imix::bin/imix: install::tests::test_install_execution 3 1.6s 4.6s
TestDockerExecutor_Build_SimpleEcho 1 4.5s 4.5s
imix::bin/imix: tests::task_tests::test_task_streaming_output 3 3.0s 3.0s
imix::bin/imix: tests::task_tests::test_task_streaming_output 3 3.0s 3.0s

🎉 No failed tests in this run. | 🍂 No flaky tests in this run.

Github Test Reporter by CTRF 💚

🔄 This comment has been updated

</Button>
</>
<div className="flex flex-row items-center gap-2">
<p className="flex-1" style={{ whiteSpace: 'pre-line' }}>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Nit: Swap to tailwind version of this rather than mixing styles

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

accessorFn: row => row.principal,
footer: props => props.column.id,
maxSize: 100,
maxSize: 10,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Ah is this working as you intend, this seems very small for a maxSize.

accessorFn: row => row.secret,
footer: props => props.column.id,
maxSize: 250,
// maxSize: 250,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Unwanted comment?

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.

[feature] report.ssh_key() formatting in Hosts

2 participants