From c8087219381c72233af7aef3bfd60fc587d479c4 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 30 May 2023 15:46:43 -0400 Subject: [PATCH] Spelling (#772) * spelling: account Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: activated Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: additional Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: appropriate Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: bskyweb Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: description Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: display Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: highlighted Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: javascript Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: locally-hosted Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: notification Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: occurring Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: parenthetical Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: preexisting Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: prefetched Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: punctuation Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: simplicity Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --------- Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- Dockerfile | 4 ++-- __tests__/lib/string.test.ts | 4 ++-- bskyweb/README.md | 2 +- bskyweb/templates/base.html | 4 ++-- docs/build.md | 4 ++-- src/lib/notifee.ts | 30 +++++++++++++------------ src/lib/routes/helpers.ts | 2 +- src/lib/strings/rich-text-detection.ts | 2 +- src/platform/polyfills.ts | 2 +- src/state/models/content/post-thread.ts | 13 +++++++---- src/state/models/feeds/notifications.ts | 6 ++--- src/state/models/session.ts | 4 ++-- src/view/com/auth/create/Step1.tsx | 6 ++--- src/view/com/profile/ProfileHeader.tsx | 2 +- src/view/com/util/post-embeds/index.tsx | 2 +- src/view/screens/Home.tsx | 2 +- 16 files changed, 48 insertions(+), 41 deletions(-) diff --git a/Dockerfile b/Dockerfile index fbd13beb..241926db 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,7 @@ ENV CGO_ENABLED=1 COPY . . # -# Generate the Javascript webpack. +# Generate the JavaScript webpack. # RUN mkdir --parents $NVM_DIR && \ wget \ @@ -36,7 +36,7 @@ RUN \. "$NVM_DIR/nvm.sh" && \ RUN find ./bskyweb/static && find ./web-build/static # -# Generate the bksyweb Go binary. +# Generate the bskyweb Go binary. # RUN cd bskyweb/ && \ go mod download && \ diff --git a/__tests__/lib/string.test.ts b/__tests__/lib/string.test.ts index f25bd02a..936708cf 100644 --- a/__tests__/lib/string.test.ts +++ b/__tests__/lib/string.test.ts @@ -48,7 +48,7 @@ describe('detectLinkables', () => { 'Classic article https://socket3.wordpress.com/2018/02/03/designing-windows-95s-user-interface/ ', 'https://foo.com https://bar.com/whatever https://baz.com', 'punctuation https://foo.com, https://bar.com/whatever; https://baz.com.', - 'parenthentical (https://foo.com)', + 'parenthetical (https://foo.com)', 'except for https://foo.com/thing_(cool)', ] const outputs = [ @@ -112,7 +112,7 @@ describe('detectLinkables', () => { {link: 'https://baz.com'}, '.', ], - ['parenthentical (', {link: 'https://foo.com'}, ')'], + ['parenthetical (', {link: 'https://foo.com'}, ')'], ['except for ', {link: 'https://foo.com/thing_(cool)'}], ] it('correctly handles a set of text inputs', () => { diff --git a/bskyweb/README.md b/bskyweb/README.md index a74cda0d..d6064737 100644 --- a/bskyweb/README.md +++ b/bskyweb/README.md @@ -2,7 +2,7 @@ ### SPA Bundle (monolithic static javascript file) -To build the SPA bundle (`bundle.web.js`), first get a Javascript development +To build the SPA bundle (`bundle.web.js`), first get a JavaScript development environment set up. Either follow the top-level README, or something quick like: diff --git a/bskyweb/templates/base.html b/bskyweb/templates/base.html index 5725b7af..abd312ed 100644 --- a/bskyweb/templates/base.html +++ b/bskyweb/templates/base.html @@ -122,8 +122,8 @@ {%- block body_all %}