[Pending/Scanning pattern] Update the UI for Pending and Scanning in Single Transaction ReportPreview / MoneyRequestAction#40020
Conversation
|
@dannymcclain @thesahindia One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
| width={variables.iconSizeExtraSmall} | ||
| fill={theme.textSupporting} | ||
| /> | ||
| <Text style={[styles.textLabel, styles.colorMuted, styles.ml1, styles.amountSplitPadding]}>{translate('iou.receiptScanInProgress')}</Text> |
There was a problem hiding this comment.
Is this the preview card view? If so, just want to check that we're using the correct font size for that, cc @dannymcclain
If I recall, we had a slightly smaller size on the preview card, but we use label on the actual report header.
| width={variables.iconSizeExtraSmall} | ||
| fill={theme.textSupporting} | ||
| /> | ||
| <Text style={[styles.textLabel, styles.colorMuted, styles.ml1, styles.amountSplitPadding]}>{translate('iou.receiptScanInProgress')}</Text> |
@shawnborton I haven't changed anything in the display logic for that part, so it's either because of missing info from the mocked transaction or a separate bug. |
| width={variables.iconSizeExtraSmall} | ||
| fill={theme.textSupporting} | ||
| /> | ||
| <Text style={[styles.textMicroSupporting, styles.colorMuted, styles.ml1, styles.amountSplitPadding]}> |
| width={variables.iconSizeExtraSmall} | ||
| fill={theme.textSupporting} | ||
| /> | ||
| <Text style={[styles.textMicroSupporting, styles.colorMuted, styles.ml1, styles.amountSplitPadding]}> |
|
Looks good, let's merge this tomorrow 👍 |
|
ah, translation confirmation is still pending @yuwenmemon can you please bump https://expensify.slack.com/archives/C01GTK53T8Q/p1715166633822739 internally ? |
|
Ah yes! Done! |
yuwenmemon
left a comment
There was a problem hiding this comment.
Added in the proper translations as suggestions.
| receiptIssuesFound: (count: number) => `${count === 1 ? 'Problema encontrado' : 'Problemas encontrados'}`, | ||
| fieldPending: 'Pendiente...', | ||
| receiptScanning: 'Escaneando recibo...', | ||
| receiptScanInProgress: 'Escaneo en curso.', |
There was a problem hiding this comment.
| receiptScanInProgress: 'Escaneo en curso.', | |
| receiptScanInProgress: 'Escaneado de recibo en proceso.', |
| fieldPending: 'Pendiente...', | ||
| receiptScanning: 'Escaneando recibo...', | ||
| receiptScanInProgress: 'Escaneo en curso.', | ||
| receiptScanInProgressDescription: 'Escaneando recibo. Vuelva a comprobarlo más tarde o introduzca los detalles ahora.', |
There was a problem hiding this comment.
| receiptScanInProgressDescription: 'Escaneando recibo. Vuelva a comprobarlo más tarde o introduzca los detalles ahora.', | |
| receiptScanInProgressDescription: 'Escaneado de recibo en proceso. Vuelva a comprobar más tarde o introduzca los detalles ahora.', |
| receiptStatusText: 'Solo tú puedes ver este recibo cuando se está escaneando. Vuelve más tarde o introduce los detalles ahora.', | ||
| receiptScanningFailed: 'El escaneo de recibo ha fallado. Introduce los detalles manualmente.', | ||
| transactionPendingText: 'La transacción tarda unos días en contabilizarse desde la fecha en que se utilizó la tarjeta.', | ||
| transactionPendingDescription: 'Transacción pendiente. Esto puede tardar algunos días en registrarse a partir de la fecha en que se utilizó la tarjeta.', |
There was a problem hiding this comment.
| transactionPendingDescription: 'Transacción pendiente. Esto puede tardar algunos días en registrarse a partir de la fecha en que se utilizó la tarjeta.', | |
| transactionPendingDescription: 'Transacción pendiente. La transacción tarda unos días en contabilizarse desde la fecha en que se utilizó la tarjeta.', |
| set: 'estableció', | ||
| changed: 'cambió', | ||
| removed: 'eliminó', | ||
| transactionPending: 'Transacción pendiente.', |
There was a problem hiding this comment.
| transactionPending: 'Transacción pendiente.', | |
| transactionPending: 'Transacción pendiente.', |
|
🚀 Deployed to staging by https://github.com/yuwenmemon in version: 1.4.73-0 🚀
|
|
@BrtqKr Can you please share the QA steps? |
|
@kbecciv Above are QA test steps |
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.4.73-7 🚀
|
|
Hi friends! Can I get a quick explanation of why we included It's causing this bug with new functionality (allowing flagging of whispers) and I'm wondering if we need it. Do you recall what the reasoning was for not having pending actions count as whispers? Thanks! |
|
Bump @BrtqKr and anyone else who might know - am I safe to remove that |





Details
Fixed Issues
$ #38688
PROPOSAL:
Tests
Prerequisites:
The
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop