Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 7a64699

Browse files
DEV: Remove breadcrumbs for now (#656)
This core PR will change the component API a bit, so it's easier to remove these for now and add them back after: discourse/discourse#27365
1 parent 9210845 commit 7a64699

File tree

2 files changed

+0
-20
lines changed

2 files changed

+0
-20
lines changed

assets/javascripts/discourse/components/ai-llms-list-editor.gjs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import Component from "@glimmer/component";
22
import { concat } from "@ember/helper";
33
import { LinkTo } from "@ember/routing";
4-
import DBreadcrumbsItem from "discourse/components/d-breadcrumbs-item";
54
import icon from "discourse-common/helpers/d-icon";
65
import i18n from "discourse-common/helpers/i18n";
76
import I18n from "discourse-i18n";
@@ -13,15 +12,6 @@ export default class AiLlmsListEditor extends Component {
1312
}
1413

1514
<template>
16-
<DBreadcrumbsItem as |linkClass|>
17-
<LinkTo
18-
@route="adminPlugins.show.discourse-ai-personas"
19-
class={{linkClass}}
20-
>
21-
{{i18n "discourse_ai.llms.short_title"}}
22-
</LinkTo>
23-
</DBreadcrumbsItem>
24-
2515
<section class="ai-llms-list-editor admin-detail pull-left">
2616
{{#if @currentLlm}}
2717
<AiLlmEditor @model={{@currentLlm}} @llms={{@llms}} />

assets/javascripts/discourse/components/ai-persona-list-editor.gjs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { fn } from "@ember/helper";
44
import { on } from "@ember/modifier";
55
import { action } from "@ember/object";
66
import { LinkTo } from "@ember/routing";
7-
import DBreadcrumbsItem from "discourse/components/d-breadcrumbs-item";
87
import DToggleSwitch from "discourse/components/d-toggle-switch";
98
import concatClass from "discourse/helpers/concat-class";
109
import { popupAjaxError } from "discourse/lib/ajax-error";
@@ -43,15 +42,6 @@ export default class AiPersonaListEditor extends Component {
4342
}
4443

4544
<template>
46-
<DBreadcrumbsItem as |linkClass|>
47-
<LinkTo
48-
@route="adminPlugins.show.discourse-ai-personas"
49-
class={{linkClass}}
50-
>
51-
{{i18n "discourse_ai.ai_persona.short_title"}}
52-
</LinkTo>
53-
</DBreadcrumbsItem>
54-
5545
<section class="ai-persona-list-editor__current admin-detail pull-left">
5646
{{#if @currentPersona}}
5747
<AiPersonaEditor @model={{@currentPersona}} @personas={{@personas}} />

0 commit comments

Comments
 (0)