Repository navigation
feat(app): set up Slack and Discord alerts from the settings page - #13
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- A "Slack és Discord értesítések" card on the settings page checks a pasted webhook address, saves it to the same file `pala --daemon` reads, and can send a test message or remove it. A saved address is never shown again, and an address from the environment variable is only reported. - ChatWebhookStore (lib/utils/chat_webhooks.dart) writes the file empty and owner-only first, so the secret is never readable by other accounts. - On Android the background check sends every alert to the chat channels too, as one message per run, like the daemon's digest. The substitute teacher's name stays out of the Gemini summary. - docs/USER.md describes the card. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CsPS0
force-pushed
the
feat/chat-alerts-in-app
branch
from
November 18, 2026 20:15
5e1cbed to
dff3f61
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #12: merge that first. GitHub then retargets this PR to
main.Slack and Discord alerts can now be set up from the app, so nobody has to write webhook files by hand.
pala --daemonreads. It can also send a test message or remove the address. A saved address is never shown again. When the address comes fromPALA_SLACK_WEBHOOKorPALA_DISCORD_WEBHOOK, the card only says that it is set.ChatWebhookStore(lib/utils/chat_webhooks.dart) first creates the file empty and owner-only, so other accounts can never read the secret.pala --daemonstill does the sending. iPhone has no background sending.docs/USER.mddescribes the card.Checks
dart analyze --fatal-infos lib bin test: cleandart test: 202 passflutter testinapp/: all pass, includingchat_alerts_card_test.dartflutter analyzeinapp/: only the knownmaterial.dartdeprecation infos from Flutter 3.50 (CI pins 3.47.9)Not tried against a real Slack or Discord channel.
🤖 Generated with Claude Code