Skip to content

Commit 4579235

Browse files
authored
Emoji (#89)
* emoji: svg pointer via `<use />` * script: emoji compiler * bundle emojis * fix: lint * emoji in chat, autocomplete & emote menu tab * qualifications * pagstick if you see this * revert emoji spec to v14.0 * removed unused dependencies * make the emote menu list rendering more sane * Fancier emoji tooltips * prettier -kkona * emoji generate script * update changelog * fix: lint
1 parent 8a52f7c commit 4579235

39 files changed

+13227
-673
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ dist-ssr
2424
# Manifest.json is generated from manifest.config.json
2525
src/manifest.json
2626
msg_types.json
27+
28+
script/*.json
29+

.prettierignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
/dist
22
/node_modules
33
/Typings
4+
/src/assets/blob/emoji.json
5+

.prettierrc

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"^pinia",
1313
"^@/store/(.*)$",
1414
"^@/common/(.*)$",
15+
"^@/db/(.*)$",
1516
"^@/composable/(.*)$",
1617
"^@/site/(.*)$",
1718
"^@/worker/(.*)$",

CHANGELOG.md

+45-39
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,69 @@
11
### Version 3.0.0.7000 (Beta 7)
22

3-
- Added support for Animated Avatars
4-
- Fixed an issue which broke the Mod Slider
3+
- Added support for Emojis in chat & auto-completion
4+
- Added a new tab for Emojis in the Emote Menu
5+
- Added support for Animated Avatars
6+
- Made some optimizations against bandwidth usage
7+
- Fixed an issue which broke the insertion of emotes to the input via the emote menu
8+
- Fixed an issue which broke the Mod Slider
9+
- Fixed an issue which caused timestamps to remain frozen in time
10+
- Fixed incorrect vertical chat padding
511

612
### Version 3.0.0.6000 (Beta 6)
713

8-
- Added Message Highlights for First-Time Chatter, Returning Chatter & Suspicious Users
9-
- Added a search bar in the Emote Menu
10-
- Updated the look of the Settings Menu
14+
- Added Message Highlights for First-Time Chatter, Returning Chatter & Suspicious Users
15+
- Added a search bar in the Emote Menu
16+
- Updated the look of the Settings Menu
1117

1218
---
1319

1420
### Version 3.0.0.5000 (Beta 5)
1521

16-
- Colon auto-complete ( :emote ) should now work again
17-
- Added new config option ("Message Batching") to change the rate at which new messages appear
18-
- Significantly improved the performance of the Emote Menu
19-
- The jump buttons in the Emote Menu should now work properly on Chrome
20-
- Made tentative performance improvements to the chat. Please report any regressions
21-
- The page should no longer substantially freeze when tabbing in after a few seconds out of focus
22-
- The page should no longer occasionally freeze when switching between channels
23-
- The page should no longer feel sluggish for the first few seconds after loading into a channel
24-
- Fixed a conflict with FrankerFaceZ where some message types did not render properly
25-
- Fixed an issue which caused EventAPI subscription commands to be sent twice
22+
- Colon auto-complete ( :emote ) should now work again
23+
- Added new config option ("Message Batching") to change the rate at which new messages appear
24+
- Significantly improved the performance of the Emote Menu
25+
- The jump buttons in the Emote Menu should now work properly on Chrome
26+
- Made tentative performance improvements to the chat. Please report any regressions
27+
- The page should no longer substantially freeze when tabbing in after a few seconds out of focus
28+
- The page should no longer occasionally freeze when switching between channels
29+
- The page should no longer feel sluggish for the first few seconds after loading into a channel
30+
- Fixed a conflict with FrankerFaceZ where some message types did not render properly
31+
- Fixed an issue which caused EventAPI subscription commands to be sent twice
2632

2733
---
2834

2935
### Version 3.0.0.4000 (Beta 4)
3036

31-
- Added support for Replies & Threads
32-
- Added support for Mod Icons
33-
- Added a message announcement when channel 7TV emotes are changed
34-
- Added an option to change the chat padding style (full-width or native)
35-
- The emote menu button will now take the form of the 7TV Logo
36-
- Fixed an issue which caused this changelog to become impossible to close if multiple tabs were open
37+
- Added support for Replies & Threads
38+
- Added support for Mod Icons
39+
- Added a message announcement when channel 7TV emotes are changed
40+
- Added an option to change the chat padding style (full-width or native)
41+
- The emote menu button will now take the form of the 7TV Logo
42+
- Fixed an issue which caused this changelog to become impossible to close if multiple tabs were open
3743

3844
---
3945

4046
### Version 3.0.0.3000 (Beta 3)
4147

42-
- Added an option for alternating background colors between chat messages
43-
- Added initial support for syncing settings with FrankerFaceZ
44-
- Content from blocked users will now be hidden
45-
- Made performance & stability tweaks
46-
- Fixed an issue where AVIF would be used regardless of whether the current browser is supported
47-
- Fixed an issue which caused this changelog to appear on every refresh <img width="18" src="https://cdn.7tv.app/emote/6086fa8d5e01df61570b594e/1x.webp" />
48-
48+
- Added an option for alternating background colors between chat messages
49+
- Added initial support for syncing settings with FrankerFaceZ
50+
- Content from blocked users will now be hidden
51+
- Made performance & stability tweaks
52+
- Fixed an issue where AVIF would be used regardless of whether the current browser is supported
53+
- Fixed an issue which caused this changelog to appear on every refresh <img width="18" src="https://cdn.7tv.app/emote/6086fa8d5e01df61570b594e/1x.webp" />
54+
4955
---
5056

5157
### Version 3.0.0.2000 (Beta 2)
5258

53-
- Added message send state indication: greys out sent messages until confirmed
54-
- Added support for historical chat messages
55-
- Made it possible to delete one's own messages when broadcaster or mod
56-
- Cosmetics & Personal Emotes should now correctly synchronize with every tab
57-
- @mentions will now appear bolded
58-
- Added a setting for compact emote tooltips
59-
- Tooltips should no longer clip outside the window on some occasions
60-
- Fixed an issue where pressing tab would exit the chat input box
61-
- Fixed an issue where tab completion would pick a match that didn't start with the currently typed word
62-
- The extension will now refuse to run if another version of 7TV is detected on the browser
63-
- Added changelogs
59+
- Added message send state indication: greys out sent messages until confirmed
60+
- Added support for historical chat messages
61+
- Made it possible to delete one's own messages when broadcaster or mod
62+
- Cosmetics & Personal Emotes should now correctly synchronize with every tab
63+
- @mentions will now appear bolded
64+
- Added a setting for compact emote tooltips
65+
- Tooltips should no longer clip outside the window on some occasions
66+
- Fixed an issue where pressing tab would exit the chat input box
67+
- Fixed an issue where tab completion would pick a match that didn't start with the currently typed word
68+
- The extension will now refuse to run if another version of 7TV is detected on the browser
69+
- Added changelogs

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ This is a complete rewrite of the [Web Extension](https://github.com/seventv/sev
44

55
### Building
66

7-
- make deps
8-
- make production
7+
- make deps
8+
- make production
99

1010
For a beta build, set `BRANCH=beta` in your environment variables.
1111

manifest.config.ts

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ export async function getManifest(
5959
"content.js.map",
6060
"worker.js",
6161
"assets/style.css",
62+
"blob/emoji.svg",
6263
...(chunkResources ?? []),
6364
],
6465
matches: ["*://*.twitch.tv/*"],

0 commit comments

Comments
 (0)