Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(web): 'test notify' button on create/edit #379

Merged
merged 24 commits into from
Apr 14, 2024

Conversation

JosephKav
Copy link
Collaborator

@JosephKav JosephKav commented Mar 25, 2024

  • added /test dir that I plan to use for sharing funcs between tests

  • will be adding an option to disable routes in config (create/edit/delete, test notify, refresh lv/dv, command/webhooks)

@JosephKav JosephKav added the enhancement New feature or request label Mar 25, 2024
@JosephKav JosephKav linked an issue Mar 25, 2024 that may be closed by this pull request
Copy link

codecov bot commented Mar 25, 2024

Codecov Report

Attention: Patch coverage is 99.47230% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 98.78%. Comparing base (9859c7c) to head (f427ade).

Files Patch % Lines
db/handlers.go 90.00% 1 Missing ⚠️
db/init.go 95.84% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #379      +/-   ##
==========================================
+ Coverage   98.74%   98.78%   +0.04%     
==========================================
  Files          87       90       +3     
  Lines        6882     7097     +215     
==========================================
+ Hits         6795     7010     +215     
  Misses         61       61              
  Partials       26       26              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@JosephKav JosephKav force-pushed the master branch 7 times, most recently from b72d581 to 036f112 Compare March 26, 2024 00:23
@JosephKav JosephKav force-pushed the 368-feat-add-a-test-connection-for-notifiers branch from 1b3ec3c to 3dca862 Compare March 26, 2024 00:57
@JosephKav JosephKav force-pushed the 368-feat-add-a-test-connection-for-notifiers branch from 4689718 to 3c4f299 Compare April 4, 2024 23:26
@JosephKav JosephKav force-pushed the 368-feat-add-a-test-connection-for-notifiers branch 4 times, most recently from 6b521a2 to 2e1bf43 Compare April 5, 2024 15:44
@JosephKav JosephKav force-pushed the 368-feat-add-a-test-connection-for-notifiers branch 3 times, most recently from b563257 to 1f95e10 Compare April 6, 2024 04:56
@JosephKav JosephKav force-pushed the 368-feat-add-a-test-connection-for-notifiers branch 4 times, most recently from 7ed684b to 47dcb09 Compare April 6, 2024 05:49
@JosephKav JosephKav force-pushed the 368-feat-add-a-test-connection-for-notifiers branch from 47dcb09 to 21d30ef Compare April 7, 2024 15:02
also remove same-color from text-muted
* e.g. if you changed the config and restarted the service
* type was causing it to miss errors for notify.*.type
@JosephKav JosephKav force-pushed the 368-feat-add-a-test-connection-for-notifiers branch 4 times, most recently from 8d1317f to d1edb5b Compare April 9, 2024 11:56
* send service_name and service_name_previous for test notifys
* boolean with defaults needs useTimeout?
* option for non-urls in FormItemWithPreview (slack/mattermost icon can be emoji)
* form-validate returns true or fail message string
@JosephKav JosephKav changed the title feat(web): test notifier option on create/edit feat(web): 'test notify' button on create/edit Apr 10, 2024
* some places, empty arrays were undefined, which wasn't caught by .length
also prettified rendering in cases of 4 or less services, not stretching them to the full width
@JosephKav JosephKav force-pushed the 368-feat-add-a-test-connection-for-notifiers branch from 34c0de5 to dd3d02a Compare April 11, 2024 12:57
couldn't use the '-' to remove a command after their index was altered
rather than try and preview the URL each time the value changes
(also sets this image onBlur)
* also adds checks for service_name_previous existing/not
@JosephKav JosephKav merged commit 29a5fe0 into master Apr 14, 2024
7 checks passed
@JosephKav JosephKav deleted the 368-feat-add-a-test-connection-for-notifiers branch April 14, 2024 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: Add a test connection for notifiers
1 participant