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

bugfix(Layout): Layout issue with the error message if Bluetooth is disabled when user pairs device #1307

Merged
merged 2 commits into from
Oct 4, 2022

Conversation

mcayuelas-ledger
Copy link
Contributor

@mcayuelas-ledger mcayuelas-ledger commented Sep 19, 2022

📝 Description

Layout issue with the error message if Bluetooth is disabled when user pairs device

❓ Context

✅ Checklist

  • Test coverage
  • Atomic delivery
  • No breaking changes

📸 Demo

Before
simulator_screenshot_34AF9590-AB27-48E9-9AE0-F7CF2CAA4BB6

After
simulator_screenshot_32D69B8F-3A0A-475D-B7FC-760A7A32B902

🚀 Expectations to reach

Disable bluetooth > Go to Pair device flow

Please make sure you follow these Important Steps.

Pull Requests must pass the CI and be internally validated in order to be merged.

@vercel
Copy link

vercel bot commented Sep 19, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
live-common-tools ✅ Ready (Inspect) Visit Preview Sep 29, 2022 at 7:43AM (UTC)
3 Ignored Deployments
Name Status Preview Updated
ledger-live-github-bot ⬜️ Ignored (Inspect) Sep 29, 2022 at 7:43AM (UTC)
native-ui-storybook ⬜️ Ignored (Inspect) Sep 29, 2022 at 7:43AM (UTC)
react-ui-storybook ⬜️ Ignored (Inspect) Sep 29, 2022 at 7:43AM (UTC)

@changeset-bot
Copy link

changeset-bot bot commented Sep 19, 2022

🦋 Changeset detected

Latest commit: 93d7603

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
live-mobile Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the mobile Has changes in LLM label Sep 19, 2022
@@ -11,6 +11,8 @@ const SafeAreaContainer = styled.SafeAreaView`
align-items: center;
justify-content: center;
background-color: ${p => p.theme.colors.background.main};
margin-left: 24px;
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you the theme spacing values ?
Ex : margin-left: ${p => p.theme.space[2]}px;

@@ -24,13 +26,13 @@ function BluetoothDisabled() {
return (
<SafeAreaContainer>
<IconBox Icon={BluetoothMedium} iconSize={24} boxSize={64} />
<Text variant={"h2"} mb={5} mt={7}>
<Text variant={"h2"} mb={5} mt={7} textAlign="center">
Copy link
Contributor

Choose a reason for hiding this comment

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

If you want to improve this, you have a component from the ui drawer that have the exact same layout (icon box, title, description)
It's ModalHeader

@github-actions
Copy link

github-actions bot commented Sep 19, 2022

@mcayuelas-ledger

Screenshots: ✅

There are no changes in the screenshots for this PR. If this is expected, you are good to go.

@codecov
Copy link

codecov bot commented Sep 29, 2022

Codecov Report

Base: 0.00% // Head: 43.64% // Increases project coverage by +43.64% 🎉

Coverage data is based on head (93d7603) compared to base (ecb00cf).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff              @@
##           develop    #1307       +/-   ##
============================================
+ Coverage         0   43.64%   +43.64%     
============================================
  Files            0      610      +610     
  Lines            0    25544    +25544     
  Branches         0     6972     +6972     
============================================
+ Hits             0    11149    +11149     
- Misses           0    14346    +14346     
- Partials         0       49       +49     
Flag Coverage Δ
test 43.64% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...amilies/solana/api/chain/instruction/memo/index.ts 33.33% <0.00%> (ø)
libs/ledger-live-common/src/generated/mock.ts 100.00% <0.00%> (ø)
...ibs/ledger-live-common/src/families/evm/api/rpc.ts 100.00% <0.00%> (ø)
libs/ledger-live-common/src/cross.ts 83.01% <0.00%> (ø)
libs/ledger-live-common/src/bridge/react/index.ts 100.00% <0.00%> (ø)
...mmon/src/families/solana/api/chain/account/vote.ts 100.00% <0.00%> (ø)
...milies/solana/api/chain/instruction/token/types.ts 100.00% <0.00%> (ø)
...s/ledger-live-common/src/families/stellar/types.ts 100.00% <0.00%> (ø)
...r-live-common/src/families/algorand/api/algodv2.ts 45.45% <0.00%> (ø)
...mon/src/families/ripple/deviceTransactionConfig.ts 9.09% <0.00%> (ø)
... and 600 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@mcayuelas-ledger mcayuelas-ledger merged commit 1592d5e into develop Oct 4, 2022
@mcayuelas-ledger mcayuelas-ledger deleted the bugfix/llm-pair-device-flow branch October 4, 2022 12:53
adrienlacombe pushed a commit that referenced this pull request Oct 5, 2022
…isabled when user pairs device (#1307)

* bugfix(Layout): Layout issue with the error message if Bluetooth is disabled when user pairs device

* 🤓 Review
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mobile Has changes in LLM
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants