UX: stop rendering back to forum link (#1319)
This commit is contained in:
parent
5bc9fdc06b
commit
e3d6dadc41
|
|
@ -37,7 +37,7 @@ export default {
|
||||||
class AiConversationsSidebarPanel extends BaseCustomSidebarPanel {
|
class AiConversationsSidebarPanel extends BaseCustomSidebarPanel {
|
||||||
key = AI_CONVERSATIONS_PANEL;
|
key = AI_CONVERSATIONS_PANEL;
|
||||||
hidden = true;
|
hidden = true;
|
||||||
displayHeader = !navigationMenu.isHeaderDropdownMode;
|
displayHeader = false; // this would add a misplaced back to forum button
|
||||||
expandActiveSection = true;
|
expandActiveSection = true;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -320,9 +320,9 @@ RSpec.describe "AI Bot - Homepage", type: :system do
|
||||||
expect(ai_pm_homepage.llm_selector).to have_selected_name(claude_2_dup.display_name)
|
expect(ai_pm_homepage.llm_selector).to have_selected_name(claude_2_dup.display_name)
|
||||||
end
|
end
|
||||||
|
|
||||||
it "renders back to forum link" do
|
it "does not render back to forum link" do
|
||||||
ai_pm_homepage.visit
|
ai_pm_homepage.visit
|
||||||
expect(ai_pm_homepage).to have_sidebar_back_link
|
expect(ai_pm_homepage).to have_no_sidebar_back_link
|
||||||
end
|
end
|
||||||
|
|
||||||
context "with hamburger menu" do
|
context "with hamburger menu" do
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue