Suspense
| Sr. no. | Date | Narration | Reference | Debit | Credit | Balance | Ledger |
|---|
No entry in this step has a suggestion now.
Ledger Map · design options · 17/10/2026 · follows the alpha review of 16/10
When a save teaches the server, other entries in the Suspense step get a suggestion. They stay in that step (by rule), and nothing points the user at them. In the alpha test, 14 such entries got a 72–97% suggestion and were still exported to Suspense. Below are four ways to fix it. You can try each one in a working mock of the Suspense step.
step-split.ts). So every open entry in the Suspense step that has a suggestion got it during review. That makes “new” easy to find: Suspense step + no choice + a suggestion.refresh() in use-statement-entries.ts). About 1 second later, the suggestion shows in the row's Ledger box: grey italic text and a small coloured mark. Most other boxes in this step show the grey placeholder “Choose a ledger…”, so it looks almost the same.acceptAll is set only for Suggestions).The mock is the Suspense step of the KESARI NANDAN ART import (HDFC current account): 25 rows taken from the alpha data, with person names and account numbers removed. The red suggestion on MAHAVIR STORE is added to show that edge case. Saves take 0.3 s, and new suggestions arrive 0.7 s later, as on the server.
| Option | Good | Not so good | The 14 alpha entries | Effort |
|---|---|---|---|---|
| A Count in header + accept all | Always in view (sticky). One key. Same key as in Suggestions, which users already use. Reaches rows above without moving focus. | Accepts without a look at each row. The user does not see which rows, unless they scroll. | All 14 counted. One key press accepts them (all were green or yellow). | Small (≈ ½ day) |
| B Row marks + F8 | The user checks each row. No bulk mistakes. Marks also help later, in Review. | A new key to learn. Needs a visit to each row. Easy to ignore, as today. | All 14 marked. 14 × (F8, Ctrl+Enter). | Small–medium (≈ 1 day) |
| C “Now suggested” filter | See all new ones together, with their narration, then accept. Nothing in the list moves. | A mode to remember. The switch scrolls away at the top of the table. Users must think to open it. | All 14 listed, if the user opens the filter. | Medium (≈ 1–1½ days) |
| D Offer right after the save | Asks when the user knows the answer (“yes, same pump”). Reuses the same-payee pop-up and its setting. Lists rows above too. | A pop-up after a save can annoy. Waits ≈ 1 s for the server. Escape loses them. Does not cover suggestions of a different ledger. | All 14: each was the ledger just chosen. | Medium (≈ 1–1½ days) |
| D + A (recommended) | D at the moment of the choice. A as the safety net for anything left (Escape, typing, bulk saves, other ledgers). | Two pieces of UI to build and to test. | All 14, two ways. | ≈ 2 days |
| Case | A | B | C | D |
|---|---|---|---|---|
| Red (unsure) suggestion | Not in accept all. The line says “1 unsure one (red mark) is left for you”. | Marked, with its red mark. | Listed. Not in accept all. | Listed but not ticked. |
| Suggestion changes again (GST: yellow → green after the 2nd choice) | Count stays. Accept takes the latest ledger. | Mark stays. The colour changes. | Row stays. The colour changes. | Not offered again for the same ledger. An open pop-up gets new rows at its end. |
| Rows above the current row | Counted and accepted. Focus does not move. | Reached with Shift+F8, or F8 wraps with “Back to the first one, above”. | Listed in statement order. | Listed in the pop-up. |
| Suggestion goes away (user clears the choice that taught it) | Count goes down. | Mark goes. | Row stays listed until you switch back, so nothing jumps. | Removed from an open pop-up. |
| User is typing in a Ledger box when suggestions arrive | Only the count changes. | Only marks change. | Only the count changes. | No pop-up (it would take focus). The status line says it instead. |
| Focus after accepting | Stays on the current row. If that row was accepted, focus goes to the next open entry below. Focus never jumps up after a save, in every option. | |||
docs/keyboard.md and the help dialog get Ctrl+Shift+Enter in Suspense. Tests: the line, accept all (no red, focus down only), the pop-up (opens only when focus is on the row, Enter, Escape, Space, return of focus).If you choose B or C instead, the keys are F8 / Shift+F8 (not a letter: letters on a row start a ledger search, and Alt+Shift switches the keyboard language on Windows) and Alt+S.