Skip to content

Commit

Permalink
DEV: Ween off deprecated plugin nav mode option (#1095)
Browse files Browse the repository at this point in the history
We have removed this flag in core. All plugins now use the "top mode" for their navigation. A backwards-compatible change has been made in core while we remove the usage from plugins.
  • Loading branch information
Drenmi authored Jan 28, 2025
1 parent a53719a commit 45eabed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .discourse-compatibility
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
< 3.4.0.beta4-dev: a53719ab8eb071459f215227421b3ea4987e5f87
< 3.4.0.beta4-dev: 20612fde52d3f740cad64823ef8aadb0748b567f
< 3.4.0.beta3-dev: decf1bb49d737ea15308400f22f89d1d1e71d13d
< 3.4.0.beta1-dev: 9d887ad4ace8e33c3fe7dbb39237e882c08b4f0b
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { PLUGIN_NAV_MODE_TOP } from "discourse/lib/admin-plugin-config-nav";
import { withPluginApi } from "discourse/lib/plugin-api";

export default {
Expand All @@ -11,7 +10,7 @@ export default {
}

withPluginApi("1.1.0", (api) => {
api.addAdminPluginConfigurationNav("discourse-ai", PLUGIN_NAV_MODE_TOP, [
api.addAdminPluginConfigurationNav("discourse-ai", [
{
label: "discourse_ai.usage.short_title",
route: "adminPlugins.show.discourse-ai-usage",
Expand Down

0 comments on commit 45eabed

Please sign in to comment.