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

AV-565, AV-1234, AV-1233: Update Dependencies #576

Merged
merged 73 commits into from
Oct 24, 2024
Merged

Conversation

jakecoble
Copy link
Collaborator

@jakecoble jakecoble commented Aug 30, 2024

Copy link

vercel bot commented Aug 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
audioverse-next ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 24, 2024 2:16pm

Copy link

github-actions bot commented Aug 30, 2024

Localization Summary

language unchanged added removed untranslated
br 875 0 0 79
de 875 0 0 412
en 875 0 0 0
es 875 0 0 403
fr 875 0 0 420
ja 875 0 0 383
ru 875 0 0 393
zh 875 0 0 382

View full summary

Copy link

github-actions bot commented Aug 30, 2024

📦 Next.js Bundle Analysis for audioverse-next

This analysis was generated by the Next.js Bundle Analysis action. 🤖

🎉 Global Bundle Size Decreased

Page Size (compressed)
global 242.31 KB (🟢 -1.41 KB)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

Ninety-four Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load % of Budget (225 KB)
/404 1.02 KB 243.34 KB 108.15% (+/- <0.01%)
/[language] 10.54 KB 252.85 KB 112.38% (🟡 +0.10%)
/[language]/about/1/[[...slugs]] 3.13 KB 245.44 KB 109.08% (🟡 +0.01%)
/[language]/about/12/[[...slugs]] 3.65 KB 245.96 KB 109.32% (🟢 -0.03%)
/[language]/about/13/[[...slugs]] 4.63 KB 246.94 KB 109.75% (🟢 -0.02%)
/[language]/about/7/[[...slugs]] 3.75 KB 246.07 KB 109.36% (🟢 -0.01%)
/[language]/about/[id]/[[...slugs]] 1.87 KB 244.18 KB 108.52% (🟡 +0.01%)
/[language]/account 21.76 KB 264.07 KB 117.37% (🟡 +0.16%)
/[language]/account/login 17.56 KB 259.87 KB 115.50% (🟡 +0.15%)
/[language]/account/loginLanding 16.07 KB 258.38 KB 114.84% (🟡 +0.12%)
/[language]/account/logout 525 B 242.83 KB 107.92% (+/- <0.01%)
/[language]/account/register 18.34 KB 260.66 KB 115.85% (🟡 +0.14%)
/[language]/account/reset 3.66 KB 245.97 KB 109.32% (🟡 +0.01%)
/[language]/bibles 3.24 KB 245.55 KB 109.13% (🟢 -0.06%)
/[language]/bibles/[id]/[[...slugs]] 3.12 KB 245.43 KB 109.08% (🟢 -0.08%)
/[language]/bibles/[id]/[book]/[chapter] 14.59 KB 256.9 KB 114.18% (🟢 -0.16%)
/[language]/bibles/chapters/[id]/[[...slugs]] 19.57 KB 261.89 KB 116.39% (🟢 -0.09%)
/[language]/blog/[id]/[[...slugs]] 3.74 KB 246.05 KB 109.36% (🟡 +0.01%)
/[language]/blog/page/[i] 3.82 KB 246.13 KB 109.39% (🟢 -0.01%)
/[language]/books/[id]/[[...slugs]] 5.31 KB 247.63 KB 110.06% (🟢 -0.02%)
/[language]/books/[id]/feed.xml 617 B 242.92 KB 107.96% (🟢 -0.01%)
/[language]/books/page/[i] 2.94 KB 245.25 KB 109.00% (🟢 -0.02%)
/[language]/books/tracks/[id]/[[...slugs]] 20.39 KB 262.71 KB 116.76% (🟢 -0.09%)
/[language]/conferences/[id]/[[...slug]] 7.75 KB 250.06 KB 111.14% (🟢 -0.01%)
/[language]/conferences/[id]/feed.xml 270 B 242.58 KB 107.81% (+/- <0.01%)
/[language]/conferences/[id]/presenters/[presenterId] 4.39 KB 246.7 KB 109.64% (+/- <0.01%)
/[language]/conferences/[id]/presenters/page/[i] 3.32 KB 245.63 KB 109.17% (🟢 -0.02%)
/[language]/conferences/[id]/sequences/page/[i] 3.29 KB 245.6 KB 109.16% (🟢 -0.03%)
/[language]/conferences/[id]/teachings/page/[i] 3.29 KB 245.6 KB 109.16% (🟢 -0.03%)
/[language]/conferences/page/[i] 2.95 KB 245.26 KB 109.01% (🟢 -0.03%)
/[language]/contact/[type] 3.01 KB 245.32 KB 109.03% (🟢 -0.01%)
/[language]/discover 9.07 KB 251.38 KB 111.73% (🟢 -0.03%)
/[language]/discover/collections 6.63 KB 248.94 KB 110.64% (🟢 -0.01%)
/[language]/egwbooks/page/[i] 2.96 KB 245.27 KB 109.01% (🟢 -0.02%)
/[language]/embed/media/[id] 12.42 KB 254.73 KB 113.22% (🟢 -0.15%)
/[language]/give 2.97 KB 245.28 KB 109.01% (🟢 -0.01%)
/[language]/library 22.46 KB 264.78 KB 117.68% (🟡 +0.12%)
/[language]/library/history 23.53 KB 265.84 KB 118.15% (🟡 +0.12%)
/[language]/library/playlists 23.56 KB 265.87 KB 118.17% (🟡 +0.12%)
/[language]/library/playlists/[playlist] 5.58 KB 247.9 KB 110.18% (🟡 +0.01%)
/[language]/library/playlists/[playlist]/items/[id]/[[...slugs]] 20.61 KB 262.92 KB 116.86% (🟢 -0.09%)
/[language]/library/playlists/addToPlaylist/AddToPlaylist 213 B 242.52 KB 107.79% (+/- <0.01%)
/[language]/library/playlists/edit 1.13 KB 243.44 KB 108.19% (🟢 -0.01%)
/[language]/library/playlists/new 203 B 242.51 KB 107.78% (+/- <0.01%)
/[language]/page/[id]/[[...slugs]] 1.44 KB 243.75 KB 108.33% (🟡 +0.01%)
/[language]/playlists/[playlist] 5.07 KB 247.38 KB 109.95% (🟢 -0.02%)
/[language]/playlists/[playlist]/items/[id]/[[...slugs]] 20.61 KB 262.92 KB 116.85% (🟢 -0.08%)
/[language]/presenters/[id]/[[...slug]] 4.92 KB 247.23 KB 109.88% (🟡 +0.01%)
/[language]/presenters/[id]/appears/page/[i] 3.41 KB 245.72 KB 109.21% (🟢 -0.03%)
/[language]/presenters/[id]/feed.xml 270 B 242.58 KB 107.81% (+/- <0.01%)
/[language]/presenters/[id]/sequences/page/[i] 3.4 KB 245.72 KB 109.21% (🟢 -0.03%)
/[language]/presenters/[id]/teachings/page/[i] 3.53 KB 245.84 KB 109.26% (🟢 -0.04%)
/[language]/presenters/[id]/top 1.95 KB 244.26 KB 108.56% (🟡 +0.01%)
/[language]/presenters/all 2.71 KB 245.02 KB 108.90% (🟢 -0.06%)
/[language]/presenters/letter/[letter] 2.63 KB 244.94 KB 108.86% (+/- <0.01%)
/[language]/releases/[id] 2.71 KB 245.02 KB 108.90% (🟡 +0.01%)
/[language]/search 259 B 242.57 KB 107.81% (+/- <0.01%)
/[language]/search/collections/page/[i] 3 KB 245.31 KB 109.03% (🟢 -0.03%)
/[language]/search/persons/page/[i] 3.01 KB 245.32 KB 109.03% (🟢 -0.03%)
/[language]/search/sequences/page/[i] 3 KB 245.31 KB 109.03% (🟢 -0.03%)
/[language]/search/sponsors/page/[i] 3 KB 245.31 KB 109.03% (🟢 -0.03%)
/[language]/search/teachings/page/[i] 2.99 KB 245.31 KB 109.02% (🟢 -0.02%)
/[language]/series/[id]/[[...slug]] 5.32 KB 247.64 KB 110.06% (🟢 -0.02%)
/[language]/series/[id]/feed.xml 266 B 242.57 KB 107.81% (+/- <0.01%)
/[language]/series/page/[i] 2.95 KB 245.26 KB 109.00% (🟢 -0.02%)
/[language]/songs/[id]/[[...slugs]] 20.39 KB 262.7 KB 116.76% (🟢 -0.09%)
/[language]/songs/albums 4.6 KB 246.91 KB 109.74% (🟢 -0.05%)
/[language]/songs/albums/[id]/[[...slugs]] 5.33 KB 247.64 KB 110.06% (🟢 -0.01%)
/[language]/songs/albums/[id]/feed.xml 272 B 242.58 KB 107.81% (+/- <0.01%)
/[language]/songs/book/[book] 6.31 KB 248.62 KB 110.50% (🟡 +0.02%)
/[language]/songs/book/[book]/[id]/[[...slugs]] 20.55 KB 262.86 KB 116.83% (🟢 -0.09%)
/[language]/sponsors/[id]/[[...slugs]] 4.75 KB 247.06 KB 109.80% (🟡 +0.01%)
/[language]/sponsors/[id]/conferences/page/[i] 3.49 KB 245.8 KB 109.24% (🟢 -0.02%)
/[language]/sponsors/[id]/series/page/[i] 3.48 KB 245.8 KB 109.24% (🟢 -0.02%)
/[language]/sponsors/[id]/teachings/feed.xml 276 B 242.58 KB 107.81% (🟡 +0.01%)
/[language]/sponsors/[id]/teachings/page/[i] 3.61 KB 245.92 KB 109.30% (🟢 -0.04%)
/[language]/sponsors/all 2.25 KB 244.56 KB 108.69% (🟢 -0.06%)
/[language]/sponsors/letter/[letter] 2.25 KB 244.56 KB 108.69% (🟢 -0.06%)
/[language]/stories/[id]/[[...slugs]] 20.39 KB 262.7 KB 116.76% (🟢 -0.09%)
/[language]/stories/albums/[id]/[[...slugs]] 5.32 KB 247.63 KB 110.06% (🟢 -0.02%)
/[language]/stories/albums/[id]/feed.xml 274 B 242.58 KB 107.81% (+/- <0.01%)
/[language]/stories/albums/page/[i] 2.36 KB 244.68 KB 108.75% (🟢 -0.03%)
/[language]/teachings/[id]/[[...slug]] 20.39 KB 262.7 KB 116.76% (🟢 -0.09%)
/[language]/teachings/all/feed.xml 268 B 242.57 KB 107.81% (+/- <0.01%)
/[language]/teachings/all/page/[i] 3.81 KB 246.13 KB 109.39% (🟢 -0.02%)
/[language]/teachings/audio/page/[i] 3.81 KB 246.13 KB 109.39% (🟢 -0.02%)
/[language]/teachings/trending/all 2.98 KB 245.29 KB 109.02% (+/- <0.01%)
/[language]/teachings/trending/audio 2.46 KB 244.77 KB 108.79% (🟡 +0.01%)
/[language]/teachings/trending/video 2.46 KB 244.77 KB 108.79% (🟡 +0.01%)
/[language]/teachings/video/page/[i] 3.81 KB 246.13 KB 109.39% (🟢 -0.02%)
/[language]/testimonies/page/[i] 3.09 KB 245.41 KB 109.07% (🟢 -0.02%)
/[language]/topics/[id]/[[...slugs]] 4.74 KB 247.05 KB 109.80% (🟢 -0.03%)
/[language]/topics/page/[i] 3.29 KB 245.61 KB 109.16% (🟢 -0.07%)
/_error 184 B 242.49 KB 107.77% (🟢 -0.45%)
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 5% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.

