0
0
Fork 0
mirror of https://github.com/healthchecks/healthchecks.git synced 2025-04-10 23:40:11 +00:00
healthchecks_healthchecks/static/js
Pēteris Caune 3f521b16f7
Make email non-editable in "Invite Member" when team limit reached
There is a specific limit of how many other users a given user
can invite in their projects (depends on the plan they are on).
When the limit is reached, the user cannot invite *new* users
in their projects, but they can still invite team members
from one project into another project. In other words, we count
the number of unique invited users, not the number of memberships.

There was an UI bug in the "Invite a Team Member" dialog. The
dialog has an editable "Email" text field. When an user has reached
the team limit, and they open the "Invite" dialog, they could
enter a new user's email address in the Email field and try to invite
them. The server would refuse to exceed the team limit and would
return a plain HTTP 403 page. This is of course confusing to the 
end user.

The fix is to show "Email" as a text field only if the user has
not yet exceeded their team size. If they have, then show "Email"
as non-editable text.
2022-02-04 20:43:17 +02:00
..
adaptive-setinterval.js adaptiveSetInterval fires the first request immediately if runNow is true, in 3 seconds otherwise. 2020-06-01 11:51:40 +03:00
add_credential.js Add a two-factor authentication form (WIP) 2020-11-14 12:54:26 +02:00
add_project_modal.js Focus the "name" input in the "Add Project" modal. 2020-03-05 16:05:06 +02:00
add_trello.js Fix a crash when adding an integration for an empty Trello account 2021-01-28 12:57:08 +02:00
add_zulip.js Change Zulip onboarding, ask for the zuliprc file 2021-01-19 11:04:38 +02:00
appearance.js Fix more contrast issues 2021-06-18 17:07:27 +03:00
badges.js Implement badge mode (up/down vs up/late/down) selector 2020-11-27 12:57:25 +02:00
billing.js DRY, have a single "No billing address" modal dialog. 2020-05-29 15:33:33 +03:00
bootstrap-select.min.js Switch from selectize.js to bootstrap-select (for more versatility) 2018-11-28 20:13:24 +02:00
bootstrap.min.js Upgrade to Bootstrap 3.4.1 2021-10-01 12:21:54 +03:00
cbor.js Add experimental code for registering Webauthn credentials 2020-11-12 16:15:07 +02:00
channels.js Read-only users cannot edit or remove channels. 2020-08-26 14:48:31 +03:00
checks.js Fix JS error after copying a code snippet 2022-02-04 17:05:45 +02:00
clipboard.min.js Fix JS error after copying a code snippet 2022-02-04 17:05:45 +02:00
details.js Fix JS error after copying a code snippet 2022-02-04 17:05:45 +02:00
jquery-3.6.0.min.js Upgrade to jQuery 3.6.0 2021-10-01 13:12:20 +03:00
log.js Fix HTML email preview in the checks list 2021-03-10 12:29:20 +02:00
login_tfa.js Add auth method selection step 2021-08-05 16:27:06 +03:00
moment-timezone-with-data-10-year-range.min.js Support informal time zones. 2019-08-22 11:41:08 +03:00
moment.min.js Support informal time zones. 2019-08-22 11:41:08 +03:00
notifications.js Add an option for weekly reports (in addition to monthly) 2021-05-24 13:44:34 +03:00
nouislider.min.js Add ability to set grace period 2015-07-16 01:24:56 +03:00
pricing.js Tooltips and updated FAQ in the pricing page. 2020-04-07 14:35:21 +03:00
profile.js Simplify JS 2021-09-14 09:56:12 +03:00
project.js Make email non-editable in "Invite Member" when team limit reached 2022-02-04 20:43:17 +02:00
purify.min.js Improve HTML email display in the "Ping Details" dialog 2021-02-26 16:25:39 +02:00
selectize.min.js Use Selectize.js for entering tags. Fixes 2020-03-05 15:49:42 +02:00
set-password.js Some JS linting fixes 2020-07-01 19:23:50 +03:00
signup.js Update the signup form to collect browser's timezone 2021-05-24 14:38:12 +03:00
snippet-copy.js Fix JS error after copying a code snippet 2022-02-04 17:05:45 +02:00
update-timeout-modal.js Improve period and grace controls, allow up to 365 day periods 2021-11-04 15:44:51 +02:00
webhook.js Webhooks support PUT method. 2019-05-28 14:25:29 +03:00
zxcvbn.js Password strength meter and length check in the "Set Password" form 2019-04-29 23:16:49 +03:00