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

Make maintenance also optional to notify subscribers #3567

Merged
merged 6 commits into from
Jun 23, 2019

Conversation

MinThaMie
Copy link
Contributor

Fixes #3562

Adds a checkbox to maintenance to make it optional to notify subscribers of this. Default is checked just like with normal incidents.

Screenshot 2019-04-26 at 11 51 33

Copy link

@accesslint accesslint bot left a comment

Choose a reason for hiding this comment

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

There are accessibility issues in these changes.

@@ -57,7 +57,15 @@
<input type="text" name="completed_at" class="form-control flatpickr-time" data-date-format="Y-m-d H:i" placeholder="{{ trans('forms.schedules.completed_at') }}">
</div>
</fieldset>

@if($notificationsEnabled)
<input type="hidden" name="notify" value="0">
Copy link

Choose a reason for hiding this comment

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

Looks like there's a label missing for this input. That makes it hard for people using screen readers or voice control to use the input. If you don't want a visual label, try an aria-label attribute.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure how to fix this because this is the hidden input that should not have a label :(

Copy link
Member

Choose a reason for hiding this comment

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

Maybe this should be a switch then?

@GrahamCampbell
Copy link
Contributor

Just re-triggering the CI. :)

@jbrooksuk jbrooksuk merged commit 066837f into cachethq:2.4 Jun 23, 2019
@jbrooksuk jbrooksuk self-assigned this Jun 23, 2019
@jbrooksuk jbrooksuk added this to the V2.4.0 milestone Jun 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Option to not notify subscribers about maintenance
3 participants