Organise ~/issuable code
What does this MR do and why?
This MR moves init functions in ~/issuable
into index.js
and deletes issuable_index.js
as it is not a useful extra class.
- Init functions are conventionally in an
index.js
file so this MR moves init functions intoindex.js
for consistency - Having a file for every init function can cause clutter in a directory which adds a bit of friction when navigating/working with the code. Having one
index.js
to hold all init functions for a module makes the code more organised, in the same way that having oneutils.js
file to hold all util functions for a module makes the code more organised.
Screenshots or screen recordings
How to set up and validate locally
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.
Edited by Coung Ngo