Skip to content

Webhook support#12

Merged
richardj99 merged 16 commits intomainfrom
home-assistant-support-v2
Oct 6, 2025
Merged

Webhook support#12
richardj99 merged 16 commits intomainfrom
home-assistant-support-v2

Conversation

@richardj99
Copy link
Collaborator

With some refactors (would explain here but I cba)

@richardj99 richardj99 requested a review from obroomhall October 6, 2025 14:35
Comment on lines 31 to 33
const [swordOnWebhookUrl, setSwordOnWebhookUrl] = useState<
string | undefined
>(undefined);
Copy link
Member

Choose a reason for hiding this comment

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

🤮 that's a horrible autoformat

Copy link
Member

Choose a reason for hiding this comment

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

You could use "" as the default value, which is falsey, so in callWebhook we can still evaluate an empty string in the same way

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

{metadataProvider === "Plex" && (
<PlexMetadataProvider {...metadataProviderProps} />
)}
<div className={styles.providerContainer}>
Copy link
Member

Choose a reason for hiding this comment

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

This div is nested within an identical div

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@obroomhall obroomhall changed the title Home assistant support Webhook support Oct 6, 2025
@richardj99 richardj99 merged commit 5cc7234 into main Oct 6, 2025
2 checks passed
@richardj99 richardj99 deleted the home-assistant-support-v2 branch October 6, 2025 17:02
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