Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript Downgrade and WhatsApp @mui/icons change #1132

Merged
merged 24 commits into from
Nov 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
4d93280
1123 - bump up next and react versions
dimitur2204 Nov 18, 2022
a42fd8a
1123 - move out next middlewares
dimitur2204 Nov 18, 2022
e36d7de
1123 - migrate to new next/image api and add a11y todos
dimitur2204 Nov 18, 2022
5ae27da
1123 - fix layout='fill' images and migrate to new next/link api
dimitur2204 Nov 18, 2022
ad4f939
1123 - fix banner image on details page and LinkMenuItems
dimitur2204 Nov 18, 2022
544463b
1123 - update next-auth version and fix Link with the new next/link api
dimitur2204 Nov 19, 2022
4788f87
1123 - fix next-auth type and cleanup conosole.log
dimitur2204 Nov 19, 2022
44a3324
1123 - remove and replace console.logs from DonationTables
dimitur2204 Nov 19, 2022
d5ebe64
1123 - add swcMinify to the config
dimitur2204 Nov 19, 2022
cbb8e98
1123 - update i18n dependency
dimitur2204 Nov 19, 2022
465b851
1123 - fix fill image on the one time donation page
dimitur2204 Nov 19, 2022
2069b0d
1123 - update typescript, fix typings and add ExternalLinkMenuItem co…
dimitur2204 Nov 19, 2022
a036dd9
1123 - fix @react-pdf typings and other left out
dimitur2204 Nov 19, 2022
81f8eb0
1123 - revert test:e2e command
dimitur2204 Nov 19, 2022
9f2e933
1123 - remove unecessary resolution
dimitur2204 Nov 19, 2022
be9a753
1123 - update support page e2e tests to match behaviour
dimitur2204 Nov 19, 2022
0d28fab
1123 - fix expects on the homepage tests and move out next/script
dimitur2204 Nov 19, 2022
7a56439
1123 - update auth to now protect admin
dimitur2204 Nov 19, 2022
440c9a4
change out WhatsAppOutlined for WhatsApp in `socialMedia.ts`
dimitur2204 Nov 19, 2022
4035ab3
remove ts-expec-error from chat.tsx
dimitur2204 Nov 19, 2022
8a057d0
Merge remote-tracking branch 'origin/master' into bug/whatsapp-mui-ic…
dimitur2204 Nov 19, 2022
7da129d
return @ts-expect-error on the chat.tsx component
dimitur2204 Nov 19, 2022
7377cd6
return typescript to 4.5.5
dimitur2204 Nov 19, 2022
af60ffa
update to typescript 4.8.3
dimitur2204 Nov 19, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
"stripe": "^8.184.0",
"stylelint": "^14.5.0",
"stylelint-config-sass-guidelines": "9.0.1",
"typescript": "4.9.3"
"typescript": "4.8.3"
},
"lint-staged": {
"*.{ts,tsx,js}": [
Expand Down
4 changes: 2 additions & 2 deletions src/components/campaigns/helpers/socialMedia.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import { FacebookOutlined, LinkedIn, Twitter, WhatsappOutlined } from '@mui/icons-material'
import { FacebookOutlined, LinkedIn, Twitter, WhatsApp } from '@mui/icons-material'

export type Social = {
label: string
Expand All @@ -21,7 +21,7 @@ export function socialMedia(url: string): Social {
},
{
label: 'Споделете в Whatsapp',
icon: WhatsappOutlined,
icon: WhatsApp,
url: `https://api.whatsapp.com/send/?text=${url}`,
},
{
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7846,10 +7846,10 @@ typedarray-to-buffer@^3.1.5:
dependencies:
is-typedarray "^1.0.0"

typescript@4.9.3:
version "4.9.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.3.tgz#3aea307c1746b8c384435d8ac36b8a2e580d85db"
integrity sha512-CIfGzTelbKNEnLpLdGFgdyKhG23CKdKgQPOBc+OUNrkJ2vr+KSzsSV5kq5iWhEQbok+quxgGzrAtGWCyU7tHnA==
typescript@4.8.3:
version "4.8.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.8.3.tgz#d59344522c4bc464a65a730ac695007fdb66dd88"
integrity sha512-goMHfm00nWPa8UvR/CPSvykqf6dVV8x/dp0c5mFTMTIu0u0FlGWRioyy7Nn0PGAdHxpJZnuO/ut+PpQ8UiHAig==

unbox-primitive@^1.0.1:
version "1.0.1"
Expand Down