feat: Add sticky Markdown copy button to Portfolio AI Analysis - #362
feat: Add sticky Markdown copy button to Portfolio AI Analysis#362Sujallukhi04 wants to merge 1 commit into
Conversation
|
Hi @Sujallukhi04 — thanks for the PR! Our automated scope gate flagged the following: ❌ No scope-approved linked issue. This PR must close an issue that carries one of: Please read CONTRIBUTING.md. Once an issue with the appropriate label exists and is linked here, re-run this check by pushing an empty commit or editing the PR description. A maintainer can also bypass this gate by adding the PRs that remain unresolved for 7 days will be closed automatically. |
|
Closing this PR because it has had the This is not personal — see CONTRIBUTING.md for the scope-approval flow. You are welcome to open a new PR once an issue carrying |
|
si ya se para mi no hay nada 😔 gracias siempre es lo mismo
atl
El sáb, 1 ago 2026, 11:37 p. m., github-actions[bot] <
***@***.***> escribió:
… Closed #362
<#362>.
—
Reply to this email directly, view it on GitHub
<#362?email_source=notifications&email_token=BWJXXQQHXQR3CU63UKMJGXL5H3HRFA5CNFSNUABQM5UWIORPF5TWS5BNNB2WEL2JONZXKZKFOZSW45CON52GSZTJMNQXI2LPNYXTEOBYGM3TQOBXGEZTNJTSMVQXG33OVJZXKYTTMNZGSYTFMSSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#event-28837887136>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BWJXXQSJ2XP4SYIQ2PRBMGL5H3HRFAVCNFSNUABFKJSXA33TNF2G64TZHM4DIOJUGA3DIOJWHNEXG43VMU5TIOJXGQ2TGNZQGM32C5QC>
.
You are receiving this because you are subscribed to this thread.Message
ID: <Fincept-Corporation/FinceptTerminal/pull/362/issue_event/28837887136@
github.com>
|
Scope gate (required)
good-first-issue,help-wanted, orscope:approvedlabel.mainon my fork).What does this PR do?
Adds a sticky, custom-rendered floating copy button to the top-right corner of the Portfolio -> AI Analysis output. The button remains fixed at the top-right when scrolling, shifts to prevent overlapping with the vertical scrollbar, copies the raw Markdown (
.md) text format (preserving headers, bold tags, lists, and tables), and shows a green success checkmark on click.Type of change
Changes made
fincept-qt/src/screens/portfolio/PortfolioInsightsPanel.h: AddedeventFilter()override andai_copy_btn_pointer.fincept-qt/src/screens/portfolio/PortfolioInsightsPanel.cpp:QPainter.ai_copy_btn_overlay parented toai_content_(to keep it sticky).eventFilteron the viewport resize event to dynamically align the button to the left of the scrollbar (leaving a 12px gap).ai_cache_(with plain text fallback) and update icons on success.How to test
✓for1500mson success.Architecture / code-quality checklist
waitForFinished()on main thread) — see CLAUDE.md P1showEvent()/hideEvent()— see P3Screenshots / logs
Copied State: