Skip to content

Commit

Permalink
Feat/use shared 101 (#882)
Browse files Browse the repository at this point in the history
* Feat: update to shared v101
  • Loading branch information
kylebonnici authored Sep 4, 2023
1 parent dd30b73 commit aacd62d
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
}
},
"devDependencies": {
"@nordicsemiconductor/pc-nrfconnect-shared": "^97.0.0",
"@nordicsemiconductor/pc-nrfconnect-shared": "^101.0.0",
"@playwright/test": "^1.16.3",
"@testing-library/user-event": "^14.4.3",
"@types/chmodr": "1.0.0",
Expand Down
16 changes: 7 additions & 9 deletions src/launcher/features/launcherUpdate/UpdateAvailableDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@

import React from 'react';
import {
Button,
ConfirmationDialog,
openUrl,
ExternalLink,
} from '@nordicsemiconductor/pc-nrfconnect-shared';

import { inMain } from '../../../ipc/launcherUpdate';
Expand Down Expand Up @@ -38,13 +37,12 @@ export default () => {
A new version ({version}) of nRF Connect for Desktop is
available. Would you like to update now?
</p>
<Button
variant="link"
large
onClick={() => openUrl(releaseNotesUrl)}
>
Click to see release notes
</Button>
<div className="tw-text-sm">
<ExternalLink
label="Click to see release notes"
href={releaseNotesUrl}
/>
</div>
</ConfirmationDialog>
);
};
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,16 @@ exports[`UpdateAvailableDialog shows the new version if one becomes available 1
) of nRF Connect for Desktop is available. Would you like to update now?
</p>
<div
class="tw-preflight undefined"
class="tw-text-sm"
>
<button
class="tw-h-8 tw-px-4 tw-text-sm tw-bg-transparent tw-p-0 tw-text-nordicBlue hover:tw-underline"
type="button"
<a
class="tw-preflight tw-text-nordicBlue hover:tw-underline"
href="https://github.com/NordicSemiconductor/pc-nrfconnect-launcher/releases"
rel="noreferrer noopener"
target="_blank"
>
Click to see release notes
</button>
</a>
</div>
</div>
<div
Expand Down

0 comments on commit aacd62d

Please sign in to comment.