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

Shaheer/Suisin/Amina/feature/90115/update jurisdiction #8093

Merged
Show file tree
Hide file tree
Changes from 239 commits
Commits
Show all changes
339 commits
Select commit Hold shift + click to select a range
2c1da0a
Merge pull request #6 from amina-deriv/amina/feature/90115/update_jur…
shaheer-deriv Apr 7, 2023
a365912
Merge branch 'shaheer/feature/90115/update_jurisdiction' into shaheer…
shaheer-deriv Apr 7, 2023
a9bac37
refactor: :pencil2: renames a type
shaheer-deriv Apr 7, 2023
35ad751
refactor: :art: improves code structure by removing unwanted return s…
shaheer-deriv Apr 7, 2023
94d6b60
refactor: :art: organises jurisdiction contents to seperate folder
shaheer-deriv Apr 7, 2023
a4b0c42
refactor: :pencil2: renames a type
shaheer-deriv Apr 7, 2023
53c5add
refactor: :sparkles: converts jurisdiction object to functions for tr…
shaheer-deriv Apr 7, 2023
7d751a4
Merge branch 'binary-com:master' into amina/feature/90115/update_juri…
shaheer-deriv Apr 10, 2023
259f48a
Merge branch 'binary-com:master' into shaheer/feature/90115/update_ju…
shaheer-deriv Apr 10, 2023
50f1c2d
Merge branch 'binary-com:master' into shaheer/90804/mt5-jurisdiction-…
shaheer-deriv Apr 10, 2023
869a7a6
refactor: :lipstick: nests sass classes
shaheer-deriv Apr 10, 2023
66a26ad
refactor: :lipstick: nests sass classes
shaheer-deriv Apr 10, 2023
7409988
refactor: :art: uses border radius constant value in css
shaheer-deriv Apr 10, 2023
7f7fac2
refactor: :art: refactors css property usages
shaheer-deriv Apr 10, 2023
b37583c
refactor: :pencil2: renames a key in mt5 contents
shaheer-deriv Apr 10, 2023
524dceb
refactor: :art: refactors mt5 code
shaheer-deriv Apr 10, 2023
2d9afde
refactor: :art: sorts color constants used
shaheer-deriv Apr 10, 2023
592a9a4
refactor: :art: refactors color usages
shaheer-deriv Apr 10, 2023
c23e84b
Merge branch 'binary-com:master' into amina/feature/90115/update_juri…
shaheer-deriv Apr 12, 2023
533606f
Merge pull request #7 from amina-deriv/amina/feature/90115/update_jur…
shaheer-deriv Apr 12, 2023
4bab9ff
Merge branch 'shaheer/feature/90115/update_jurisdiction' into shaheer…
shaheer-deriv Apr 12, 2023
bf8d3b4
Merge branch 'binary-com:master' into shaheer/feature/90115/update_ju…
shaheer-deriv Apr 13, 2023
b3fcdbc
Merge branch 'binary-com:master' into shaheer/90804/mt5-jurisdiction-…
shaheer-deriv Apr 13, 2023
e0ecd30
Merge branch 'binary-com:master' into amina/feature/90115/update_juri…
shaheer-deriv Apr 13, 2023
3c25502
Merge pull request #8 from amina-deriv/amina/feature/90115/update_jur…
shaheer-deriv Apr 13, 2023
034aefd
Merge branch 'shaheer/feature/90115/update_jurisdiction' into shaheer…
shaheer-deriv Apr 13, 2023
8e0e6af
Merge pull request #49 from shaheer-deriv/shaheer/90804/mt5-jurisdict…
amina-deriv Apr 13, 2023
e72b4d6
Merge pull request #9 from amina-deriv/amina/feature/90115/update_jur…
shaheer-deriv Apr 13, 2023
ce65b71
fix: :bug: prevents states of child card being destroyed by parent
shaheer-deriv Apr 14, 2023
2053456
Merge branch 'amina/feature/90115/update_jurisdiction' of github.com:…
suisin-deriv Apr 14, 2023
7478cef
refactor: :wastebasket: cleans up jurisdiction code
shaheer-deriv Apr 14, 2023
6ef14bd
chore: update Test Case for Jurisdiction modal content
suisin-deriv Apr 14, 2023
9533259
refactor: :art: moves state down the tree from parent to local level
shaheer-deriv Apr 14, 2023
ff565a4
feat: :sparkles: animates jurisdiction card on flip
shaheer-deriv Apr 14, 2023
2bb3eec
feat: :sparkles: displays 'Added' indicator if the card is already added
shaheer-deriv Apr 14, 2023
fde6d0e
chore: test case for jurisdiction modal content
suisin-deriv Apr 17, 2023
d6536d0
chore: update jurisdiction_selected_shortcode for foot note
suisin-deriv Apr 17, 2023
6c3f5c9
chore: update import to follow document
suisin-deriv Apr 17, 2023
f2cf54b
style: :lipstick: fixes the height
shaheer-deriv Apr 17, 2023
879660f
Merge branch 'binary-com:master' into amina/feature/90115/update_juri…
shaheer-deriv Apr 17, 2023
1d15b9e
Merge branch 'binary-com:master' into shaheer/feature/90115/update_ju…
shaheer-deriv Apr 17, 2023
f2ecb34
Merge branch 'binary-com:master' into shaheer/90807/jurisdiction-card…
shaheer-deriv Apr 17, 2023
1714a78
Merge branch 'binary-com:master' into shaheer/90807/mt5-jurisdiction-…
shaheer-deriv Apr 17, 2023
4f73b31
Merge branch 'shaheer/90807/mt5-jurisdiction-card' into shaheer/90807…
shaheer-deriv Apr 17, 2023
2aea226
Merge pull request #10 from amina-deriv/amina/feature/90115/update_ju…
shaheer-deriv Apr 17, 2023
68b8d54
Merge branch 'shaheer/feature/90115/update_jurisdiction' into shaheer…
shaheer-deriv Apr 17, 2023
77e505f
chore: test case for jurisdiction card front
suisin-deriv Apr 17, 2023
ae3e07d
chore: remove hard coded parts
suisin-deriv Apr 17, 2023
92b77f6
chore: move the imports variable according to documentation
suisin-deriv Apr 17, 2023
7c441a1
style: :lipstick: styles the back of the card as per figma design
shaheer-deriv Apr 17, 2023
5e5302b
refactor: :pencil2: rearranges import statements
shaheer-deriv Apr 17, 2023
8f38263
chore: included checks for MF clients and high risk clients
suisin-deriv Apr 17, 2023
a6a5236
chore: updated test case based on comments
suisin-deriv Apr 17, 2023
79d7d75
refactor: :wastebasket: removes unwanted css classes
shaheer-deriv Apr 17, 2023
62fb1e3
refactor: :art: moved classNames into single object
shaheer-deriv Apr 17, 2023
a5fa344
refactor: :art: rearranges import statements
shaheer-deriv Apr 17, 2023
d4c8658
chore: updated logic for test cases
suisin-deriv Apr 17, 2023
07611c4
chore: update test case in footnote
suisin-deriv Apr 17, 2023
2507582
refactor: :art: sorts props alphabetically
shaheer-deriv Apr 17, 2023
5b9ef6a
refactor: :art: reuses the prop object
shaheer-deriv Apr 17, 2023
a5d3aa7
refactor: :pencil2: sorts props alphabetically
shaheer-deriv Apr 17, 2023
f881a59
refactor: :art: uses single object for classnames
shaheer-deriv Apr 17, 2023
191c651
style: :lipstick: aligns card sections equally
shaheer-deriv Apr 17, 2023
1ba5b58
Merge branch 'binary-com:master' into amina/feature/90115/update_juri…
shaheer-deriv Apr 18, 2023
7e675ed
Merge branch 'binary-com:master' into shaheer/90807/jurisdiction-card…
shaheer-deriv Apr 18, 2023
ba98ede
feat: :sparkles: sets up displaying verification icons in card front
shaheer-deriv Apr 18, 2023
a38613f
refactor: :art: sorts props alphabetically
shaheer-deriv Apr 18, 2023
e07216c
refactor: :art: adds verification items to props
shaheer-deriv Apr 18, 2023
2d3226c
feat: :sparkles: displays verification icons on card front
shaheer-deriv Apr 18, 2023
3a8d812
Merge branch 'binary-com:master' into shaheer/90807/jurisdiction-card…
shaheer-deriv Apr 18, 2023
c68bc20
Merge branch 'binary-com:master' into amina/feature/90115/update_juri…
shaheer-deriv Apr 18, 2023
6937c6d
Merge pull request #11 from amina-deriv/amina/feature/90115/update_ju…
shaheer-deriv Apr 18, 2023
abe12fa
Merge branch 'shaheer/feature/90115/update_jurisdiction' into shaheer…
shaheer-deriv Apr 18, 2023
e316a16
Merge branch 'binary-com:master' into amina/feature/90115/update_juri…
shaheer-deriv Apr 18, 2023
acba460
Merge pull request #53 from suisin-deriv/suisin/92035/test_case_for_j…
amina-deriv Apr 18, 2023
4350d5b
Merge branch 'binary-com:master' into amina/feature/90115/update_juri…
shaheer-deriv Apr 18, 2023
dcf07ab
Merge pull request #12 from amina-deriv/amina/feature/90115/update_ju…
shaheer-deriv Apr 18, 2023
eb87804
Merge branch 'shaheer/feature/90115/update_jurisdiction' into shaheer…
shaheer-deriv Apr 18, 2023
c19a9ec
chore: test case for jurisdiction title indicator
suisin-deriv Apr 18, 2023
1b02756
Merge branch 'amina/feature/90115/update_jurisdiction' of github.com:…
suisin-deriv Apr 18, 2023
db96606
Merge branch 'binary-com:master' into amina/feature/90115/update_juri…
shaheer-deriv Apr 18, 2023
6deebf8
Merge branch 'binary-com:master' into shaheer/90807/jurisdiction-card…
shaheer-deriv Apr 18, 2023
3674ee9
Merge branch 'binary-com:master' into shaheer/90807/jurisdiction-card…
shaheer-deriv Apr 18, 2023
fe991a2
feat: :sparkles: adds icons for various verification status
shaheer-deriv Apr 18, 2023
cba7745
refactor: :art: adds account_status to components
shaheer-deriv Apr 19, 2023
8d31b16
Merge branch 'binary-com:master' into amina/feature/90115/update_juri…
shaheer-deriv Apr 19, 2023
749659a
Merge branch 'binary-com:master' into shaheer/90807/jurisdiction-card…
shaheer-deriv Apr 19, 2023
fd7e75b
Merge pull request #13 from amina-deriv/amina/feature/90115/update_ju…
shaheer-deriv Apr 19, 2023
e738b91
Merge branch 'shaheer/feature/90115/update_jurisdiction' into shaheer…
shaheer-deriv Apr 19, 2023
6cb80d6
refactor: :art: adds type_of_card props to components
shaheer-deriv Apr 19, 2023
7d6c87a
fix: :lipstick: fixes icon to text alignment
shaheer-deriv Apr 19, 2023
5183e24
chore: test case for jurisdiction card section
suisin-deriv Apr 19, 2023
46cab5a
chore: update code to check test over header not in test case
suisin-deriv Apr 19, 2023
ec0109e
feat: :sparkles: displays verification icons based on status
shaheer-deriv Apr 19, 2023
4ecc32d
Merge pull request #54 from suisin-deriv/suisin/93477/test_case_for_j…
amina-deriv Apr 19, 2023
cb425dd
chore: test case for jurisdiction clickable description
suisin-deriv Apr 20, 2023
b26250d
Merge branch 'binary-com:master' into amina/feature/90115/update_juri…
shaheer-deriv Apr 24, 2023
5bb8c8a
Merge pull request #14 from amina-deriv/amina/feature/90115/update_ju…
shaheer-deriv Apr 24, 2023
13d65a0
style: :lipstick: fixes jurisdiction modal width
shaheer-deriv Apr 24, 2023
da90022
Merge branch 'binary-com:master' into shaheer/90807/jurisdiction-card…
shaheer-deriv Apr 24, 2023
3b6a6a0
Merge branch 'shaheer/feature/90115/update_jurisdiction' into shaheer…
shaheer-deriv Apr 24, 2023
69f7cd1
fix: :bug: jurisdiction testcase fix
shaheer-deriv Apr 24, 2023
8e0ab0a
fix: :lipstick: fixes modal height clipping
shaheer-deriv Apr 24, 2023
ae445fc
fix: :lipstick: fixes modal card heights
shaheer-deriv Apr 24, 2023
8e3b66d
refactor: :pencil2: renames a type variable
shaheer-deriv Apr 24, 2023
3bb0da5
refactor: :wastebasket: removes unused text value
shaheer-deriv Apr 24, 2023
dc88aed
chore: test case for jurisdiction card
suisin-deriv Apr 25, 2023
c0d8b24
style: :lipstick: refactors styling
shaheer-deriv Apr 25, 2023
9aa892a
Merge branch 'binary-com:master' into amina/feature/90115/update_juri…
shaheer-deriv Apr 25, 2023
9658700
Merge pull request #15 from amina-deriv/amina/feature/90115/update_ju…
shaheer-deriv Apr 25, 2023
3be6fed
Merge pull request #16 from shaheer-deriv/shaheer/feature/90115/updat…
shaheer-deriv Apr 25, 2023
22dd454
Merge pull request #52 from shaheer-deriv/shaheer/90807/jurisdiction-…
matin-deriv Apr 25, 2023
ee7b488
Merge pull request #17 from amina-deriv/amina/feature/90115/update_ju…
shaheer-deriv Apr 25, 2023
0e6edc6
Merge branch 'amina/feature/90115/update_jurisdiction' of github.com:…
suisin-deriv Apr 25, 2023
f1b61bb
fix: :bug: fixes firefox flipped card issue
shaheer-deriv Apr 25, 2023
db89e7f
chore: updated test case based on new changes
suisin-deriv Apr 26, 2023
48ee27b
Merge branch 'amina/feature/90115/update_jurisdiction' of github.com:…
suisin-deriv Apr 26, 2023
4dc36fa
chore: update test case based on latest update
suisin-deriv Apr 26, 2023
d8f7683
chore: remove hard coded variables
suisin-deriv Apr 26, 2023
7689a63
Merge branch 'amina/feature/90115/update_jurisdiction' of github.com:…
suisin-deriv Apr 26, 2023
83b784f
Merge branch 'amina/feature/90115/update_jurisdiction' of github.com:…
suisin-deriv Apr 26, 2023
e59ab35
chore: edit test case based on latest update
suisin-deriv Apr 26, 2023
5005abb
chore: test case for jurisdiction card back
suisin-deriv Apr 26, 2023
5464453
Merge branch 'binary-com:master' into amina/feature/90115/update_juri…
shaheer-deriv Apr 26, 2023
a747e0f
Merge branch 'binary-com:master' into shaheer/feature/90115/update_ju…
shaheer-deriv Apr 26, 2023
c599e65
fix: :bug: fixes crossbrowser support issues
shaheer-deriv Apr 26, 2023
18057c6
Merge branch 'shaheer/feature/90115/update_jurisdiction' of https://g…
shaheer-deriv Apr 26, 2023
406b9d3
Merge branch 'binary-com:master' into amina/feature/90115/update_juri…
shaheer-deriv Apr 26, 2023
cec8896
Merge pull request #18 from amina-deriv/amina/feature/90115/update_ju…
shaheer-deriv Apr 26, 2023
4c070dc
Merge pull request #61 from shaheer-deriv/shaheer/feature/90115/updat…
matin-deriv Apr 27, 2023
2257fb5
chore: update code based on comment
suisin-deriv Apr 27, 2023
0a91fd9
chore: remove as const from code
suisin-deriv Apr 27, 2023
ae2b971
chore: remove as const from code
suisin-deriv Apr 27, 2023
50069cf
chore: remove object type declaration for data-testid
suisin-deriv Apr 27, 2023
b5b57c8
chore: added extra check for className for clickable description
suisin-deriv Apr 27, 2023
76947b0
Merge branch 'binary-com:master' into amina/feature/90115/update_juri…
shaheer-deriv Apr 27, 2023
1c491a5
Merge pull request #19 from amina-deriv/amina/feature/90115/update_ju…
shaheer-deriv Apr 27, 2023
8365d5f
chore: remove all as const
suisin-deriv Apr 27, 2023
071ce45
chore: remove as const from code base
suisin-deriv Apr 27, 2023
875850e
refactor: :recycle: refactors the code
shaheer-deriv Apr 27, 2023
5b15629
refactor: :recycle: refactors jurisdiction localize usages
shaheer-deriv Apr 27, 2023
5e60bd9
Merge pull request #62 from shaheer-deriv/shaheer/feature/90115/updat…
matin-deriv Apr 27, 2023
1ad0572
Merge pull request #60 from suisin-deriv/suisin/jurisdiction_card_bac…
matin-deriv Apr 27, 2023
87bcb02
Merge pull request #56 from suisin-deriv/suisin/93480/test_case_for_j…
matin-deriv Apr 27, 2023
39a96c6
Merge pull request #57 from suisin-deriv/suisin/93478/test_case_for_j…
matin-deriv Apr 27, 2023
de37b21
Merge pull request #58 from suisin-deriv/suisin/93479/test_case_for_j…
matin-deriv Apr 27, 2023
883a181
Merge pull request #59 from suisin-deriv/suisin/92038/test_case_for_j…
matin-deriv Apr 27, 2023
fbd75c9
Merge branch 'binary-com:master' into amina/feature/90115/update_juri…
shaheer-deriv Apr 27, 2023
0000ffc
Merge branch 'master' into amina/feature/90115/update_jurisdiction
matin-deriv Apr 28, 2023
f3525bf
Merge branch 'master' into amina/feature/90115/update_jurisdiction
suisin-deriv Apr 28, 2023
b6881c7
Merge branch 'binary-com:master' into amina/feature/90115/update_juri…
shaheer-deriv May 1, 2023
7870b2e
Merge branch 'binary-com:master' into amina/feature/90115/update_juri…
shaheer-deriv May 2, 2023
b323bf7
Merge branch 'master' into amina/feature/90115/update_jurisdiction
shaheer-deriv May 2, 2023
5bf9d35
Merge branch 'master' into amina/feature/90115/update_jurisdiction
shaheer-deriv May 2, 2023
22972df
Merge pull request #22 from amina-deriv/amina/feature/90115/update_ju…
shaheer-deriv May 2, 2023
99392b9
refactor: 🎨 uses existing color for Text component
shaheer-deriv May 2, 2023
7a5ec10
perf: :zap: optimizes svg icons
shaheer-deriv May 2, 2023
5ba7aa9
Merge pull request #63 from shaheer-deriv/shaheer/feature/90115/updat…
shaheer-deriv May 2, 2023
8f66bd0
Merge branch 'binary-com:master' into amina/feature/90115/update_juri…
shaheer-deriv May 3, 2023
8509055
Merge branch 'binary-com:master' into amina/feature/90115/update_juri…
shaheer-deriv May 4, 2023
6704425
Merge branch 'master' into amina/feature/90115/update_jurisdiction
matin-deriv May 5, 2023
dd53ac7
chore: remove secret from currency-selector
suisin-deriv May 5, 2023
e8df579
Merge branch 'amina/feature/90115/update_jurisdiction' of github.com:…
suisin-deriv May 5, 2023
29f2f5f
Merge branch 'master' into amina/feature/90115/update_jurisdiction
suisin-deriv May 5, 2023
292ad69
Merge branch 'amina/feature/90115/update_jurisdiction' of github.com:…
suisin-deriv May 5, 2023
cd15c91
Merge pull request #64 from suisin-deriv/suisin/remove_hardcoded_secret
matin-deriv May 5, 2023
ee1b487
Merge branch 'binary-com:master' into amina/feature/90115/update_juri…
shaheer-deriv May 5, 2023
7c1945c
refactor: :pencil2: renames css variable
shaheer-deriv May 5, 2023
3310b4a
chore: fix code smells issue
suisin-deriv May 5, 2023
f382e2b
Merge pull request #65 from suisin-deriv/suisin/solve_code_smells_issue
suisin-deriv May 5, 2023
171c00a
refactor: :pencil2: renames jurisdiction content getter funcs
shaheer-deriv May 5, 2023
8969de4
refactor: :lipstick: uses BORDER_RADIUS constant in css
shaheer-deriv May 5, 2023
e91936a
refactor: :art: uses react MouseEvent instead of SyntheticEvent
shaheer-deriv May 5, 2023
b3d969b
refactor: :art: uses hook via React namespace
shaheer-deriv May 5, 2023
1d81ab3
Merge branch 'master' into amina/feature/90115/update_jurisdiction
suisin-deriv May 8, 2023
c6ef3c4
chore: update code based on comments
suisin-deriv May 8, 2023
d7eab5c
Merge pull request #66 from suisin-deriv/suisin/resolve_commented_PR
suisin-deriv May 8, 2023
eb28654
Merge branch 'master' into amina/feature/90115/update_jurisdiction
shaheer-deriv May 8, 2023
5fdb287
Merge branch 'binary-com:master' into amina/feature/90115/update_juri…
shaheer-deriv May 9, 2023
c3dcc98
Merge branch 'master' into amina/feature/90115/update_jurisdiction
shaheer-deriv May 10, 2023
8c76e17
Merge branch 'master' into amina/feature/90115/update_jurisdiction
shaheer-deriv May 10, 2023
5f3e3ab
Merge branch 'master' into amina/feature/90115/update_jurisdiction
shaheer-deriv May 10, 2023
47ba18c
Merge branch 'master' into amina/feature/90115/update_jurisdiction
shaheer-deriv May 10, 2023
1f7afc8
Merge branch 'binary-com:master' into amina/feature/90115/update_juri…
shaheer-deriv May 12, 2023
16ca57c
Merge branch 'binary-com:master' into amina/feature/90115/update_juri…
shaheer-deriv May 15, 2023
6300d90
fix: :bug: removes gradient effect from jurisdiction card
shaheer-deriv May 15, 2023
2946ebd
Merge pull request #27 from amina-deriv/amina/feature/90115/update_ju…
shaheer-deriv May 15, 2023
b8f2181
Merge branch 'binary-com:master' into amina/feature/90115/update_juri…
shaheer-deriv May 15, 2023
ff5aae2
fix: :bug: updates verification docs icons for vanuatu
shaheer-deriv May 15, 2023
08a75e3
fix: :bug: displays the correct icon on card
shaheer-deriv May 15, 2023
f6d637b
Merge branch 'binary-com:master' into shaheer/WALL-604/onfido-updates
shaheer-deriv May 16, 2023
54bdd0e
Merge branch 'binary-com:master' into amina/feature/90115/update_juri…
shaheer-deriv May 16, 2023
6f6835e
Merge pull request #69 from amina-deriv/amina/feature/90115/update_ju…
shaheer-deriv May 16, 2023
6f7faa0
fix: :bug: fixes onfido verification screens
shaheer-deriv May 16, 2023
0c1d868
Merge branch 'master' into amina/feature/90115/update_jurisdiction
shaheer-deriv May 17, 2023
d54f2e5
Merge branch 'amina/feature/90115/update_jurisdiction' into shaheer/W…
shaheer-deriv May 17, 2023
732d91b
fix: :bug: fixes circleci issues
shaheer-deriv May 17, 2023
eb68da8
fix: :bug: verification icons update based on onfido
shaheer-deriv May 17, 2023
823cb70
Merge branch 'master' into amina/feature/90115/update_jurisdiction
shaheer-deriv May 17, 2023
3260f4f
fix: :bug: inlcudes onfido verification case for all cards
shaheer-deriv May 17, 2023
b4b7d27
Merge branch 'binary-com:master' into shaheer/WALL-604/onfido-updates
shaheer-deriv May 17, 2023
c419119
Merge pull request #70 from amina-deriv/amina/feature/90115/update_ju…
shaheer-deriv May 17, 2023
6a71fbe
refactor: :pencil2: adds default prop value for is_onfido_design
shaheer-deriv May 17, 2023
67979f0
Merge pull request #67 from amina-deriv/shaheer/WALL-604/onfido-updates
shaheer-deriv May 18, 2023
a81c74d
Merge branch 'master' into amina/feature/90115/update_jurisdiction
shaheer-deriv May 18, 2023
58f5c18
style: :lipstick: adjusts card width as per figma design
shaheer-deriv May 18, 2023
fd8b8c3
Revert "style: :lipstick: adjusts card width as per figma design"
shaheer-deriv May 18, 2023
26ace1d
fix: :bug: displays card text as per figma design
shaheer-deriv May 18, 2023
5e22832
Merge pull request #71 from amina-deriv/shaheer/WALL-525/card-styling…
shaheer-deriv May 19, 2023
c14323d
Merge branch 'binary-com:master' into amina/feature/90115/update_juri…
shaheer-deriv May 19, 2023
e5b1c3a
Merge branch 'binary-com:master' into amina/feature/90115/update_juri…
shaheer-deriv May 22, 2023
2585e53
Merge pull request #28 from amina-deriv/amina/feature/90115/update_ju…
shaheer-deriv May 22, 2023
4abb87b
Merge branch 'master' into amina/feature/90115/update_jurisdiction
shaheer-deriv May 23, 2023
c0e77e4
Merge branch 'binary-com:master' into amina/feature/90115/update_juri…
shaheer-deriv May 24, 2023
7da2544
Merge pull request #30 from amina-deriv/amina/feature/90115/update_ju…
shaheer-deriv May 24, 2023
de97112
fix: :bug: fixes labuan assets value
shaheer-deriv May 24, 2023
4e38fd6
style: :lipstick: fixes hover effect for added cards
shaheer-deriv May 24, 2023
202d61b
fix: :bug: adds disabled prop for flipped card
shaheer-deriv May 24, 2023
601cecf
test: :test_tube: adds missing prop to jurisdiction testcase
shaheer-deriv May 24, 2023
4e7a608
Merge branch 'master' into amina/feature/90115/update_jurisdiction
hirad-deriv May 25, 2023
bfb7363
Merge pull request #74 from shaheer-deriv/shaheer/feature/90115/updat…
hirad-deriv May 25, 2023
0db522f
test: :test_tube: fixes circleci test
shaheer-deriv May 25, 2023
c9b1044
Merge pull request #32 from amina-deriv/amina/feature/90115/update_ju…
shaheer-deriv May 25, 2023
946731a
Merge branch 'master' into shaheer/feature/90115/update_jurisdiction
shaheer-deriv May 25, 2023
ff677f5
test: :test_tube: fixes testcases for swapfree merge
shaheer-deriv May 26, 2023
322d6cc
feat: :sparkles: includes swap free to new design
shaheer-deriv May 26, 2023
79fb4d0
style: :lipstick: fixes modal width for swap free
shaheer-deriv May 26, 2023
68d3b28
refactor: :wastebasket: refactors and cleans the code
shaheer-deriv May 26, 2023
f876202
Merge branch 'binary-com:master' into shaheer/feature/90115/update_ju…
shaheer-deriv May 26, 2023
b1034dd
Merge branch 'binary-com:master' into shaheer/feature/90115/update_ju…
shaheer-deriv May 29, 2023
74e753c
Merge pull request #75 from shaheer-deriv/shaheer/feature/90115/updat…
shaheer-deriv May 29, 2023
960d85b
Merge branch 'master' into amina/feature/90115/update_jurisdiction
shaheer-deriv May 29, 2023
3c8cb72
Merge branch 'master' into amina/feature/90115/update_jurisdiction
amina-deriv May 29, 2023
2311678
Merge pull request #33 from amina-deriv/amina/feature/90115/update_ju…
shaheer-deriv May 29, 2023
47c7b2f
Merge branch 'master' into amina/feature/90115/update_jurisdiction
amina-deriv May 29, 2023
8d19714
fix: empty_commit_to_trigger_build
amina-deriv May 29, 2023
47d9077
refactor: :pencil2: renames variable to avoid ambiguity
shaheer-deriv May 30, 2023
7223b71
refactor: :test_tube: removes duplicate testcase mockprops
shaheer-deriv May 30, 2023
75bef86
Merge pull request #76 from shaheer-deriv/shaheer/feature/90115/updat…
shaheer-deriv May 30, 2023
ea8ac5d
Merge branch 'master' into amina/feature/90115/update_jurisdiction
amina-deriv May 31, 2023
d2b543e
Merge pull request #34 from amina-deriv/amina/feature/90115/update_ju…
shaheer-deriv May 31, 2023
8ce4136
test: :test_tube: adds swap-free related tests to jurisdiction modal
shaheer-deriv May 31, 2023
974aa5a
Merge pull request #77 from shaheer-deriv/shaheer/feature/90115/updat…
shaheer-deriv May 31, 2023
f8d3f10
chore: update test case declare function
suisin-deriv May 31, 2023
dd30695
Merge branch 'amina/feature/90115/update_jurisdiction' of github.com:…
suisin-deriv May 31, 2023
da0279d
chore: solve circi issue
suisin-deriv May 31, 2023
227267b
Merge pull request #78 from suisin-deriv/suisin/fix_test_case_for_jur…
suisin-deriv Jun 1, 2023
4ecb467
Merge branch 'master' into amina/feature/90115/update_jurisdiction
amina-deriv Jun 1, 2023
c66f332
chore: :test_tube: fixes circleci issue
shaheer-deriv Jun 1, 2023
a06ddb9
Merge branch 'master' into amina/feature/90115/update_jurisdiction
amina-deriv Jun 1, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { Button, Icon, Loading } from '@deriv/components';
import { localize } from '@deriv/translations';
import { getAuthenticationStatusInfo } from '@deriv/shared';
import { getAuthenticationStatusInfo, Jurisdiction } from '@deriv/shared';
import IconMessageContent from 'Components/icon-message-content';

const PoiPoaDocsSubmitted = ({
Expand Down Expand Up @@ -33,8 +33,9 @@ const PoiPoaDocsSubmitted = ({
const getDescription = () => {
const { manual_status, poi_verified_for_vanuatu_maltainvest, poi_verified_for_bvi_labuan, poa_pending } =
getAuthenticationStatusInfo(account_status);
const is_vanuatu_or_maltainvest_selected =
jurisdiction_selected_shortcode === 'vanuatu' || jurisdiction_selected_shortcode === 'maltainvest';
const is_vanuatu_or_maltainvest_selected = [Jurisdiction.VANUATU, Jurisdiction.MALTA_INVEST].includes(
jurisdiction_selected_shortcode
);
if (
(is_vanuatu_or_maltainvest_selected && poi_verified_for_vanuatu_maltainvest && poa_pending) ||
(!is_vanuatu_or_maltainvest_selected && poi_verified_for_bvi_labuan && poa_pending) ||
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable react-hooks/exhaustive-deps */
import React from 'react';
import { WS } from '@deriv/shared';
import { WS, Jurisdiction } from '@deriv/shared';
import Unsupported from 'Components/poi/status/unsupported';
import OnfidoUpload from './onfido-sdk-view.jsx';
import { identity_status_codes, submission_status_code, service_code } from './proof-of-identity-utils';
Expand Down Expand Up @@ -30,7 +30,7 @@ const POISubmissionForMT5 = ({
is_idv_supported &&
Number(idv_submissions_left) > 0 &&
!is_idv_disallowed &&
jurisdiction_selected_shortcode !== 'vanuatu'
jurisdiction_selected_shortcode !== Jurisdiction.VANUATU
Copy link
Contributor

Choose a reason for hiding this comment

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

You have 25.5% duplication. I suggest you create an improvement card to fix this issue later. Other than that everything LGTM.

) {
setSubmissionService(service_code.idv);
} else if (onfido_submissions_left && is_onfido_supported) {
Expand Down
Loading