Commit Graph

53 Commits

Author SHA1 Message Date
Nolan Lawson fda00fc87c
chore: switch from circle ci to github actions (#2253) 2022-11-25 11:04:37 -08:00
Nolan Lawson 16e66346d7
fix!: remove esm package, use native Node ES modules (#2064)
BREAKING CHANGE: Node v12.20+, v14.14+, or v16.0+ is required

* fix!: remove esm package, use native Node ES modules

* fix: fix some CJS imports
2021-07-04 20:19:04 -07:00
Nolan Lawson f012369d72
chore: do not run Webpack BundleAnalyzerPlugin in Circle CI (#2063) 2021-07-04 16:39:31 -07:00
Nolan Lawson b31a72f850
fix : update deps, remove unused deps, code cleanup (#2061) 2021-07-04 16:38:58 -07:00
Nolan Lawson 85a5874876
fix: internationalize manifest.json (#2034)
* fix: internationalize manifest.json

fixes #2020

* test: fix test
2021-04-11 19:40:24 -07:00
Nolan Lawson 3a91ad75b8
test: fix lint (#2032) 2021-04-11 09:00:10 -07:00
Dylan Staley 11fca7b792
fix: add support for building on Windows (#2029)
Fixes #1919

* update path to sapper cli

* use os-aware module rule tests
2021-04-11 07:43:53 -07:00
Nolan Lawson c4e73106cf
fix: fix tesseract in dev mode (#2000) 2021-03-15 17:25:07 -07:00
Nolan Lawson 5e7440aaee
feat: accept files in web share target (#1992)
fixes #1009
2021-03-14 10:20:23 -07:00
Nolan Lawson f22b1bf328
perf: reduce tesseract bundle size by directly importing createWorker (#1979) 2021-03-06 09:07:06 -08:00
Nolan Lawson 8f63cc479c
chore: do not throw intl errors in dev mode (#1977) 2021-02-28 16:36:38 -08:00
Nolan Lawson b2583277eb
chore: update to webpack v5 (#1967)
The bundle size has decreased slightly, so I really can't complain.
2021-02-20 15:30:58 -08:00
Nolan Lawson 533360e32f
chore: update standard and eslint-plugin-html (#1963) 2021-02-20 13:40:33 -08:00
Nolan Lawson 9cf8f8b516
perf: cache polyfills on-demand (#1954)
* perf: cache polyfills on-demand

* fix: actually apply the name
2021-02-15 16:47:18 -08:00
Nolan Lawson 760b7f6cd4
fix: fix Intl.RelativeTimeFormat on iOS 13 (#1947)
Fixes #1938
2021-02-15 15:07:19 -08:00
Nolan Lawson 0afaef350a
perf: remove lookup-closest-locale (#1911) 2020-12-20 15:33:41 -08:00
Nolan Lawson a028a7e880
feat: intl support for emoji picker (#1910)
* feat: intl support for emoji picker

Fixes #1908

* fix: update emoji-picker-element

* fix: fix typo
2020-12-18 20:02:36 -08:00
Nolan Lawson 0022286b46
fix: first stab at i18n, extract English strings, add French (#1904)
* first attempt

* progress

* working

* working

* test timeago

* rm

* get timeago working

* reduce size

* fix whitespace

* more intl stuff

* more effort

* more work

* more progress

* more work

* more intl

* set lang=LOCALE

* flatten

* more work

* add ltr/rtl

* more work

* add comments

* yet more work

* still more work

* more work

* fix tests

* more test and string fixes

* fix test

* fix test

* fix test

* fix some more strings, add test

* fix snackbar

* fix }

* fix typo

* fix english

* measure perf

* start on french

* more work on french

* more french

* more french

* finish french

* fix some missing translations

* update readme

* fix test
2020-11-29 14:13:27 -08:00
Nolan Lawson 7803bdf797
fix: remove LEGACY mode (#1867) 2020-09-13 13:37:54 -07:00
Nolan Lawson e3b3382c01
chore: update worker-loader (#1864)
* chore: update worker-loader

* fix: fix worker-loader
2020-09-07 14:42:44 -07:00
Nolan Lawson 1371175bce
feat: use emoji-picker-element, add emoji autocompletions/tooltips (#1804)
* feat: use emoji-picker-element, add emoji autocompletions/tooltips

* fix: fix lint bug

* test: fix emoji in chrome on linux in travis

* test: try bionic in travis

* chore: try to fix travis

* chore: try to fix travis

* fix: filter unsupported emoji

* chore: try to fix travis

* chore: try to fix travis

* chore: try to fix travis

* chore: try to fix travis

* Revert "chore: try to fix travis"

This reverts commit 3cd2d94469.

* fix: fix emoji autosuggest

* test: fix test
2020-06-28 23:12:14 -07:00
Nolan Lawson cf2a6022dd
fix: fix regenerator error in legacy mode (#1605) 2019-10-27 11:11:57 -07:00
Nolan Lawson 7c04b86405
fix: use smooth scroll polyfill in Chrome for scroll-to-top (#1601)
* fix: use smooth scroll polyfill in Chrome for scroll-to-top

* rename thunk to __thunk__ for safety
2019-10-24 19:03:10 -07:00
Nolan Lawson afb06d988e
perf: use webpack contenthash for better caching (#1573) 2019-10-14 20:00:57 -07:00
Nolan Lawson 7dde0a833b
fix: disable minification on server build (#1563) 2019-10-10 06:02:18 -07:00
Nolan Lawson 6f8a7f1d0d
chore: disable esm/terser cache in travis (#1560) 2019-10-08 07:57:37 -07:00
Nolan Lawson b32be27cf7
feat: add debug build (#1506) 2019-09-21 13:44:32 -07:00
Nolan Lawson 6358af5d04
feat: add legacy build (#1502)
* feat: add legacy build

* service worker should also be in ES5

* fixup
2019-09-20 23:17:52 -07:00
Nolan Lawson ca9a32d303
feat: add OCR for image descriptions using tesseract.js (#1433)
* feat: add OCR for image descriptions using tesseract.js

* tweak style of alt editor

* remove unnecessary files
2019-08-25 18:33:44 -07:00
Nolan Lawson c98b96aa44
fix: move worker-loader to webpack config (#1405)
This avoids ESLint complaining about the `worker-loader!` declaration
2019-08-18 15:15:20 -07:00
Nolan Lawson 00945a3608
chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
Nolan Lawson 70da9a92a6
fix: close/open websocket on freeze/resume events (#1195)
* fix: close/open websocket on freeze/resume events

attempt to address #14

* fix unit tests
2019-05-08 19:58:32 -07:00
Nolan Lawson bbf5b7f0c6
chore: update preact (#1174)
* chore: update preact

* fix preact
2019-05-04 14:16:07 -07:00
Nolan Lawson 14cac8501b
chore: clean up babel config (#1099) 2019-03-15 23:54:09 -07:00
Nolan Lawson ffd570f8b0
perf: remove stats.json from webpack (#1098)
I was not ever really looking at this, and it seems to add compilation time
2019-03-15 23:26:22 -07:00
Nolan Lawson 13792aef66
perf: switch from inferno to preact, use emoji-mart prerelease (#1094)
* perf: switch from inferno to preact, use emoji-mart prerelease

* use preact@10
2019-03-10 14:13:05 -07:00
Nolan Lawson ec02a2665d
chore: update to latest emoji-mart (#1091)
using a branch that allows for modern ES6 builds as well
2019-03-09 12:23:46 -08:00
Nolan Lawson b14f818e81
perf: build url regex in advance (#1069)
* perf: build url regex in advance

* update comment

* better regex stringification
2019-03-02 22:02:59 -08:00
Nolan Lawson 880bc7a38a
perf: use a separate icons.svg file (#1067)
* perf: use a separate icons.svg file

This splits icons into inline and non-inline. The inline ones are high
priority; the rest go in an icons.svg file.

* create SvgIcon.html

* determine inlined svgs at build time
2019-03-02 19:02:06 -08:00
Nolan Lawson 7887d2c848
fix: remove deferred polyfill caching (#999)
As of #998 we can no longer rely on JS files containing , let alone . This was a nice idea, but it's just not maintainable anymore nor does it provide a huge benefit.
2019-02-15 20:31:22 -08:00
Nolan Lawson 0d9dc7809c
chore: upgrade to zeit 2 (#998) 2019-02-15 19:46:27 -08:00
Nolan Lawson 52d1ab5703
Revert "perf: use webpack splitChunks defaults (#855)" (#856)
This reverts commit 49b85623d5.
2018-12-23 11:25:35 -08:00
Nolan Lawson 49b85623d5
perf: use webpack splitChunks defaults (#855) 2018-12-23 10:52:47 -08:00
Nolan Lawson e666eb5955
perf: use lodash-lite for some functions (#853) 2018-12-23 10:10:16 -08:00
Nolan Lawson 098a20db49
feat: add full emoji picker using emoji-mart (#836)
* feat: add full emoji picker using emoji-mart

Fixes #4

* use a sailboat as the default emoji in the emoji picker

* fix tests

* fix lint
2018-12-18 00:43:51 -08:00
Nolan Lawson fc30ef1c8c
fix: add perf budgets to webpack, shorten chunk names (#831) 2018-12-17 13:42:10 -08:00
Nolan Lawson 14a618f374
perf: lazy-load logged-in observers, fix circular dependencies (#823)
* perf: lazy-load logged-in observers, fix circular dependencies

* I guess async deps don't count as circular deps
2018-12-16 10:22:34 -08:00
Nolan Lawson 3ae532aee5
fix: fix NODE_ENV and webpack config (#818) 2018-12-15 19:21:20 -08:00
Nolan Lawson 3a335a9f4a
perf: use terser for service worker too (#816) 2018-12-15 17:36:36 -08:00
Nolan Lawson dbd6c35a88
perf: move indexeddb operations to async module (#813) 2018-12-15 17:13:40 -08:00