Commit graph

24 commits

Author SHA1 Message Date
9ff9abacc3 bootstrap: lang/type dropdowns jQuery -> react-bootstrap <Dropdown>
The false-positive-type selector (Fires.js) and the language selector
(Profile.js) used Bootstrap's jQuery dropdown (`data-toggle="dropdown"`), the
last widgets depending on the BS4 jQuery JS that goes away with the CSS swap.
Replace both with react-bootstrap <Dropdown>/<Dropdown.Toggle>/<Dropdown.Item>
(open/close in React, no jQuery). Keeps the `.lang-selector` hook and `.btn-group`
layout; works on the current BS4 CSS.

Full-app build boots clean.
2026-07-22 01:01:59 +02:00
a1a1b9a801 deps: react-bootstrap 0.31 -> 2 (Bootstrap 5 CSS deferred as debt)
Removes the largest batch of React-19-blocking warnings: the 0.31
components (Grid, FormGroup, ControlLabel, Navbar.Header/Brand, Checkbox,
SafeAnchor) all leaned on legacy context / defaultProps.

29 files converted: Grid->Container, FormGroup/ControlLabel/FormControl/
HelpBlock -> Form.Group/Label/Control/Text, Checkbox -> Form.Check (label
as prop), bsStyle->variant (default->secondary), bsSize->size,
pull-right->float-end. Custom Col.js now re-exports v2's Col; custom
NavItem.js rewritten self-contained (no SafeAnchor/createChainedFunction);
Navigation.js drops react-bootstrap Navbar (raw markup anyway).

CSS stays on Bootstrap 4 (alexwine:bootstrap-4) for now: the BS4->5 jump
is entangled with the jQuery carousel/swipe + navbar-collapse and is
tracked as separate debt in UPGRADE.md. Only .form-label needed a shim
(forms.scss). Browser-verified home carousel+navbar, signup form + terms
checkbox, login form; REST smoke byte-identical.
2026-07-21 12:44:46 +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
c6c22643c1 scss: migrate @import -> @use, lighten/darken -> color.adjust (dart-sass)
Silences the dart-sass deprecation warnings that flooded every build:
- All @import of local partials (colors, mixins, and the CSS-emitting
  partials) -> @use '...' as * (partials are pure defs, so 'as *' keeps the
  global names and the ~25 call sites unchanged). Added explicit @use './colors'
  to bootstrap-overrides.scss and cookies-eu.scss, which used -palette*
  transitively (broke under @use's scoping).
- lighten(c, x%) -> color.adjust(c, $lightness: x%) and darken -> negative,
  with @use 'sass:color' in the 6 affected files.
Compiles clean (byte-for-byte CSS behavior preserved).
2026-07-17 18:18:04 +02:00
Vicente J. Ruiz Jurado
f5665a56a8 Hardcode available list of langs in profile 2018-08-17 11:33:29 +02:00
Vicente J. Ruiz Jurado
4d7938220b Added comment 2018-08-17 06:13:57 +02:00
Vicente J. Ruiz Jurado
829fae4f07 Trying to get available list of langs in profile 2018-08-17 05:39:03 +02:00
vjrj
64b2affee4 Clean in Profile 2018-03-03 09:05:55 +01:00
vjrj
5c7380a199 Fix error message 2018-02-18 13:11:40 +01:00
vjrj
078931b4f9 Translation link 2018-02-14 10:31:19 +01:00
vjrj
311b4ee1f3 Removed createContainer 2018-02-07 16:37:26 +01:00
vjrj
fb3511b264 Added cucumber tests (wip) 2018-02-01 17:00:30 +01:00
vjrj
6c8fa91f64 Email translations 2018-01-22 13:27:46 +01:00
vjrj
97c47c5d1d Added user lang setting 2018-01-09 12:05:36 +01:00
vjrj
5a5d2b945f Profile centered 2017-11-29 15:57:58 +01: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
cleverbeagle
1803ca06d3 improve ux on edit profile view for OAuth users 2017-09-07 10:59:21 -05:00
cleverbeagle
3a9c28b8bc add support for lodash and use _.capitalize in /imports/ui/pages/Profile/Profile.js 2017-07-31 12:10:25 -05:00
cleverbeagle
e8c221a8c0 move handling of password change in profile to client 2017-07-31 10:37:11 -05:00
cleverbeagle
b0270cc98b add oauth flows, profile, logout page, and index page 2017-05-29 22:02:22 -05:00
cleverbeagle
252ebf50cc add support for profile 2017-05-28 14:04:24 -05:00
cleverbeagle
cdc15f019d wip Pup 1.0.0 2017-05-23 20:05:46 -05:00