weblate icon indicating copy to clipboard operation
weblate copied to clipboard

feat(accounts): add default notification configuration to settings

Open michael-smt opened this issue 7 months ago • 7 comments

Allows configuring the default notification configuration for newly created users in settings.

Implements some of #5155

michael-smt avatar Apr 14 '26 15:04 michael-smt

The configuration syntax is probably not ideal, and it might be a bit too much documentation :wink:

michael-smt avatar Apr 14 '26 15:04 michael-smt

I'm not really sure about this. This used to be an implementation detail, and we should probably think about this more before exposing it as configuration.

nijel avatar Apr 14 '26 15:04 nijel

The latest updates on your projects. Learn more about Argos notifications ↗︎

Awaiting the start of a new Argos build…

argos-ci[bot] avatar Apr 14 '26 16:04 argos-ci[bot]

I'm also not so sure about this :slightly_smiling_face: But I thought better something than nothing...

Maybe we could keep it undocumented, that would allow coming up with a better way to expose it as configuration later...

michael-smt avatar Apr 14 '26 19:04 michael-smt

I wasn't able to come to a better conclusion here, so let's make this happen for the next milestone.

The only thing I don't like here is manually written documentation for possible values, which is super easy to become outdated.

There are definitely better and more complex approaches to this, but we know we're going to change the notifications subsystem heavily in the not-so-distant future (at least to support web notifications), so let's not spend much time on something that will have to change anyway.

nijel avatar May 14 '26 15:05 nijel

@michael-smt Can you rebase this on current main? If you have time to add documentation generation (see update-docs in docs/Makefile), that would be great.

nijel avatar May 22 '26 10:05 nijel

Yes, will do. Thanks for the pointer with the docs generation.

michael-smt avatar May 22 '26 11:05 michael-smt