Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: move on-behalf-of #5070

Merged
merged 4 commits into from
Mar 21, 2025
Merged

fix: move on-behalf-of #5070

merged 4 commits into from
Mar 21, 2025

Conversation

Oleninkaa
Copy link
Contributor

Closes https://github.com/AtB-AS/kundevendt/issues/18202

On-behalf-of element is modified and moved to another place - right to the Purchase Overview Screen.

p.s. Toggle section's proportions is fixed and added ContentHeading for the night ticket.

First Header Second Header
simulator_screenshot_A7913BEA-8E2D-4808-8941-20DCA45D0759 simulator_screenshot_CC510B5D-C353-4938-9A89-3B857A389FBA
simulator_screenshot_33B97A1D-2F22-4EC5-887C-0AB24DF23E55 simulator_screenshot_173C60D1-E413-4480-A829-E34FFF490B0C
simulator_screenshot_0BA662FC-D9ED-44C1-992C-6E5BAB179288 simulator_screenshot_46222929-E72E-475F-B90E-93087DDF3561

I did a pull request previously but I wanted to update the remote with the new changes, and then I got confused with the git commands. So, here is the new version. Sorry 😣

@Oleninkaa Oleninkaa changed the title Olha/move on behalf on fix: move on-behalf-of Mar 12, 2025
@Oleninkaa Oleninkaa requested a review from jorunnl March 14, 2025 13:42
import {View} from 'react-native';
import {ThemeText} from '@atb/components/text';
import {ContrastColor} from '@atb/theme/colors';
import {StyleSheet} from '@atb/theme';
import {forwardRef} from 'react';
import React from 'react';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this import is not needed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I receive an error without this import. I believe this file is unnecessary to modify for this task, but I added the import solely because of this error.

'React' refers to a UMD global, but the current file is a module. Consider adding an import instead.

@@ -210,7 +210,7 @@ const PurchaseOverviewTexts = {
),
button: {
payment: _('Til betaling', 'To payment', 'Til betaling'),
sendToOthers: _('Gå videre', 'Continue', 'Gå vidare'),
sendToOthers: _('Select recipient', 'Select recipient', 'Vel mottakar'),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The first 'Select recipient', 'Select recipient' should be in Norwegian.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@jorelosorio
Copy link
Member

There may be more spacing now, but I don't know if it is related to this PR.

image
In figma:
image

@Oleninkaa
Copy link
Contributor Author

There may be more spacing now, but I don't know if it is related to this PR.

image In figma: image

It's not referenced in this issue, but I will fix it anyway.

sectionSubText: _(
'Den du kjøper billett til, må være innlogget i AtB-appen for å få billetten.',
'The person you buy a ticket for, must be logged in to the AtB app to get the ticket.',
'The person you buy a ticket for, must be logged in to the AtB to recieve the ticket.',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'The person you buy a ticket for, must be logged in to the AtB to recieve the ticket.',
'The person you buy a ticket for, must be logged in to the AtB app to recieve the ticket.',

@strandlie
Copy link
Contributor

Is it possible to change the number / person you are sending the ticket to after it has been entered the first time? The checkbox makes me think you wouldn't be able to, but maybe you should? I don't know :)

@Oleninkaa
Copy link
Contributor Author

Oleninkaa commented Mar 19, 2025

Is it possible to change the number / person you are sending the ticket to after it has been entered the first time? The checkbox makes me think you wouldn't be able to, but maybe you should? I don't know :)

As I see in Figma, we only have the functionality of deleting saved recipients. But It's a good suggestion that we can implement in life.

Skjermbilde 2025-03-19 kl  14 37 40

@Oleninkaa Oleninkaa merged commit ef3e710 into master Mar 21, 2025
4 checks passed
@Oleninkaa Oleninkaa deleted the olha/move-on-behalf-on branch March 21, 2025 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants