Add data to the search context
What does this MR do and why?
In order to determine eligibility for the syntax option button, we need more data from the backend.
3/4
-
Update controller update to allow clean MD render (merged)
-
Markdown Drawer - shared Vue component (merged)
-
Add more data to the search context
👈 this MR
-
Add more data to the search context
-
Markdown Drawer - shared Vue component (merged)
Issue: #329234 (closed)
Screenshots or screen recordings
This is technical depth MR there is no visible change.
How to set up and validate locally
- checkout this branch
- search any term on the search page:
https://your.gdk:3000/search
- depending on the state of your advanced search you will see:
- check that html element (view page source) has additional data:
<div
data-elasticsearch-enabled="false or true"
data-group-initial-json="null or json"
data-project-initial-json="null or json"
default-branch-name="string or not existing"
id="js-search-topbar">
</div>
...
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #329234 (closed)
Edited by Tomas Bulva