diff --git a/webextension/js/popup.js b/webextension/js/popup.js
index aa1e561..06b284e 100644
--- a/webextension/js/popup.js
+++ b/webextension/js/popup.js
@@ -23,6 +23,9 @@ function showContainerTabsPanel(identity) {
trHasTabs.setAttribute("data-user-context-id", identity.userContextId);
}
+ let hideOrShowRow = document.querySelector("#container-info-hideorshow");
+ hideOrShowRow.setAttribute("data-user-context-id", identity.userContextId);
+
const hideShowIcon = document.getElementById("container-info-hideorshow-icon");
hideShowIcon.src = identity.hasHiddenTabs ? CONTAINER_UNHIDE_SRC : CONTAINER_HIDE_SRC;
@@ -39,12 +42,14 @@ function showContainerTabsPanel(identity) {
method: "getTabs",
userContextId: identity.userContextId,
}).then(tabs => {
+ console.log('browser.runtime.sendMessage getTabs, tabs: ', tabs);
// For each one, let's create a new line.
let fragment = document.createDocumentFragment();
for (const tab of tabs) {
let tr = document.createElement("tr");
fragment.appendChild(tr);
tr.classList.add("container-info-tab");
+ tr.classList.add("clickable");
tr.innerHTML = `
 |
${tab.title} | `;
@@ -89,12 +94,15 @@ document.querySelector("#onboarding-done-button").addEventListener("click", () =
});
browser.runtime.sendMessage({method: "queryIdentities"}).then(identities => {
+ console.log('queryIdentities');
let fragment = document.createDocumentFragment();
identities.forEach(identity => {
+ console.log('identities.forEach');
let tr = document.createElement("tr");
fragment.appendChild(tr);
- tr.className = "container-panel-row";
+ tr.classList.add("container-panel-row");
+ tr.classList.add("clickable");
tr.setAttribute("data-identity-cookie-store-id", identity.userContextId);
tr.innerHTML = `
@@ -136,6 +144,7 @@ function showEditContainersPanel() {
let tr = document.createElement("tr");
fragment.appendChild(tr);
tr.setAttribute("data-identity-cookie-store-id", identity.userContextId);
+ tr.classList.add("clickable");
tr.innerHTML = `
|
-
+
A better way to manage all the things you do online
Use containers to organize tasks, manage accounts, and keep your focus where you want it.
@@ -16,7 +16,7 @@
-
+
Put containers to work for you.
Features like color-coding and separate container tabs help you find things easily, focus your attention, and minimize distractions.
@@ -51,31 +51,19 @@
- «
+ «
-
- Hide this container
+
+ Hide this container
-
+
Move tabs to a new window
|