browsertrix/.github/workflows
Emma Segal-Grossman 683e531cc0
Localize durations on frontend (#2196)
Partially addresses
https://github.com/webrecorder/browsertrix/issues/2171

- [x] Reimplement `pretty-ms`'s rounding logic to convert to a
`Intl.DurationFormat`-compatible object
- [x] Add `localize.duration` and `localize.humanizeDuration` methods
- [x] Replace `pretty-ms` usage with localized formatting
- [x] Add `Intl.DurationFormat` polyfill
- [x] Update localize tests
- [x] Fix broken tests (thank you @SuaYoo!)
- This looks to be possibly a bug somewhere in the web test runner's
code? Have yet to figure this one out
- Might be related to these:
https://github.com/web-dev-server/web-dev-server/issues/1
https://github.com/guybedford/es-module-lexer/issues/82 — both closed
with no comments or resolution 🙃 — `es-module-lexer` seems to be most
likely, given it's a native module & might be handling unicode sequences
incorrectly or not at all?
- [x] Clean up messy `index.d.ts` — probably split this out? The
definitions haven't yet made their way into `esnext`
https://github.com/microsoft/TypeScript/issues/60608

---------

Co-authored-by: emma-sg <emma-sg@users.noreply.github.com>
Co-authored-by: sua yoo <sua@suayoo.com>
2024-12-03 16:46:57 -05:00
..
ansible-lint.yaml Update ansible pipfile (#2088) 2024-09-20 11:41:21 -07:00
deploy-dev.yaml
docs-publish.yaml Docs: Add API Reference as top-level nav (#2180) 2024-11-27 17:00:54 -08:00
frontend-build-prepare.yaml Localize durations on frontend (#2196) 2024-12-03 16:46:57 -05:00
k3d-ci.yaml Ensure email comparisons are case-insensitive, emails stored as lowercase (#2084) (#2086) (fixes from 1.11.7) 2024-09-19 12:20:34 -07:00
k3d-log-ci.yaml
k3d-nightly-ci.yaml Fix nightly tests: modify kubectl exec syntax for creating new minio bucket (#2097) 2024-10-21 17:41:19 -07:00
lint.yaml quickfix: pin mypy version to avoid issues with latest release 2024-07-19 18:30:57 -07:00
microk8s-ci.yaml Adds Subscription API (#1914) 2024-07-10 17:41:16 -07:00
password-check.yaml
project-assign-issue.yml
publish-helm-chart.yaml Configure browsertrix proxies (#1847) 2024-10-02 18:35:45 -07:00
release.yaml
ui-tests-playwright.yml Localize durations on frontend (#2196) 2024-12-03 16:46:57 -05:00