Skip to content

Add `DRAWER_Z_INDEX` to CRM editor drawer

Scott de Jonge requested to merge 412976-drawer-header-height-crm into master

What does this MR do and why?

  • Add DRAWER_Z_INDEX to CRM editor drawer
  • Update to use getContentWrapperHeight DOM util

Screenshots or screen recordings

Before After
127.0.0.1_3000_groups_flightjs_-crm_contacts_168_edit__1 127.0.0.1_3000_groups_flightjs_-_crm_contacts_168_edit
127.0.0.1_3000_groups_flightjs_-crm_contacts_168_edit__2 127.0.0.1_3000_groups_flightjs_-_crm_contacts_new

How to set up and validate locally

  1. Enable system header in admin settings
  2. Toggle the performance bar with p + b
  3. Enable CRM
  4. Visit CRM page e.g. http://127.0.0.1:3000/groups/flightjs/-/crm/contacts/new
  5. Confirm top position is correct

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #412976 (closed)

Edited by Scott de Jonge

Merge request reports

Loading