[wp-trac] [WordPress Trac] #52429: Combine/globalize the CSS/JS between Site Health & Privacy Settings

WordPress Trac noreply at wordpress.org
Tue Feb 2 23:19:18 UTC 2021


#52429: Combine/globalize the CSS/JS between Site Health & Privacy Settings
--------------------------------------+-------------------------
 Reporter:  xkon                      |      Owner:  (none)
     Type:  enhancement               |     Status:  new
 Priority:  normal                    |  Milestone:  5.8
Component:  Site Health               |    Version:
 Severity:  normal                    |   Keywords:  needs-patch
  Focuses:  javascript, css, privacy  |
--------------------------------------+-------------------------
 I'm opening this early on and marking for 5.8 after some discussions over
 slack with @Clorith.

 Since the new Privacy Settings design was based on the existing Site
 Health design, it is using similar features (tabs menu, accordions etc).
 The CSS & JS used are a "copy" of the existing Site Health code with some
 minor alterations and renaming. It was done this way to avoid confusion
 and keeping things a bit more simple for the time being.

 The idea of the discussion was to see if we can unify and make at least
 the common code available in general.

 This will help with avoiding issues in future updates as we might make
 changes on one UI but forget to "sync" the changes to the other, as well
 as possibly help other screens that want to use similar styling or
 functionality.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52429>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list