Skip to content

Commit a123cbd

Browse files
committed
Refactor conversation sidebar and update UI components for improved usability
- Updated `smoke-disciplinas-browser.mjs` to change the locator for the new chat button, enhancing element visibility. - Refactored `theme.css` to remove outdated styles and improve the layout of the conversation sidebar, including adjustments to sidebar width and padding. - Enhanced `entrance.js`, `ui.js`, and `ChatView.js` to remove references to the old new chat button and streamline the initialization process. - Introduced new elements in `ConversationSidebar.js` for better menu handling and user interactions, including a context menu for conversation actions. - Updated `index.html` to reflect the new sidebar structure and improve accessibility features for navigation elements.
1 parent 2bce5a4 commit a123cbd

10 files changed

Lines changed: 790 additions & 243 deletions

File tree

bin/smoke-disciplinas-browser.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ async function waitForOnline(page, timeoutMs = 90_000) {
168168

169169
async function newConversation(page) {
170170
await waitForOnline(page).catch(() => {});
171-
const newChat = page.locator("#new-chat-button");
171+
const newChat = page.locator("#sidebar-new-chat");
172172
if (await newChat.isVisible().catch(() => false)) {
173173
await newChat.click();
174174
} else {

0 commit comments

Comments
 (0)