We need to establish as a standard that every single view coming from FarmOS is not our domain, for example, on these:
If we need to alter them, we can't just alter them, we need to add our own solution and work around them.
[ ] For /assets, we need to add our own view that behaves as this task is describing for the filters and columns, and override the routing so when going to /assets, we display our view and not FarmOS', how do we replace one view by another while keeping the path?
[ ] Then, we need to review if we have other modifications, and revert all the views on the screenshot above.
This task has a lot of implications in how to manage configuration:
The route /assets is managed by FarmOS through the view "farm_asset", and if we change this directly as we have done in the past in https://github.com/National-Forestry-Authority/forests/blob/main/web/modules/custom/farm_nfa/config/install/views.view.farm_asset.yml, we have the risk of it being reverted again.
We need to establish as a standard that every single view coming from FarmOS is not our domain, for example, on these: If we need to alter them, we can't just alter them, we need to add our own solution and work around them.
[ ] For /assets, we need to add our own view that behaves as this task is describing for the filters and columns, and override the routing so when going to /assets, we display our view and not FarmOS', how do we replace one view by another while keeping the path?
[ ] Then, we need to review if we have other modifications, and revert all the views on the screenshot above.
There's one change we have untracked: https://github.com/National-Forestry-Authority/forests/commit/139121677b76a5b07794dd0c7fbda96f58ab8b56#diff-25f58437da0e908246368ea8ecd2ddcc9f5c6709a3b51e6d69de0347f2f8aaf2, I don't know if the the assets_list_block is from FarmOS or is ours.
[ ] We need to figure out if we're using "assets_list_block" or is FarmOS'
[ ] Remove all the views that have been reverted from our config devel registry and the correspondent config/install