Modern Apps git

← Modern-Apps.git

youpipe: add recommendation controls UI, feed provenance, overflow actions, and interest management screen

Commit
7edd02e2e5bc9165fe9d43e2598c1c19d87e5fd0
Author
Vayun Mathur <[email protected]>
When
2026-07-09 17:02 UTC (5 months ago)
Parents
66e022f

Diff

youpipe/src/main/java/com/vayunmathur/youpipe/ui/ChannelPage.kt
diff --git a/youpipe/src/main/java/com/vayunmathur/youpipe/ui/ChannelPage.kt b/youpipe/src/main/java/com/vayunmathur/youpipe/ui/ChannelPage.ktindex 3d2a2fc0bf..3f95f988b9 100644--- a/youpipe/src/main/java/com/vayunmathur/youpipe/ui/ChannelPage.kt+++ b/youpipe/src/main/java/com/vayunmathur/youpipe/ui/ChannelPage.kt@@ -15,7 +15,11 @@ import androidx.compose.foundation.lazy.items import androidx.compose.foundation.shape.CircleShape import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.material3.Button+import androidx.compose.material3.DropdownMenu+import androidx.compose.material3.DropdownMenuItem import androidx.compose.material3.HorizontalDivider+import androidx.compose.material3.Icon+import androidx.compose.material3.IconButton import androidx.compose.material3.ListItem import androidx.compose.material3.ListItemDefaults import androidx.compose.material3.MaterialTheme@@ -27,12 +31,15 @@ import androidx.compose.runtime.Composable import androidx.compose.runtime.LaunchedEffect import androidx.compose.runtime.collectAsState import androidx.compose.runtime.getValue+import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.remember+import androidx.compose.runtime.setValue import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import androidx.compose.ui.draw.clip import androidx.compose.ui.graphics.Color import androidx.compose.ui.platform.LocalContext+import androidx.compose.ui.res.painterResource import androidx.compose.ui.res.stringResource import androidx.compose.ui.unit.dp import com.vayunmathur.library.util.NavBackStack@@ -114,6 +121,8 @@ fun VideoItem(     onClick: (() -> Unit)? = null,     backupOnClick: Boolean = true,     trailingContent: @Composable (() -> Unit)? = null,+    reason: String? = null,+    overflowActions: List<Pair<String, () -> Unit>> = emptyList(), ) {     val context = LocalContext.current     val historyFlow = remember(videoInfo.videoID) { youPipeViewModel.historyById(videoInfo.videoID) }@@ -137,6 +146,13 @@ fun VideoItem(         modifier     } +    val effectiveTrailing: (@Composable () -> Unit)? = when {+        overflowActions.isNotEmpty() -> {+            { VideoOverflowMenu(overflowActions) }+        }+        else -> trailingContent+    }+     Row(itemModifier) {         Box(Modifier.weight(1f)) {             Box(Modifier.padding(start = 8.dp, top = 8.dp, bottom = 8.dp).clip(RoundedCornerShape(12.dp))) {@@ -170,8 +186,39 @@ fun VideoItem(                         stringResource(R.string.video_stat_format, countString(context, videoInfo.views), uploadTimeAgo(context, videoInfo.uploadDate)),                         style = MaterialTheme.typography.bodySmall                     )+                    if (reason != null) {+                        Text(+                            stringResource(R.string.recommendation_reason, reason),+                            style = MaterialTheme.typography.bodySmall,+                            color = MaterialTheme.colorScheme.primary,+                        )+                    }                 }-            }, trailingContent = trailingContent?.let { { it() } }, colors = ListItemDefaults.colors(containerColor = Color.Transparent))+            }, trailingContent = effectiveTrailing?.let { { it() } }, colors = ListItemDefaults.colors(containerColor = Color.Transparent))+        }+    }+}++@Composable+private fun VideoOverflowMenu(actions: List<Pair<String, () -> Unit>>) {+    var expanded by remember { mutableStateOf(false) }+    Box {+        IconButton(onClick = { expanded = true }) {+            Icon(+                painter = painterResource(R.drawable.outline_more_vert_24),+                contentDescription = stringResource(R.string.action_more_options),+            )+        }+        DropdownMenu(expanded = expanded, onDismissRequest = { expanded = false }) {+            actions.forEach { (label, onClick) ->+                DropdownMenuItem(+                    text = { Text(label) },+                    onClick = {+                        expanded = false+                        onClick()+                    },+                )+            }         }     } }
youpipe/src/main/java/com/vayunmathur/youpipe/ui/RecommendationSettingsPage.kt
diff --git a/youpipe/src/main/java/com/vayunmathur/youpipe/ui/RecommendationSettingsPage.kt b/youpipe/src/main/java/com/vayunmathur/youpipe/ui/RecommendationSettingsPage.ktnew file mode 100644index 0000000000..5aa45564a7--- /dev/null+++ b/youpipe/src/main/java/com/vayunmathur/youpipe/ui/RecommendationSettingsPage.kt@@ -0,0 +1,143 @@+package com.vayunmathur.youpipe.ui++import androidx.compose.foundation.layout.padding+import androidx.compose.foundation.lazy.LazyColumn+import androidx.compose.foundation.lazy.items+import androidx.compose.material3.ExperimentalMaterial3Api+import androidx.compose.material3.ListItem+import androidx.compose.material3.MaterialTheme+import androidx.compose.material3.Scaffold+import androidx.compose.material3.Text+import androidx.compose.material3.TextButton+import androidx.compose.material3.TopAppBar+import androidx.compose.runtime.Composable+import androidx.compose.runtime.collectAsState+import androidx.compose.runtime.getValue+import androidx.compose.ui.Modifier+import androidx.compose.ui.res.stringResource+import androidx.compose.ui.unit.dp+import com.vayunmathur.library.util.NavBackStack+import com.vayunmathur.youpipe.R+import com.vayunmathur.youpipe.Route+import com.vayunmathur.youpipe.util.YouPipeViewModel+import com.vayunmathur.youpipe.util.decodeHtml++@OptIn(ExperimentalMaterial3Api::class)+@Composable+fun RecommendationSettingsPage(+    backStack: NavBackStack<Route>,+    ypvm: YouPipeViewModel,+) {+    val profile by ypvm.interestProfile.collectAsState()+    val channelPrefs by ypvm.channelPreferences.collectAsState()+    val keywordPrefs by ypvm.keywordPreferences.collectAsState()++    val blockedKeys = channelPrefs.filter { it.blocked }.map { it.channelKey }.toSet()+    val pinnedKeys = channelPrefs.filter { it.pinned }.map { it.channelKey }.toSet()++    val topChannels = profile.authorWeights.entries+        .filter { it.key.isNotBlank() && it.key !in blockedKeys }+        .sortedByDescending { it.value }+        .take(30)+        .map { it.key }+    val topKeywords = profile.keywordWeights.entries+        .sortedByDescending { it.value }+        .take(30)+        .map { it.key }++    val blockedChannels = channelPrefs.filter { it.blocked }.map { it.channelKey }+    val mutedKeywords = keywordPrefs.filter { it.muted }.map { it.keyword }++    Scaffold(+        topBar = { TopAppBar({ Text(stringResource(R.string.title_manage_interests)) }) }+    ) { paddingValues ->+        LazyColumn(Modifier.padding(paddingValues)) {+            item { SectionHeader(stringResource(R.string.label_your_channels)) }+            if (topChannels.isEmpty()) {+                item { EmptyRow(stringResource(R.string.label_no_channels)) }+            }+            items(topChannels, key = { "ch-$it" }) { channelKey ->+                val pinned = channelKey in pinnedKeys+                ListItem(+                    headlineContent = { Text(channelKey.decodeHtml(), style = MaterialTheme.typography.titleMedium) },+                    supportingContent = { if (pinned) Text(stringResource(R.string.label_pinned)) },+                    trailingContent = {+                        androidx.compose.foundation.layout.Row {+                            TextButton(onClick = {+                                if (pinned) ypvm.clearChannelPreference(channelKey) else ypvm.pinChannel(channelKey)+                            }) { Text(stringResource(if (pinned) R.string.action_unpin else R.string.action_pin)) }+                            TextButton(onClick = { ypvm.removeInterest(channelKey = channelKey) }) {+                                Text(stringResource(R.string.action_remove))+                            }+                        }+                    },+                )+            }++            item { SectionHeader(stringResource(R.string.label_your_topics)) }+            if (topKeywords.isEmpty()) {+                item { EmptyRow(stringResource(R.string.label_no_topics)) }+            }+            items(topKeywords, key = { "kw-$it" }) { keyword ->+                ListItem(+                    headlineContent = { Text(keyword, style = MaterialTheme.typography.titleMedium) },+                    trailingContent = {+                        TextButton(onClick = { ypvm.removeInterest(keyword = keyword) }) {+                            Text(stringResource(R.string.action_remove))+                        }+                    },+                )+            }++            item { SectionHeader(stringResource(R.string.label_blocked_channels)) }+            if (blockedChannels.isEmpty()) {+                item { EmptyRow(stringResource(R.string.label_no_blocked_channels)) }+            }+            items(blockedChannels, key = { "bl-$it" }) { channelKey ->+                ListItem(+                    headlineContent = { Text(channelKey.decodeHtml(), style = MaterialTheme.typography.titleMedium) },+                    trailingContent = {+                        TextButton(onClick = { ypvm.clearChannelPreference(channelKey) }) {+                            Text(stringResource(R.string.action_unblock))+                        }+                    },+                )+            }++            item { SectionHeader(stringResource(R.string.label_muted_keywords)) }+            if (mutedKeywords.isEmpty()) {+                item { EmptyRow(stringResource(R.string.label_no_muted_keywords)) }+            }+            items(mutedKeywords, key = { "mk-$it" }) { keyword ->+                ListItem(+                    headlineContent = { Text(keyword, style = MaterialTheme.typography.titleMedium) },+                    trailingContent = {+                        TextButton(onClick = { ypvm.unmuteKeyword(keyword) }) {+                            Text(stringResource(R.string.action_unmute))+                        }+                    },+                )+            }+        }+    }+}++@Composable+private fun SectionHeader(text: String) {+    Text(+        text,+        style = MaterialTheme.typography.titleSmall,+        color = MaterialTheme.colorScheme.primary,+        modifier = Modifier.padding(start = 16.dp, top = 16.dp, bottom = 4.dp),+    )+}++@Composable+private fun EmptyRow(text: String) {+    Text(+        text,+        style = MaterialTheme.typography.bodyMedium,+        color = MaterialTheme.colorScheme.onSurfaceVariant,+        modifier = Modifier.padding(start = 16.dp, bottom = 8.dp),+    )+}
youpipe/src/main/java/com/vayunmathur/youpipe/ui/SearchPage.kt
diff --git a/youpipe/src/main/java/com/vayunmathur/youpipe/ui/SearchPage.kt b/youpipe/src/main/java/com/vayunmathur/youpipe/ui/SearchPage.ktindex e4abed3747..7097a20d26 100644--- a/youpipe/src/main/java/com/vayunmathur/youpipe/ui/SearchPage.kt+++ b/youpipe/src/main/java/com/vayunmathur/youpipe/ui/SearchPage.kt@@ -133,8 +133,22 @@ fun SearchPage(             }         } else {             LazyColumn(modifier = Modifier.fillMaxSize().padding(paddingValues)) {-                items(recommendations, key = { it.videoID }) { video ->-                    VideoItem(backStack, youPipeViewModel, video, true)+                items(recommendations, key = { it.video.videoID }) { ranked ->+                    val video = ranked.video+                    val channelKey = video.author.lowercase()+                    VideoItem(+                        backStack,+                        youPipeViewModel,+                        video,+                        true,+                        reason = ranked.reason,+                        overflowActions = listOf(+                            stringResource(R.string.action_not_interested) to { youPipeViewModel.removeInterest(channelKey = channelKey) },+                            stringResource(R.string.action_more_like_this) to { youPipeViewModel.boostChannel(channelKey) },+                            stringResource(R.string.action_pin_channel) to { youPipeViewModel.pinChannel(channelKey) },+                            stringResource(R.string.action_block_channel) to { youPipeViewModel.blockChannel(channelKey) },+                        ),+                    )                 }             }         }
youpipe/src/main/java/com/vayunmathur/youpipe/ui/SettingsPage.kt
diff --git a/youpipe/src/main/java/com/vayunmathur/youpipe/ui/SettingsPage.kt b/youpipe/src/main/java/com/vayunmathur/youpipe/ui/SettingsPage.ktindex 3ef0bd708d..8959880e43 100644--- a/youpipe/src/main/java/com/vayunmathur/youpipe/ui/SettingsPage.kt+++ b/youpipe/src/main/java/com/vayunmathur/youpipe/ui/SettingsPage.kt@@ -4,13 +4,22 @@ import androidx.activity.compose.rememberLauncherForActivityResult import androidx.activity.result.contract.ActivityResultContracts import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Box+import androidx.compose.foundation.layout.Column+import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.fillMaxSize+import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.padding import androidx.compose.foundation.lazy.LazyColumn+import androidx.compose.material3.Button import androidx.compose.material3.CircularProgressIndicator import androidx.compose.material3.ExperimentalMaterial3Api+import androidx.compose.material3.FilterChip+import androidx.compose.material3.HorizontalDivider import androidx.compose.material3.ListItem+import androidx.compose.material3.MaterialTheme+import androidx.compose.material3.OutlinedTextField import androidx.compose.material3.Scaffold+import androidx.compose.material3.Slider import androidx.compose.material3.Switch import androidx.compose.material3.Text import androidx.compose.material3.TopAppBar@@ -20,12 +29,17 @@ import androidx.compose.runtime.getValue import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import androidx.compose.ui.res.stringResource+import androidx.compose.ui.text.input.KeyboardType+import androidx.compose.foundation.text.KeyboardOptions+import androidx.compose.foundation.layout.width import androidx.compose.ui.unit.dp import com.vayunmathur.library.util.BottomNavBar import com.vayunmathur.library.util.NavBackStack import com.vayunmathur.youpipe.MAIN_BOTTOM_BAR_ITEMS import com.vayunmathur.youpipe.R import com.vayunmathur.youpipe.Route+import com.vayunmathur.youpipe.util.RecSource+import com.vayunmathur.youpipe.util.RecommendationPreset import com.vayunmathur.youpipe.util.YouPipeViewModel import com.vayunmathur.youpipe.util.YouPipeViewModel.Companion.ALL_SPONSOR_CATEGORIES import com.vayunmathur.youpipe.util.YouPipeViewModel.Companion.SPONSOR_CATEGORY_LABELS@@ -38,6 +52,7 @@ fun SettingsPage( ) {     val sponsorBlockCategories by ypvm.sponsorBlockCategories.collectAsState()     val deArrowEnabled by ypvm.deArrowEnabled.collectAsState()+    val recPrefs by ypvm.recommendationPreferences.collectAsState()     val isLoading by ypvm.isImporting.collectAsState()     val progress by ypvm.importProgress.collectAsState() @@ -96,6 +111,119 @@ fun SettingsPage(                         }                     )                 }+                item {+                    ListItem(+                        headlineContent = { Text(stringResource(R.string.label_recommendations)) }+                    )+                }+                item {+                    Row(Modifier.fillMaxWidth().padding(horizontal = 16.dp, vertical = 4.dp)) {+                        RecommendationPreset.entries.forEach { preset ->+                            FilterChip(+                                selected = recPrefs.preset == preset.name,+                                onClick = { ypvm.setPreset(preset) },+                                label = { Text(presetLabel(preset)) },+                                modifier = Modifier.padding(end = 8.dp),+                            )+                        }+                    }+                }+                item {+                    RecommendationSlider(+                        label = stringResource(R.string.label_dial_discovery),+                        value = recPrefs.discoveryFamiliar,+                        onChange = { ypvm.setDiscoveryFamiliar(it) },+                    )+                }+                item {+                    RecommendationSlider(+                        label = stringResource(R.string.label_dial_fresh),+                        value = recPrefs.freshEvergreen,+                        onChange = { ypvm.setFreshEvergreen(it) },+                    )+                }+                item {+                    RecommendationSlider(+                        label = stringResource(R.string.label_dial_diverse),+                        value = recPrefs.focusedDiverse,+                        onChange = { ypvm.setFocusedDiverse(it) },+                    )+                }+                item {+                    ListItem(headlineContent = { Text(stringResource(R.string.label_rec_sources)) })+                }+                SOURCE_TOGGLES.forEach { (source, labelRes) ->+                    item(key = "src_${source.name}") {+                        val enabled = when (source) {+                            RecSource.RELATED -> recPrefs.sourceRelated+                            RecSource.TRENDING -> recPrefs.sourceTrending+                            RecSource.SUBSCRIPTION -> recPrefs.sourceSubscription+                            RecSource.TOP_CHANNEL -> recPrefs.sourceTopChannel+                            RecSource.SEARCH -> recPrefs.sourceSearch+                        }+                        ListItem(+                            headlineContent = { Text(stringResource(labelRes)) },+                            trailingContent = {+                                Switch(checked = enabled, onCheckedChange = { ypvm.toggleSource(source) })+                            },+                            modifier = Modifier.padding(start = 16.dp),+                        )+                    }+                }+                item {+                    ListItem(headlineContent = { Text(stringResource(R.string.label_rec_content_filters)) })+                }+                item {+                    ListItem(+                        headlineContent = { Text(stringResource(R.string.label_hide_shorts)) },+                        trailingContent = {+                            Switch(checked = recPrefs.hideShorts, onCheckedChange = { ypvm.setHideShorts(it) })+                        },+                        modifier = Modifier.padding(start = 16.dp),+                    )+                }+                item {+                    ListItem(+                        headlineContent = { Text(stringResource(R.string.label_hide_live)) },+                        trailingContent = {+                            Switch(checked = recPrefs.hideLive, onCheckedChange = { ypvm.setHideLive(it) })+                        },+                        modifier = Modifier.padding(start = 16.dp),+                    )+                }+                item {+                    DurationField(+                        label = stringResource(R.string.label_min_duration),+                        seconds = recPrefs.minDurationSec,+                        onChange = { ypvm.setMinDuration(it) },+                    )+                }+                item {+                    DurationField(+                        label = stringResource(R.string.label_max_duration),+                        seconds = recPrefs.maxDurationSec,+                        onChange = { ypvm.setMaxDuration(it) },+                    )+                }+                item {+                    ListItem(+                        headlineContent = { Text(stringResource(R.string.label_manage_interests)) },+                        modifier = Modifier.padding(start = 16.dp).clickable {+                            backStack.add(Route.RecommendationSettings)+                        },+                    )+                }+                item {+                    ListItem(+                        headlineContent = {+                            Button(onClick = { ypvm.resetAlgorithm() }) {+                                Text(stringResource(R.string.action_reset_algorithm))+                            }+                        },+                        modifier = Modifier.padding(start = 16.dp),+                    )+                }+                item { HorizontalDivider() }                 item {                     ListItem(                         headlineContent = { Text(stringResource(R.string.label_backup_restore)) }@@ -141,3 +269,44 @@ fun SettingsPage(         }     } }++private val SOURCE_TOGGLES = listOf(+    RecSource.RELATED to R.string.label_source_related,+    RecSource.TRENDING to R.string.label_source_trending,+    RecSource.SUBSCRIPTION to R.string.label_source_subscription,+    RecSource.TOP_CHANNEL to R.string.label_source_top_channel,+    RecSource.SEARCH to R.string.label_source_search,+)++@Composable+private fun presetLabel(preset: RecommendationPreset): String = when (preset) {+    RecommendationPreset.DISCOVER_MORE -> stringResource(R.string.preset_discover_more)+    RecommendationPreset.BALANCED -> stringResource(R.string.preset_balanced)+    RecommendationPreset.MOSTLY_SUBSCRIPTIONS -> stringResource(R.string.preset_mostly_subscriptions)+    RecommendationPreset.DEEP_DIVES -> stringResource(R.string.preset_deep_dives)+}++@Composable+private fun RecommendationSlider(label: String, value: Float, onChange: (Float) -> Unit) {+    Column(Modifier.fillMaxWidth().padding(horizontal = 16.dp)) {+        Text(label, style = MaterialTheme.typography.bodyMedium)+        Slider(value = value.coerceIn(0f, 1f), onValueChange = onChange, valueRange = 0f..1f)+    }+}++@Composable+private fun DurationField(label: String, seconds: Long, onChange: (Long) -> Unit) {+    Row(+        Modifier.fillMaxWidth().padding(start = 16.dp, end = 16.dp, top = 4.dp, bottom = 4.dp),+        verticalAlignment = Alignment.CenterVertically,+    ) {+        Text(label, style = MaterialTheme.typography.bodyMedium, modifier = Modifier.weight(1f))+        OutlinedTextField(+            value = if (seconds > 0) seconds.toString() else "",+            onValueChange = { text -> onChange(text.filter { it.isDigit() }.toLongOrNull() ?: 0L) },+            singleLine = true,+            keyboardOptions = KeyboardOptions(keyboardType = KeyboardType.Number),+            modifier = Modifier.width(120.dp),+        )+    }+}
youpipe/src/main/res/drawable/outline_more_vert_24.xml
diff --git a/youpipe/src/main/res/drawable/outline_more_vert_24.xml b/youpipe/src/main/res/drawable/outline_more_vert_24.xmlnew file mode 100644index 0000000000..56a9bd114f--- /dev/null+++ b/youpipe/src/main/res/drawable/outline_more_vert_24.xml@@ -0,0 +1,10 @@+<vector xmlns:android="http://schemas.android.com/apk/res/android"+    android:width="24dp"+    android:height="24dp"+    android:viewportWidth="24"+    android:viewportHeight="24"+    android:tint="?attr/colorControlNormal">+    <path+        android:fillColor="@android:color/white"+        android:pathData="M12,8c1.1,0 2,-0.9 2,-2s-0.9,-2 -2,-2 -2,0.9 -2,2 0.9,2 2,2zM12,10c-1.1,0 -2,0.9 -2,2s0.9,2 2,2 2,-0.9 2,-2 -0.9,-2 -2,-2zM12,16c-1.1,0 -2,0.9 -2,2s0.9,2 2,2 2,-0.9 2,-2 -0.9,-2 -2,-2z" />+</vector>
youpipe/src/main/res/values/strings.xml
diff --git a/youpipe/src/main/res/values/strings.xml b/youpipe/src/main/res/values/strings.xmlindex da0d80984c..d4103f991d 100644--- a/youpipe/src/main/res/values/strings.xml+++ b/youpipe/src/main/res/values/strings.xml@@ -47,4 +47,46 @@     <string name="video_quality_fps_codec">%1$s (%2$dfps) %3$s</string>     <string name="audio_bitrate_codec">%1$dkbps (%2$s)</string>     <string name="empty_recommendations">Watch some videos to get personalized recommendations</string>+    <string name="recommendation_reason">Why: %1$s</string>+    <string name="action_more_options">More options</string>+    <string name="action_not_interested">Not interested</string>+    <string name="action_more_like_this">More like this</string>+    <string name="action_pin_channel">Pin channel</string>+    <string name="action_block_channel">Block channel</string>+    <string name="label_recommendations">Recommendations</string>+    <string name="label_dial_discovery">Familiar โ†” Discovery</string>+    <string name="label_dial_fresh">Evergreen โ†” Fresh</string>+    <string name="label_dial_diverse">Focused โ†” Diverse</string>+    <string name="label_rec_sources">Sources</string>+    <string name="label_rec_content_filters">Content filters</string>+    <string name="label_source_related">Related to your history</string>+    <string name="label_source_trending">Trending</string>+    <string name="label_source_subscription">Your subscriptions</string>+    <string name="label_source_top_channel">Top channels</string>+    <string name="label_source_search">Search-based</string>+    <string name="label_hide_shorts">Hide Shorts</string>+    <string name="label_hide_live">Hide live/unknown length</string>+    <string name="label_min_duration">Min length (seconds)</string>+    <string name="label_max_duration">Max length (seconds)</string>+    <string name="label_manage_interests">Manage interests</string>+    <string name="action_reset_algorithm">Reset algorithm</string>+    <string name="preset_discover_more">Discover more</string>+    <string name="preset_balanced">Balanced</string>+    <string name="preset_mostly_subscriptions">Mostly subscriptions</string>+    <string name="preset_deep_dives">Deep dives</string>+    <string name="title_manage_interests">Manage interests</string>+    <string name="label_your_channels">Your channels</string>+    <string name="label_your_topics">Your topics</string>+    <string name="label_blocked_channels">Blocked channels</string>+    <string name="label_muted_keywords">Muted keywords</string>+    <string name="label_no_channels">No inferred channels yet</string>+    <string name="label_no_topics">No inferred topics yet</string>+    <string name="label_no_blocked_channels">No blocked channels</string>+    <string name="label_no_muted_keywords">No muted keywords</string>+    <string name="label_pinned">Pinned</string>+    <string name="action_pin">Pin</string>+    <string name="action_unpin">Unpin</string>+    <string name="action_remove">Remove</string>+    <string name="action_unblock">Unblock</string>+    <string name="action_unmute">Unmute</string> </resources>