Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: add template delete notification#14250

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
BrunoQuaresma merged 13 commits intomainfrombq/notify-template-delete
Aug 14, 2024
Merged
Changes from1 commit
Commits
Show all changes
13 commits
Select commitHold shift + click to select a range
5915daa
feat: add template delete notification
BrunoQuaresmaAug 12, 2024
76ee1f6
Merge branch 'main' of https://github.com/coder/coder into bq/notify-…
BrunoQuaresmaAug 13, 2024
1f7046c
Notify all template admins
BrunoQuaresmaAug 13, 2024
30faf4f
Apply Dannys suggestions
BrunoQuaresmaAug 13, 2024
1e11cb7
Fix lint
BrunoQuaresmaAug 13, 2024
99c1950
Merge branch 'main' of https://github.com/coder/coder into bq/notify-…
BrunoQuaresmaAug 13, 2024
be31ed8
Fix migration
BrunoQuaresmaAug 13, 2024
9e6462d
Merge branch 'main' of https://github.com/coder/coder into bq/notify-…
BrunoQuaresmaAug 14, 2024
7fb0fa2
Improve tests
BrunoQuaresmaAug 14, 2024
92c11de
Filter delete notifications
BrunoQuaresmaAug 14, 2024
450235e
Improve test
BrunoQuaresmaAug 14, 2024
eaf87c5
Fix test
BrunoQuaresmaAug 14, 2024
4688765
Add missing can render test
BrunoQuaresmaAug 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Fix lint
  • Loading branch information
@BrunoQuaresma
BrunoQuaresma committedAug 13, 2024
commit1e11cb7309db2a7108c900d84c8cb720a07e9dd2
2 changes: 1 addition & 1 deletioncoderd/templates.go
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -143,7 +143,7 @@ func (api *API) notifyTemplateDeleted(ctx context.Context, template database.Tem
// Associate this notification with all the related entities.
template.ID, template.OrganizationID,
); err != nil {
api.Logger.Warn(ctx, "failed to notify of template deletion", slog.F("deleted_template", template.ID), slog.Error(err))
api.Logger.Warn(ctx, "failed to notify of template deletion", slog.F("deleted_template_id", template.ID), slog.Error(err))
}
}

Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp