In essence Inventory Profiles Next and Dank Storage are incompatible.
IPN relies that all storage containers will handle clicks as in vanilla and will obey the stack limits. Since the core functionality of Dank Storage is to change the above it's not really possible to work towards compatibility,
The change adds annotation to AbstractDankStorageScreen that tells IPN to ignore all screens that inherit from AbstractDankStorageScreen.
Adds integration with this mod https://www.curseforge.com/minecraft/mc-mods/inventory-profiles-next
In essence Inventory Profiles Next and Dank Storage are incompatible. IPN relies that all storage containers will handle clicks as in vanilla and will obey the stack limits. Since the core functionality of Dank Storage is to change the above it's not really possible to work towards compatibility,
The change adds annotation to AbstractDankStorageScreen that tells IPN to ignore all screens that inherit from AbstractDankStorageScreen.