4ddaa0d8ec
cleanup: defaultProps -> JS default params on our function components
...
React 19 drops defaultProps on function components. Converted the 9 of
ours that used it (App, Navigation, ReSendEmail, Reconnect, OAuthLoginButton,
PageHeader, Page, EditDocument, EditSubscription) to destructured default
params; App defaults userId/emailAddress in its withTracker instead (it
spreads {...props} widely). Class components keep defaultProps (still
supported). The only defaultProps warnings left are from the react-share
npm package (CreatedButton/Icon), not our code. REST smoke byte-identical.
2026-07-21 13:54:02 +02:00
12bdbe8fed
deps: i18next 10 -> 23, react-i18next 7 -> 14
...
Modernizes the whole i18n stack:
- 48 translate([], {wait:true}) / translate() HOCs -> withTranslation()
- react.wait:true -> react.useSuspense:false
- whitelist -> supportedLngs; added compatibilityJSON: 'v3' so our
natural-language keys + v3 _plural layout keep working (custom
separators ss/eth/dj preserved)
- backends: xhr -> i18next-http-backend (client), sync-fs ->
i18next-fs-backend (server); dropped i18next-localstorage-cache
(was enabled:false); languagedetector 2 -> 8
- ReSendEmail: <Interpolate> (removed in v10) -> <Trans values={{email}}/>,
dropped the removed bare t export
- saveMissing handler signature (lngs, ns, key, fallbackValue)
Silences the per-component Translate/I18n legacy-context warnings.
Browser-verified es/en switch and <Trans> interpolation on /fires;
REST smoke byte-identical.
2026-07-18 06:28:41 +02:00
vjrj
e9029cd8b9
More i18n work
2017-11-29 10:50:28 +01:00
vjrj
2ad4972115
More i18n work
2017-11-28 18:24:50 +01:00
vjrj
3ef6f3c80b
Basic navs and auth pages working·
2017-11-27 17:37:06 +01:00
vjrj
bdad1d5930
Changes in enabled external services
2017-11-15 19:58:41 +01:00
cleverbeagle
7830ec2048
add additional profile permission to Google OAuth request
2017-09-07 10:32:35 -05:00
cleverbeagle
3bc98bc3a6
add last minute tweaks found while writing docs
2017-06-13 08:12:26 -05:00
cleverbeagle
b0270cc98b
add oauth flows, profile, logout page, and index page
2017-05-29 22:02:22 -05:00
cleverbeagle
3459bf26f8
wip wiring up account forms
2017-05-25 16:31:01 -05:00
cleverbeagle
cdc15f019d
wip Pup 1.0.0
2017-05-23 20:05:46 -05:00