Skip to content

devided sharedArticleErrorDialog from the handler#1179

Open
AnnieeBennie wants to merge 4 commits into
masterfrom
shared-article-error
Open

devided sharedArticleErrorDialog from the handler#1179
AnnieeBennie wants to merge 4 commits into
masterfrom
shared-article-error

Conversation

@AnnieeBennie

@AnnieeBennie AnnieeBennie commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

+Deleted SoundPlayer because it wasn't used anywhere

@netlify

netlify Bot commented Jun 23, 2026

Copy link
Copy Markdown

Deploy Preview for voluble-nougat-015dd1 ready!

Name Link
🔨 Latest commit 61151b6
🔍 Latest deploy log https://app.netlify.com/projects/voluble-nougat-015dd1/deploys/6a44ee6eb0bdaf000851f45c
😎 Deploy Preview https://deploy-preview-1179--voluble-nougat-015dd1.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@mircealungu mircealungu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nicest of the batch — ErrorDialog is genuine reuse (both the article and video handlers had a duplicated error screen, now one parameterized component), and I confirmed the SoundPlayer deletion is safe: nothing references it, and the getLinkToFullArticleReadout API it used is still called by the speech modules. 👍

One thing, same as #1180/#1181: these .sc.js files export plain JS objects, but .sc.js means styled-components everywhere else in the repo — make them styled-components or rename to styles.js. (And #666 in errorDialogDescription could come from components/colors while you're in there.)

(The trailing-comma / line-join reflow in the two handler files is on us, not you — master isn't prettier-clean and there's no enforced hook yet. We'll do a repo-wide sweep so this stops landing in everyone's diffs.)

@AnnieeBennie

Copy link
Copy Markdown
Collaborator Author

@mircealungu done!

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.

2 participants