Scheduled transfers UI: let customers see run history older than twelve months
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 63/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- java, playwright, typescript
Direzione di ricerca
Start at the scheduled transfer detail page added in #264 and trace its runs(publicId, page, size) call, then check the BFF endpoint parameters and existing Playwright coverage. Add a visible date range and a control that requests the preceding twelve-month window while keeping paging within that window. Done when the default range is stated, earlier runs load, paging works in an earlier window, and the scheduled-transfers docs are updated.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What a consumer cannot do today
Since #265, the run history endpoint (GET /api/v1/scheduled-transfers/{publicId}/runs) reads a date window. With no fromDate it starts twelve months before toDate, or before Fineract's current date if there is no toDate.
The detail page added in #264 calls runs(publicId, page, size) with no dates. So it now shows only the last twelve months, and nothing in the page says so. A customer whose scheduled transfer is more than a year old cannot see its earlier runs, including failed ones, and has no way to ask for them. totalElements and totalPages also describe the window, not the transfer's whole history, so the page count can look wrong to a customer who expects everything.
What you would like instead
A customer can see which period the run list covers and can load an earlier one.
- The detail page says what it is showing (for example "Runs from 15 Jan 2029 to today") instead of implying it is the whole history.
- A "Show older runs" control loads the previous window by sending fromDate and toDate to the existing endpoint. Each step goes back twelve months, matching the default window.
- Paging stays correct inside a window: page and size apply to the window the customer chose.
- If the backend later caps the window length (see the linked hardening issue), the UI only requests windows within that cap.
Acceptance:
- Runs older than twelve months can be viewed from the detail page.
- The default view states that it covers the last twelve months.
- Playwright coverage for loading an earlier window and for paging inside it.
- Docs in docs/consumer/features/scheduled-transfers.adoc updated if the user-facing behavior changes.
Fineract API it relies on
No new Fineract API and no backend change. It uses the existing BFF endpoint GET /api/v1/scheduled-transfers/{publicId}/runs with its fromDate and toDate parameters (added in #265). The BFF reads Fineract's GET /v1/standinginstructionrunhistory and applies the window itself.
Dev list thread or Matrix discussion
Part of the scheduled transfers work in #239: https://lists.apache.org/thread.html/x24mmcxntk1co3fxp7mf7khckohn0q4t Follow-up to #250 / #265 and the UI in #264.
Alternatives and workarounds
- Show the whole history by default again. Rejected: that is the unbounded read #250 was about, and the cost grows with the account's age.
- Add a "total runs ever" figure. Not possible cheaply: Fineract cannot filter run history by instruction, so counting a transfer's runs means reading the account's runs.
- Today the only workaround is to call the endpoint directly with fromDate and toDate. The UI offers no way to do it.
- Lingua principale
- Java
- Stelle
- 7
- Fork
- 22
- Merge medio
- 1g 14h
- PR unite (30g)
- 50
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di apache/fineract-consumer-facing
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
apache/fineract-consumer-facing#306 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
apache/fineract-consumer-facing#305 ·
I maintainer di solito rispondono entro 2 giorni
-
bug Triage
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
apache/fineract-consumer-facing#286 ·
I maintainer di solito rispondono entro 2 giorni
-
Backend: decide whether feature services may call the generated Fineract Feign clients directlyForse di nuovo libera @Aana123 l’ha presa 36 giorni fa e non c’è nessuna pull request aperta. Apertaenhancement question
Difficoltà 5/5 Più di una settimana Idoneità per principianti 8/100
apache/fineract-consumer-facing#188 · 7 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
Frontend: migrate the remaining ngx-translate and Web Storage usages behind the I18N and STORAGE adaptersForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertaenhancement
Difficoltà 4/5 Più di una settimana Idoneità per principianti 25/100
apache/fineract-consumer-facing#172 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di apache/fineract-consumer-facing
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
commons-app/apps-android-commons#7486 ·
I maintainer di solito rispondono entro 1 giorno
-
easy first-contributor first-contributors good first issue help wanted kotlin up-for-grabs
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
fork-commit-merge/fork-commit-merge#8752 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
testng-team/testng#3672 ·
I maintainer di solito rispondono entro 1 giorno
-
triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
eclipse-edc/IdentityHub#1296 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
cloudfoundry/uaa#4194 ·
I maintainer di solito rispondono entro 1 giorno