As a suggestion to address this, we can modify Dashboard.register to generate the key from panel_dir (directory of the panel) instead of appending cls.slug and panel.slug.
Both approaches to generate the key make assumptions about the file layout, but the suggested is less fallible and compatible with (what I presume) to be a function of Pluggable Settings, which is the flexibility of moving panel to any dashboard.
As a suggestion to address this, we can modify Dashboard.register to generate the key from panel_dir (directory of the panel) instead of appending cls.slug and panel.slug.
Both approaches to generate the key make assumptions about the file layout, but the suggested is less fallible and compatible with (what I presume) to be a function of Pluggable Settings, which is the flexibility of moving panel to any dashboard.