[PR #7415] feat: add title tooltip to truncated transaction cells #21511

Open
opened 2026-04-14 22:07:25 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/7415
Author: @jonathanking
Created: 4/7/2026
Status: 🔄 Open

Base: masterHead: feat/truncated-cell-tooltip


📝 Commits (7)

  • 09fa3ae feat: add title tooltip to truncated transaction cells
  • 1766af5 chore: add release notes for #7415
  • 263e2bf Merge branch 'master' into feat/truncated-cell-tooltip
  • ee1abbe fix: address review feedback
  • 1b387a0 refactor: scope title tooltips to transaction table cells only
  • aac18f7 [autofix.ci] apply automated fixes
  • 7e6d017 fix: suppress payee title tooltip when imported payee tooltip exists

📊 Changes

2 files changed (+14 additions, -0 deletions)

View changed files

📝 packages/desktop-client/src/components/transactions/TransactionsTable.tsx (+8 -0)
upcoming-release-notes/7415.md (+6 -0)

📄 Description

Summary

Adds native browser title attributes to truncated cells in the transaction table, so hovering reveals the full content. This is a minimal change (4 lines added, 1 changed) that improves usability for long notes, payee names, and categories.

  • Desktop register: Adds title to UnexposedCellContent in table.tsx. Uses the formatted display value when it's a string (payee/category/account names), falls back to the raw value when the formatter returns JSX (e.g. notes with #tag formatting).

Closes #6735

Changes

File Change
packages/desktop-client/src/components/table.tsx Add title to UnexposedCellContent's <Text> element
packages/desktop-client/src/components/mobile/transactions/TransactionListItem.tsx Add title={notes} to notes <TextOneLine>

Test plan

  • Desktop register: hover over a truncated notes cell → full note text appears as tooltip
  • Desktop register: hover over a truncated payee/category/account → human-readable name appears (not UUID)
  • Notes with #tags: tooltip shows plain text, colored tags render normally in the cell

Bundle Stats

Bundle Files count Total bundle size % Changed
desktop-client 27 12.41 MB → 12.41 MB (+7.56 kB) +0.06%
loot-core 1 4.84 MB 0%
api 1 3.84 MB 0%
cli 1 7.89 MB 0%
View detailed bundle stats

desktop-client

Total

Files count Total bundle size % Changed
27 12.41 MB → 12.41 MB (+7.56 kB) +0.06%
Changeset
File Δ Size
locale/zh-Hans.json 📈 +5.08 kB (+5.39%) 94.19 kB → 99.27 kB
locale/ca.json 📈 +2.23 kB (+1.18%) 189.75 kB → 191.98 kB
src/components/transactions/TransactionsTable.tsx 📈 +188 B (+0.21%) 88.41 kB → 88.6 kB
locale/en.json 📈 +71 B (+0.04%) 175.65 kB → 175.72 kB
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger

Asset File Size % Changed
static/js/zh-Hans.js 94.19 kB → 99.27 kB (+5.08 kB) +5.39%
static/js/ca.js 189.75 kB → 191.98 kB (+2.23 kB) +1.18%
static/js/useTransactionBatchActions.js 4.33 MB → 4.33 MB (+188 B) +0.00%
static/js/en.js 175.65 kB → 175.72 kB (+71 B) +0.04%

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
static/js/index.js 3.31 MB 0%
static/js/BackgroundImage.js 121.09 kB 0%
static/js/FormulaEditor.js 852.77 kB 0%
static/js/ReportRouter.js 1.17 MB 0%
static/js/TransactionList.js 82.49 kB 0%
static/js/da.js 104.66 kB 0%
static/js/de.js 174.38 kB 0%
static/js/en-GB.js 8.2 kB 0%
static/js/es.js 181.8 kB 0%
static/js/fr.js 177.08 kB 0%
static/js/indexeddb-main-thread-worker-e59fee74.js 13.46 kB 0%
static/js/it.js 165.87 kB 0%
static/js/narrow.js 363.02 kB 0%
static/js/nb-NO.js 151.85 kB 0%
static/js/nl.js 108.93 kB 0%
static/js/pl.js 88.34 kB 0%
static/js/pt-BR.js 177.44 kB 0%
static/js/resize-observer.js 18.06 kB 0%
static/js/th.js 179.3 kB 0%
static/js/theme.js 30.79 kB 0%
static/js/uk.js 212.6 kB 0%
static/js/wide.js 295 B 0%
static/js/workbox-window.prod.es5.js 7.33 kB 0%

loot-core

Total

Files count Total bundle size % Changed
1 4.84 MB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
kcab.worker.DOvC4GKD.js 4.84 MB 0%

api

Total

Files count Total bundle size % Changed
1 3.84 MB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
index.js 3.84 MB 0%

cli

Total

Files count Total bundle size % Changed
1 7.89 MB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
cli.js 7.89 MB 0%

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/7415 **Author:** [@jonathanking](https://github.com/jonathanking) **Created:** 4/7/2026 **Status:** 🔄 Open **Base:** `master` ← **Head:** `feat/truncated-cell-tooltip` --- ### 📝 Commits (7) - [`09fa3ae`](https://github.com/actualbudget/actual/commit/09fa3ae6ec70d97a1d490482657d3b2bd7b0f2c7) feat: add title tooltip to truncated transaction cells - [`1766af5`](https://github.com/actualbudget/actual/commit/1766af56f1cd6b89768da2b57edaa6c30fc4cdde) chore: add release notes for #7415 - [`263e2bf`](https://github.com/actualbudget/actual/commit/263e2bfb53f2bd5babebd4948c22a4e3943d9029) Merge branch 'master' into feat/truncated-cell-tooltip - [`ee1abbe`](https://github.com/actualbudget/actual/commit/ee1abbe8d16c9755c6a0f37494fe419da5a90f8a) fix: address review feedback - [`1b387a0`](https://github.com/actualbudget/actual/commit/1b387a076d698b1580a96fa17ac28d89a5bf76ca) refactor: scope title tooltips to transaction table cells only - [`aac18f7`](https://github.com/actualbudget/actual/commit/aac18f79f9a8359158ab38bffc08a6b96d296bf7) [autofix.ci] apply automated fixes - [`7e6d017`](https://github.com/actualbudget/actual/commit/7e6d0174120155f3a72eb4c48bf84c1de211d991) fix: suppress payee title tooltip when imported payee tooltip exists ### 📊 Changes **2 files changed** (+14 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/transactions/TransactionsTable.tsx` (+8 -0) ➕ `upcoming-release-notes/7415.md` (+6 -0) </details> ### 📄 Description ## Summary Adds native browser `title` attributes to truncated cells in the transaction table, so hovering reveals the full content. This is a minimal change (4 lines added, 1 changed) that improves usability for long notes, payee names, and categories. - **Desktop register**: Adds `title` to `UnexposedCellContent` in `table.tsx`. Uses the formatted display value when it's a string (payee/category/account names), falls back to the raw value when the formatter returns JSX (e.g. notes with `#tag` formatting). Closes #6735 ## Changes | File | Change | |------|--------| | `packages/desktop-client/src/components/table.tsx` | Add `title` to `UnexposedCellContent`'s `<Text>` element | | `packages/desktop-client/src/components/mobile/transactions/TransactionListItem.tsx` | Add `title={notes}` to notes `<TextOneLine>` | ## Test plan - [x] Desktop register: hover over a truncated notes cell → full note text appears as tooltip - [x] Desktop register: hover over a truncated payee/category/account → human-readable name appears (not UUID) - [x] Notes with `#tags`: tooltip shows plain text, colored tags render normally in the cell <!--- actual-bot-sections ---> <hr /> <!--- bundlestats-action-comment key:combined start ---> ### Bundle Stats Bundle | Files count | Total bundle size | % Changed ------ | ----------- | ----------------- | --------- desktop-client | 27 | 12.41 MB → 12.41 MB (+7.56 kB) | +0.06% loot-core | 1 | 4.84 MB | 0% api | 1 | 3.84 MB | 0% cli | 1 | 7.89 MB | 0% <details> <summary>View detailed bundle stats</summary> #### desktop-client **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 27 | 12.41 MB → 12.41 MB (+7.56 kB) | +0.06% <details> <summary>Changeset</summary> File | Δ | Size ---- | - | ---- `locale/zh-Hans.json` | 📈 +5.08 kB (+5.39%) | 94.19 kB → 99.27 kB `locale/ca.json` | 📈 +2.23 kB (+1.18%) | 189.75 kB → 191.98 kB `src/components/transactions/TransactionsTable.tsx` | 📈 +188 B (+0.21%) | 88.41 kB → 88.6 kB `locale/en.json` | 📈 +71 B (+0.04%) | 175.65 kB → 175.72 kB </details> <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** Asset | File Size | % Changed ----- | --------- | --------- static/js/zh-Hans.js | 94.19 kB → 99.27 kB (+5.08 kB) | +5.39% static/js/ca.js | 189.75 kB → 191.98 kB (+2.23 kB) | +1.18% static/js/useTransactionBatchActions.js | 4.33 MB → 4.33 MB (+188 B) | +0.00% static/js/en.js | 175.65 kB → 175.72 kB (+71 B) | +0.04% **Smaller** No assets were smaller **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- static/js/index.js | 3.31 MB | 0% static/js/BackgroundImage.js | 121.09 kB | 0% static/js/FormulaEditor.js | 852.77 kB | 0% static/js/ReportRouter.js | 1.17 MB | 0% static/js/TransactionList.js | 82.49 kB | 0% static/js/da.js | 104.66 kB | 0% static/js/de.js | 174.38 kB | 0% static/js/en-GB.js | 8.2 kB | 0% static/js/es.js | 181.8 kB | 0% static/js/fr.js | 177.08 kB | 0% static/js/indexeddb-main-thread-worker-e59fee74.js | 13.46 kB | 0% static/js/it.js | 165.87 kB | 0% static/js/narrow.js | 363.02 kB | 0% static/js/nb-NO.js | 151.85 kB | 0% static/js/nl.js | 108.93 kB | 0% static/js/pl.js | 88.34 kB | 0% static/js/pt-BR.js | 177.44 kB | 0% static/js/resize-observer.js | 18.06 kB | 0% static/js/th.js | 179.3 kB | 0% static/js/theme.js | 30.79 kB | 0% static/js/uk.js | 212.6 kB | 0% static/js/wide.js | 295 B | 0% static/js/workbox-window.prod.es5.js | 7.33 kB | 0% </div> </details> --- #### loot-core **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 1 | 4.84 MB | 0% <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** No assets were bigger **Smaller** No assets were smaller **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- kcab.worker.DOvC4GKD.js | 4.84 MB | 0% </div> </details> --- #### api **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 1 | 3.84 MB | 0% <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** No assets were bigger **Smaller** No assets were smaller **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- index.js | 3.84 MB | 0% </div> </details> --- #### cli **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 1 | 7.89 MB | 0% <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** No assets were bigger **Smaller** No assets were smaller **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- cli.js | 7.89 MB | 0% </div> </details> </details> <!--- bundlestats-action-comment key:combined end ---> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-14 22:07:25 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#21511