Copy link

github-actions bot commented Aug 30, 2024

Accessibility Issues

CodeNewFixedRetainedIgnoredTotal
WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail00022052205
WCAG2AA.Principle2.Guideline2_4.2_4_1.H64.1000140140
View full summary

Copy link
Collaborator

@narthur narthur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work!

@@ -1,3 +1,4 @@
/* eslint-disable react/prop-types */
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's see if we can avoid this ignore by adding : Props on line 37

@@ -27,6 +27,7 @@ export default function FeaturedTeachings(): JSX.Element {
Card={(p: { node: CardRecordingFragment }) => (
<CardRecording recording={p.node} />
)}
showLoading
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be gone with the update to the continue listening pr, yes?

? (analytics.track('Search', { term }), setLastTerm(term))
: '';
setIsFocused(false);
return lastTerm != term && term != ''
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the return? 🤔

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failed to notice that this lambda doesn't return the result of its last expression.

src/components/molecules/player.tsx Outdated Show resolved Hide resolved
src/components/organisms/navigation.tsx Outdated Show resolved Hide resolved
src/lib/useNavigationItems.tsx Show resolved Hide resolved
@narthur
Copy link
Collaborator

narthur commented Sep 3, 2024

@jakecoble Looks like the accessibility scan found a bunch of new instances of this error:

WCAG2AA.Principle2.Guideline2_4.2_4_1.H64.1

https://squizlabs.github.io/HTML_CodeSniffer/Standards/WCAG2/

"Iframe element requires a non-empty title attribute that identifies the frame."

narthur

This comment was marked as resolved.

@narthur narthur changed the title Update Dependencies AV-565, AV-1234: Update Dependencies Sep 30, 2024
@narthur narthur changed the title AV-565, AV-1234: Update Dependencies AV-565, AV-1234, AV-1233: Update Dependencies Sep 30, 2024
Copy link
Contributor

@alangumer alangumer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! Just a couple of comments.

src/components/organisms/cardSlider/section/index.tsx Outdated Show resolved Hide resolved
src/containers/presenter/list/all.tsx Outdated Show resolved Hide resolved
src/containers/sponsor/list/all.tsx Outdated Show resolved Hide resolved
@narthur narthur merged commit 30acd42 into master Oct 24, 2024
12 checks passed
@narthur narthur deleted the dependencies-update branch October 24, 2024 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants