Skip to content

Commit 77fba22

Browse files
committed
export modal changes
1 parent 96579ad commit 77fba22

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

src/cloud/components/Modal/contents/ExportModal.tsx

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ const ExportModal = () => {
2121
const url = window.URL.createObjectURL(blob)
2222
const a = document.createElement('a')
2323
a.href = url
24-
a.download = `workspace-export.zip`
24+
a.download = `space-${team.name}-export.zip`
2525
document.body.appendChild(a)
2626
a.click()
2727
a.remove()
2828
window.URL.revokeObjectURL(url)
2929
} catch (err) {
30-
console.error('Failed to export workspace', err)
30+
console.error('Failed to export space', err)
3131
} finally {
3232
setSending(false)
3333
}
@@ -44,14 +44,14 @@ const ExportModal = () => {
4444
</header>
4545
<p className='export__modal__description'>
4646
The service for boostnote is planned to be retired at the end of
47-
September. We recommend exporting your workspace&apos;s data so that you
48-
do not lose any of your information.
47+
September. We recommend exporting your space&apos;s data so that you do
48+
not lose any of your information.
4949
</p>
5050
<p>Here is an overview of what can be exported:</p>
5151
<ul>
52-
<li>Folders & documents hierarchy</li>
53-
<li>Documents&apos; markdown content</li>
54-
<li>Documents&apos;ttachments</li>
52+
<li>Public & your accessible private Folders & documents hierarchy</li>
53+
<li>Your Documents&apos; content</li>
54+
<li>Your Documents&apos;attachments</li>
5555
</ul>
5656

5757
<Flexbox justifyContent='center'>
@@ -60,14 +60,15 @@ const ExportModal = () => {
6060
spinning={sending}
6161
onClick={handleExportClick}
6262
>
63-
Download ZIP Export
63+
Download ZIP
6464
</LoadingButton>
6565
</Flexbox>
6666
</Container>
6767
)
6868
}
6969

7070
const Container = styled.div`
71+
text-align: center;
7172
.export__modal__subtitle {
7273
span {
7374
font-size: ${({ theme }) => theme.sizes.fonts.md}px;
@@ -98,6 +99,10 @@ const Container = styled.div`
9899
color: ${({ theme }) => theme.colors.text.subtle};
99100
font-size: ${({ theme }) => theme.sizes.fonts.md};
100101
}
102+
103+
li {
104+
list-style: none;
105+
}
101106
`
102107

103108
export default ExportModal

0 commit comments

Comments
 (0)