nautobot / nautobot-app-version-control

Version Control App that uses and requires a Dolt Database
Other
30 stars 6 forks source link

Use Nautobot 1.2 plugin banner API for current branch info instead of middleware #160

Closed glennmatthews closed 2 years ago

glennmatthews commented 2 years ago

Now that we have a banner() API for plugins, use it to inject the "Active Branch" banner instead of doing so via middleware + the messages API. This should solve the cascading-messages issue described in #139.

Note that the Dolt middleware can still potentially inject messages in the case of various branch-related errors, but this should not be an issue during normal operation.

image