Commit Graph

91 Commits

Author SHA1 Message Date
Nolan Lawson 22219c0dca chore: add comment 2024-03-09 11:01:44 -08:00
Nolan Lawson 947102a2d9 test: clarify comment 2024-03-09 10:26:28 -08:00
Nolan Lawson d06ebdeee4 chore: switch from process.env to importa.meta.env 2024-03-09 09:37:31 -08:00
Nolan Lawson 0ad326cd84 test: get vitest and coverage working 2024-03-09 09:13:23 -08:00
Nolan Lawson 60eeb8ef17
perf: hoist global check (#358) 2023-06-30 08:53:49 -07:00
dimden b829d4c8ce
fix: make "People and body" category work in Firefox content script (#357)
Co-authored-by: Nolan Lawson <nolan@nolanlawson.com>
2023-06-30 08:44:56 -07:00
Nolan Lawson c56e74cac2
chore: update linters and some devDeps (#344) 2023-06-18 12:15:53 -07:00
Nolan Lawson 5a8fc19b96
fix: preserve state if component disconnects then immediately reconnects (#313)
Fixes #312
2023-01-22 13:09:04 -08:00
Nolan Lawson 7b0f17aaf2
feat: update to emoji 14.0 (#237) 2021-12-20 18:44:51 -08:00
Nolan Lawson fa2494223d
fix: fix db undefined when adding/removing element (#227)
Fixes #225
2021-09-26 11:11:57 -07:00
Nolan Lawson d732610e7f
perf: use relaxed IDB transactions and manually commit (#218)
* perf: use relaxed IDB transactions and manually commit

* fix: reduce time spent in benchmark

* fix: add missing txn.commit()

* fix: small syntax change
2021-08-21 14:48:38 -07:00
Nolan Lawson ed0ffac1e1
perf: use IDBObjectStore.clear (#208) 2021-08-13 09:55:10 -07:00
Nolan Lawson 304a18d2f7
fix: remove unused code (#148) 2021-06-26 16:23:50 -07:00
Nolan Lawson 17ff7494a4
chore: update to jest 27 (#147)
* chore: update to jest 27

* fix: lint

* chore: update @testing-library/dom too

* test: relax coverage test

* test: fix coverage
2021-06-25 21:57:50 -07:00
Nolan Lawson f6f5d93780
chore: use @rollup/plugin-strip to remove console.log and perf marks/measures (#136)
* fix: use @rollup/plugin-strip

* fix: progress

* test: fix test

* fix: fixup
2021-05-31 08:45:59 -07:00
Nolan Lawson 9aba198959
chore: add perf marks for committing initial IDB data (#118) 2021-03-06 15:21:02 -08:00
Nolan Lawson f4e7ad8bdf
fix: fix getEmojiByShortcode when shortcodes are optional (#98)
* fix: fix getEmojiByShortcode when shortcodes are optional

* fix: fixup
2020-12-26 14:49:00 -08:00
Nolan Lawson 5308bcaa32
refactor: add clarifying code comment (#95) 2020-12-26 10:13:26 -08:00
Nolan Lawson e5b1750572
perf: use batch cursor for full DB scan (#94) 2020-12-25 13:41:39 -08:00
Nolan Lawson 992ac10164
fix: fix short tokens in getEmojiByShortcode (#90)
* fix: fix short tokens in getEmojiByShortcode

* fix: add comment
2020-12-24 13:39:23 -08:00
Nolan Lawson f40beeddd1
feat: use emoji-picker-element-data, make shortcodes optional (#75)
* fix: use emoji-picker-element-data

* fix: working

* fix: fix tests

* fix: more work

* test: tests

* test: more tests

* fix: make shortcodes optional

* docs: fixup

* fix: actually install

* docs: make shortcodes optional

* fix: add deprecation notice to trimEmojiData

* fix: fix trimEmojiData

* docs: update readme

* docs: update readme

* docs: tweak docs and error messages
2020-11-06 13:56:01 -08:00
Nolan Lawson 9fe31d9a57
test: improve test coverage (#74) 2020-11-06 10:08:33 -08:00
Nolan Lawson c72bb44a28
fix: emoticon is not a required field (#73) 2020-11-03 15:18:43 -08:00
Nolan Lawson 82618562f1
fix: use @^ for versions (#72)
* fix: use @^ for versions

fixes #71

* fix: fixup
2020-11-03 14:06:51 -08:00
Nolan Lawson a846a269b5
test: improve test reliability, coverage, update deps, remove --no-cache (#58) 2020-10-17 16:54:57 -07:00
Nolan Lawson 50445d4db5
perf: reduce idb migration code (#22)
* perf: reduce idb migration code

Helps with #21

* reuse more old migration code to reduce risk
2020-08-16 15:23:15 -07:00
Nolan Lawson fa97af5311 perf: slightly reduce bundle size 2020-06-27 12:56:29 -07:00
Nolan Lawson 9dffb1b622 perf: smaller db close implementation 2020-06-27 11:30:47 -07:00
Nolan Lawson 025756324d fix: fix closing/deleting a second database object 2020-06-27 11:09:43 -07:00
Nolan Lawson 6a99dcc55a fix: fix lookup on skintoned unicode 2020-06-26 23:27:50 -07:00
Nolan Lawson 9c1570ffe6 perf: optimize cleanEmoji() 2020-06-25 07:06:46 -07:00
Nolan Lawson 6cfc728ecf fix: remove tokens from exposed emoji object 2020-06-22 18:53:27 -07:00
Nolan Lawson de0ce05a99 fix: fix emoticons 2020-06-20 14:16:28 -07:00
Nolan Lawson fa590877de feat: add trimEmojiData util function 2020-06-20 14:06:19 -07:00
Nolan Lawson c70df34450 perf: reduce code in PickerElement 2020-06-17 00:03:50 -07:00
Nolan Lawson 6fbada6ac7 refactor: refactor 2020-06-15 09:58:33 -07:00
Nolan Lawson b327529414 refactor: refactor 2020-06-15 09:52:13 -07:00
Nolan Lawson 9e09b9839c fix: code cleanup 2020-06-14 23:41:08 -07:00
Nolan Lawson 92100a9b5d fix: simplify api 2020-06-14 23:38:43 -07:00
Nolan Lawson 86d24b2c1e fix: add types and fixup events 2020-06-14 17:39:52 -07:00
Nolan Lawson 8f25a03436 fix: progress on custom emoji 2020-06-14 17:30:32 -07:00
Nolan Lawson 15af26d5e7 start on UI, shortcode -> shortcodes 2020-06-14 14:42:05 -07:00
Nolan Lawson 6b981b9102 fix: more tests and more code cleanup 2020-06-14 12:00:39 -07:00
Nolan Lawson e40984743d feat: implement custom emoji 2020-06-14 11:30:38 -07:00
Nolan Lawson 00d35c6b3e refactor: add some code comments 2020-06-13 18:05:43 -07:00
Nolan Lawson cd6b30f0ee refactor: refactor idb code some more 2020-06-13 17:40:57 -07:00
Nolan Lawson 326c631a41 refactor: refactor db code 2020-06-13 17:35:21 -07:00
Nolan Lawson e756d9f6c3 perf: make idb code compress better 2020-06-13 17:26:55 -07:00
Nolan Lawson 596a702cb9 feat: implement favorites 2020-06-12 20:14:47 -07:00
Nolan Lawson c76501a546 fix: flesh out favorites db api 2020-06-11 23:01:08 -07:00