Currently in strapi we can add menu links and settings links. Should we be able to add dashboard links if the dashboard plugin is installed?
Something like this?
app.betterAuth.addSettingsLink('global', {
id: `${PLUGIN_ID}.plugin.name`,
to: `/plugins/better-auth-dashboard/${PLUGIN_ID}`,
intlLabel: { id: `${PLUGIN_ID}.plugin.name`, defaultMessage: 'Seat Management' },
Component: async () => import('./pages/App'),
permissions: [],
})
or
app.addAuthLink('global', {
id: `${PLUGIN_ID}.plugin.name`,
to: `/plugins/better-auth-dashboard/${PLUGIN_ID}`,
intlLabel: { id: `${PLUGIN_ID}.plugin.name`, defaultMessage: 'Email Templates' },
Component: async () => import('./pages/App'),
permissions: [],
})
Use cases I can see being useful would be things like a seat management plugin or an inline email template editor. It also means that people can add to the auth without needing to roll things into the core plugin.
Thoughts? Is this something we should look in to?
Currently in strapi we can add menu links and settings links. Should we be able to add dashboard links if the dashboard plugin is installed?
Something like this?
or
Use cases I can see being useful would be things like a seat management plugin or an inline email template editor. It also means that people can add to the auth without needing to roll things into the core plugin.
Thoughts? Is this something we should look in to?