Skip to content

Standardize wiki header spacing

Chad Woolley requested to merge wiki-header-spacing into master

What does this MR do?

Standardizes styling of wiki header spacing to match that of issues. See #288328 (closed) for details of requirments.

Implementation Notes

  1. This removes usage of the .nav-text. It isn't used in the issues header, and didn't seem to be required other than in integration specs, which I fixed.
  2. This MR intentionally doesn't touch the wikis/<page_name> route which displays the page. It uses the wiki-last-edit-by styling in the header, which is different styling than the other titles.
  3. There is a pre-existing broken responsive behavior in the header spacing between 768px and 992px width (see screenshot below). This already exists on master, so this should be handled in a separate issue
    • TODO: add issue for broken responsive behavior

Screenshots (strongly suggested)

Original requirements screenshots in issue: #288328 (closed)

The spacing around the edit form's header in Wiki doesn't match that of the Issue. They should be the same for consistency.

Issue Wiki
Screenshot_2020-11-26_at_12.30.53 Screenshot_2020-11-26_at_12.30.57

Wiki Create

Before After
before-create after-create

Wiki Edit

Before After
before-edit after-edit

Wiki Changes (diff)

Before After
before-changes after-changes

Wiki History

Before After
before-history after-history

Wiki Pages

(Accessible via http://gdk.test:3000/root/test1/-/wikis/pages, not yet sure how to get to this through the UI)

Before After
before-pages after-pages

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Associated Issue

Edited by Chad Woolley

Merge request reports