Skip to content

Show generated token inline in sources table#1914

Merged
Simrayz merged 1 commit into
mainfrom
feat/1911-show-generated-token-in-sources-table
Apr 29, 2026
Merged

Show generated token inline in sources table#1914
Simrayz merged 1 commit into
mainfrom
feat/1911-show-generated-token-in-sources-table

Conversation

@Simrayz

@Simrayz Simrayz commented Apr 28, 2026

Copy link
Copy Markdown
Contributor

Scope and purpose

Fixes #1911.

After generating a token, show it inline in the sources table with a copyable text field instead of only in a transient toast notification.

Demo

sources-token-message-compressed.mp4

Contributor Checklist

Every pull request should have this checklist filled out, no matter how small it is.
More information about contributing to Argus can be found in the
Development docs.

  • Added a changelog fragment for towncrier — covered by Add Sources management to HTMX interface #1901's changelog entry
  • Added/amended tests for new/changed code
  • Added/changed documentation, including updates to the user manual if feature flow or UI is considerably changed
  • Linted/formatted the code with ruff and djLint, easiest by using pre-commit
  • The first line of the commit message continues the sentence "If applied, this commit will ...", starts with a capital letter, does not end with punctuation and is 50 characters or less long. See our how-to
  • If applicable: Created new issues if this PR does not fix the issue completely/there is further work to be done
  • If this results in changes in the UI: Added screenshots of the before and after — see demo above

@Simrayz Simrayz added enhancement New feature or request frontend Affects frontend usability labels Apr 28, 2026
@github-actions

github-actions Bot commented Apr 28, 2026

Copy link
Copy Markdown

Test results

    6 files  1 248 suites   2m 32s ⏱️
  911 tests   910 ✅ 1 💤 0 ❌
5 466 runs  5 460 ✅ 6 💤 0 ❌

Results for commit e12bdce.

♻️ This comment has been updated with latest results.

@codecov

codecov Bot commented Apr 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.48%. Comparing base (1bfd2c9) to head (e12bdce).
⚠️ Report is 7 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1914   +/-   ##
=======================================
  Coverage   88.47%   88.48%           
=======================================
  Files         144      144           
  Lines        6975     6980    +5     
=======================================
+ Hits         6171     6176    +5     
  Misses        804      804           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Simrayz Simrayz added the nonews No news fragment is necessary for this PR (e.g. refactoring, cleanups, workflow/development changes) label Apr 28, 2026
@Simrayz Simrayz self-assigned this Apr 28, 2026
@Simrayz Simrayz force-pushed the feat/1911-show-generated-token-in-sources-table branch from a3ba11d to e12bdce Compare April 28, 2026 12:27
@sonarqubecloud

Copy link
Copy Markdown

@Simrayz Simrayz requested a review from a team April 28, 2026 12:31
@Simrayz Simrayz marked this pull request as ready for review April 28, 2026 12:31

@johannaengland johannaengland left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Beautiful!

@Simrayz Simrayz merged commit 61d2790 into main Apr 29, 2026
19 checks passed
@Simrayz Simrayz deleted the feat/1911-show-generated-token-in-sources-table branch April 29, 2026 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request frontend Affects frontend nonews No news fragment is necessary for this PR (e.g. refactoring, cleanups, workflow/development changes) usability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show generated token inline in sources table

2 participants