-
Notifications
You must be signed in to change notification settings - Fork 0
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
Ej/fix migrating layout2 #37
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es'
commit 132b816 Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Wed Apr 12 12:09:48 2023 +0200 Ej/initial screen layout (#10) * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * chore: cleaning * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * feat: add fonts + fontface rules * feat: add theme and theme provider * feat: add initial migration view * chore: add variables as constants * chore: further styling to init screen * chore: remove fonts * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * Ej/More setup (#9) * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * feat: add reach router + basic router component * chore: remove template 'Versions' component * chore: cleaning * chore: add mui * feat: add lang switcher, default layout * feat: add Language switcher * feat: add theme.ts for keeping colours etc centralised * chore: add icons-material package * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * chore: remove unused imports * chore: remove redundant react fragment * chore: set global CSS colours from theme variables * chore: clean up intl provier tertiary * chore: remove timer hook --------- Co-authored-by: ErikSin <67773827+ErikSin@users.noreply.github.com> * feat: add react-intl and setup basic internationalisation * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add fonts + fontface rules * feat: add theme and theme provider * feat: add initial migration view * chore: rebase fixes * fix: rename themeVarient => langBackgroundVarient for clarity * chore: remove all fonts again (?? rebase reinstated them 😑) * chore: remove button component * fix: remove hardcoded css again * chore: add fonts (#19) * fix: import useTheme (missing from rebase) * fix: remove fonts again (help) --------- Co-authored-by: ErikSin <67773827+ErikSin@users.noreply.github.com> commit 0a546ca Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Wed Apr 5 11:39:18 2023 +0200 Ej/More setup (#9) * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * feat: add reach router + basic router component * chore: remove template 'Versions' component * chore: cleaning * chore: add mui * feat: add lang switcher, default layout * feat: add Language switcher * feat: add theme.ts for keeping colours etc centralised * chore: add icons-material package * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * chore: remove unused imports * chore: remove redundant react fragment * chore: set global CSS colours from theme variables * chore: clean up intl provier tertiary * chore: remove timer hook --------- Co-authored-by: ErikSin <67773827+ErikSin@users.noreply.github.com> commit 1460c04 Merge: aa5b370 2c13648 Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Thu Mar 30 17:50:32 2023 +0200 Merge branch 'develop' of github.com:digidem/mapeo-desktop-shell into develop commit 2c13648 Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Thu Mar 30 17:40:05 2023 +0200 Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es'
lightlii
added a commit
that referenced
this pull request
Apr 20, 2023
* fix: changes to interval useEffect => ref (merged before I'd pushed changes)
lightlii
added a commit
that referenced
this pull request
Apr 20, 2023
* feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * feat: add reach router + basic router component * chore: remove template 'Versions' component * chore: cleaning * chore: add mui * feat: add lang switcher, default layout * feat: add Language switcher * feat: add theme.ts for keeping colours etc centralised * chore: add icons-material package * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * feat: add fonts + fontface rules * feat: add theme and theme provider * feat: add initial migration view * chore: add variables as constants * chore: further styling to init screen * feat: add skip-migration modal * chore: add auto-generated translations * fix: replace reach-router with react-router * feat: add navigation screen * feat: more work on 'navigation' view * chore: move Logo component to components directory, add Mapeo5 Logo * feat: add Migration view * chore: cleanup * chore: remove mapeo5 logo once migration complete * chore: set modal size to fill most of screen * chore: new modal complete state layout * chore: add views to 'extract-messages' script * Squashed commit of the following: commit 132b816 Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Wed Apr 12 12:09:48 2023 +0200 Ej/initial screen layout (#10) * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * chore: cleaning * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * feat: add fonts + fontface rules * feat: add theme and theme provider * feat: add initial migration view * chore: add variables as constants * chore: further styling to init screen * chore: remove fonts * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * Ej/More setup (#9) * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * feat: add reach router + basic router component * chore: remove template 'Versions' component * chore: cleaning * chore: add mui * feat: add lang switcher, default layout * feat: add Language switcher * feat: add theme.ts for keeping colours etc centralised * chore: add icons-material package * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * chore: remove unused imports * chore: remove redundant react fragment * chore: set global CSS colours from theme variables * chore: clean up intl provier tertiary * chore: remove timer hook --------- Co-authored-by: ErikSin <67773827+ErikSin@users.noreply.github.com> * feat: add react-intl and setup basic internationalisation * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add fonts + fontface rules * feat: add theme and theme provider * feat: add initial migration view * chore: rebase fixes * fix: rename themeVarient => langBackgroundVarient for clarity * chore: remove all fonts again (?? rebase reinstated them 😑) * chore: remove button component * fix: remove hardcoded css again * chore: add fonts (#19) * fix: import useTheme (missing from rebase) * fix: remove fonts again (help) --------- Co-authored-by: ErikSin <67773827+ErikSin@users.noreply.github.com> commit 0a546ca Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Wed Apr 5 11:39:18 2023 +0200 Ej/More setup (#9) * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * feat: add reach router + basic router component * chore: remove template 'Versions' component * chore: cleaning * chore: add mui * feat: add lang switcher, default layout * feat: add Language switcher * feat: add theme.ts for keeping colours etc centralised * chore: add icons-material package * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * chore: remove unused imports * chore: remove redundant react fragment * chore: set global CSS colours from theme variables * chore: clean up intl provier tertiary * chore: remove timer hook --------- Co-authored-by: ErikSin <67773827+ErikSin@users.noreply.github.com> commit 1460c04 Merge: aa5b370 2c13648 Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Thu Mar 30 17:50:32 2023 +0200 Merge branch 'develop' of github.com:digidem/mapeo-desktop-shell into develop commit 2c13648 Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Thu Mar 30 17:40:05 2023 +0200 Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * fix: remove fonts * chore: remove redundant useEffect and clear state on modal unmoutn * chore: simplified button component (removed loading + disabled states) * chore: remove redundant useState for progress variable * chore: remove redundant useRef for `oberservations` and `media` variables * chore: remove fonts * fix: reinstate missing MigratingProject file (??), fix default layout * chore: add auto-generated translation file * fix: fix migratingProject view layout * feat: add index navigation view * chore: bold h1 title * feat: add menu icon button to default layout to return to navigation * chore: remove nav menu icon for now * Ej/ fix migrating layout (#35) * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * feat: add reach router + basic router component * chore: remove template 'Versions' component * chore: cleaning * chore: add mui * feat: add lang switcher, default layout * feat: add Language switcher * feat: add theme.ts for keeping colours etc centralised * chore: add icons-material package * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * feat: add fonts + fontface rules * feat: add theme and theme provider * feat: add initial migration view * chore: add variables as constants * chore: further styling to init screen * feat: add skip-migration modal * chore: add auto-generated translations * fix: replace reach-router with react-router * feat: add navigation screen * feat: more work on 'navigation' view * chore: move Logo component to components directory, add Mapeo5 Logo * feat: add Migration view * chore: cleanup * chore: remove mapeo5 logo once migration complete * chore: set modal size to fill most of screen * chore: new modal complete state layout * chore: add views to 'extract-messages' script * Squashed commit of the following: commit 132b816 Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Wed Apr 12 12:09:48 2023 +0200 Ej/initial screen layout (#10) * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * chore: cleaning * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * feat: add fonts + fontface rules * feat: add theme and theme provider * feat: add initial migration view * chore: add variables as constants * chore: further styling to init screen * chore: remove fonts * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * Ej/More setup (#9) * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * feat: add reach router + basic router component * chore: remove template 'Versions' component * chore: cleaning * chore: add mui * feat: add lang switcher, default layout * feat: add Language switcher * feat: add theme.ts for keeping colours etc centralised * chore: add icons-material package * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * chore: remove unused imports * chore: remove redundant react fragment * chore: set global CSS colours from theme variables * chore: clean up intl provier tertiary * chore: remove timer hook --------- Co-authored-by: ErikSin <67773827+ErikSin@users.noreply.github.com> * feat: add react-intl and setup basic internationalisation * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add fonts + fontface rules * feat: add theme and theme provider * feat: add initial migration view * chore: rebase fixes * fix: rename themeVarient => langBackgroundVarient for clarity * chore: remove all fonts again (?? rebase reinstated them 😑) * chore: remove button component * fix: remove hardcoded css again * chore: add fonts (#19) * fix: import useTheme (missing from rebase) * fix: remove fonts again (help) --------- Co-authored-by: ErikSin <67773827+ErikSin@users.noreply.github.com> commit 0a546ca Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Wed Apr 5 11:39:18 2023 +0200 Ej/More setup (#9) * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * feat: add reach router + basic router component * chore: remove template 'Versions' component * chore: cleaning * chore: add mui * feat: add lang switcher, default layout * feat: add Language switcher * feat: add theme.ts for keeping colours etc centralised * chore: add icons-material package * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * chore: remove unused imports * chore: remove redundant react fragment * chore: set global CSS colours from theme variables * chore: clean up intl provier tertiary * chore: remove timer hook --------- Co-authored-by: ErikSin <67773827+ErikSin@users.noreply.github.com> commit 1460c04 Merge: aa5b370 2c13648 Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Thu Mar 30 17:50:32 2023 +0200 Merge branch 'develop' of github.com:digidem/mapeo-desktop-shell into develop commit 2c13648 Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Thu Mar 30 17:40:05 2023 +0200 Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * fix: remove fonts * chore: remove redundant useEffect and clear state on modal unmoutn * chore: simplified button component (removed loading + disabled states) * chore: remove redundant useState for progress variable * chore: remove redundant useRef for `oberservations` and `media` variables * chore: remove fonts * fix: reinstate missing MigratingProject file (??), fix default layout * chore: add auto-generated translation file * Ej/fix migrating layout2 (#37) * fix: changes to interval useEffect => ref (merged before I'd pushed changes) * implement basic home layout (#23) * fix: double import from merge --------- Co-authored-by: Andrew Chou <andrewchou@fastmail.com>
lightlii
added a commit
that referenced
this pull request
Apr 20, 2023
* feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * feat: add reach router + basic router component * chore: remove template 'Versions' component * chore: cleaning * chore: add mui * feat: add lang switcher, default layout * feat: add Language switcher * feat: add theme.ts for keeping colours etc centralised * chore: add icons-material package * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * feat: add fonts + fontface rules * feat: add theme and theme provider * feat: add initial migration view * chore: add variables as constants * chore: further styling to init screen * feat: add skip-migration modal * chore: add auto-generated translations * fix: replace reach-router with react-router * feat: add navigation screen * feat: more work on 'navigation' view * chore: move Logo component to components directory, add Mapeo5 Logo * feat: add Migration view * chore: cleanup * chore: remove mapeo5 logo once migration complete * chore: set modal size to fill most of screen * chore: new modal complete state layout * chore: add views to 'extract-messages' script * Squashed commit of the following: commit 132b816 Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Wed Apr 12 12:09:48 2023 +0200 Ej/initial screen layout (#10) * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * chore: cleaning * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * feat: add fonts + fontface rules * feat: add theme and theme provider * feat: add initial migration view * chore: add variables as constants * chore: further styling to init screen * chore: remove fonts * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * Ej/More setup (#9) * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * feat: add reach router + basic router component * chore: remove template 'Versions' component * chore: cleaning * chore: add mui * feat: add lang switcher, default layout * feat: add Language switcher * feat: add theme.ts for keeping colours etc centralised * chore: add icons-material package * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * chore: remove unused imports * chore: remove redundant react fragment * chore: set global CSS colours from theme variables * chore: clean up intl provier tertiary * chore: remove timer hook --------- Co-authored-by: ErikSin <67773827+ErikSin@users.noreply.github.com> * feat: add react-intl and setup basic internationalisation * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add fonts + fontface rules * feat: add theme and theme provider * feat: add initial migration view * chore: rebase fixes * fix: rename themeVarient => langBackgroundVarient for clarity * chore: remove all fonts again (?? rebase reinstated them 😑) * chore: remove button component * fix: remove hardcoded css again * chore: add fonts (#19) * fix: import useTheme (missing from rebase) * fix: remove fonts again (help) --------- Co-authored-by: ErikSin <67773827+ErikSin@users.noreply.github.com> commit 0a546ca Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Wed Apr 5 11:39:18 2023 +0200 Ej/More setup (#9) * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * feat: add reach router + basic router component * chore: remove template 'Versions' component * chore: cleaning * chore: add mui * feat: add lang switcher, default layout * feat: add Language switcher * feat: add theme.ts for keeping colours etc centralised * chore: add icons-material package * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * chore: remove unused imports * chore: remove redundant react fragment * chore: set global CSS colours from theme variables * chore: clean up intl provier tertiary * chore: remove timer hook --------- Co-authored-by: ErikSin <67773827+ErikSin@users.noreply.github.com> commit 1460c04 Merge: aa5b370 2c13648 Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Thu Mar 30 17:50:32 2023 +0200 Merge branch 'develop' of github.com:digidem/mapeo-desktop-shell into develop commit 2c13648 Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Thu Mar 30 17:40:05 2023 +0200 Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * fix: remove fonts * chore: remove redundant useEffect and clear state on modal unmoutn * chore: simplified button component (removed loading + disabled states) * chore: remove redundant useState for progress variable * chore: remove redundant useRef for `oberservations` and `media` variables * chore: remove fonts * fix: reinstate missing MigratingProject file (??), fix default layout * chore: add auto-generated translation file * fix: fix migratingProject view layout * feat: add index navigation view * chore: bold h1 title * feat: add menu icon button to default layout to return to navigation * chore: remove nav menu icon for now * Ej/ fix migrating layout (#35) * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * feat: add reach router + basic router component * chore: remove template 'Versions' component * chore: cleaning * chore: add mui * feat: add lang switcher, default layout * feat: add Language switcher * feat: add theme.ts for keeping colours etc centralised * chore: add icons-material package * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * feat: add fonts + fontface rules * feat: add theme and theme provider * feat: add initial migration view * chore: add variables as constants * chore: further styling to init screen * feat: add skip-migration modal * chore: add auto-generated translations * fix: replace reach-router with react-router * feat: add navigation screen * feat: more work on 'navigation' view * chore: move Logo component to components directory, add Mapeo5 Logo * feat: add Migration view * chore: cleanup * chore: remove mapeo5 logo once migration complete * chore: set modal size to fill most of screen * chore: new modal complete state layout * chore: add views to 'extract-messages' script * Squashed commit of the following: commit 132b816 Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Wed Apr 12 12:09:48 2023 +0200 Ej/initial screen layout (#10) * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * chore: cleaning * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * feat: add fonts + fontface rules * feat: add theme and theme provider * feat: add initial migration view * chore: add variables as constants * chore: further styling to init screen * chore: remove fonts * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * Ej/More setup (#9) * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * feat: add reach router + basic router component * chore: remove template 'Versions' component * chore: cleaning * chore: add mui * feat: add lang switcher, default layout * feat: add Language switcher * feat: add theme.ts for keeping colours etc centralised * chore: add icons-material package * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * chore: remove unused imports * chore: remove redundant react fragment * chore: set global CSS colours from theme variables * chore: clean up intl provier tertiary * chore: remove timer hook --------- Co-authored-by: ErikSin <67773827+ErikSin@users.noreply.github.com> * feat: add react-intl and setup basic internationalisation * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add fonts + fontface rules * feat: add theme and theme provider * feat: add initial migration view * chore: rebase fixes * fix: rename themeVarient => langBackgroundVarient for clarity * chore: remove all fonts again (?? rebase reinstated them 😑) * chore: remove button component * fix: remove hardcoded css again * chore: add fonts (#19) * fix: import useTheme (missing from rebase) * fix: remove fonts again (help) --------- Co-authored-by: ErikSin <67773827+ErikSin@users.noreply.github.com> commit 0a546ca Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Wed Apr 5 11:39:18 2023 +0200 Ej/More setup (#9) * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * feat: add reach router + basic router component * chore: remove template 'Versions' component * chore: cleaning * chore: add mui * feat: add lang switcher, default layout * feat: add Language switcher * feat: add theme.ts for keeping colours etc centralised * chore: add icons-material package * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * chore: remove unused imports * chore: remove redundant react fragment * chore: set global CSS colours from theme variables * chore: clean up intl provier tertiary * chore: remove timer hook --------- Co-authored-by: ErikSin <67773827+ErikSin@users.noreply.github.com> commit 1460c04 Merge: aa5b370 2c13648 Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Thu Mar 30 17:50:32 2023 +0200 Merge branch 'develop' of github.com:digidem/mapeo-desktop-shell into develop commit 2c13648 Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Thu Mar 30 17:40:05 2023 +0200 Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * fix: remove fonts * chore: remove redundant useEffect and clear state on modal unmoutn * chore: simplified button component (removed loading + disabled states) * chore: remove redundant useState for progress variable * chore: remove redundant useRef for `oberservations` and `media` variables * chore: remove fonts * fix: reinstate missing MigratingProject file (??), fix default layout * chore: add auto-generated translation file * Ej/fix migrating layout2 (#37) * fix: changes to interval useEffect => ref (merged before I'd pushed changes) * implement basic home layout (#23) * fix: double import from merge --------- Co-authored-by: Andrew Chou <andrewchou@fastmail.com>
lightlii
added a commit
that referenced
this pull request
Apr 20, 2023
* feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * feat: add reach router + basic router component * chore: remove template 'Versions' component * chore: cleaning * chore: add mui * feat: add lang switcher, default layout * feat: add Language switcher * feat: add theme.ts for keeping colours etc centralised * chore: add icons-material package * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * feat: add fonts + fontface rules * feat: add theme and theme provider * feat: add initial migration view * chore: add variables as constants * chore: further styling to init screen * feat: add skip-migration modal * chore: add auto-generated translations * fix: replace reach-router with react-router * feat: add navigation screen * feat: more work on 'navigation' view * chore: move Logo component to components directory, add Mapeo5 Logo * feat: add Migration view * chore: cleanup * chore: remove mapeo5 logo once migration complete * chore: set modal size to fill most of screen * chore: new modal complete state layout * chore: add views to 'extract-messages' script * Squashed commit of the following: commit 132b816 Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Wed Apr 12 12:09:48 2023 +0200 Ej/initial screen layout (#10) * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * chore: cleaning * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * feat: add fonts + fontface rules * feat: add theme and theme provider * feat: add initial migration view * chore: add variables as constants * chore: further styling to init screen * chore: remove fonts * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * Ej/More setup (#9) * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * feat: add reach router + basic router component * chore: remove template 'Versions' component * chore: cleaning * chore: add mui * feat: add lang switcher, default layout * feat: add Language switcher * feat: add theme.ts for keeping colours etc centralised * chore: add icons-material package * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * chore: remove unused imports * chore: remove redundant react fragment * chore: set global CSS colours from theme variables * chore: clean up intl provier tertiary * chore: remove timer hook --------- Co-authored-by: ErikSin <67773827+ErikSin@users.noreply.github.com> * feat: add react-intl and setup basic internationalisation * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add fonts + fontface rules * feat: add theme and theme provider * feat: add initial migration view * chore: rebase fixes * fix: rename themeVarient => langBackgroundVarient for clarity * chore: remove all fonts again (?? rebase reinstated them 😑) * chore: remove button component * fix: remove hardcoded css again * chore: add fonts (#19) * fix: import useTheme (missing from rebase) * fix: remove fonts again (help) --------- Co-authored-by: ErikSin <67773827+ErikSin@users.noreply.github.com> commit 0a546ca Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Wed Apr 5 11:39:18 2023 +0200 Ej/More setup (#9) * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * feat: add reach router + basic router component * chore: remove template 'Versions' component * chore: cleaning * chore: add mui * feat: add lang switcher, default layout * feat: add Language switcher * feat: add theme.ts for keeping colours etc centralised * chore: add icons-material package * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * chore: remove unused imports * chore: remove redundant react fragment * chore: set global CSS colours from theme variables * chore: clean up intl provier tertiary * chore: remove timer hook --------- Co-authored-by: ErikSin <67773827+ErikSin@users.noreply.github.com> commit 1460c04 Merge: aa5b370 2c13648 Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Thu Mar 30 17:50:32 2023 +0200 Merge branch 'develop' of github.com:digidem/mapeo-desktop-shell into develop commit 2c13648 Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Thu Mar 30 17:40:05 2023 +0200 Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * fix: remove fonts * chore: remove redundant useEffect and clear state on modal unmoutn * chore: simplified button component (removed loading + disabled states) * chore: remove redundant useState for progress variable * chore: remove redundant useRef for `oberservations` and `media` variables * chore: remove fonts * fix: reinstate missing MigratingProject file (??), fix default layout * chore: add auto-generated translation file * fix: fix migratingProject view layout * feat: add index navigation view * chore: bold h1 title * feat: add menu icon button to default layout to return to navigation * chore: remove nav menu icon for now * Ej/ fix migrating layout (#35) * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * feat: add reach router + basic router component * chore: remove template 'Versions' component * chore: cleaning * chore: add mui * feat: add lang switcher, default layout * feat: add Language switcher * feat: add theme.ts for keeping colours etc centralised * chore: add icons-material package * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * feat: add fonts + fontface rules * feat: add theme and theme provider * feat: add initial migration view * chore: add variables as constants * chore: further styling to init screen * feat: add skip-migration modal * chore: add auto-generated translations * fix: replace reach-router with react-router * feat: add navigation screen * feat: more work on 'navigation' view * chore: move Logo component to components directory, add Mapeo5 Logo * feat: add Migration view * chore: cleanup * chore: remove mapeo5 logo once migration complete * chore: set modal size to fill most of screen * chore: new modal complete state layout * chore: add views to 'extract-messages' script * Squashed commit of the following: commit 132b816 Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Wed Apr 12 12:09:48 2023 +0200 Ej/initial screen layout (#10) * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * chore: cleaning * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * feat: add fonts + fontface rules * feat: add theme and theme provider * feat: add initial migration view * chore: add variables as constants * chore: further styling to init screen * chore: remove fonts * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * Ej/More setup (#9) * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * feat: add reach router + basic router component * chore: remove template 'Versions' component * chore: cleaning * chore: add mui * feat: add lang switcher, default layout * feat: add Language switcher * feat: add theme.ts for keeping colours etc centralised * chore: add icons-material package * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * chore: remove unused imports * chore: remove redundant react fragment * chore: set global CSS colours from theme variables * chore: clean up intl provier tertiary * chore: remove timer hook --------- Co-authored-by: ErikSin <67773827+ErikSin@users.noreply.github.com> * feat: add react-intl and setup basic internationalisation * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add fonts + fontface rules * feat: add theme and theme provider * feat: add initial migration view * chore: rebase fixes * fix: rename themeVarient => langBackgroundVarient for clarity * chore: remove all fonts again (?? rebase reinstated them 😑) * chore: remove button component * fix: remove hardcoded css again * chore: add fonts (#19) * fix: import useTheme (missing from rebase) * fix: remove fonts again (help) --------- Co-authored-by: ErikSin <67773827+ErikSin@users.noreply.github.com> commit 0a546ca Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Wed Apr 5 11:39:18 2023 +0200 Ej/More setup (#9) * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * feat: add reach router + basic router component * chore: remove template 'Versions' component * chore: cleaning * chore: add mui * feat: add lang switcher, default layout * feat: add Language switcher * feat: add theme.ts for keeping colours etc centralised * chore: add icons-material package * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * chore: remove unused imports * chore: remove redundant react fragment * chore: set global CSS colours from theme variables * chore: clean up intl provier tertiary * chore: remove timer hook --------- Co-authored-by: ErikSin <67773827+ErikSin@users.noreply.github.com> commit 1460c04 Merge: aa5b370 2c13648 Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Thu Mar 30 17:50:32 2023 +0200 Merge branch 'develop' of github.com:digidem/mapeo-desktop-shell into develop commit 2c13648 Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Thu Mar 30 17:40:05 2023 +0200 Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * fix: remove fonts * chore: remove redundant useEffect and clear state on modal unmoutn * chore: simplified button component (removed loading + disabled states) * chore: remove redundant useState for progress variable * chore: remove redundant useRef for `oberservations` and `media` variables * chore: remove fonts * fix: reinstate missing MigratingProject file (??), fix default layout * chore: add auto-generated translation file * Ej/fix migrating layout2 (#37) * fix: changes to interval useEffect => ref (merged before I'd pushed changes) * implement basic home layout (#23) * fix: double import from merge --------- Co-authored-by: Andrew Chou <andrewchou@fastmail.com>
lightlii
added a commit
that referenced
this pull request
Apr 25, 2023
* chore: extract two column layout into generic layout component * chore: simple layout of Migration ('no data detected') flow * chore: add auto-generated translation file * chore: finish up MigrationNoData view * feat: add card options for user-selects-no path * chore: add auto-generated translation file * feat: add CreateProjectModal * chore: add auto-generated translation file * implement basic home layout (#23) * Ej/navigation view (#36) * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * feat: add reach router + basic router component * chore: remove template 'Versions' component * chore: cleaning * chore: add mui * feat: add lang switcher, default layout * feat: add Language switcher * feat: add theme.ts for keeping colours etc centralised * chore: add icons-material package * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * feat: add fonts + fontface rules * feat: add theme and theme provider * feat: add initial migration view * chore: add variables as constants * chore: further styling to init screen * feat: add skip-migration modal * chore: add auto-generated translations * fix: replace reach-router with react-router * feat: add navigation screen * feat: more work on 'navigation' view * chore: move Logo component to components directory, add Mapeo5 Logo * feat: add Migration view * chore: cleanup * chore: remove mapeo5 logo once migration complete * chore: set modal size to fill most of screen * chore: new modal complete state layout * chore: add views to 'extract-messages' script * Squashed commit of the following: commit 132b816 Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Wed Apr 12 12:09:48 2023 +0200 Ej/initial screen layout (#10) * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * chore: cleaning * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * feat: add fonts + fontface rules * feat: add theme and theme provider * feat: add initial migration view * chore: add variables as constants * chore: further styling to init screen * chore: remove fonts * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * Ej/More setup (#9) * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * feat: add reach router + basic router component * chore: remove template 'Versions' component * chore: cleaning * chore: add mui * feat: add lang switcher, default layout * feat: add Language switcher * feat: add theme.ts for keeping colours etc centralised * chore: add icons-material package * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * chore: remove unused imports * chore: remove redundant react fragment * chore: set global CSS colours from theme variables * chore: clean up intl provier tertiary * chore: remove timer hook --------- Co-authored-by: ErikSin <67773827+ErikSin@users.noreply.github.com> * feat: add react-intl and setup basic internationalisation * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add fonts + fontface rules * feat: add theme and theme provider * feat: add initial migration view * chore: rebase fixes * fix: rename themeVarient => langBackgroundVarient for clarity * chore: remove all fonts again (?? rebase reinstated them 😑) * chore: remove button component * fix: remove hardcoded css again * chore: add fonts (#19) * fix: import useTheme (missing from rebase) * fix: remove fonts again (help) --------- Co-authored-by: ErikSin <67773827+ErikSin@users.noreply.github.com> commit 0a546ca Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Wed Apr 5 11:39:18 2023 +0200 Ej/More setup (#9) * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * feat: add reach router + basic router component * chore: remove template 'Versions' component * chore: cleaning * chore: add mui * feat: add lang switcher, default layout * feat: add Language switcher * feat: add theme.ts for keeping colours etc centralised * chore: add icons-material package * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * chore: remove unused imports * chore: remove redundant react fragment * chore: set global CSS colours from theme variables * chore: clean up intl provier tertiary * chore: remove timer hook --------- Co-authored-by: ErikSin <67773827+ErikSin@users.noreply.github.com> commit 1460c04 Merge: aa5b370 2c13648 Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Thu Mar 30 17:50:32 2023 +0200 Merge branch 'develop' of github.com:digidem/mapeo-desktop-shell into develop commit 2c13648 Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Thu Mar 30 17:40:05 2023 +0200 Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * fix: remove fonts * chore: remove redundant useEffect and clear state on modal unmoutn * chore: simplified button component (removed loading + disabled states) * chore: remove redundant useState for progress variable * chore: remove redundant useRef for `oberservations` and `media` variables * chore: remove fonts * fix: reinstate missing MigratingProject file (??), fix default layout * chore: add auto-generated translation file * fix: fix migratingProject view layout * feat: add index navigation view * chore: bold h1 title * feat: add menu icon button to default layout to return to navigation * chore: remove nav menu icon for now * Ej/ fix migrating layout (#35) * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * feat: add reach router + basic router component * chore: remove template 'Versions' component * chore: cleaning * chore: add mui * feat: add lang switcher, default layout * feat: add Language switcher * feat: add theme.ts for keeping colours etc centralised * chore: add icons-material package * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * feat: add fonts + fontface rules * feat: add theme and theme provider * feat: add initial migration view * chore: add variables as constants * chore: further styling to init screen * feat: add skip-migration modal * chore: add auto-generated translations * fix: replace reach-router with react-router * feat: add navigation screen * feat: more work on 'navigation' view * chore: move Logo component to components directory, add Mapeo5 Logo * feat: add Migration view * chore: cleanup * chore: remove mapeo5 logo once migration complete * chore: set modal size to fill most of screen * chore: new modal complete state layout * chore: add views to 'extract-messages' script * Squashed commit of the following: commit 132b816 Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Wed Apr 12 12:09:48 2023 +0200 Ej/initial screen layout (#10) * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * chore: cleaning * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * feat: add fonts + fontface rules * feat: add theme and theme provider * feat: add initial migration view * chore: add variables as constants * chore: further styling to init screen * chore: remove fonts * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * Ej/More setup (#9) * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * feat: add reach router + basic router component * chore: remove template 'Versions' component * chore: cleaning * chore: add mui * feat: add lang switcher, default layout * feat: add Language switcher * feat: add theme.ts for keeping colours etc centralised * chore: add icons-material package * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * chore: remove unused imports * chore: remove redundant react fragment * chore: set global CSS colours from theme variables * chore: clean up intl provier tertiary * chore: remove timer hook --------- Co-authored-by: ErikSin <67773827+ErikSin@users.noreply.github.com> * feat: add react-intl and setup basic internationalisation * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add fonts + fontface rules * feat: add theme and theme provider * feat: add initial migration view * chore: rebase fixes * fix: rename themeVarient => langBackgroundVarient for clarity * chore: remove all fonts again (?? rebase reinstated them 😑) * chore: remove button component * fix: remove hardcoded css again * chore: add fonts (#19) * fix: import useTheme (missing from rebase) * fix: remove fonts again (help) --------- Co-authored-by: ErikSin <67773827+ErikSin@users.noreply.github.com> commit 0a546ca Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Wed Apr 5 11:39:18 2023 +0200 Ej/More setup (#9) * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * feat: add reach router + basic router component * chore: remove template 'Versions' component * chore: cleaning * chore: add mui * feat: add lang switcher, default layout * feat: add Language switcher * feat: add theme.ts for keeping colours etc centralised * chore: add icons-material package * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * chore: remove unused imports * chore: remove redundant react fragment * chore: set global CSS colours from theme variables * chore: clean up intl provier tertiary * chore: remove timer hook --------- Co-authored-by: ErikSin <67773827+ErikSin@users.noreply.github.com> commit 1460c04 Merge: aa5b370 2c13648 Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Thu Mar 30 17:50:32 2023 +0200 Merge branch 'develop' of github.com:digidem/mapeo-desktop-shell into develop commit 2c13648 Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Thu Mar 30 17:40:05 2023 +0200 Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * fix: remove fonts * chore: remove redundant useEffect and clear state on modal unmoutn * chore: simplified button component (removed loading + disabled states) * chore: remove redundant useState for progress variable * chore: remove redundant useRef for `oberservations` and `media` variables * chore: remove fonts * fix: reinstate missing MigratingProject file (??), fix default layout * chore: add auto-generated translation file * Ej/fix migrating layout2 (#37) * fix: changes to interval useEffect => ref (merged before I'd pushed changes) * implement basic home layout (#23) * fix: double import from merge --------- Co-authored-by: Andrew Chou <andrewchou@fastmail.com> * adjust application of css reset and global styles (#43) * chore: simple layout of Migration ('no data detected') flow * chore: add auto-generated translation file * chore: add auto-generated translation file * chore: add scroll=body to modals to ensure modals scroll full-body (not modal scroll) * chore: add cursor: pointer to card labels * chore: add NoData flow to router * chore: add form validation to CreateProject modal * chore: add auto-generated translation file * chore: auto-generated translation files (re-ordering) * fix: typos and bad naming * feat: add join-project modal * chore: add form validation to radio buttons * fix merge conflict in translation file --------- Co-authored-by: Andrew Chou <andrewchou@fastmail.com>
ErikSin
added a commit
that referenced
this pull request
Apr 25, 2023
* feat: add final migration view * chore: add link from previous migration screen to final migration screen * chore: add /migration-complete route to router * fix: remove unused import (Link) * implement basic home layout (#23) * Ej/navigation view (#36) * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * feat: add reach router + basic router component * chore: remove template 'Versions' component * chore: cleaning * chore: add mui * feat: add lang switcher, default layout * feat: add Language switcher * feat: add theme.ts for keeping colours etc centralised * chore: add icons-material package * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * feat: add fonts + fontface rules * feat: add theme and theme provider * feat: add initial migration view * chore: add variables as constants * chore: further styling to init screen * feat: add skip-migration modal * chore: add auto-generated translations * fix: replace reach-router with react-router * feat: add navigation screen * feat: more work on 'navigation' view * chore: move Logo component to components directory, add Mapeo5 Logo * feat: add Migration view * chore: cleanup * chore: remove mapeo5 logo once migration complete * chore: set modal size to fill most of screen * chore: new modal complete state layout * chore: add views to 'extract-messages' script * Squashed commit of the following: commit 132b816 Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Wed Apr 12 12:09:48 2023 +0200 Ej/initial screen layout (#10) * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * chore: cleaning * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * feat: add fonts + fontface rules * feat: add theme and theme provider * feat: add initial migration view * chore: add variables as constants * chore: further styling to init screen * chore: remove fonts * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * Ej/More setup (#9) * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * feat: add reach router + basic router component * chore: remove template 'Versions' component * chore: cleaning * chore: add mui * feat: add lang switcher, default layout * feat: add Language switcher * feat: add theme.ts for keeping colours etc centralised * chore: add icons-material package * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * chore: remove unused imports * chore: remove redundant react fragment * chore: set global CSS colours from theme variables * chore: clean up intl provier tertiary * chore: remove timer hook --------- Co-authored-by: ErikSin <67773827+ErikSin@users.noreply.github.com> * feat: add react-intl and setup basic internationalisation * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add fonts + fontface rules * feat: add theme and theme provider * feat: add initial migration view * chore: rebase fixes * fix: rename themeVarient => langBackgroundVarient for clarity * chore: remove all fonts again (?? rebase reinstated them 😑) * chore: remove button component * fix: remove hardcoded css again * chore: add fonts (#19) * fix: import useTheme (missing from rebase) * fix: remove fonts again (help) --------- Co-authored-by: ErikSin <67773827+ErikSin@users.noreply.github.com> commit 0a546ca Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Wed Apr 5 11:39:18 2023 +0200 Ej/More setup (#9) * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * feat: add reach router + basic router component * chore: remove template 'Versions' component * chore: cleaning * chore: add mui * feat: add lang switcher, default layout * feat: add Language switcher * feat: add theme.ts for keeping colours etc centralised * chore: add icons-material package * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * chore: remove unused imports * chore: remove redundant react fragment * chore: set global CSS colours from theme variables * chore: clean up intl provier tertiary * chore: remove timer hook --------- Co-authored-by: ErikSin <67773827+ErikSin@users.noreply.github.com> commit 1460c04 Merge: aa5b370 2c13648 Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Thu Mar 30 17:50:32 2023 +0200 Merge branch 'develop' of github.com:digidem/mapeo-desktop-shell into develop commit 2c13648 Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Thu Mar 30 17:40:05 2023 +0200 Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * fix: remove fonts * chore: remove redundant useEffect and clear state on modal unmoutn * chore: simplified button component (removed loading + disabled states) * chore: remove redundant useState for progress variable * chore: remove redundant useRef for `oberservations` and `media` variables * chore: remove fonts * fix: reinstate missing MigratingProject file (??), fix default layout * chore: add auto-generated translation file * fix: fix migratingProject view layout * feat: add index navigation view * chore: bold h1 title * feat: add menu icon button to default layout to return to navigation * chore: remove nav menu icon for now * Ej/ fix migrating layout (#35) * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * feat: add reach router + basic router component * chore: remove template 'Versions' component * chore: cleaning * chore: add mui * feat: add lang switcher, default layout * feat: add Language switcher * feat: add theme.ts for keeping colours etc centralised * chore: add icons-material package * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * feat: add fonts + fontface rules * feat: add theme and theme provider * feat: add initial migration view * chore: add variables as constants * chore: further styling to init screen * feat: add skip-migration modal * chore: add auto-generated translations * fix: replace reach-router with react-router * feat: add navigation screen * feat: more work on 'navigation' view * chore: move Logo component to components directory, add Mapeo5 Logo * feat: add Migration view * chore: cleanup * chore: remove mapeo5 logo once migration complete * chore: set modal size to fill most of screen * chore: new modal complete state layout * chore: add views to 'extract-messages' script * Squashed commit of the following: commit 132b816 Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Wed Apr 12 12:09:48 2023 +0200 Ej/initial screen layout (#10) * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * chore: cleaning * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * feat: add fonts + fontface rules * feat: add theme and theme provider * feat: add initial migration view * chore: add variables as constants * chore: further styling to init screen * chore: remove fonts * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * Ej/More setup (#9) * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * feat: add reach router + basic router component * chore: remove template 'Versions' component * chore: cleaning * chore: add mui * feat: add lang switcher, default layout * feat: add Language switcher * feat: add theme.ts for keeping colours etc centralised * chore: add icons-material package * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * chore: remove unused imports * chore: remove redundant react fragment * chore: set global CSS colours from theme variables * chore: clean up intl provier tertiary * chore: remove timer hook --------- Co-authored-by: ErikSin <67773827+ErikSin@users.noreply.github.com> * feat: add react-intl and setup basic internationalisation * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add fonts + fontface rules * feat: add theme and theme provider * feat: add initial migration view * chore: rebase fixes * fix: rename themeVarient => langBackgroundVarient for clarity * chore: remove all fonts again (?? rebase reinstated them 😑) * chore: remove button component * fix: remove hardcoded css again * chore: add fonts (#19) * fix: import useTheme (missing from rebase) * fix: remove fonts again (help) --------- Co-authored-by: ErikSin <67773827+ErikSin@users.noreply.github.com> commit 0a546ca Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Wed Apr 5 11:39:18 2023 +0200 Ej/More setup (#9) * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * feat: add reach router + basic router component * chore: remove template 'Versions' component * chore: cleaning * chore: add mui * feat: add lang switcher, default layout * feat: add Language switcher * feat: add theme.ts for keeping colours etc centralised * chore: add icons-material package * Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * feat: add react-intl and setup basic internationalisation * refactor: extract IntlProvider and lang switcher logic into own component * feat: add lang switcher, default layout * feat: add language select component * feat: add simple splash screen * chore: remove unused imports * chore: remove redundant react fragment * chore: set global CSS colours from theme variables * chore: clean up intl provier tertiary * chore: remove timer hook --------- Co-authored-by: ErikSin <67773827+ErikSin@users.noreply.github.com> commit 1460c04 Merge: aa5b370 2c13648 Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Thu Mar 30 17:50:32 2023 +0200 Merge branch 'develop' of github.com:digidem/mapeo-desktop-shell into develop commit 2c13648 Author: lightlii <32508751+lightlii@users.noreply.github.com> Date: Thu Mar 30 17:40:05 2023 +0200 Ej/Scaffold app + internationalisation (#4) * chore: add extract-messages script * fix: fix app title in html file 😅 * feat: add react-intl and setup basic internationalisation * chore: add nvmrc * refactor: extract IntlProvider and lang switcher logic into own component * fix: import IntlSwitch properly, better messages example id * fix: run extract-messages to update IDs in generated messages file * fix: remove duplication in gitignore * chore: run extract-messages pre-commit * chore: reverse typeing translations * chore: remove yarn.lock * chore: gitignore yarn.lock, generate package-lock.json * chore: add compile script to generate translations files * chore: add quotes on compile script * chore: update compile script / move translations * chore: update IntlProvider component to filter from available languages * chore: set default lang to 'es' * fix: remove fonts * chore: remove redundant useEffect and clear state on modal unmoutn * chore: simplified button component (removed loading + disabled states) * chore: remove redundant useState for progress variable * chore: remove redundant useRef for `oberservations` and `media` variables * chore: remove fonts * fix: reinstate missing MigratingProject file (??), fix default layout * chore: add auto-generated translation file * Ej/fix migrating layout2 (#37) * fix: changes to interval useEffect => ref (merged before I'd pushed changes) * implement basic home layout (#23) * fix: double import from merge --------- Co-authored-by: Andrew Chou <andrewchou@fastmail.com> * chore: add link from previous migration screen to final migration screen * fix: remove duplicate keys in translation file (merge bug) * fix: autogenerated translations (reordering) * feat: add navigate to Home screen in Observations mode * fix bg colour on migration screen * simplified types and reset state --------- Co-authored-by: Andrew Chou <andrewchou@fastmail.com> Co-authored-by: ErikSin <67773827+ErikSin@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.