[go: up one dir, main page]

Skip to content

Follow-up from "Add prefix to autocomplete path"

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

The following discussion from !65508 (merged) should be addressed:

  • @tomquirk started a discussion: (+1 comment)

    suggestion (non-blocking): perhaps we could have a single function to build autocomplete paths, and use this every time we need an autocomplete endpoint:

    const autocompletePath = (filename = '') => `${gon.relative_url_root || ''}/-/autocomplete/${filename}`
Edited by 🤖 GitLab Bot 🤖