Skip to content

Wiki: Create & edit sidebar changes

What does this MR do and why?

Wiki: Create & edit sidebar changes

Hides title field from Create & edit pages for custom sidebar. Adjusts the titles of buttons to reflect the sidebar context.

  • Updates page title to use sidebar wording instead of page
  • Updates buttons to use sidebar wording instead of page (Create/Delete)
  • Migrates title handling to Vue (wiki_header.vue)
  • Hides title field when creating/editing sidebar to avoid that the sidebar gets displayed as a page (prevent user error)
  • Updates commit message from Create _sidebar to Create sidebar

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Before After
new_sidebar_before new_sidebar_after
edit_sidebar_before edit_sidebar_after

How to set up and validate locally

  1. Go to http://gdk.test:3000/flightjs/Flight/-/wikis/home and add a new sidebar (delete the custom sidebar if you already have one)
  2. Edit sidebar

Related to #452225 (closed)

Merge request reports

Loading