Skip to content
This repository has been archived by the owner on Jul 20, 2021. It is now read-only.

Initial implementation #1

Merged
merged 39 commits into from
Dec 19, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
e3f20a6
feat: Initial commit
drazik Dec 6, 2019
20f6af7
feat(PresentationPage): Add button to go to security step
drazik Dec 6, 2019
c1efcdd
feat(SecurityPage): Add link to settings
drazik Dec 6, 2019
8350bba
feat(SecurityPage): Add link to hint configuration page
drazik Dec 6, 2019
6565119
feat(HintPage): Handle hint update
drazik Dec 6, 2019
daba8aa
feat: First step UI
drazik Dec 16, 2019
c64f6b0
feat: Security page UI
drazik Dec 16, 2019
4265bed
feat: Hint step UI
drazik Dec 16, 2019
5b621c8
feat: InstallationPage UI
drazik Dec 16, 2019
ede3e36
feat(PresentationPage): Add translations
drazik Dec 16, 2019
3b39a8f
feat(SecurityPage): Add translations
drazik Dec 16, 2019
8055c75
feat(HintPage): Add translations
drazik Dec 17, 2019
82093d1
fix(deps): Update cozy-ui to v28.6.0
drazik Dec 17, 2019
1594621
feat: Handle redirection after extension install
drazik Dec 17, 2019
6db943b
feat: Handle translated text with cozy icon inside
drazik Dec 17, 2019
e26b5fa
feat(PresentationPage): Show message for unsupported browsers
drazik Dec 17, 2019
b2a7da3
feat: Prevent click on navigation
drazik Dec 17, 2019
1706459
chore: Add app icon
drazik Dec 17, 2019
faa7068
chore: Don't ignore locales
drazik Dec 17, 2019
3d4556d
chore: Disable travis
drazik Dec 17, 2019
a24db9f
fix: Use transpiled cozy-ui only
drazik Dec 17, 2019
8d4edff
refactor: Remove unused file
drazik Dec 17, 2019
1a27a33
feat: Show unavailability message on mobile
drazik Dec 17, 2019
2455b86
chore: Remove outdated stuff in editorconfig
drazik Dec 17, 2019
835a475
chore: Remove outdated stuff in PULL_REQUEST_TEMPLATE
drazik Dec 17, 2019
710521e
chore: Fix repo url (cozycloud => cozy)
drazik Dec 17, 2019
f2d2498
chore: Add editor to manifest
drazik Dec 17, 2019
4bbe40f
test: Remove tests related to removed files
drazik Dec 17, 2019
448a8df
fix(SecurityPage): Add missing password example
drazik Dec 17, 2019
a5958dc
feat: Update translations
drazik Dec 17, 2019
3d1781a
feat(InstalledPage): List available platforms
drazik Dec 17, 2019
9baa994
fix(InstallationPage): Fix link to extension store
drazik Dec 18, 2019
e46e35d
fix: Harmonize margins
drazik Dec 19, 2019
ecb0bbe
refactor: Extract generateWebAppLink helper
drazik Dec 19, 2019
ec26538
refactor(HintPage): Rename loading state to saving
drazik Dec 19, 2019
71406fc
refactor(SecurityPage): Use URL constructor to build urls
drazik Dec 19, 2019
520165e
refactor(WithCozyIcon): Use Media components from cozy-ui
drazik Dec 19, 2019
eb59c97
style: Use spaces indentation only
drazik Dec 19, 2019
41009ea
fix(locales): Typo in FR
drazik Dec 19, 2019
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
15 changes: 14 additions & 1 deletion src/components/PresentationPage.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
import React from 'react'
import Button from 'cozy-ui/transpiled/react/Button'
import { translate } from 'cozy-ui/transpiled/react/I18n'
import { Link } from 'react-router-dom'

const PresentationPage = () => <div>Presentation Page</div>
const DumbPresentationPage = props => {
const { t } = props

return (
<div>
<Button to="/security" label={t('PresentationPage.lets-go')} tag={Link} />
</div>
)
}

const PresentationPage = translate()(DumbPresentationPage)

export default PresentationPage
4 changes: 4 additions & 0 deletions src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,9 @@
"presentation": "Presentation",
"security": "Security",
"installation": "Installation"
},

"PresentationPage": {
"lets-go": "Let's go!"
}
}
2 changes: 1 addition & 1 deletion src/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
@import './todos.css';

.app-content {
margin: 1rem 0 2rem 2rem;
margin: 1rem 2rem 2rem;
}