Skip to content

Change file extension filtering in merge request file tree

Phil Hughes requested to merge ph/343985/diffFileTreeFiltering into master

What does this MR do and why?

Changes the file extension filtering in the merge request file tree to use micromatch library to allow for patterns such as *.js to quickly search for all files ending in .js. This library though allows for much more powerful searches in that you could do *.(js|vue) to search for all files ending in either .js or .vue

Screenshots or screen recordings

Screen_Recording_2022-06-22_at_12.00.24

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Closes #343985 (closed)

Edited by Ali Ndlovu

Merge request reports