I definitely agree with you, when there are lots of functions it’s hard to manage they
we’ve got in our plans the following improvements:
- add an ability to find all logic (page/handler/function) where a function is used with the ability to open a specific handler/function with the function
- before deleting a function show an alert if the function is used in other handlers/functions
- add a combobox to show functions for a particular page
- add a search input to filter the list of functions
- add an ability to specify labels for a function in order to highlight a scope/namespace of a function purpose
However, at this moment the UIBuilder team is focused on the CustomComponents feature, so all these improvements will come a little bit later
I can propose to you an approach I saw in a couple of our customer’s apps, they give names with some prefix, for instance:
- “p_order_validate_new_order”
- “p_order_create_new_order”
- “p_orders_find_new_orders”
- “p_orders_filter_archive_orders”
- “c_check_login”
- “c_logout”
where “p_” is a shortcut for “page”
where “c_” is a shortcut for “common”
so, all the functions are sorted by name and you can find a particular function much faster