Skip to content

The free and privacy-friendly screen recorder with no limits 🎥

Updated videos tab with search and sort, cross-tab permissions fix

Alyssa Xe7638489e71f
diff --git a/package-lock.json b/package-lock.json
index 26c17f0..1ec5240 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "screenity",
- "version": "4.6.10",
+ "version": "4.6.11",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "screenity",
- "version": "4.6.10",
+ "version": "4.6.11",
"hasInstallScript": true,
"dependencies": {
"@babel/plugin-transform-react-jsx": "^7.27.1",
diff --git a/package.json b/package.json
index 9ad0005..833557f 100755
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "screenity",
- "version": "4.6.10",
+ "version": "4.6.11",
"description": "The free and privacy-friendly screen recorder with no sign in needed.",
"scripts": {
"build": "cross-env NODE_ENV=production node utils/build.js",
diff --git a/src/_locales/ca/messages.json b/src/_locales/ca/messages.json
index 49435e9..7a924b2 100644
--- a/src/_locales/ca/messages.json
+++ b/src/_locales/ca/messages.json
@@ -1205,13 +1205,53 @@
"message": "No s'ha pogut copiar l'enllaç",
"description": "Toast message shown when failed to copy link to clipboard"
},
- "newestSortLabel": {
- "message": "Més recents",
- "description": "Label for the newest sort option"
+ "sortByHeading": {
+ "message": "Ordenar per",
+ "description": "Section heading in the videos sort dropdown for the field being sorted on"
},
- "oldestSortLabel": {
- "message": "Més antics",
- "description": "Label for the oldest sort option"
+ "orderHeading": {
+ "message": "Ordre",
+ "description": "Section heading in the videos sort dropdown for the sort direction"
+ },
+ "sortFieldLastEdited": {
+ "message": "Última edició",
+ "description": "Sort field option: when the video was last edited"
+ },
+ "sortFieldDateCreated": {
+ "message": "Data de creació",
+ "description": "Sort field option: when the video was created"
+ },
+ "sortFieldName": {
+ "message": "Nom",
+ "description": "Sort field option: the video's title"
+ },
+ "sortFieldLength": {
+ "message": "Durada",
+ "description": "Sort field option: the video's duration"
+ },
+ "orderNewestFirst": {
+ "message": "Primer els més recents",
+ "description": "Sort order option for date fields"
+ },
+ "orderOldestFirst": {
+ "message": "Primer els més antics",
+ "description": "Sort order option for date fields"
+ },
+ "orderAToZ": {
+ "message": "De la A a la Z",
+ "description": "Sort order option for the name field"
+ },
+ "orderZToA": {
+ "message": "De la Z a la A",
+ "description": "Sort order option for the name field"
+ },
+ "orderLongestFirst": {
+ "message": "Primer els més llargs",
+ "description": "Sort order option for the length field"
+ },
+ "orderShortestFirst": {
+ "message": "Primer els més curts",
+ "description": "Sort order option for the length field"
},
"allVideosHeading": {
"message": "Tots els vídeos",
@@ -1225,6 +1265,32 @@
"message": "Carregant vídeos...",
"description": "Label shown when videos are loading in the popup"
},
+ "loadingMoreVideosLabel": {
+ "message": "Carregant més...",
+ "description": "Label shown at the bottom of the videos list while loading additional pages"
+ },
+ "searchVideosPlaceholder": {
+ "message": "Cerca vídeos",
+ "description": "Placeholder text for the videos search input in the popup"
+ },
+ "noVideosMatchSearchTitle": {
+ "message": "No s'ha trobat res per a \"$SEARCHTERM$\"",
+ "description": "Heading shown when no videos match the current search query in the popup",
+ "placeholders": {
+ "searchterm": {
+ "content": "$1",
+ "example": "design review"
+ }
+ }
+ },
+ "noVideosMatchSearchHint": {
+ "message": "Prova d'ajustar el terme de cerca.",
+ "description": "Subtext shown under the no search results heading in the popup"
+ },
+ "privateVideoTooltip": {
+ "message": "Privat",
+ "description": "Tooltip shown on the lock badge over a private video's thumbnail"
+ },
"goToDashboardButtonLabel": {
"message": "Ves al panell de control",
"description": "Button label to go to the dashboard in the popup"
diff --git a/src/_locales/de/messages.json b/src/_locales/de/messages.json
index 33eb0d6..6c79592 100644
--- a/src/_locales/de/messages.json
+++ b/src/_locales/de/messages.json
@@ -1205,13 +1205,53 @@
"message": "Link konnte nicht kopiert werden",
"description": "Toast message shown when failed to copy link to clipboard"
},
- "newestSortLabel": {
- "message": "Neueste",
- "description": "Label for the newest sort option"
+ "sortByHeading": {
+ "message": "Sortieren nach",
+ "description": "Section heading in the videos sort dropdown for the field being sorted on"
},
- "oldestSortLabel": {
- "message": "Älteste",
- "description": "Label for the oldest sort option"
+ "orderHeading": {
+ "message": "Reihenfolge",
+ "description": "Section heading in the videos sort dropdown for the sort direction"
+ },
+ "sortFieldLastEdited": {
+ "message": "Zuletzt bearbeitet",
+ "description": "Sort field option: when the video was last edited"
+ },
+ "sortFieldDateCreated": {
+ "message": "Erstellungsdatum",
+ "description": "Sort field option: when the video was created"
+ },
+ "sortFieldName": {
+ "message": "Name",
+ "description": "Sort field option: the video's title"
+ },
+ "sortFieldLength": {
+ "message": "Länge",
+ "description": "Sort field option: the video's duration"
+ },
+ "orderNewestFirst": {
+ "message": "Neueste zuerst",
+ "description": "Sort order option for date fields"
+ },
+ "orderOldestFirst": {
+ "message": "Älteste zuerst",
+ "description": "Sort order option for date fields"
+ },
+ "orderAToZ": {
+ "message": "A bis Z",
+ "description": "Sort order option for the name field"
+ },
+ "orderZToA": {
+ "message": "Z bis A",
+ "description": "Sort order option for the name field"
+ },
+ "orderLongestFirst": {
+ "message": "Längste zuerst",
+ "description": "Sort order option for the length field"
+ },
+ "orderShortestFirst": {
+ "message": "Kürzeste zuerst",
+ "description": "Sort order option for the length field"
},
"allVideosHeading": {
"message": "Alle Videos",
@@ -1225,6 +1265,32 @@
"message": "Videos werden geladen...",
"description": "Label shown when videos are loading in the popup"
},
+ "loadingMoreVideosLabel": {
+ "message": "Weitere werden geladen...",
+ "description": "Label shown at the bottom of the videos list while loading additional pages"
+ },
+ "searchVideosPlaceholder": {
+ "message": "Videos durchsuchen",
+ "description": "Placeholder text for the videos search input in the popup"
+ },
+ "noVideosMatchSearchTitle": {
+ "message": "Nichts gefunden für „$SEARCHTERM$“",
+ "description": "Heading shown when no videos match the current search query in the popup",
+ "placeholders": {
+ "searchterm": {
+ "content": "$1",
+ "example": "design review"
+ }
+ }
+ },
+ "noVideosMatchSearchHint": {
+ "message": "Versuche es mit einem anderen Suchbegriff.",
+ "description": "Subtext shown under the no search results heading in the popup"
+ },
+ "privateVideoTooltip": {
+ "message": "Privat",
+ "description": "Tooltip shown on the lock badge over a private video's thumbnail"
+ },
"goToDashboardButtonLabel": {
"message": "Zum Dashboard",
"description": "Button label to go to the dashboard in the popup"
diff --git a/src/_locales/en/messages.json b/src/_locales/en/messages.json
index f61d4e4..4c772ab 100644
--- a/src/_locales/en/messages.json
+++ b/src/_locales/en/messages.json
@@ -1253,13 +1253,53 @@
"message": "Failed to copy link",
"description": "Toast message shown when failed to copy link to clipboard"
},
- "newestSortLabel": {
- "message": "Latest",
- "description": "Label for the newest sort option"
+ "sortByHeading": {
+ "message": "Sort by",
+ "description": "Section heading in the videos sort dropdown for the field being sorted on"
},
- "oldestSortLabel": {
- "message": "Oldest",
- "description": "Label for the oldest sort option"
+ "orderHeading": {
+ "message": "Order",
+ "description": "Section heading in the videos sort dropdown for the sort direction"
+ },
+ "sortFieldLastEdited": {
+ "message": "Last edited",
+ "description": "Sort field option: when the video was last edited"
+ },
+ "sortFieldDateCreated": {
+ "message": "Date created",
+ "description": "Sort field option: when the video was created"
+ },
+ "sortFieldName": {
+ "message": "Name",
+ "description": "Sort field option: the video's title"
+ },
+ "sortFieldLength": {
+ "message": "Length",
+ "description": "Sort field option: the video's duration"
+ },
+ "orderNewestFirst": {
+ "message": "Newest first",
+ "description": "Sort order option for date fields"
+ },
+ "orderOldestFirst": {
+ "message": "Oldest first",
+ "description": "Sort order option for date fields"
+ },
+ "orderAToZ": {
+ "message": "A to Z",
+ "description": "Sort order option for the name field"
+ },
+ "orderZToA": {
+ "message": "Z to A",
+ "description": "Sort order option for the name field"
+ },
+ "orderLongestFirst": {
+ "message": "Longest first",
+ "description": "Sort order option for the length field"
+ },
+ "orderShortestFirst": {
+ "message": "Shortest first",
+ "description": "Sort order option for the length field"
},
"allVideosHeading": {
"message": "All videos",
@@ -1273,6 +1313,32 @@
"message": "Loading videos...",
"description": "Label shown when videos are loading in the popup"
},
+ "loadingMoreVideosLabel": {
+ "message": "Loading more...",
+ "description": "Label shown at the bottom of the videos list while loading additional pages"
+ },
+ "searchVideosPlaceholder": {
+ "message": "Search videos",
+ "description": "Placeholder text for the videos search input in the popup"
+ },
+ "noVideosMatchSearchTitle": {
+ "message": "Nothing found for \"$SEARCHTERM$\"",
+ "description": "Heading shown when no videos match the current search query in the popup",
+ "placeholders": {
+ "searchterm": {
+ "content": "$1",
+ "example": "design review"
+ }
+ }
+ },
+ "noVideosMatchSearchHint": {
+ "message": "Try adjusting your search term.",
+ "description": "Subtext shown under the no search results heading in the popup"
+ },
+ "privateVideoTooltip": {
+ "message": "Private",
+ "description": "Tooltip shown on the lock badge over a private video's thumbnail"
+ },
"goToDashboardButtonLabel": {
"message": "Go to dashboard",
"description": "Button label to go to the dashboard in the popup"
diff --git a/src/_locales/es/messages.json b/src/_locales/es/messages.json
index f3f2406..80ecb80 100644
--- a/src/_locales/es/messages.json
+++ b/src/_locales/es/messages.json
@@ -1205,13 +1205,53 @@
"message": "No se pudo copiar el enlace",
"description": "Toast message shown when failed to copy link to clipboard"
},
- "newestSortLabel": {
- "message": "Más recientes",
- "description": "Label for the newest sort option"
+ "sortByHeading": {
+ "message": "Ordenar por",
+ "description": "Section heading in the videos sort dropdown for the field being sorted on"
},
- "oldestSortLabel": {
- "message": "Más antiguos",
- "description": "Label for the oldest sort option"
+ "orderHeading": {
+ "message": "Orden",
+ "description": "Section heading in the videos sort dropdown for the sort direction"
+ },
+ "sortFieldLastEdited": {
+ "message": "Última edición",
+ "description": "Sort field option: when the video was last edited"
+ },
+ "sortFieldDateCreated": {
+ "message": "Fecha de creación",
+ "description": "Sort field option: when the video was created"
+ },
+ "sortFieldName": {
+ "message": "Nombre",
+ "description": "Sort field option: the video's title"
+ },
+ "sortFieldLength": {
+ "message": "Duración",
+ "description": "Sort field option: the video's duration"
+ },
+ "orderNewestFirst": {
+ "message": "Más recientes primero",
+ "description": "Sort order option for date fields"
+ },
+ "orderOldestFirst": {
+ "message": "Más antiguos primero",
+ "description": "Sort order option for date fields"
+ },
+ "orderAToZ": {
+ "message": "De la A a la Z",
+ "description": "Sort order option for the name field"
+ },
+ "orderZToA": {
+ "message": "De la Z a la A",
+ "description": "Sort order option for the name field"
+ },
+ "orderLongestFirst": {
+ "message": "Más largos primero",
+ "description": "Sort order option for the length field"
+ },
+ "orderShortestFirst": {
+ "message": "Más cortos primero",
+ "description": "Sort order option for the length field"
},
"allVideosHeading": {
"message": "Todos los vídeos",
@@ -1225,6 +1265,32 @@
"message": "Cargando vídeos...",
"description": "Label shown when videos are loading in the popup"
},
+ "loadingMoreVideosLabel": {
+ "message": "Cargando más...",
+ "description": "Label shown at the bottom of the videos list while loading additional pages"
+ },
+ "searchVideosPlaceholder": {
+ "message": "Buscar vídeos",
+ "description": "Placeholder text for the videos search input in the popup"
+ },
+ "noVideosMatchSearchTitle": {
+ "message": "No se ha encontrado nada para \"$SEARCHTERM$\"",
+ "description": "Heading shown when no videos match the current search query in the popup",
+ "placeholders": {
+ "searchterm": {
+ "content": "$1",
+ "example": "design review"
+ }
+ }
+ },
+ "noVideosMatchSearchHint": {
+ "message": "Prueba a ajustar el término de búsqueda.",
+ "description": "Subtext shown under the no search results heading in the popup"
+ },
+ "privateVideoTooltip": {
+ "message": "Privado",
+ "description": "Tooltip shown on the lock badge over a private video's thumbnail"
+ },
"goToDashboardButtonLabel": {
"message": "Ir al panel de control",
"description": "Button label to go to the dashboard in the popup"
diff --git a/src/_locales/fr/messages.json b/src/_locales/fr/messages.json
index 659e2dc..931ac19 100644
--- a/src/_locales/fr/messages.json
+++ b/src/_locales/fr/messages.json
@@ -1205,13 +1205,53 @@
"message": "Échec de la copie du lien",
"description": "Toast message shown when failed to copy link to clipboard"
},
- "newestSortLabel": {
- "message": "Les plus récents",
- "description": "Label for the newest sort option"
+ "sortByHeading": {
+ "message": "Trier par",
+ "description": "Section heading in the videos sort dropdown for the field being sorted on"
},
- "oldestSortLabel": {
- "message": "Les plus anciens",
- "description": "Label for the oldest sort option"
+ "orderHeading": {
+ "message": "Ordre",
+ "description": "Section heading in the videos sort dropdown for the sort direction"
+ },
+ "sortFieldLastEdited": {
+ "message": "Dernière modification",
+ "description": "Sort field option: when the video was last edited"
+ },
+ "sortFieldDateCreated": {
+ "message": "Date de création",
+ "description": "Sort field option: when the video was created"
+ },
+ "sortFieldName": {
+ "message": "Nom",
+ "description": "Sort field option: the video's title"
+ },
+ "sortFieldLength": {
+ "message": "Durée",
+ "description": "Sort field option: the video's duration"
+ },
+ "orderNewestFirst": {
+ "message": "Plus récentes en premier",
+ "description": "Sort order option for date fields"
+ },
+ "orderOldestFirst": {
+ "message": "Plus anciennes en premier",
+ "description": "Sort order option for date fields"
+ },
+ "orderAToZ": {
+ "message": "De A à Z",
+ "description": "Sort order option for the name field"
+ },
+ "orderZToA": {
+ "message": "De Z à A",
+ "description": "Sort order option for the name field"
+ },
+ "orderLongestFirst": {
+ "message": "Plus longues en premier",
+ "description": "Sort order option for the length field"
+ },
+ "orderShortestFirst": {
+ "message": "Plus courtes en premier",
+ "description": "Sort order option for the length field"
},
"allVideosHeading": {
"message": "Toutes les vidéos",
@@ -1225,6 +1265,32 @@
"message": "Chargement des vidéos...",
"description": "Label shown when videos are loading in the popup"
},
+ "loadingMoreVideosLabel": {
+ "message": "Chargement de plus de vidéos...",
+ "description": "Label shown at the bottom of the videos list while loading additional pages"
+ },
+ "searchVideosPlaceholder": {
+ "message": "Rechercher des vidéos",
+ "description": "Placeholder text for the videos search input in the popup"
+ },
+ "noVideosMatchSearchTitle": {
+ "message": "Aucun résultat pour « $SEARCHTERM$ »",
+ "description": "Heading shown when no videos match the current search query in the popup",
+ "placeholders": {
+ "searchterm": {
+ "content": "$1",
+ "example": "design review"
+ }
+ }
+ },
+ "noVideosMatchSearchHint": {
+ "message": "Essayez d'ajuster votre recherche.",
+ "description": "Subtext shown under the no search results heading in the popup"
+ },
+ "privateVideoTooltip": {
+ "message": "Privée",
+ "description": "Tooltip shown on the lock badge over a private video's thumbnail"
+ },
"goToDashboardButtonLabel": {
"message": "Aller au tableau de bord",
"description": "Button label to go to the dashboard in the popup"
diff --git a/src/_locales/hi/messages.json b/src/_locales/hi/messages.json
index 3c15737..0218313 100644
--- a/src/_locales/hi/messages.json
+++ b/src/_locales/hi/messages.json
@@ -1205,13 +1205,53 @@
"message": "लिंक कॉपी करने में विफल",
"description": "Toast message shown when failed to copy link to clipboard"
},
- "newestSortLabel": {
- "message": "नवीनतम",
- "description": "Label for the newest sort option"
+ "sortByHeading": {
+ "message": "इसके अनुसार क्रमबद्ध करें",
+ "description": "Section heading in the videos sort dropdown for the field being sorted on"
},
- "oldestSortLabel": {
- "message": "सबसे पुराने",
- "description": "Label for the oldest sort option"
+ "orderHeading": {
+ "message": "क्रम",
+ "description": "Section heading in the videos sort dropdown for the sort direction"
+ },
+ "sortFieldLastEdited": {
+ "message": "अंतिम बार संपादित",
+ "description": "Sort field option: when the video was last edited"
+ },
+ "sortFieldDateCreated": {
+ "message": "बनाने की तारीख़",
+ "description": "Sort field option: when the video was created"
+ },
+ "sortFieldName": {
+ "message": "नाम",
+ "description": "Sort field option: the video's title"
+ },
+ "sortFieldLength": {
+ "message": "अवधि",
+ "description": "Sort field option: the video's duration"
+ },
+ "orderNewestFirst": {
+ "message": "पहले नवीनतम",
+ "description": "Sort order option for date fields"
+ },
+ "orderOldestFirst": {
+ "message": "पहले सबसे पुराने",
+ "description": "Sort order option for date fields"
+ },
+ "orderAToZ": {
+ "message": "A से Z",
+ "description": "Sort order option for the name field"
+ },
+ "orderZToA": {
+ "message": "Z से A",
+ "description": "Sort order option for the name field"
+ },
+ "orderLongestFirst": {
+ "message": "पहले सबसे लंबे",
+ "description": "Sort order option for the length field"
+ },
+ "orderShortestFirst": {
+ "message": "पहले सबसे छोटे",
+ "description": "Sort order option for the length field"
},
"allVideosHeading": {
"message": "सभी वीडियो",
@@ -1225,6 +1265,32 @@
"message": "वीडियो लोड हो रहे हैं...",
"description": "Label shown when videos are loading in the popup"
},
+ "loadingMoreVideosLabel": {
+ "message": "और लोड हो रहे हैं...",
+ "description": "Label shown at the bottom of the videos list while loading additional pages"
+ },
+ "searchVideosPlaceholder": {
+ "message": "वीडियो खोजें",
+ "description": "Placeholder text for the videos search input in the popup"
+ },
+ "noVideosMatchSearchTitle": {
+ "message": "\"$SEARCHTERM$\" के लिए कुछ नहीं मिला",
+ "description": "Heading shown when no videos match the current search query in the popup",
+ "placeholders": {
+ "searchterm": {
+ "content": "$1",
+ "example": "design review"
+ }
+ }
+ },
+ "noVideosMatchSearchHint": {
+ "message": "अपना खोज शब्द बदलकर देखें।",
+ "description": "Subtext shown under the no search results heading in the popup"
+ },
+ "privateVideoTooltip": {
+ "message": "निजी",
+ "description": "Tooltip shown on the lock badge over a private video's thumbnail"
+ },
"goToDashboardButtonLabel": {
"message": "डैशबोर्ड पर जाएं",
"description": "Button label to go to the dashboard in the popup"
diff --git a/src/_locales/id/messages.json b/src/_locales/id/messages.json
index 93af98c..ca7c7c3 100644
--- a/src/_locales/id/messages.json
+++ b/src/_locales/id/messages.json
@@ -1205,13 +1205,53 @@
"message": "Gagal menyalin tautan",
"description": "Toast message shown when failed to copy link to clipboard"
},
- "newestSortLabel": {
- "message": "Terbaru",
- "description": "Label for the newest sort option"
+ "sortByHeading": {
+ "message": "Urutkan berdasarkan",
+ "description": "Section heading in the videos sort dropdown for the field being sorted on"
},
- "oldestSortLabel": {
- "message": "Terlama",
- "description": "Label for the oldest sort option"
+ "orderHeading": {
+ "message": "Urutan",
+ "description": "Section heading in the videos sort dropdown for the sort direction"
+ },
+ "sortFieldLastEdited": {
+ "message": "Terakhir diedit",
+ "description": "Sort field option: when the video was last edited"
+ },
+ "sortFieldDateCreated": {
+ "message": "Tanggal dibuat",
+ "description": "Sort field option: when the video was created"
+ },
+ "sortFieldName": {
+ "message": "Nama",
+ "description": "Sort field option: the video's title"
+ },
+ "sortFieldLength": {
+ "message": "Durasi",
+ "description": "Sort field option: the video's duration"
+ },
+ "orderNewestFirst": {
+ "message": "Terbaru lebih dulu",
+ "description": "Sort order option for date fields"
+ },
+ "orderOldestFirst": {
+ "message": "Terlama lebih dulu",
+ "description": "Sort order option for date fields"
+ },
+ "orderAToZ": {
+ "message": "A ke Z",
+ "description": "Sort order option for the name field"
+ },
+ "orderZToA": {
+ "message": "Z ke A",
+ "description": "Sort order option for the name field"
+ },
+ "orderLongestFirst": {
+ "message": "Terpanjang lebih dulu",
+ "description": "Sort order option for the length field"
+ },
+ "orderShortestFirst": {
+ "message": "Terpendek lebih dulu",
+ "description": "Sort order option for the length field"
},
"allVideosHeading": {
"message": "Semua video",
@@ -1225,6 +1265,32 @@
"message": "Memuat video...",
"description": "Label shown when videos are loading in the popup"
},
+ "loadingMoreVideosLabel": {
+ "message": "Memuat lainnya...",
+ "description": "Label shown at the bottom of the videos list while loading additional pages"
+ },
+ "searchVideosPlaceholder": {
+ "message": "Cari video",
+ "description": "Placeholder text for the videos search input in the popup"
+ },
+ "noVideosMatchSearchTitle": {
+ "message": "Tidak ada hasil untuk \"$SEARCHTERM$\"",
+ "description": "Heading shown when no videos match the current search query in the popup",
+ "placeholders": {
+ "searchterm": {
+ "content": "$1",
+ "example": "design review"
+ }
+ }
+ },
+ "noVideosMatchSearchHint": {
+ "message": "Coba sesuaikan kata pencarian Anda.",
+ "description": "Subtext shown under the no search results heading in the popup"
+ },
+ "privateVideoTooltip": {
+ "message": "Pribadi",
+ "description": "Tooltip shown on the lock badge over a private video's thumbnail"
+ },
"goToDashboardButtonLabel": {
"message": "Ke dashboard",
"description": "Button label to go to the dashboard in the popup"
diff --git a/src/_locales/it/messages.json b/src/_locales/it/messages.json
index b44c609..d5a2855 100644
--- a/src/_locales/it/messages.json
+++ b/src/_locales/it/messages.json
@@ -1185,13 +1185,53 @@
"message": "Impossibile copiare il link",
"description": "Toast message shown when failed to copy link to clipboard"
},
- "newestSortLabel": {
- "message": "Più recenti",
- "description": "Label for the newest sort option"
+ "sortByHeading": {
+ "message": "Ordina per",
+ "description": "Section heading in the videos sort dropdown for the field being sorted on"
},
- "oldestSortLabel": {
- "message": "Più vecchi",
- "description": "Label for the oldest sort option"
+ "orderHeading": {
+ "message": "Ordine",
+ "description": "Section heading in the videos sort dropdown for the sort direction"
+ },
+ "sortFieldLastEdited": {
+ "message": "Ultima modifica",
+ "description": "Sort field option: when the video was last edited"
+ },
+ "sortFieldDateCreated": {
+ "message": "Data di creazione",
+ "description": "Sort field option: when the video was created"
+ },
+ "sortFieldName": {
+ "message": "Nome",
+ "description": "Sort field option: the video's title"
+ },
+ "sortFieldLength": {
+ "message": "Durata",
+ "description": "Sort field option: the video's duration"
+ },
+ "orderNewestFirst": {
+ "message": "Prima i più recenti",
+ "description": "Sort order option for date fields"
+ },
+ "orderOldestFirst": {
+ "message": "Prima i più vecchi",
+ "description": "Sort order option for date fields"
+ },
+ "orderAToZ": {
+ "message": "Dalla A alla Z",
+ "description": "Sort order option for the name field"
+ },
+ "orderZToA": {
+ "message": "Dalla Z alla A",
+ "description": "Sort order option for the name field"
+ },
+ "orderLongestFirst": {
+ "message": "Prima i più lunghi",
+ "description": "Sort order option for the length field"
+ },
+ "orderShortestFirst": {
+ "message": "Prima i più brevi",
+ "description": "Sort order option for the length field"
},
"allVideosHeading": {
"message": "Tutti i video",
@@ -1205,6 +1245,32 @@
"message": "Caricamento video...",
"description": "Label shown when videos are loading in the popup"
},
+ "loadingMoreVideosLabel": {
+ "message": "Caricamento altri...",
+ "description": "Label shown at the bottom of the videos list while loading additional pages"
+ },
+ "searchVideosPlaceholder": {
+ "message": "Cerca video",
+ "description": "Placeholder text for the videos search input in the popup"
+ },
+ "noVideosMatchSearchTitle": {
+ "message": "Nessun risultato per \"$SEARCHTERM$\"",
+ "description": "Heading shown when no videos match the current search query in the popup",
+ "placeholders": {
+ "searchterm": {
+ "content": "$1",
+ "example": "design review"
+ }
+ }
+ },
+ "noVideosMatchSearchHint": {
+ "message": "Prova a modificare il termine di ricerca.",
+ "description": "Subtext shown under the no search results heading in the popup"
+ },
+ "privateVideoTooltip": {
+ "message": "Privato",
+ "description": "Tooltip shown on the lock badge over a private video's thumbnail"
+ },
"goToDashboardButtonLabel": {
"message": "Vai al pannello",
"description": "Button label to go to the dashboard in the popup"
diff --git a/src/_locales/ko/messages.json b/src/_locales/ko/messages.json
index 5444c48..701467f 100644
--- a/src/_locales/ko/messages.json
+++ b/src/_locales/ko/messages.json
@@ -1205,13 +1205,53 @@
"message": "링크 복사에 실패했습니다",
"description": "Toast message shown when failed to copy link to clipboard"
},
- "newestSortLabel": {
+ "sortByHeading": {
+ "message": "정렬 기준",
+ "description": "Section heading in the videos sort dropdown for the field being sorted on"
+ },
+ "orderHeading": {
+ "message": "정렬 순서",
+ "description": "Section heading in the videos sort dropdown for the sort direction"
+ },
+ "sortFieldLastEdited": {
+ "message": "최근 수정일",
+ "description": "Sort field option: when the video was last edited"
+ },
+ "sortFieldDateCreated": {
+ "message": "생성일",
+ "description": "Sort field option: when the video was created"
+ },
+ "sortFieldName": {
+ "message": "이름",
+ "description": "Sort field option: the video's title"
+ },
+ "sortFieldLength": {
+ "message": "길이",
+ "description": "Sort field option: the video's duration"
+ },
+ "orderNewestFirst": {
"message": "최신순",
- "description": "Label for the newest sort option"
+ "description": "Sort order option for date fields"
},
- "oldestSortLabel": {
+ "orderOldestFirst": {
"message": "오래된순",
- "description": "Label for the oldest sort option"
+ "description": "Sort order option for date fields"
+ },
+ "orderAToZ": {
+ "message": "오름차순",
+ "description": "Sort order option for the name field"
+ },
+ "orderZToA": {
+ "message": "내림차순",
+ "description": "Sort order option for the name field"
+ },
+ "orderLongestFirst": {
+ "message": "긴 순서대로",
+ "description": "Sort order option for the length field"
+ },
+ "orderShortestFirst": {
+ "message": "짧은 순서대로",
+ "description": "Sort order option for the length field"
},
"allVideosHeading": {
"message": "모든 영상",
@@ -1225,6 +1265,32 @@
"message": "영상을 불러오는 중...",
"description": "Label shown when videos are loading in the popup"
},
+ "loadingMoreVideosLabel": {
+ "message": "더 불러오는 중...",
+ "description": "Label shown at the bottom of the videos list while loading additional pages"
+ },
+ "searchVideosPlaceholder": {
+ "message": "영상 검색",
+ "description": "Placeholder text for the videos search input in the popup"
+ },
+ "noVideosMatchSearchTitle": {
+ "message": "\"$SEARCHTERM$\"에 대한 검색 결과가 없습니다",
+ "description": "Heading shown when no videos match the current search query in the popup",
+ "placeholders": {
+ "searchterm": {
+ "content": "$1",
+ "example": "design review"
+ }
+ }
+ },
+ "noVideosMatchSearchHint": {
+ "message": "다른 검색어로 시도해 보세요.",
+ "description": "Subtext shown under the no search results heading in the popup"
+ },
+ "privateVideoTooltip": {
+ "message": "비공개",
+ "description": "Tooltip shown on the lock badge over a private video's thumbnail"
+ },
"goToDashboardButtonLabel": {
"message": "대시보드로 이동",
"description": "Button label to go to the dashboard in the popup"
diff --git a/src/_locales/pl/messages.json b/src/_locales/pl/messages.json
index f8326a6..cda4c23 100644
--- a/src/_locales/pl/messages.json
+++ b/src/_locales/pl/messages.json
@@ -1205,13 +1205,53 @@
"message": "Nie udało się skopiować linku",
"description": "Toast message shown when failed to copy link to clipboard"
},
- "newestSortLabel": {
- "message": "Najnowsze",
- "description": "Label for the newest sort option"
+ "sortByHeading": {
+ "message": "Sortuj według",
+ "description": "Section heading in the videos sort dropdown for the field being sorted on"
},
- "oldestSortLabel": {
- "message": "Najstarsze",
- "description": "Label for the oldest sort option"
+ "orderHeading": {
+ "message": "Kolejność",
+ "description": "Section heading in the videos sort dropdown for the sort direction"
+ },
+ "sortFieldLastEdited": {
+ "message": "Ostatnio edytowane",
+ "description": "Sort field option: when the video was last edited"
+ },
+ "sortFieldDateCreated": {
+ "message": "Data utworzenia",
+ "description": "Sort field option: when the video was created"
+ },
+ "sortFieldName": {
+ "message": "Nazwa",
+ "description": "Sort field option: the video's title"
+ },
+ "sortFieldLength": {
+ "message": "Długość",
+ "description": "Sort field option: the video's duration"
+ },
+ "orderNewestFirst": {
+ "message": "Najpierw najnowsze",
+ "description": "Sort order option for date fields"
+ },
+ "orderOldestFirst": {
+ "message": "Najpierw najstarsze",
+ "description": "Sort order option for date fields"
+ },
+ "orderAToZ": {
+ "message": "Od A do Z",
+ "description": "Sort order option for the name field"
+ },
+ "orderZToA": {
+ "message": "Od Z do A",
+ "description": "Sort order option for the name field"
+ },
+ "orderLongestFirst": {
+ "message": "Najpierw najdłuższe",
+ "description": "Sort order option for the length field"
+ },
+ "orderShortestFirst": {
+ "message": "Najpierw najkrótsze",
+ "description": "Sort order option for the length field"
},
"allVideosHeading": {
"message": "Wszystkie nagrania",
@@ -1225,6 +1265,32 @@
"message": "Ładowanie nagrań...",
"description": "Label shown when videos are loading in the popup"
},
+ "loadingMoreVideosLabel": {
+ "message": "Wczytywanie kolejnych...",
+ "description": "Label shown at the bottom of the videos list while loading additional pages"
+ },
+ "searchVideosPlaceholder": {
+ "message": "Szukaj nagrań",
+ "description": "Placeholder text for the videos search input in the popup"
+ },
+ "noVideosMatchSearchTitle": {
+ "message": "Brak wyników dla „$SEARCHTERM$”",
+ "description": "Heading shown when no videos match the current search query in the popup",
+ "placeholders": {
+ "searchterm": {
+ "content": "$1",
+ "example": "design review"
+ }
+ }
+ },
+ "noVideosMatchSearchHint": {
+ "message": "Spróbuj zmienić frazę wyszukiwania.",
+ "description": "Subtext shown under the no search results heading in the popup"
+ },
+ "privateVideoTooltip": {
+ "message": "Prywatne",
+ "description": "Tooltip shown on the lock badge over a private video's thumbnail"
+ },
"goToDashboardButtonLabel": {
"message": "Przejdź do panelu",
"description": "Button label to go to the dashboard in the popup"
diff --git a/src/_locales/pt_BR/messages.json b/src/_locales/pt_BR/messages.json
index 8a42ede..4781597 100644
--- a/src/_locales/pt_BR/messages.json
+++ b/src/_locales/pt_BR/messages.json
@@ -1205,13 +1205,53 @@
"message": "Não foi possível copiar o link",
"description": "Toast message shown when failed to copy link to clipboard"
},
- "newestSortLabel": {
- "message": "Mais recentes",
- "description": "Label for the newest sort option"
+ "sortByHeading": {
+ "message": "Ordenar por",
+ "description": "Section heading in the videos sort dropdown for the field being sorted on"
},
- "oldestSortLabel": {
- "message": "Mais antigos",
- "description": "Label for the oldest sort option"
+ "orderHeading": {
+ "message": "Ordem",
+ "description": "Section heading in the videos sort dropdown for the sort direction"
+ },
+ "sortFieldLastEdited": {
+ "message": "Última edição",
+ "description": "Sort field option: when the video was last edited"
+ },
+ "sortFieldDateCreated": {
+ "message": "Data de criação",
+ "description": "Sort field option: when the video was created"
+ },
+ "sortFieldName": {
+ "message": "Nome",
+ "description": "Sort field option: the video's title"
+ },
+ "sortFieldLength": {
+ "message": "Duração",
+ "description": "Sort field option: the video's duration"
+ },
+ "orderNewestFirst": {
+ "message": "Mais recentes primeiro",
+ "description": "Sort order option for date fields"
+ },
+ "orderOldestFirst": {
+ "message": "Mais antigos primeiro",
+ "description": "Sort order option for date fields"
+ },
+ "orderAToZ": {
+ "message": "De A a Z",
+ "description": "Sort order option for the name field"
+ },
+ "orderZToA": {
+ "message": "De Z a A",
+ "description": "Sort order option for the name field"
+ },
+ "orderLongestFirst": {
+ "message": "Mais longos primeiro",
+ "description": "Sort order option for the length field"
+ },
+ "orderShortestFirst": {
+ "message": "Mais curtos primeiro",
+ "description": "Sort order option for the length field"
},
"allVideosHeading": {
"message": "Todos os vídeos",
@@ -1225,6 +1265,32 @@
"message": "Carregando vídeos...",
"description": "Label shown when videos are loading in the popup"
},
+ "loadingMoreVideosLabel": {
+ "message": "Carregando mais...",
+ "description": "Label shown at the bottom of the videos list while loading additional pages"
+ },
+ "searchVideosPlaceholder": {
+ "message": "Pesquisar vídeos",
+ "description": "Placeholder text for the videos search input in the popup"
+ },
+ "noVideosMatchSearchTitle": {
+ "message": "Nada encontrado para \"$SEARCHTERM$\"",
+ "description": "Heading shown when no videos match the current search query in the popup",
+ "placeholders": {
+ "searchterm": {
+ "content": "$1",
+ "example": "design review"
+ }
+ }
+ },
+ "noVideosMatchSearchHint": {
+ "message": "Tente ajustar o termo de pesquisa.",
+ "description": "Subtext shown under the no search results heading in the popup"
+ },
+ "privateVideoTooltip": {
+ "message": "Privado",
+ "description": "Tooltip shown on the lock badge over a private video's thumbnail"
+ },
"goToDashboardButtonLabel": {
"message": "Ir para o painel",
"description": "Button label to go to the dashboard in the popup"
diff --git a/src/_locales/pt_PT/messages.json b/src/_locales/pt_PT/messages.json
index 6d55c12..56c8d8b 100644
--- a/src/_locales/pt_PT/messages.json
+++ b/src/_locales/pt_PT/messages.json
@@ -1205,13 +1205,53 @@
"message": "Não foi possível copiar a ligação",
"description": "Toast message shown when failed to copy link to clipboard"
},
- "newestSortLabel": {
- "message": "Mais recentes",
- "description": "Label for the newest sort option"
+ "sortByHeading": {
+ "message": "Ordenar por",
+ "description": "Section heading in the videos sort dropdown for the field being sorted on"
},
- "oldestSortLabel": {
- "message": "Mais antigos",
- "description": "Label for the oldest sort option"
+ "orderHeading": {
+ "message": "Ordem",
+ "description": "Section heading in the videos sort dropdown for the sort direction"
+ },
+ "sortFieldLastEdited": {
+ "message": "Última edição",
+ "description": "Sort field option: when the video was last edited"
+ },
+ "sortFieldDateCreated": {
+ "message": "Data de criação",
+ "description": "Sort field option: when the video was created"
+ },
+ "sortFieldName": {
+ "message": "Nome",
+ "description": "Sort field option: the video's title"
+ },
+ "sortFieldLength": {
+ "message": "Duração",
+ "description": "Sort field option: the video's duration"
+ },
+ "orderNewestFirst": {
+ "message": "Mais recentes primeiro",
+ "description": "Sort order option for date fields"
+ },
+ "orderOldestFirst": {
+ "message": "Mais antigos primeiro",
+ "description": "Sort order option for date fields"
+ },
+ "orderAToZ": {
+ "message": "De A a Z",
+ "description": "Sort order option for the name field"
+ },
+ "orderZToA": {
+ "message": "De Z a A",
+ "description": "Sort order option for the name field"
+ },
+ "orderLongestFirst": {
+ "message": "Mais longos primeiro",
+ "description": "Sort order option for the length field"
+ },
+ "orderShortestFirst": {
+ "message": "Mais curtos primeiro",
+ "description": "Sort order option for the length field"
},
"allVideosHeading": {
"message": "Todos os vídeos",
@@ -1225,6 +1265,32 @@
"message": "A carregar vídeos...",
"description": "Label shown when videos are loading in the popup"
},
+ "loadingMoreVideosLabel": {
+ "message": "A carregar mais...",
+ "description": "Label shown at the bottom of the videos list while loading additional pages"
+ },
+ "searchVideosPlaceholder": {
+ "message": "Pesquisar vídeos",
+ "description": "Placeholder text for the videos search input in the popup"
+ },
+ "noVideosMatchSearchTitle": {
+ "message": "Sem resultados para \"$SEARCHTERM$\"",
+ "description": "Heading shown when no videos match the current search query in the popup",
+ "placeholders": {
+ "searchterm": {
+ "content": "$1",
+ "example": "design review"
+ }
+ }
+ },
+ "noVideosMatchSearchHint": {
+ "message": "Tente ajustar o termo de pesquisa.",
+ "description": "Subtext shown under the no search results heading in the popup"
+ },
+ "privateVideoTooltip": {
+ "message": "Privado",
+ "description": "Tooltip shown on the lock badge over a private video's thumbnail"
+ },
"goToDashboardButtonLabel": {
"message": "Ir para o painel",
"description": "Button label to go to the dashboard in the popup"
diff --git a/src/_locales/ru/messages.json b/src/_locales/ru/messages.json
index 9a52eb2..3ceed95 100644
--- a/src/_locales/ru/messages.json
+++ b/src/_locales/ru/messages.json
@@ -1205,13 +1205,53 @@
"message": "Не удалось скопировать ссылку",
"description": "Toast message shown when failed to copy link to clipboard"
},
- "newestSortLabel": {
- "message": "Новые",
- "description": "Label for the newest sort option"
+ "sortByHeading": {
+ "message": "Сортировать по",
+ "description": "Section heading in the videos sort dropdown for the field being sorted on"
},
- "oldestSortLabel": {
- "message": "Старые",
- "description": "Label for the oldest sort option"
+ "orderHeading": {
+ "message": "Порядок",
+ "description": "Section heading in the videos sort dropdown for the sort direction"
+ },
+ "sortFieldLastEdited": {
+ "message": "Последнее изменение",
+ "description": "Sort field option: when the video was last edited"
+ },
+ "sortFieldDateCreated": {
+ "message": "Дата создания",
+ "description": "Sort field option: when the video was created"
+ },
+ "sortFieldName": {
+ "message": "Название",
+ "description": "Sort field option: the video's title"
+ },
+ "sortFieldLength": {
+ "message": "Длительность",
+ "description": "Sort field option: the video's duration"
+ },
+ "orderNewestFirst": {
+ "message": "Сначала новые",
+ "description": "Sort order option for date fields"
+ },
+ "orderOldestFirst": {
+ "message": "Сначала старые",
+ "description": "Sort order option for date fields"
+ },
+ "orderAToZ": {
+ "message": "От А до Я",
+ "description": "Sort order option for the name field"
+ },
+ "orderZToA": {
+ "message": "От Я до А",
+ "description": "Sort order option for the name field"
+ },
+ "orderLongestFirst": {
+ "message": "Сначала длинные",
+ "description": "Sort order option for the length field"
+ },
+ "orderShortestFirst": {
+ "message": "Сначала короткие",
+ "description": "Sort order option for the length field"
},
"allVideosHeading": {
"message": "Все видео",
@@ -1225,6 +1265,32 @@
"message": "Загрузка видео...",
"description": "Label shown when videos are loading in the popup"
},
+ "loadingMoreVideosLabel": {
+ "message": "Загрузка ещё...",
+ "description": "Label shown at the bottom of the videos list while loading additional pages"
+ },
+ "searchVideosPlaceholder": {
+ "message": "Поиск видео",
+ "description": "Placeholder text for the videos search input in the popup"
+ },
+ "noVideosMatchSearchTitle": {
+ "message": "Ничего не найдено по запросу «$SEARCHTERM$»",
+ "description": "Heading shown when no videos match the current search query in the popup",
+ "placeholders": {
+ "searchterm": {
+ "content": "$1",
+ "example": "design review"
+ }
+ }
+ },
+ "noVideosMatchSearchHint": {
+ "message": "Попробуйте изменить запрос.",
+ "description": "Subtext shown under the no search results heading in the popup"
+ },
+ "privateVideoTooltip": {
+ "message": "Приватное",
+ "description": "Tooltip shown on the lock badge over a private video's thumbnail"
+ },
"goToDashboardButtonLabel": {
"message": "Перейти в панель",
"description": "Button label to go to the dashboard in the popup"
diff --git a/src/_locales/ta/messages.json b/src/_locales/ta/messages.json
index 1114aa1..ecadb03 100644
--- a/src/_locales/ta/messages.json
+++ b/src/_locales/ta/messages.json
@@ -1205,13 +1205,53 @@
"message": "இணைப்பை நகலெடுக்க முடியவில்லை",
"description": "Toast message shown when failed to copy link to clipboard"
},
- "newestSortLabel": {
- "message": "சமீபத்தியவை",
- "description": "Label for the newest sort option"
+ "sortByHeading": {
+ "message": "வரிசைப்படுத்து",
+ "description": "Section heading in the videos sort dropdown for the field being sorted on"
},
- "oldestSortLabel": {
- "message": "பழையவை",
- "description": "Label for the oldest sort option"
+ "orderHeading": {
+ "message": "வரிசை",
+ "description": "Section heading in the videos sort dropdown for the sort direction"
+ },
+ "sortFieldLastEdited": {
+ "message": "கடைசியாக திருத்தப்பட்டது",
+ "description": "Sort field option: when the video was last edited"
+ },
+ "sortFieldDateCreated": {
+ "message": "உருவாக்கப்பட்ட தேதி",
+ "description": "Sort field option: when the video was created"
+ },
+ "sortFieldName": {
+ "message": "பெயர்",
+ "description": "Sort field option: the video's title"
+ },
+ "sortFieldLength": {
+ "message": "நீளம்",
+ "description": "Sort field option: the video's duration"
+ },
+ "orderNewestFirst": {
+ "message": "சமீபத்தியவை முதலில்",
+ "description": "Sort order option for date fields"
+ },
+ "orderOldestFirst": {
+ "message": "பழையவை முதலில்",
+ "description": "Sort order option for date fields"
+ },
+ "orderAToZ": {
+ "message": "A முதல் Z வரை",
+ "description": "Sort order option for the name field"
+ },
+ "orderZToA": {
+ "message": "Z முதல் A வரை",
+ "description": "Sort order option for the name field"
+ },
+ "orderLongestFirst": {
+ "message": "நீளமானவை முதலில்",
+ "description": "Sort order option for the length field"
+ },
+ "orderShortestFirst": {
+ "message": "குறுகியவை முதலில்",
+ "description": "Sort order option for the length field"
},
"allVideosHeading": {
"message": "அனைத்து வீடியோக்கள்",
@@ -1225,6 +1265,32 @@
"message": "வீடியோக்களை ஏற்றுகிறது...",
"description": "Label shown when videos are loading in the popup"
},
+ "loadingMoreVideosLabel": {
+ "message": "மேலும் ஏற்றுகிறது...",
+ "description": "Label shown at the bottom of the videos list while loading additional pages"
+ },
+ "searchVideosPlaceholder": {
+ "message": "வீடியோக்களைத் தேடு",
+ "description": "Placeholder text for the videos search input in the popup"
+ },
+ "noVideosMatchSearchTitle": {
+ "message": "\"$SEARCHTERM$\" க்கு எதுவும் கிடைக்கவில்லை",
+ "description": "Heading shown when no videos match the current search query in the popup",
+ "placeholders": {
+ "searchterm": {
+ "content": "$1",
+ "example": "design review"
+ }
+ }
+ },
+ "noVideosMatchSearchHint": {
+ "message": "வேறு தேடல் சொல்லை முயற்சிக்கவும்.",
+ "description": "Subtext shown under the no search results heading in the popup"
+ },
+ "privateVideoTooltip": {
+ "message": "தனியுரிமை",
+ "description": "Tooltip shown on the lock badge over a private video's thumbnail"
+ },
"goToDashboardButtonLabel": {
"message": "டாஷ்போர்டுக்குச் செல்லவும்",
"description": "Button label to go to the dashboard in the popup"
diff --git a/src/_locales/tr/messages.json b/src/_locales/tr/messages.json
index 5ee25e7..f9112b1 100644
--- a/src/_locales/tr/messages.json
+++ b/src/_locales/tr/messages.json
@@ -1205,13 +1205,53 @@
"message": "Bağlantı kopyalanamadı",
"description": "Toast message shown when failed to copy link to clipboard"
},
- "newestSortLabel": {
- "message": "En yeni",
- "description": "Label for the newest sort option"
+ "sortByHeading": {
+ "message": "Sıralama ölçütü",
+ "description": "Section heading in the videos sort dropdown for the field being sorted on"
},
- "oldestSortLabel": {
- "message": "En eski",
- "description": "Label for the oldest sort option"
+ "orderHeading": {
+ "message": "Sıra",
+ "description": "Section heading in the videos sort dropdown for the sort direction"
+ },
+ "sortFieldLastEdited": {
+ "message": "Son düzenleme",
+ "description": "Sort field option: when the video was last edited"
+ },
+ "sortFieldDateCreated": {
+ "message": "Oluşturulma tarihi",
+ "description": "Sort field option: when the video was created"
+ },
+ "sortFieldName": {
+ "message": "Ad",
+ "description": "Sort field option: the video's title"
+ },
+ "sortFieldLength": {
+ "message": "Süre",
+ "description": "Sort field option: the video's duration"
+ },
+ "orderNewestFirst": {
+ "message": "Önce en yeni",
+ "description": "Sort order option for date fields"
+ },
+ "orderOldestFirst": {
+ "message": "Önce en eski",
+ "description": "Sort order option for date fields"
+ },
+ "orderAToZ": {
+ "message": "A'dan Z'ye",
+ "description": "Sort order option for the name field"
+ },
+ "orderZToA": {
+ "message": "Z'den A'ya",
+ "description": "Sort order option for the name field"
+ },
+ "orderLongestFirst": {
+ "message": "Önce en uzun",
+ "description": "Sort order option for the length field"
+ },
+ "orderShortestFirst": {
+ "message": "Önce en kısa",
+ "description": "Sort order option for the length field"
},
"allVideosHeading": {
"message": "Tüm videolar",
@@ -1225,6 +1265,32 @@
"message": "Videolar yükleniyor...",
"description": "Label shown when videos are loading in the popup"
},
+ "loadingMoreVideosLabel": {
+ "message": "Daha fazlası yükleniyor...",
+ "description": "Label shown at the bottom of the videos list while loading additional pages"
+ },
+ "searchVideosPlaceholder": {
+ "message": "Video ara",
+ "description": "Placeholder text for the videos search input in the popup"
+ },
+ "noVideosMatchSearchTitle": {
+ "message": "\"$SEARCHTERM$\" için sonuç bulunamadı",
+ "description": "Heading shown when no videos match the current search query in the popup",
+ "placeholders": {
+ "searchterm": {
+ "content": "$1",
+ "example": "design review"
+ }
+ }
+ },
+ "noVideosMatchSearchHint": {
+ "message": "Arama teriminizi değiştirmeyi deneyin.",
+ "description": "Subtext shown under the no search results heading in the popup"
+ },
+ "privateVideoTooltip": {
+ "message": "Gizli",
+ "description": "Tooltip shown on the lock badge over a private video's thumbnail"
+ },
"goToDashboardButtonLabel": {
"message": "Panel'e git",
"description": "Button label to go to the dashboard in the popup"
diff --git a/src/_locales/uk/messages.json b/src/_locales/uk/messages.json
index b946978..be8c2b5 100644
--- a/src/_locales/uk/messages.json
+++ b/src/_locales/uk/messages.json
@@ -1205,13 +1205,53 @@
"message": "Не вдалося скопіювати посилання",
"description": "Toast message shown when failed to copy link to clipboard"
},
- "newestSortLabel": {
- "message": "Останні",
- "description": "Label for the newest sort option"
+ "sortByHeading": {
+ "message": "Сортувати за",
+ "description": "Section heading in the videos sort dropdown for the field being sorted on"
},
- "oldestSortLabel": {
- "message": "Найстаріші",
- "description": "Label for the oldest sort option"
+ "orderHeading": {
+ "message": "Порядок",
+ "description": "Section heading in the videos sort dropdown for the sort direction"
+ },
+ "sortFieldLastEdited": {
+ "message": "Останнє редагування",
+ "description": "Sort field option: when the video was last edited"
+ },
+ "sortFieldDateCreated": {
+ "message": "Дата створення",
+ "description": "Sort field option: when the video was created"
+ },
+ "sortFieldName": {
+ "message": "Назва",
+ "description": "Sort field option: the video's title"
+ },
+ "sortFieldLength": {
+ "message": "Тривалість",
+ "description": "Sort field option: the video's duration"
+ },
+ "orderNewestFirst": {
+ "message": "Спочатку нові",
+ "description": "Sort order option for date fields"
+ },
+ "orderOldestFirst": {
+ "message": "Спочатку старі",
+ "description": "Sort order option for date fields"
+ },
+ "orderAToZ": {
+ "message": "Від А до Я",
+ "description": "Sort order option for the name field"
+ },
+ "orderZToA": {
+ "message": "Від Я до А",
+ "description": "Sort order option for the name field"
+ },
+ "orderLongestFirst": {
+ "message": "Спочатку довгі",
+ "description": "Sort order option for the length field"
+ },
+ "orderShortestFirst": {
+ "message": "Спочатку короткі",
+ "description": "Sort order option for the length field"
},
"allVideosHeading": {
"message": "Усі відео",
@@ -1225,6 +1265,32 @@
"message": "Завантаження відео...",
"description": "Label shown when videos are loading in the popup"
},
+ "loadingMoreVideosLabel": {
+ "message": "Завантаження ще...",
+ "description": "Label shown at the bottom of the videos list while loading additional pages"
+ },
+ "searchVideosPlaceholder": {
+ "message": "Пошук відео",
+ "description": "Placeholder text for the videos search input in the popup"
+ },
+ "noVideosMatchSearchTitle": {
+ "message": "Нічого не знайдено за запитом «$SEARCHTERM$»",
+ "description": "Heading shown when no videos match the current search query in the popup",
+ "placeholders": {
+ "searchterm": {
+ "content": "$1",
+ "example": "design review"
+ }
+ }
+ },
+ "noVideosMatchSearchHint": {
+ "message": "Спробуйте змінити пошуковий запит.",
+ "description": "Subtext shown under the no search results heading in the popup"
+ },
+ "privateVideoTooltip": {
+ "message": "Приватне",
+ "description": "Tooltip shown on the lock badge over a private video's thumbnail"
+ },
"goToDashboardButtonLabel": {
"message": "Перейти до панелі",
"description": "Button label to go to the dashboard in the popup"
diff --git a/src/_locales/zh_CN/messages.json b/src/_locales/zh_CN/messages.json
index 138e272..afa52ba 100644
--- a/src/_locales/zh_CN/messages.json
+++ b/src/_locales/zh_CN/messages.json
@@ -1201,13 +1201,53 @@
"message": "复制链接失败",
"description": "Toast message shown when failed to copy link to clipboard"
},
- "newestSortLabel": {
- "message": "最新",
- "description": "Label for the newest sort option"
+ "sortByHeading": {
+ "message": "排序方式",
+ "description": "Section heading in the videos sort dropdown for the field being sorted on"
},
- "oldestSortLabel": {
- "message": "最早",
- "description": "Label for the oldest sort option"
+ "orderHeading": {
+ "message": "顺序",
+ "description": "Section heading in the videos sort dropdown for the sort direction"
+ },
+ "sortFieldLastEdited": {
+ "message": "最近编辑",
+ "description": "Sort field option: when the video was last edited"
+ },
+ "sortFieldDateCreated": {
+ "message": "创建日期",
+ "description": "Sort field option: when the video was created"
+ },
+ "sortFieldName": {
+ "message": "名称",
+ "description": "Sort field option: the video's title"
+ },
+ "sortFieldLength": {
+ "message": "时长",
+ "description": "Sort field option: the video's duration"
+ },
+ "orderNewestFirst": {
+ "message": "最新在前",
+ "description": "Sort order option for date fields"
+ },
+ "orderOldestFirst": {
+ "message": "最早在前",
+ "description": "Sort order option for date fields"
+ },
+ "orderAToZ": {
+ "message": "A 到 Z",
+ "description": "Sort order option for the name field"
+ },
+ "orderZToA": {
+ "message": "Z 到 A",
+ "description": "Sort order option for the name field"
+ },
+ "orderLongestFirst": {
+ "message": "最长在前",
+ "description": "Sort order option for the length field"
+ },
+ "orderShortestFirst": {
+ "message": "最短在前",
+ "description": "Sort order option for the length field"
},
"allVideosHeading": {
"message": "所有视频",
@@ -1221,6 +1261,32 @@
"message": "正在加载视频…",
"description": "Label shown when videos are loading in the popup"
},
+ "loadingMoreVideosLabel": {
+ "message": "正在加载更多…",
+ "description": "Label shown at the bottom of the videos list while loading additional pages"
+ },
+ "searchVideosPlaceholder": {
+ "message": "搜索视频",
+ "description": "Placeholder text for the videos search input in the popup"
+ },
+ "noVideosMatchSearchTitle": {
+ "message": "未找到与\"$SEARCHTERM$\"相关的内容",
+ "description": "Heading shown when no videos match the current search query in the popup",
+ "placeholders": {
+ "searchterm": {
+ "content": "$1",
+ "example": "design review"
+ }
+ }
+ },
+ "noVideosMatchSearchHint": {
+ "message": "请尝试更换搜索词。",
+ "description": "Subtext shown under the no search results heading in the popup"
+ },
+ "privateVideoTooltip": {
+ "message": "私密",
+ "description": "Tooltip shown on the lock badge over a private video's thumbnail"
+ },
"goToDashboardButtonLabel": {
"message": "前往控制面板",
"description": "Button label to go to the dashboard in the popup"
diff --git a/src/_locales/zh_TW/messages.json b/src/_locales/zh_TW/messages.json
index f3f01df..e48c152 100644
--- a/src/_locales/zh_TW/messages.json
+++ b/src/_locales/zh_TW/messages.json
@@ -1205,13 +1205,53 @@
"message": "無法複製連結",
"description": "Toast message shown when failed to copy link to clipboard"
},
- "newestSortLabel": {
- "message": "最新",
- "description": "Label for the newest sort option"
+ "sortByHeading": {
+ "message": "排序方式",
+ "description": "Section heading in the videos sort dropdown for the field being sorted on"
},
- "oldestSortLabel": {
- "message": "最舊",
- "description": "Label for the oldest sort option"
+ "orderHeading": {
+ "message": "順序",
+ "description": "Section heading in the videos sort dropdown for the sort direction"
+ },
+ "sortFieldLastEdited": {
+ "message": "最近編輯",
+ "description": "Sort field option: when the video was last edited"
+ },
+ "sortFieldDateCreated": {
+ "message": "建立日期",
+ "description": "Sort field option: when the video was created"
+ },
+ "sortFieldName": {
+ "message": "名稱",
+ "description": "Sort field option: the video's title"
+ },
+ "sortFieldLength": {
+ "message": "長度",
+ "description": "Sort field option: the video's duration"
+ },
+ "orderNewestFirst": {
+ "message": "最新在前",
+ "description": "Sort order option for date fields"
+ },
+ "orderOldestFirst": {
+ "message": "最舊在前",
+ "description": "Sort order option for date fields"
+ },
+ "orderAToZ": {
+ "message": "A 到 Z",
+ "description": "Sort order option for the name field"
+ },
+ "orderZToA": {
+ "message": "Z 到 A",
+ "description": "Sort order option for the name field"
+ },
+ "orderLongestFirst": {
+ "message": "最長在前",
+ "description": "Sort order option for the length field"
+ },
+ "orderShortestFirst": {
+ "message": "最短在前",
+ "description": "Sort order option for the length field"
},
"allVideosHeading": {
"message": "所有影片",
@@ -1225,6 +1265,32 @@
"message": "正在載入影片...",
"description": "Label shown when videos are loading in the popup"
},
+ "loadingMoreVideosLabel": {
+ "message": "正在載入更多...",
+ "description": "Label shown at the bottom of the videos list while loading additional pages"
+ },
+ "searchVideosPlaceholder": {
+ "message": "搜尋影片",
+ "description": "Placeholder text for the videos search input in the popup"
+ },
+ "noVideosMatchSearchTitle": {
+ "message": "找不到與「$SEARCHTERM$」相關的內容",
+ "description": "Heading shown when no videos match the current search query in the popup",
+ "placeholders": {
+ "searchterm": {
+ "content": "$1",
+ "example": "design review"
+ }
+ }
+ },
+ "noVideosMatchSearchHint": {
+ "message": "請嘗試調整搜尋字詞。",
+ "description": "Subtext shown under the no search results heading in the popup"
+ },
+ "privateVideoTooltip": {
+ "message": "私密",
+ "description": "Tooltip shown on the lock badge over a private video's thumbnail"
+ },
"goToDashboardButtonLabel": {
"message": "前往儀表板",
"description": "Button label to go to the dashboard in the popup"
diff --git a/src/assets/close.svg b/src/assets/close.svg
new file mode 100644
index 0000000..bf9c021
--- /dev/null
+++ b/src/assets/close.svg
@@ -0,0 +1,4 @@
+<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M10.5 3.5L3.5 10.5" stroke="#6E7684" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
+<path d="M3.5 3.5L10.5 10.5" stroke="#6E7684" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
+</svg>
diff --git a/src/assets/empty-search.svg b/src/assets/empty-search.svg
new file mode 100644
index 0000000..f079e2e
--- /dev/null
+++ b/src/assets/empty-search.svg
@@ -0,0 +1,6 @@
+<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#6E7684" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg">
+<path d="m13.5 8.5-5 5"/>
+<path d="m8.5 8.5 5 5"/>
+<circle cx="11" cy="11" r="8"/>
+<path d="m21 21-4.3-4.3"/>
+</svg>
diff --git a/src/assets/empty-videos.svg b/src/assets/empty-videos.svg
new file mode 100644
index 0000000..84df7d4
--- /dev/null
+++ b/src/assets/empty-videos.svg
@@ -0,0 +1,5 @@
+<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#6E7684" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg">
+<path d="M9 10h.01"/>
+<path d="M15 10h.01"/>
+<path d="M12 2a8 8 0 0 0-8 8v12l3-3 2.5 2.5L12 19l2.5 2.5L17 19l3 3V10a8 8 0 0 0-8-8z"/>
+</svg>
diff --git a/src/assets/lock.svg b/src/assets/lock.svg
new file mode 100644
index 0000000..606ca89
--- /dev/null
+++ b/src/assets/lock.svg
@@ -0,0 +1,4 @@
+<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M3.75 5.25V3.75C3.75 2.50736 4.75736 1.5 6 1.5C7.24264 1.5 8.25 2.50736 8.25 3.75V5.25" stroke="#6E7684" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round"/>
+<rect x="2.6" y="5.25" width="6.8" height="5.25" rx="1.3" stroke="#6E7684" stroke-width="1.2"/>
+</svg>
diff --git a/src/assets/search.svg b/src/assets/search.svg
new file mode 100644
index 0000000..92835fb
--- /dev/null
+++ b/src/assets/search.svg
@@ -0,0 +1,4 @@
+<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
+<circle cx="6.41667" cy="6.41667" r="4.08333" stroke="#6E7684" stroke-width="1.5"/>
+<path d="M12.25 12.25L9.70834 9.70834" stroke="#6E7684" stroke-width="1.5" stroke-linecap="round"/>
+</svg>
diff --git a/src/manifest.json b/src/manifest.json
index 624d85b..fc8ac4e 100755
--- a/src/manifest.json
+++ b/src/manifest.json
@@ -3,7 +3,7 @@
"name": "__MSG_extName__",
"description": "__MSG_extDesc__",
"default_locale": "en",
- "version": "4.6.10",
+ "version": "4.6.11",
"background": {
"service_worker": "background.bundle.js"
},
diff --git a/src/pages/Background/messaging/handlers.js b/src/pages/Background/messaging/handlers.js
index e69bf52..e27a2f6 100644
--- a/src/pages/Background/messaging/handlers.js
+++ b/src/pages/Background/messaging/handlers.js
@@ -529,21 +529,22 @@ const handleFetchVideos = async (message) => {
const pageSize = message.pageSize || 12;
const sort = message.sort || "newest";
const filter = message.filter || "all";
+ const query = message.query || "";
const token = await chrome.storage.local
.get("screenityToken")
.then((r) => r.screenityToken);
- const res = await fetch(
- `${API_BASE}/videos?page=${page}&pageSize=${pageSize}&sort=${sort}&filter=${filter}`,
- {
- method: "GET",
- headers: {
- Authorization: `Bearer ${token}`,
- },
- credentials: "include",
+ const params = new URLSearchParams({ page, pageSize, sort, filter });
+ if (query) params.set("query", query);
+
+ const res = await fetch(`${API_BASE}/videos?${params.toString()}`, {
+ method: "GET",
+ headers: {
+ Authorization: `Bearer ${token}`,
},
- );
+ credentials: "include",
+ });
const result = await res.json();
@@ -1546,6 +1547,32 @@ export const setupHandlers = () => {
});
registerMessage("set-mic-active-tab", (message) => setMicActiveTab(message));
+ // Fires before background dispatch begins: the only trace of an attempt a
+ // pre-dispatch gate (quota, permissions, memory) bails on. Skipped for
+ // anonymous users too, like the dispatch-time beacon, to avoid 401 spam.
+ registerMessage("recording-click-beacon", (message) => {
+ // recordingAttemptId is generated fresh in startRecording.js, unrelated
+ // to this clickId, so stash it here for that beacon to pick up and
+ // join the two server-side. See its read of pendingClickBeacon.
+ if (message?.clickId) {
+ chrome.storage.local.set({
+ pendingClickBeacon: { clickId: message.clickId, at: Date.now() },
+ });
+ }
+ void (async () => {
+ try {
+ const { screenityToken } = await chrome.storage.local.get([
+ "screenityToken",
+ ]);
+ if (!screenityToken) return;
+ await emitRecordingTelemetry("recording_click_beacon", {
+ recordingSessionId: message?.clickId,
+ recordingType: message?.recordingType || null,
+ });
+ } catch {}
+ })();
+ });
+
registerMessage("diag-countdown-started", () => {
diagEvent("countdown-started");
// countdown started means stream setup is done; extend the fallback window
@@ -1686,6 +1713,18 @@ export const setupHandlers = () => {
registerMessage("on-get-permissions", (message) =>
handleOnGetPermissions(message),
);
+ // Relays the permissions.html <-> content script handshake within a single
+ // tab. Only chrome.runtime (content scripts + extension pages) can reach
+ // this, unlike window.postMessage which any embedding page could forge.
+ const relayToSenderTab = (message, sender) => {
+ if (sender?.tab?.id != null) {
+ sendMessageTab(sender.tab.id, message).catch(() => {});
+ }
+ };
+ registerMessage("screenity-get-permissions", relayToSenderTab);
+ registerMessage("screenity-permissions-loaded", relayToSenderTab);
+ registerMessage("screenity-site-policy", relayToSenderTab);
+ registerMessage("screenity-permissions", relayToSenderTab);
registerMessage(
"recording-complete",
async (message, sender) => {
diff --git a/src/pages/Background/recording/emitRecordingTelemetry.js b/src/pages/Background/recording/emitRecordingTelemetry.js
index 92388fd..61c6add 100644
--- a/src/pages/Background/recording/emitRecordingTelemetry.js
+++ b/src/pages/Background/recording/emitRecordingTelemetry.js
@@ -51,10 +51,12 @@ export const emitRecordingTelemetry = async (eventType, extra = {}) => {
const screenUploader = session?.tracks?.screen?.uploader || null;
const cameraUploader = session?.tracks?.camera?.uploader || null;
- // The early beacon fires before this attempt has a session doc, so a
+ // The early beacons fire before this attempt has a session doc, so a
// recorderSession in storage is the prior recording's. Skip the fallback
// so we don't tag the beacon with a stale mediaId.
- const isEarlyBeacon = eventType === "recording_initiated_beacon";
+ const isEarlyBeacon =
+ eventType === "recording_initiated_beacon" ||
+ eventType === "recording_click_beacon";
const mediaId =
extra.mediaId ||
(isEarlyBeacon
diff --git a/src/pages/Background/recording/recordingHelpers.js b/src/pages/Background/recording/recordingHelpers.js
index 303b156..81b68c1 100644
--- a/src/pages/Background/recording/recordingHelpers.js
+++ b/src/pages/Background/recording/recordingHelpers.js
@@ -14,6 +14,7 @@ import { perfMark, perfSpan } from "../../utils/perfMarks";
import { classifyError } from "../../utils/errorCodes";
import { resetWatchdogState } from "./resetWatchdogState";
import { sweepRecorderTabs } from "./sweepRecorderTabs";
+import { emitRecordingTelemetry } from "./emitRecordingTelemetry";
// Mirrors CloudRecorder.appendUploadTelemetryEvent so BG-side projectId mutations
// land in the same `cloudUploadTelemetryEvents` storage key surfaced by
@@ -176,12 +177,14 @@ export const handleRecordingError = async (request) => {
projectId: projectIdBeforeClear,
sceneId: sceneIdBeforeClear,
recordingAttemptId: attemptIdAtClear,
+ uploadMeta: uploadMetaAtClear,
} = await chrome.storage.local.get([
"multiMode",
"multiSceneCount",
"projectId",
"sceneId",
"recordingAttemptId",
+ "uploadMeta",
]);
const preserveMultiProject =
Boolean(multiMode) && Number(multiSceneCount) > 0;
@@ -237,6 +240,23 @@ export const handleRecordingError = async (request) => {
errorCode,
recordingAttemptId: attemptIdAtClear || null,
});
+ // Local write above never leaves the machine except in a manual zip
+ // export. Send it over the network too (server allowlist has no from/to;
+ // reason/errCode/errMsg carry that) into this take's own upload_sessions doc.
+ const mediaIdAtClear =
+ uploadMetaAtClear?.screen?.mediaId ||
+ uploadMetaAtClear?.camera?.mediaId ||
+ null;
+ void emitRecordingTelemetry("project_state_change", {
+ recordingId: mediaIdAtClear || undefined,
+ mediaId: mediaIdAtClear,
+ projectId: projectIdBeforeClear,
+ sceneId: sceneIdBeforeClear || null,
+ reason: "bg-recording-error",
+ outcome: "project_cleared",
+ errCode: errorCode || undefined,
+ errMsg: request?.why || request?.error || undefined,
+ });
}
chrome.runtime.sendMessage({ type: "turn-off-pip" }).catch(() => {});
diff --git a/src/pages/Background/recording/startRecording.js b/src/pages/Background/recording/startRecording.js
index d1880b2..45e82e2 100644
--- a/src/pages/Background/recording/startRecording.js
+++ b/src/pages/Background/recording/startRecording.js
@@ -399,13 +399,23 @@ const _startRecordingInner = async (caller) => {
"cameraActive",
"micActive",
"recordedTabDomain",
+ "pendingClickBeacon",
]),
chrome.tabs.query({}).catch(() => []),
chrome.windows.getAll({}).catch(() => []),
]);
const userObj = extras?.screenityUser || null;
+ // Single-use: consume it here so a stale click never gets attributed
+ // to a later, unrelated start (keyboard shortcut, restart, etc).
+ chrome.storage.local.remove(["pendingClickBeacon"]);
+ const pendingClick = extras?.pendingClickBeacon;
+ const clickId =
+ pendingClick && Date.now() - pendingClick.at < 30000
+ ? pendingClick.clickId
+ : null;
await emitRecordingTelemetry("recording_initiated_beacon", {
recordingSessionId: recordingAttemptId,
+ clickId,
userIdHint: userObj?._id || userObj?.id || null,
userAgentFull:
typeof navigator !== "undefined" && navigator.userAgent
diff --git a/src/pages/CloudRecorder/CloudRecorder.jsx b/src/pages/CloudRecorder/CloudRecorder.jsx
index a4c1c19..b80165b 100644
--- a/src/pages/CloudRecorder/CloudRecorder.jsx
+++ b/src/pages/CloudRecorder/CloudRecorder.jsx
@@ -984,6 +984,15 @@ const CloudRecorder = () => {
typeof eventPayload.siblingProgressing === "boolean"
? eventPayload.siblingProgressing
: null,
+ // isPaused true + patchAttempts 0 means processQueue never ran, not a hung PATCH.
+ isPaused:
+ typeof eventPayload.isPaused === "boolean"
+ ? eventPayload.isPaused
+ : null,
+ isFinalizing:
+ typeof eventPayload.isFinalizing === "boolean"
+ ? eventPayload.isFinalizing
+ : null,
resUrlMatches:
typeof eventPayload.resUrlMatches === "boolean"
? eventPayload.resUrlMatches
@@ -3151,6 +3160,7 @@ const CloudRecorder = () => {
uploaderStatus: uploader.status || null,
errorCode: uploader.lastErrorCode || null,
isPaused: Boolean(uploader.isPaused),
+ isFinalizing: Boolean(uploader.isFinalizing),
});
// Same action the online handler takes. resume() restarts processQueue
// and, on a recoverable error, the heartbeat that HEAD-resyncs.
diff --git a/src/pages/Content/Content.jsx b/src/pages/Content/Content.jsx
index 7411b1f..8ab55c5 100644
--- a/src/pages/Content/Content.jsx
+++ b/src/pages/Content/Content.jsx
@@ -12,6 +12,7 @@ const Content = () => {
</ContentState>
<style type="text/css">{`
#screenity-ui, #screenity-ui div {
+ opacity: unset;
background-color: unset;
padding: unset;
width: unset;
diff --git a/src/pages/Content/Wrapper.jsx b/src/pages/Content/Wrapper.jsx
index d1a3570..7d3d217 100644
--- a/src/pages/Content/Wrapper.jsx
+++ b/src/pages/Content/Wrapper.jsx
@@ -276,12 +276,9 @@ const Wrapper = () => {
let timer = null;
const request = () => {
- permissionsRef.current?.contentWindow?.postMessage(
- {
- type: "screenity-get-permissions",
- },
- "*"
- );
+ chrome.runtime.sendMessage({
+ type: "screenity-get-permissions",
+ });
attempts += 1;
timer = setTimeout(retry, 1200 * attempts);
};
diff --git a/src/pages/Content/context/ContentState.jsx b/src/pages/Content/context/ContentState.jsx
index d1d7bec..a0accad 100644
--- a/src/pages/Content/context/ContentState.jsx
+++ b/src/pages/Content/context/ContentState.jsx
@@ -641,15 +641,28 @@ const ContentState = (props) => {
}
const attemptId = `ra-${Date.now().toString(36)}-${Math.random().toString(36).slice(2, 8)}`;
+ const isPro = Boolean(
+ contentStateRef.current.isLoggedIn &&
+ contentStateRef.current.isSubscribed &&
+ CLOUD_FEATURES_ENABLED,
+ );
await initStartFlowTrace(attemptId, {
recordingType: contentStateRef.current.recordingType,
- isPro: Boolean(
- contentStateRef.current.isLoggedIn &&
- contentStateRef.current.isSubscribed &&
- CLOUD_FEATURES_ENABLED,
- ),
+ isPro,
countdown: Boolean(contentStateRef.current.countdown),
});
+ // Fired before the gates below (quota, permissions, memory) can bail,
+ // and those gates leave no other trace either side. Only signal that a
+ // pro user clicked Start on an attempt that never reached dispatch.
+ if (isPro) {
+ chrome.runtime
+ .sendMessage({
+ type: "recording-click-beacon",
+ clickId: attemptId,
+ recordingType: contentStateRef.current.recordingType,
+ })
+ .catch(() => {});
+ }
traceStep("startStreaming");
perfReset();
perfMark("Content startStreaming.click", {
@@ -1168,22 +1181,26 @@ const ContentState = (props) => {
});
useEffect(() => {
- const handleMessage = (event) => {
- if (event.data.type === "screenity-permissions") {
- handleDevicePermissions(event.data);
- } else if (event.data.type === "screenity-permissions-loaded") {
+ const handleMessage = (message, sender) => {
+ // sender.tab is only unset when the background relayed this (see
+ // relayToSenderTab); a direct broadcast carries the sending tab and
+ // may be another tab's permissions iframe, not ours.
+ if (sender?.tab) return;
+ if (message.type === "screenity-permissions") {
+ handleDevicePermissions(message);
+ } else if (message.type === "screenity-permissions-loaded") {
setContentState((prevContentState) => ({
...prevContentState,
permissionsLoaded: true,
}));
- } else if (event.data.type === "screenity-site-policy") {
+ } else if (message.type === "screenity-site-policy") {
// Accurate host-page Permissions-Policy read from the cross-origin
// permissions.html iframe: feature=(self) (e.g. facebook.com) blocks
// our iframe even though the top-page probe above sees it as allowed.
const camMicBlocked =
- event.data.cameraAllowed === false ||
- event.data.microphoneAllowed === false;
- const displayBlocked = event.data.displayCaptureAllowed === false;
+ message.cameraAllowed === false ||
+ message.microphoneAllowed === false;
+ const displayBlocked = message.displayCaptureAllowed === false;
setContentState((prevContentState) => ({
...prevContentState,
sitePermissionsBlocked:
@@ -1194,10 +1211,10 @@ const ContentState = (props) => {
}
};
- window.addEventListener("message", handleMessage);
+ chrome.runtime.onMessage.addListener(handleMessage);
return () => {
- window.removeEventListener("message", handleMessage);
+ chrome.runtime.onMessage.removeListener(handleMessage);
};
}, []);
diff --git a/src/pages/Content/images/popup/images.js b/src/pages/Content/images/popup/images.js
index f91a632..014d8cd 100644
--- a/src/pages/Content/images/popup/images.js
+++ b/src/pages/Content/images/popup/images.js
@@ -30,6 +30,11 @@ const TempMarketing = `${URL}/temp/marketing.webp`;
const TempSubstack = `${URL}/temp/substack.webp`;
const CopyLinkIcon = `${URL}/copy-link.svg`;
const MoreActionsIcon = `${URL}/more-actions.svg`;
+const LockIcon = `${URL}/lock.svg`;
+const SearchIcon = `${URL}/search.svg`;
+const SearchCloseIcon = `${URL}/close.svg`;
+const EmptySearchIcon = `${URL}/empty-search.svg`;
+const EmptyVideosIcon = `${URL}/empty-videos.svg`;
const ProfilePic = `${URL}/pfp.png`;
const HandleControl = `${URL}/canvas/handle.png`;
const RotateControl = `${URL}/canvas/rotate.png`;
@@ -72,6 +77,11 @@ export {
TempSubstack,
CopyLinkIcon,
MoreActionsIcon,
+ LockIcon,
+ SearchIcon,
+ SearchCloseIcon,
+ EmptySearchIcon,
+ EmptyVideosIcon,
ProfilePic,
HandleControl,
RotateControl,
diff --git a/src/pages/Content/popup/components/VideoItem.jsx b/src/pages/Content/popup/components/VideoItem.jsx
index c425b72..68e1600 100644
--- a/src/pages/Content/popup/components/VideoItem.jsx
+++ b/src/pages/Content/popup/components/VideoItem.jsx
@@ -1,8 +1,12 @@
import React from "react";
-import { CopyLinkIcon, MoreActionsIcon } from "../../images/popup/images";
+import {
+ CopyLinkIcon,
+ MoreActionsIcon,
+ LockIcon,
+} from "../../images/popup/images";
-const VideoItem = ({ title, date, thumbnail, onOpen, onCopyLink }) => {
+const VideoItem = ({ title, date, thumbnail, isPublic, onOpen, onCopyLink }) => {
const formatRelativeTime = (timestamp) => {
const now = new Date();
const then = new Date(timestamp);
@@ -45,20 +49,22 @@ const VideoItem = ({ title, date, thumbnail, onOpen, onCopyLink }) => {
>
<div className="video-item">
<div className="video-item-left">
- {/*
- Need a better way to handle thumbnails - proxy from server?
-
- <div
- className="video-item-thumbnail"
- style={{
- backgroundImage: `url(${thumbnail})`,
- backgroundSize: "cover",
- backgroundPosition: "center",
- }}
- ></div> */}
+ {thumbnail && (
+ <div className="video-item-thumbnail">
+ <img src={thumbnail} alt="" loading="lazy" decoding="async" />
+ </div>
+ )}
<div className="video-item-info">
<div className="video-item-info-title">{title}</div>
<div className="video-item-info-date">
+ {isPublic === false && (
+ <img
+ className="video-item-lock"
+ src={LockIcon}
+ alt={chrome.i18n.getMessage("privateVideoTooltip")}
+ title={chrome.i18n.getMessage("privateVideoTooltip")}
+ />
+ )}
{formatRelativeTime(date)}
</div>
</div>
diff --git a/src/pages/Content/popup/layout/VideosTab.jsx b/src/pages/Content/popup/layout/VideosTab.jsx
index 6e8db5a..d955258 100644
--- a/src/pages/Content/popup/layout/VideosTab.jsx
+++ b/src/pages/Content/popup/layout/VideosTab.jsx
@@ -6,7 +6,14 @@ import { useContext } from "react";
import { contentStateContext } from "../../context/ContentState";
import * as DropdownMenu from "@radix-ui/react-dropdown-menu";
-import { DropdownIcon, CheckWhiteIcon } from "../../images/popup/images";
+import {
+ DropdownIcon,
+ CheckWhiteIcon,
+ SearchIcon,
+ SearchCloseIcon,
+ EmptySearchIcon,
+ EmptyVideosIcon,
+} from "../../images/popup/images";
import {
TempTwitter,
@@ -19,6 +26,57 @@ import {
const CLOUD_FEATURES_ENABLED =
process.env.SCREENITY_ENABLE_CLOUD_FEATURES === "true";
+// Sort is two decisions: which field, then which direction. field:direction
+// maps to the sort key the videos API already understands (mirrors the
+// dashboard's lib/dashboard/sortOptions.js).
+const SORT_KEYS = {
+ "lastSavedAt:desc": "newest",
+ "lastSavedAt:asc": "leastRecentlyEdited",
+ "createdAt:desc": "created",
+ "createdAt:asc": "oldest",
+ "title:asc": "alphabetical",
+ "title:desc": "reverse-alphabetical",
+ "duration:desc": "longest",
+ "duration:asc": "shortest",
+};
+const SORT_PAIRS = Object.fromEntries(
+ Object.entries(SORT_KEYS).map(([pair, key]) => [key, pair])
+);
+const parseSort = (sortBy) => {
+ const [field, direction] = (SORT_PAIRS[sortBy] || SORT_PAIRS.newest).split(
+ ":"
+ );
+ return { field, direction };
+};
+const sortKeyFor = (field, direction) => SORT_KEYS[`${field}:${direction}`];
+const defaultDirectionFor = (field) => (field === "title" ? "asc" : "desc");
+
+const SORT_FIELDS = [
+ { value: "lastSavedAt", label: chrome.i18n.getMessage("sortFieldLastEdited") },
+ { value: "createdAt", label: chrome.i18n.getMessage("sortFieldDateCreated") },
+ { value: "title", label: chrome.i18n.getMessage("sortFieldName") },
+ { value: "duration", label: chrome.i18n.getMessage("sortFieldLength") },
+];
+
+const ORDER_OPTIONS = {
+ lastSavedAt: [
+ { value: "desc", label: chrome.i18n.getMessage("orderNewestFirst") },
+ { value: "asc", label: chrome.i18n.getMessage("orderOldestFirst") },
+ ],
+ createdAt: [
+ { value: "desc", label: chrome.i18n.getMessage("orderNewestFirst") },
+ { value: "asc", label: chrome.i18n.getMessage("orderOldestFirst") },
+ ],
+ title: [
+ { value: "asc", label: chrome.i18n.getMessage("orderAToZ") },
+ { value: "desc", label: chrome.i18n.getMessage("orderZToA") },
+ ],
+ duration: [
+ { value: "desc", label: chrome.i18n.getMessage("orderLongestFirst") },
+ { value: "asc", label: chrome.i18n.getMessage("orderShortestFirst") },
+ ],
+};
+
const VideosTab = (props) => {
const [videos, setVideos] = useState([]);
const [loading, setLoading] = useState(false);
@@ -35,9 +93,24 @@ const VideosTab = (props) => {
const PAGE_SIZE = 8;
const sortBy = contentState.sortBy || "newest";
const filter = "all";
+ const { field: sortField, direction: sortDirection } = parseSort(sortBy);
+ const [searchOpen, setSearchOpen] = useState(false);
+ const [searchInput, setSearchInput] = useState("");
+ const [query, setQuery] = useState("");
const lastFetchTimeRef = useRef(0);
+ const retryTimerRef = useRef(null);
const FETCH_COOLDOWN_MS = 1500;
+ const SEARCH_DEBOUNCE_MS = 250;
+
+ useEffect(() => {
+ const timer = setTimeout(() => {
+ setQuery(searchInput.trim());
+ }, SEARCH_DEBOUNCE_MS);
+ return () => clearTimeout(timer);
+ }, [searchInput]);
+
+ useEffect(() => () => clearTimeout(retryTimerRef.current), []);
useEffect(() => {
if (!CLOUD_FEATURES_ENABLED) {
@@ -52,15 +125,15 @@ const VideosTab = (props) => {
// Hydrate fetchedPagesRef with cached keys
fetchedPagesRef.current = new Set(Object.keys(videoCacheRef.current));
- // Collect all cached videos for current sort
const matchingKeys = Object.keys(videoCacheRef.current).filter((key) =>
- key.startsWith(`${sortBy}-`)
+ key.startsWith(`${sortBy}-${filter}-${query}-`)
);
- // Sort by page number (e.g. newest-0, newest-1, newest-2...)
+ // Key is `${sortBy}-${filter}-${query}-${page}`, and sortBy/query can
+ // contain hyphens themselves, so the page is the last segment, not the nth.
const sortedKeys = matchingKeys.sort((a, b) => {
- const aPage = parseInt(a.split("-")[1], 10);
- const bPage = parseInt(b.split("-")[1], 10);
+ const aPage = parseInt(a.slice(a.lastIndexOf("-") + 1), 10);
+ const bPage = parseInt(b.slice(b.lastIndexOf("-") + 1), 10);
return aPage - bPage;
});
@@ -99,7 +172,7 @@ const VideosTab = (props) => {
fetchedPagesRef.current = new Set();
fetchVideos();
}
- }, [sortBy]);
+ }, [sortBy, filter, query]);
const fetchVideos = useCallback(async () => {
if (!CLOUD_FEATURES_ENABLED) {
@@ -107,20 +180,28 @@ const VideosTab = (props) => {
return;
}
+ if (!contentState.isSubscribed || loading || !hasMore) {
+ return;
+ }
+
+ // Cancel any stale retry (scheduled by an older sortBy/filter/query
+ // closure) so it can't fire after this newer call has already run.
+ clearTimeout(retryTimerRef.current);
+
const now = Date.now();
+ const cooldownRemaining =
+ FETCH_COOLDOWN_MS - (now - lastFetchTimeRef.current);
- if (
- !contentState.isSubscribed ||
- loading ||
- !hasMore ||
- now - lastFetchTimeRef.current < FETCH_COOLDOWN_MS
- ) {
+ if (cooldownRemaining > 0) {
+ // Otherwise a sort/filter/query change landing inside the cooldown
+ // window is dropped with nothing left to wake the list back up.
+ retryTimerRef.current = setTimeout(fetchVideos, cooldownRemaining);
return;
}
lastFetchTimeRef.current = now;
- const cacheKey = `${sortBy}-${pageRef.current}`;
+ const cacheKey = `${sortBy}-${filter}-${query}-${pageRef.current}`;
if (fetchedPagesRef.current.has(cacheKey)) return;
fetchedPagesRef.current.add(cacheKey);
setLoading(true);
@@ -145,6 +226,7 @@ const VideosTab = (props) => {
pageSize: PAGE_SIZE,
sort: sortBy,
filter,
+ query,
});
if (!response?.success) {
@@ -175,7 +257,7 @@ const VideosTab = (props) => {
} finally {
setLoading(false);
}
- }, [loading, hasMore, contentState.isSubscribed, sortBy]);
+ }, [loading, hasMore, contentState.isSubscribed, sortBy, filter, query]);
// useEffect(() => {
// if (contentState.isSubscribed) {
@@ -248,13 +330,20 @@ const VideosTab = (props) => {
});
}, []);
- const sortLabelMap = {
- newest: chrome.i18n.getMessage("newestSortLabel"),
- oldest: chrome.i18n.getMessage("oldestSortLabel"),
- alphabetical: "A–Z",
- "reverse-alphabetical": "Z–A",
+ const closeSearch = () => {
+ setSearchOpen(false);
+ setSearchInput("");
};
+ const setSortBy = (value) => {
+ setContentState((prev) => ({ ...prev, sortBy: value }));
+ chrome.storage.local.set({ sortBy: value });
+ };
+
+ const currentFieldLabel =
+ SORT_FIELDS.find((f) => f.value === sortField)?.label ||
+ SORT_FIELDS[0].label;
+
return (
<div
className={contentState.isSubscribed ? "video-ui" : "video-ui blurred"}
@@ -330,75 +419,126 @@ const VideosTab = (props) => {
</div>
</Tabs.Trigger> */}
</div>
- <DropdownMenu.Root>
- <DropdownMenu.Trigger asChild>
- <button className="TabsSort" aria-label="Sort videos">
- <div className="TabsSortLabel">
- {sortLabelMap[sortBy] || "Sort"} <img src={DropdownIcon} />
- </div>
- </button>
- </DropdownMenu.Trigger>
-
- <DropdownMenu.Portal
- container={props.shadowRef.current.shadowRoot.querySelector(
- ".container"
- )}
- >
- <DropdownMenu.Content
- className="DropdownMenuContent"
- sideOffset={4}
- align="end"
- >
- <DropdownMenu.RadioGroup
- value={sortBy}
- onValueChange={(value) => {
- setContentState((prev) => ({ ...prev, sortBy: value }));
- chrome.storage.local.set({ sortBy: value });
+ <div
+ className={
+ searchOpen ? "TabsListActions searching" : "TabsListActions"
+ }
+ >
+ {searchOpen ? (
+ <div className="TabsSearchInline">
+ <img src={SearchIcon} alt="" />
+ <input
+ type="text"
+ className="TabsSearchInput"
+ placeholder={chrome.i18n.getMessage(
+ "searchVideosPlaceholder"
+ )}
+ value={searchInput}
+ onChange={(e) => setSearchInput(e.target.value)}
+ onKeyDown={(e) => {
+ // Google and others focus their own search box on any
+ // keystroke that reaches the page, stealing what we type.
+ e.stopPropagation();
+ if (e.key === "Escape") closeSearch();
}}
+ onKeyUp={(e) => e.stopPropagation()}
+ onKeyPress={(e) => e.stopPropagation()}
+ autoFocus
+ />
+ <button
+ type="button"
+ className="TabsIconButton"
+ aria-label="Close search"
+ onClick={closeSearch}
>
- <DropdownMenu.RadioItem
- className="DropdownMenuItem"
- value="newest"
- >
- {chrome.i18n.getMessage("newestSortLabel")}
- <DropdownMenu.ItemIndicator className="ItemIndicator">
- <img src={CheckWhiteIcon} />
- </DropdownMenu.ItemIndicator>
- </DropdownMenu.RadioItem>
-
- <DropdownMenu.RadioItem
- className="DropdownMenuItem"
- value="oldest"
- >
- {chrome.i18n.getMessage("oldestSortLabel")}
- <DropdownMenu.ItemIndicator className="ItemIndicator">
- <img src={CheckWhiteIcon} />
- </DropdownMenu.ItemIndicator>
- </DropdownMenu.RadioItem>
-
- <DropdownMenu.RadioItem
- className="DropdownMenuItem"
- value="alphabetical"
- >
- A–Z
- <DropdownMenu.ItemIndicator className="ItemIndicator">
- <img src={CheckWhiteIcon} />
- </DropdownMenu.ItemIndicator>
- </DropdownMenu.RadioItem>
-
- <DropdownMenu.RadioItem
- className="DropdownMenuItem"
- value="reverse-alphabetical"
+ <img src={SearchCloseIcon} alt="" />
+ </button>
+ </div>
+ ) : (
+ <>
+ <DropdownMenu.Root>
+ <DropdownMenu.Trigger asChild>
+ <button className="TabsSort" aria-label="Sort videos">
+ <div className="TabsSortLabel">
+ {currentFieldLabel} <img src={DropdownIcon} />
+ </div>
+ </button>
+ </DropdownMenu.Trigger>
+
+ <DropdownMenu.Portal
+ container={props.shadowRef.current.shadowRoot.querySelector(
+ ".container"
+ )}
>
- Z–A
- <DropdownMenu.ItemIndicator className="ItemIndicator">
- <img src={CheckWhiteIcon} />
- </DropdownMenu.ItemIndicator>
- </DropdownMenu.RadioItem>
- </DropdownMenu.RadioGroup>
- </DropdownMenu.Content>
- </DropdownMenu.Portal>
- </DropdownMenu.Root>
+ <DropdownMenu.Content
+ className="DropdownMenuContent"
+ sideOffset={4}
+ align="end"
+ >
+ <DropdownMenu.Label className="DropdownMenuLabel">
+ {chrome.i18n.getMessage("sortByHeading")}
+ </DropdownMenu.Label>
+ <DropdownMenu.RadioGroup
+ value={sortField}
+ onValueChange={(newField) => {
+ setSortBy(
+ sortKeyFor(newField, defaultDirectionFor(newField))
+ );
+ }}
+ >
+ {SORT_FIELDS.map((f) => (
+ <DropdownMenu.RadioItem
+ key={f.value}
+ className="DropdownMenuItem"
+ value={f.value}
+ >
+ {f.label}
+ <DropdownMenu.ItemIndicator className="ItemIndicator">
+ <img src={CheckWhiteIcon} />
+ </DropdownMenu.ItemIndicator>
+ </DropdownMenu.RadioItem>
+ ))}
+ </DropdownMenu.RadioGroup>
+
+ <DropdownMenu.Separator className="DropdownMenuSeparator" />
+
+ <DropdownMenu.Label className="DropdownMenuLabel">
+ {chrome.i18n.getMessage("orderHeading")}
+ </DropdownMenu.Label>
+ <DropdownMenu.RadioGroup
+ value={sortDirection}
+ onValueChange={(newDirection) => {
+ setSortBy(sortKeyFor(sortField, newDirection));
+ }}
+ >
+ {ORDER_OPTIONS[sortField].map((o) => (
+ <DropdownMenu.RadioItem
+ key={o.value}
+ className="DropdownMenuItem"
+ value={o.value}
+ >
+ {o.label}
+ <DropdownMenu.ItemIndicator className="ItemIndicator">
+ <img src={CheckWhiteIcon} />
+ </DropdownMenu.ItemIndicator>
+ </DropdownMenu.RadioItem>
+ ))}
+ </DropdownMenu.RadioGroup>
+ </DropdownMenu.Content>
+ </DropdownMenu.Portal>
+ </DropdownMenu.Root>
+
+ <button
+ type="button"
+ className="TabsIconButton"
+ aria-label="Search videos"
+ onClick={() => setSearchOpen(true)}
+ >
+ <img src={SearchIcon} alt="" />
+ </button>
+ </>
+ )}
+ </div>
</Tabs.List>
<Tabs.Content className="TabsContent" value="personal">
@@ -409,10 +549,23 @@ const VideosTab = (props) => {
!error &&
contentState.isSubscribed && (
<div className="empty-state">
- <div style={{ fontSize: "32px", marginBottom: "10px" }}>
- 👻
+ <img
+ className="empty-state-icon"
+ src={query ? EmptySearchIcon : EmptyVideosIcon}
+ alt=""
+ />
+ <div className="empty-state-title">
+ {query
+ ? chrome.i18n.getMessage("noVideosMatchSearchTitle", [
+ query,
+ ])
+ : chrome.i18n.getMessage("noVideosFound")}
</div>
- <span>{chrome.i18n.getMessage("noVideosFound")}</span>
+ {query && (
+ <div className="empty-state-description">
+ {chrome.i18n.getMessage("noVideosMatchSearchHint")}
+ </div>
+ )}
</div>
)}
{(contentState.isSubscribed
@@ -455,12 +608,13 @@ const VideosTab = (props) => {
title={video.title}
date={video.createdAt}
thumbnail={
- video.signedThumbnail ||
(video.data?.useCustomThumbnail &&
video.data?.customThumbnail) ||
+ video.data?.generatedThumbnail ||
video.data?.tempThumbnail ||
PlaceholderThumb
}
+ isPublic={video.isPublic}
onOpen={
contentState.isSubscribed
? () => handleVideoClick(video._id)
@@ -473,23 +627,36 @@ const VideosTab = (props) => {
}
/>
))}
- {loading && (
+ {loading && videos.length === 0 && (
<div className="spinner-container">
<div className="spinner" />
<span>{chrome.i18n.getMessage("loadingVideosLabel")}</span>
</div>
)}
+ {loading && videos.length > 0 && (
+ <div className="load-more-indicator">
+ <div className="spinner spinner-small" />
+ <span>{chrome.i18n.getMessage("loadingMoreVideosLabel")}</span>
+ </div>
+ )}
<div ref={observerRef} style={{ height: "1px" }} />
</div>
- <div className="bottom-section">
+ <div
+ className="bottom-section"
+ style={
+ !contentState.isSubscribed
+ ? { zIndex: 1, pointerEvents: "none" }
+ : undefined
+ }
+ >
<a
href={process.env.SCREENITY_APP_BASE}
target="_blank"
rel="noopener noreferrer"
role="button"
className="main-button dashboard-button"
- tabIndex="0"
+ tabIndex={contentState.isSubscribed ? "0" : "-1"}
style={{
zIndex: 99,
}}
@@ -501,9 +668,6 @@ const VideosTab = (props) => {
</a>
</div>
</Tabs.Content>
-
- <Tabs.Content className="TabsContent" value="team"></Tabs.Content>
- <Tabs.Content className="TabsContent" value="shared"></Tabs.Content>
</Tabs.Root>
</div>
);
diff --git a/src/pages/Content/popup/styles/components/_Tabs.scss b/src/pages/Content/popup/styles/components/_Tabs.scss
index 8858134..3205979 100644
--- a/src/pages/Content/popup/styles/components/_Tabs.scss
+++ b/src/pages/Content/popup/styles/components/_Tabs.scss
@@ -316,14 +316,29 @@ input {
display: block;
}
+ // Fixed height so swapping the sort control for the search field cannot
+ // resize the header row.
+ .TabsListActions {
+ display: flex;
+ flex-direction: row;
+ align-items: center;
+ gap: 0px;
+ min-width: 0;
+ height: 32px;
+ margin-bottom: 5px;
+ }
+ .TabsListActions.searching {
+ flex: 1 1 auto;
+ margin-left: $spacing-04;
+ }
.TabsSort {
- margin-right: $spacing-04;
+ display: flex;
+ align-items: center;
+ height: 100%;
+ box-sizing: border-box;
border-radius: $container-border-radius;
padding-left: $spacing-03;
- padding-right: $spacing-03;
- padding-top: $spacing-03;
- padding-bottom: $spacing-03;
- margin-bottom: 5px;
+ padding-right: $spacing-02;
}
.TabsSort:hover {
cursor: pointer;
@@ -344,6 +359,73 @@ input {
box-shadow: $focus-border;
outline: none !important;
}
+ .TabsIconButton {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 32px;
+ height: 32px;
+ border-radius: 50%;
+ flex-shrink: 0;
+ }
+ .TabsIconButton:hover {
+ cursor: pointer;
+ background: $color-light-grey;
+ }
+ .TabsIconButton:focus-visible {
+ box-shadow: $focus-border;
+ outline: none !important;
+ }
+ .TabsSearchInline {
+ display: flex;
+ flex: 1 1 auto;
+ flex-direction: row;
+ align-items: center;
+ gap: $spacing-03;
+ height: 100%;
+ min-width: 0;
+ padding-left: $spacing-04;
+ padding-right: $spacing-02;
+ border-radius: $container-border-radius;
+ background: $color-light-grey;
+ box-sizing: border-box;
+
+ > img {
+ flex-shrink: 0;
+ width: 14px;
+ height: 14px;
+ }
+ .TabsIconButton {
+ margin-bottom: 0;
+ width: 24px;
+ height: 24px;
+ }
+ .TabsIconButton:hover {
+ background: rgba(41, 41, 47, 0.08);
+ }
+ .TabsIconButton img {
+ width: 12px;
+ height: 12px;
+ }
+ }
+ .TabsSearchInput {
+ flex: 1 1 auto;
+ min-width: 0;
+ border: none;
+ background: transparent;
+ color: $color-text-primary;
+ font-size: $font-size-normal;
+
+ &::placeholder {
+ color: $color-text-secondary;
+ }
+ }
+
+ // The global TabsContent white veil washes out the dashboard button; the
+ // videos list uses its own fade over the grey panel instead.
+ .TabsContent::after {
+ display: none;
+ }
}
.projectActiveBanner {
diff --git a/src/pages/Content/popup/styles/components/_VideoItem.scss b/src/pages/Content/popup/styles/components/_VideoItem.scss
index 59beff1..fcafd3b 100644
--- a/src/pages/Content/popup/styles/components/_VideoItem.scss
+++ b/src/pages/Content/popup/styles/components/_VideoItem.scss
@@ -21,12 +21,21 @@
justify-content: left;
}
.video-item-thumbnail {
- min-width: 48px;
- width: 48px;
- height: 38px;
- background: grey;
- border-radius: 5px;
+ // 16:9 at a size the 960x540 stored thumbnail can still resolve into
+ min-width: 64px;
+ width: 64px;
+ height: 36px;
+ background: $color-border;
+ border-radius: 6px;
+ overflow: hidden;
margin-right: $spacing-04;
+
+ img {
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+ display: block;
+ }
}
.video-item-info {
display: block;
@@ -43,12 +52,20 @@
}
.video-item-info-date {
margin-top: $spacing-02;
+ display: flex;
+ align-items: center;
color: $color-text-secondary;
font-size: $font-size-small;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
+ .video-item-lock {
+ width: 11px;
+ height: 11px;
+ margin-right: 5px;
+ flex-shrink: 0;
+ }
}
.video-item-root:hover {
diff --git a/src/pages/Content/popup/styles/layout/_VideosTab.scss b/src/pages/Content/popup/styles/layout/_VideosTab.scss
index 782f186..56a3d63 100644
--- a/src/pages/Content/popup/styles/layout/_VideosTab.scss
+++ b/src/pages/Content/popup/styles/layout/_VideosTab.scss
@@ -30,12 +30,35 @@
}
}
.videos-list {
- padding-bottom: 10px !important;
+ position: relative;
max-height: calc(96vh - 260px);
- overflow-y: overlay;
+ overflow-y: auto;
padding: $spacing-05;
+ padding-bottom: 28px !important;
+
+ &::-webkit-scrollbar {
+ width: 6px;
+ background: transparent;
+ }
+ &::-webkit-scrollbar-track {
+ background: transparent;
+ border: none;
+ box-shadow: none;
+ }
+ &::-webkit-scrollbar-thumb {
+ background: rgba(41, 41, 47, 0.18);
+ border: none;
+ border-radius: 10px;
+ }
+ &::-webkit-scrollbar-thumb:hover {
+ background: rgba(41, 41, 47, 0.3);
+ }
+ &::-webkit-scrollbar-corner {
+ background: transparent;
+ }
}
.bottom-section {
+ position: relative;
width: 100%;
bottom: 0px;
left: 0px;
@@ -44,6 +67,22 @@
padding-bottom: $spacing-04 !important;
z-index: 999999;
padding: $spacing-05;
+
+ // Fades the last rows into the panel instead of cutting them at the button.
+ &::before {
+ content: "";
+ position: absolute;
+ left: 0;
+ right: 0;
+ bottom: 100%;
+ height: 36px;
+ background: linear-gradient(
+ to bottom,
+ rgba(246, 247, 251, 0),
+ $color-light-grey
+ );
+ pointer-events: none;
+ }
}
.ModalSoon {
display: flex;
@@ -105,6 +144,29 @@
color: #6e7684;
font-size: 14px;
}
+.empty-state {
+ text-align: center;
+ padding-left: $spacing-05;
+ padding-right: $spacing-05;
+}
+.empty-state-icon {
+ width: 32px;
+ height: 32px;
+ margin-bottom: $spacing-04;
+}
+.empty-state-title {
+ max-width: 100%;
+ font-family: $font-medium;
+ color: $color-text-primary;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+.empty-state-description {
+ margin-top: $spacing-02;
+ color: $color-text-secondary;
+ font-size: $font-size-small;
+}
.spinner {
width: 32px;
@@ -116,6 +178,23 @@
margin-bottom: 10px;
}
+.load-more-indicator {
+ display: flex;
+ flex-direction: row;
+ align-items: center;
+ justify-content: center;
+ gap: $spacing-03;
+ padding: $spacing-04 0;
+ color: #6e7684;
+ font-size: $font-size-small;
+}
+.spinner-small {
+ width: 16px;
+ height: 16px;
+ margin-bottom: 0;
+ border-width: 2px;
+}
+
@keyframes spin {
to {
transform: rotate(360deg);
diff --git a/src/pages/Content/styles/app.css b/src/pages/Content/styles/app.css
index 9112af2..44c0616 100644
--- a/src/pages/Content/styles/app.css
+++ b/src/pages/Content/styles/app.css
@@ -1867,13 +1867,35 @@ body.driver-active .OnboardingArrow {
}
.videos-list {
- padding-bottom: 10px !important;
+ position: relative;
max-height: calc(96vh - 260px);
- overflow-y: overlay;
+ overflow-y: auto;
padding: 16px;
+ padding-bottom: 28px !important;
+}
+.videos-list::-webkit-scrollbar {
+ width: 6px;
+ background: transparent;
+}
+.videos-list::-webkit-scrollbar-track {
+ background: transparent;
+ border: none;
+ box-shadow: none;
+}
+.videos-list::-webkit-scrollbar-thumb {
+ background: rgba(41, 41, 47, 0.18);
+ border: none;
+ border-radius: 10px;
+}
+.videos-list::-webkit-scrollbar-thumb:hover {
+ background: rgba(41, 41, 47, 0.3);
+}
+.videos-list::-webkit-scrollbar-corner {
+ background: transparent;
}
.bottom-section {
+ position: relative;
width: 100%;
bottom: 0px;
left: 0px;
@@ -1883,6 +1905,16 @@ body.driver-active .OnboardingArrow {
z-index: 999999;
padding: 16px;
}
+.bottom-section::before {
+ content: "";
+ position: absolute;
+ left: 0;
+ right: 0;
+ bottom: 100%;
+ height: 36px;
+ background: linear-gradient(to bottom, rgba(246, 247, 251, 0), #f6f7fb);
+ pointer-events: none;
+}
.ModalSoon {
display: flex;
@@ -1950,6 +1982,33 @@ body.driver-active .OnboardingArrow {
font-size: 14px;
}
+.empty-state {
+ text-align: center;
+ padding-left: 16px;
+ padding-right: 16px;
+}
+
+.empty-state-icon {
+ width: 32px;
+ height: 32px;
+ margin-bottom: 12px;
+}
+
+.empty-state-title {
+ max-width: 100%;
+ font-family: "Satoshi-Medium", sans-serif;
+ color: #29292f;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+
+.empty-state-description {
+ margin-top: 4px;
+ color: #6e7684;
+ font-size: 12px;
+}
+
.spinner {
width: 32px;
height: 32px;
@@ -1960,6 +2019,24 @@ body.driver-active .OnboardingArrow {
margin-bottom: 10px;
}
+.load-more-indicator {
+ display: flex;
+ flex-direction: row;
+ align-items: center;
+ justify-content: center;
+ gap: 8px;
+ padding: 12px 0;
+ color: #6e7684;
+ font-size: 12px;
+}
+
+.spinner-small {
+ width: 16px;
+ height: 16px;
+ margin-bottom: 0;
+ border-width: 2px;
+}
+
@keyframes spin {
to {
transform: rotate(360deg);
@@ -2861,14 +2938,27 @@ input {
.video-ui span {
display: block;
}
+.video-ui .TabsListActions {
+ display: flex;
+ flex-direction: row;
+ align-items: center;
+ gap: 0px;
+ min-width: 0;
+ height: 32px;
+ margin-bottom: 5px;
+}
+.video-ui .TabsListActions.searching {
+ flex: 1 1 auto;
+ margin-left: 12px;
+}
.video-ui .TabsSort {
- margin-right: 12px;
+ display: flex;
+ align-items: center;
+ height: 100%;
+ box-sizing: border-box;
border-radius: 30px;
padding-left: 8px;
- padding-right: 8px;
- padding-top: 8px;
- padding-bottom: 8px;
- margin-bottom: 5px;
+ padding-right: 4px;
}
.video-ui .TabsSort:hover {
cursor: pointer;
@@ -2889,6 +2979,68 @@ input {
box-shadow: 0px 0px 0px 2px rgba(48, 128, 248, 0.5);
outline: none !important;
}
+.video-ui .TabsIconButton {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 32px;
+ height: 32px;
+ border-radius: 50%;
+ flex-shrink: 0;
+}
+.video-ui .TabsIconButton:hover {
+ cursor: pointer;
+ background: #f6f7fb;
+}
+.video-ui .TabsIconButton:focus-visible {
+ box-shadow: 0px 0px 0px 2px rgba(48, 128, 248, 0.5);
+ outline: none !important;
+}
+.video-ui .TabsSearchInline {
+ display: flex;
+ flex: 1 1 auto;
+ flex-direction: row;
+ align-items: center;
+ gap: 8px;
+ height: 100%;
+ min-width: 0;
+ padding-left: 12px;
+ padding-right: 4px;
+ border-radius: 30px;
+ background: #f6f7fb;
+ box-sizing: border-box;
+}
+.video-ui .TabsSearchInline > img {
+ flex-shrink: 0;
+ width: 14px;
+ height: 14px;
+}
+.video-ui .TabsSearchInline .TabsIconButton {
+ margin-bottom: 0;
+ width: 24px;
+ height: 24px;
+}
+.video-ui .TabsSearchInline .TabsIconButton:hover {
+ background: rgba(41, 41, 47, 0.08);
+}
+.video-ui .TabsSearchInline .TabsIconButton img {
+ width: 12px;
+ height: 12px;
+}
+.video-ui .TabsSearchInput {
+ flex: 1 1 auto;
+ min-width: 0;
+ border: none;
+ background: transparent;
+ color: #29292f;
+ font-size: 14px;
+}
+.video-ui .TabsSearchInput::placeholder {
+ color: #6e7684;
+}
+.video-ui .TabsContent::after {
+ display: none;
+}
.projectActiveBanner {
display: flex;
@@ -3129,13 +3281,20 @@ button {
justify-content: left;
}
.video-item-root .video-item-thumbnail {
- min-width: 48px;
- width: 48px;
- height: 38px;
- background: grey;
- border-radius: 5px;
+ min-width: 64px;
+ width: 64px;
+ height: 36px;
+ background: #e8e8e8;
+ border-radius: 6px;
+ overflow: hidden;
margin-right: 12px;
}
+.video-item-root .video-item-thumbnail img {
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+ display: block;
+}
.video-item-root .video-item-info {
display: block;
overflow: hidden;
@@ -3151,12 +3310,20 @@ button {
}
.video-item-root .video-item-info-date {
margin-top: 4px;
+ display: flex;
+ align-items: center;
color: #6e7684;
font-size: 12px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
+.video-item-root .video-item-lock {
+ width: 11px;
+ height: 11px;
+ margin-right: 5px;
+ flex-shrink: 0;
+}
.video-item-root:hover {
cursor: pointer;
diff --git a/src/pages/Permissions/Permissions.jsx b/src/pages/Permissions/Permissions.jsx
index 8315fd0..567d472 100644
--- a/src/pages/Permissions/Permissions.jsx
+++ b/src/pages/Permissions/Permissions.jsx
@@ -2,12 +2,9 @@ import React, { useEffect, useState, useRef, useCallback } from "react";
const Recorder = () => {
useEffect(() => {
- window.parent.postMessage(
- {
- type: "screenity-permissions-loaded",
- },
- "*"
- );
+ chrome.runtime.sendMessage({
+ type: "screenity-permissions-loaded",
+ });
// Cross-origin iframe, so allowsFeature reflects what the page actually
// delegated to us. Pages with feature=(self) (e.g. facebook.com) don't
@@ -15,15 +12,12 @@ const Recorder = () => {
try {
const pp = document.permissionsPolicy || document.featurePolicy;
if (pp && typeof pp.allowsFeature === "function") {
- window.parent.postMessage(
- {
- type: "screenity-site-policy",
- cameraAllowed: pp.allowsFeature("camera"),
- microphoneAllowed: pp.allowsFeature("microphone"),
- displayCaptureAllowed: pp.allowsFeature("display-capture"),
- },
- "*"
- );
+ chrome.runtime.sendMessage({
+ type: "screenity-site-policy",
+ cameraAllowed: pp.allowsFeature("camera"),
+ microphoneAllowed: pp.allowsFeature("microphone"),
+ displayCaptureAllowed: pp.allowsFeature("display-capture"),
+ });
}
} catch (e) {}
}, []);
@@ -179,14 +173,11 @@ const Recorder = () => {
streams.forEach((stream) => stream.getTracks().forEach((t) => t.stop()));
if (!camOk && !micOk) {
- window.parent.postMessage(
- {
- type: "screenity-permissions",
- success: false,
- error: lastError?.name || "unknown",
- },
- "*"
- );
+ chrome.runtime.sendMessage({
+ type: "screenity-permissions",
+ success: false,
+ error: lastError?.name || "unknown",
+ });
return;
}
@@ -202,31 +193,30 @@ const Recorder = () => {
microphonePermission: micOk,
});
- window.parent.postMessage(
- {
- type: "screenity-permissions",
- success: true,
- audioinput: audioinput,
- audiooutput: audiooutput,
- videoinput: videoinput,
- cameraPermission: camOk,
- microphonePermission: micOk,
- },
- "*"
- );
+ chrome.runtime.sendMessage({
+ type: "screenity-permissions",
+ success: true,
+ audioinput: audioinput,
+ audiooutput: audiooutput,
+ videoinput: videoinput,
+ cameraPermission: camOk,
+ microphonePermission: micOk,
+ });
};
- const onMessage = (message) => {
+ const onMessage = (message, sender) => {
+ // sender.tab is only unset when the background relayed this (see
+ // relayToSenderTab); a direct broadcast may be another tab's request.
+ if (sender?.tab) return;
if (message.type === "screenity-get-permissions") {
checkPermissions();
}
};
- // Post message listener
+ // chrome.runtime, not window.postMessage: only extension contexts (content
+ // scripts, extension pages) can reach this, not any embedding page.
useEffect(() => {
- window.addEventListener("message", (event) => {
- onMessage(event.data);
- });
+ chrome.runtime.onMessage.addListener(onMessage);
}, []);
return <div></div>;
diff --git a/src/pages/Recorder/webcodecs/WebCodecsRecorder.js b/src/pages/Recorder/webcodecs/WebCodecsRecorder.js
index 384207e..6126af1 100644
--- a/src/pages/Recorder/webcodecs/WebCodecsRecorder.js
+++ b/src/pages/Recorder/webcodecs/WebCodecsRecorder.js
@@ -421,7 +421,31 @@ export class WebCodecsRecorder {
const processor = new MediaStreamTrackProcessor({ track: this.videoTrack });
const reader = processor.readable.getReader();
- const { value: frame } = await reader.read();
+ // getSettings() already missed above, so a frozen/backgrounded source
+ // (minimized window capture, backgrounded tab compositor) never delivers
+ // a frame here; uncapped, this is telemetry's largest single
+ // start-progress stall bucket. Time out so start()'s catch falls back
+ // to MediaRecorder.
+ const FRAME_PROBE_TIMEOUT_MS = 5000;
+ let timeoutTimer;
+ let frame;
+ try {
+ const result = await Promise.race([
+ reader.read(),
+ new Promise((_, reject) => {
+ timeoutTimer = setTimeout(
+ () => reject(new Error("probe-frame-timeout")),
+ FRAME_PROBE_TIMEOUT_MS,
+ );
+ }),
+ ]);
+ frame = result.value;
+ } catch (err) {
+ reader.cancel().catch(() => {});
+ throw err;
+ } finally {
+ clearTimeout(timeoutTimer);
+ }
if (!frame) throw new Error("Cannot probe frame resolution");
const width = frame.codedWidth;