Create RefSearchForm component for repository graph
What does this MR do and why?
- introduce a dropdown component for selecting the ref of the repository graph
- rerender the graph only after submitting the chosen SHA and type of graph
References
Screenshots or screen recordings
| Before | After |
|---|---|
| Screen_Recording_2025-09-04_at_18.15.53 | Screen_Recording_2025-09-04_at_18.06.49 |
How to set up and validate locally
eve
- Add
let eve = {};at the top of thenode_modules/raphael/raphael.jsfile - Delete the
tmp/cachefolder and runyarn cache cleanto clear the cache - Restart GDK
- Navigate to
http://127.0.0.1:3000/<project>/-/network/master?ref_type=heads - Choose the display mode of the graph (full history or up to a revision). Paste a commit SHA and click Search icon button.
- Verify that the graph rerenders only after clicking search.
- Make sure the commit you chosen in the Display up to revision mode is the first one show in the graph.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #511688
Edited by Paulina Sedlak-Jakubowska