From 5c5e22229f6a399fddb355df23c4af4975cf3384 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Wed, 15 Apr 2020 10:47:38 -0700 Subject: [PATCH] feat: implement custom template description functionality for clubhouse add clubhouse customTemplate db settings add clubhouse tab to settings page create templateParser and templateMessenger classes --- src/html/settings.html | 37 +++++++++++++++++++++ src/images/Clubhouse_FlagSymbol_White.png | Bin 0 -> 11972 bytes src/images/Clubhouse_FlagSymbol_White.svg | 20 +++++++++++ src/scripts/background.js | 5 ++- src/scripts/content/clubhouse.js | 34 +++++++++++++++---- src/scripts/index.d.ts | 10 ++++++ src/scripts/lib/customTemplateMessenger.ts | 32 ++++++++++++++++++ src/scripts/lib/customTemplateParser.ts | 20 +++++++++++ src/scripts/lib/db.js | 4 +++ src/scripts/settings.js | 18 ++++++++++ src/styles/settings.css | 8 ++++- 11 files changed, 180 insertions(+), 8 deletions(-) create mode 100644 src/images/Clubhouse_FlagSymbol_White.png create mode 100644 src/images/Clubhouse_FlagSymbol_White.svg create mode 100644 src/scripts/lib/customTemplateMessenger.ts create mode 100644 src/scripts/lib/customTemplateParser.ts diff --git a/src/html/settings.html b/src/html/settings.html index a8f4f3cf3..bc3db601a 100644 --- a/src/html/settings.html +++ b/src/html/settings.html @@ -38,6 +38,14 @@

Settings

Integrations +