Org Web Adapter

pages/eng_7690.org

ID
620ce240-1f5e-449c-8df5-25c044535d76

ENG-7690 Notifications appears on but is actually off

- tags :: Notifications Bugs

- source :: https://15five-dev.atlassian.net/browse/ENG-7690

The ask

- When a type of notification is disabled in Django admin, the associated

notification is not changed in the UI. We need the notification state to be.

grayed out for the user if it's been set in django admin

- [[https://www.figma.com/proto/MDucsIyYKXHg1s6NQYyarm/notification-management?node-id=95%3A1344&scaling=min-zoom][Case where notif is disabled for company]]

- [[https://www.figma.com/proto/MDucsIyYKXHg1s6NQYyarm/notification-management?node-id=95%3A1584&scaling=min-zoom][Tooltip when notif disabled for company]]

- I got stuck on this one yesterday afternoon trying to get the disabled

attribute set on our form field.Turns out on the notification template we

manually set a lot of html tags on the checkbox, so weโ€™re not just doing a

render_field call. That means that disabled isnโ€™t automatically applied, and

for some reason the field strips some of these