Skip to content

Commit 98f8ebf

Browse files
authored
fix(links): update GitHub repository URLs to markpdfdown-desktop (#15)
Update all GitHub repository URLs from the old 'desktop' slug to the new 'markpdfdown-desktop' slug across the application. This includes links in the About dialog, footer, and corresponding test assertions. - Update website, license, and feedback links in About component - Update footer GitHub link in Layout component - Update test expectations to match new URLs
1 parent ef0d984 commit 98f8ebf

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/renderer/components/About.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ const About: React.FC = () => {
4949
{t('about.subtitle')}
5050
</Text>
5151
<Space style={{ marginTop: 16 }}>
52-
<Button onClick={() => handleOpenLink('https://github.com/MarkPDFdown')}>
52+
<Button onClick={() => handleOpenLink('https://github.com/MarkPDFdown/markpdfdown-desktop')}>
5353
{t('about.buttons.website')}
5454
</Button>
55-
<Button onClick={() => handleOpenLink('https://github.com/MarkPDFdown/desktop/blob/master/LICENSE')}>
55+
<Button onClick={() => handleOpenLink('https://github.com/MarkPDFdown/markpdfdown-desktop/blob/master/LICENSE')}>
5656
{t('about.buttons.license')}
5757
</Button>
58-
<Button onClick={() => handleOpenLink('https://github.com/MarkPDFdown/desktop/issues')}>
58+
<Button onClick={() => handleOpenLink('https://github.com/MarkPDFdown/markpdfdown-desktop/issues')}>
5959
{t('about.buttons.feedback')}
6060
</Button>
6161
<Button onClick={() => handleOpenLink('mailto:jorben@aix.me')}>

src/renderer/components/Layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ const AppLayout: React.FC = () => {
290290
padding: '16px 0'
291291
}}>
292292
<div
293-
onClick={() => openExternalLink('https://github.com/MarkPDFdown/desktop')}
293+
onClick={() => openExternalLink('https://github.com/MarkPDFdown/markpdfdown-desktop')}
294294
style={{
295295
color: 'rgba(255, 255, 255, 0.65)',
296296
fontSize: '20px',

src/renderer/components/__tests__/About.test.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ describe('About', () => {
120120
const websiteButton = screen.getByText('Website')
121121
fireEvent.click(websiteButton)
122122

123-
expect(mockWindowOpen).toHaveBeenCalledWith('https://github.com/MarkPDFdown', '_blank')
123+
expect(mockWindowOpen).toHaveBeenCalledWith('https://github.com/MarkPDFdown/markpdfdown-desktop', '_blank')
124124
})
125125

126126
it('should open license link when License button is clicked', () => {
@@ -134,7 +134,7 @@ describe('About', () => {
134134
fireEvent.click(licenseButton)
135135

136136
expect(mockWindowOpen).toHaveBeenCalledWith(
137-
'https://github.com/MarkPDFdown/desktop/blob/master/LICENSE',
137+
'https://github.com/MarkPDFdown/markpdfdown-desktop/blob/master/LICENSE',
138138
'_blank'
139139
)
140140
})
@@ -150,7 +150,7 @@ describe('About', () => {
150150
fireEvent.click(feedbackButton)
151151

152152
expect(mockWindowOpen).toHaveBeenCalledWith(
153-
'https://github.com/MarkPDFdown/desktop/issues',
153+
'https://github.com/MarkPDFdown/markpdfdown-desktop/issues',
154154
'_blank'
155155
)
156156
})

0 commit comments

Comments
 (0)