Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7a8c41c73d | ||
|
|
613ddfb532 | ||
|
|
2eeabb40c8 | ||
|
|
81c38b424d |
No files matched your search
@@ -74,4 +74,3 @@ Gemfile.lock
|
|||||||
|
|
||||||
# Claude Code
|
# Claude Code
|
||||||
/CLAUDE.md
|
/CLAUDE.md
|
||||||
.kotlin/
|
|
||||||
@@ -203,7 +203,7 @@ fun CalendarHost(
|
|||||||
var detailKey by rememberSaveable { mutableStateOf<LongArray?>(null) }
|
var detailKey by rememberSaveable { mutableStateOf<LongArray?>(null) }
|
||||||
val onOpenDetail: (EventInstance) -> Unit = { event -> detailKey = event.occurrenceKey() }
|
val onOpenDetail: (EventInstance) -> Unit = { event -> detailKey = event.occurrenceKey() }
|
||||||
|
|
||||||
// The drawer's "Hide in this view" picker (#517). It is its own window over
|
// The drawer's "Hide in “<view>” view" picker (#517). It is its own window over
|
||||||
// everything here, so each external request below closes it first.
|
// everything here, so each external request below closes it first.
|
||||||
var showViewCalendars by rememberSaveable { mutableStateOf(false) }
|
var showViewCalendars by rememberSaveable { mutableStateOf(false) }
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ package de.jeanlucmakiola.calendula.ui.common
|
|||||||
|
|
||||||
import androidx.compose.foundation.layout.Arrangement
|
import androidx.compose.foundation.layout.Arrangement
|
||||||
import androidx.compose.foundation.layout.Column
|
import androidx.compose.foundation.layout.Column
|
||||||
import androidx.compose.foundation.layout.ColumnScope
|
|
||||||
import androidx.compose.foundation.layout.Row
|
import androidx.compose.foundation.layout.Row
|
||||||
import androidx.compose.foundation.layout.Spacer
|
import androidx.compose.foundation.layout.Spacer
|
||||||
import androidx.compose.foundation.layout.fillMaxWidth
|
import androidx.compose.foundation.layout.fillMaxWidth
|
||||||
@@ -132,8 +131,7 @@ fun FixedTimeReminderEditor(
|
|||||||
* Picker for a fixed-time default (#459), full-screen: off, or a reminder at a
|
* Picker for a fixed-time default (#459), full-screen: off, or a reminder at a
|
||||||
* set time edited in place — and, on a per-calendar picker ([inheritedLabel]
|
* set time edited in place — and, on a per-calendar picker ([inheritedLabel]
|
||||||
* non-null), deferring to the global default, [inherited], which also seeds the
|
* non-null), deferring to the global default, [inherited], which also seeds the
|
||||||
* editor. Applies live; the user leaves via back, or through [footer], which
|
* editor. Applies live; the user leaves via back.
|
||||||
* follows the options and gets [onDismiss].
|
|
||||||
*/
|
*/
|
||||||
@Composable
|
@Composable
|
||||||
fun FixedTimeReminderPicker(
|
fun FixedTimeReminderPicker(
|
||||||
@@ -143,7 +141,6 @@ fun FixedTimeReminderPicker(
|
|||||||
onDismiss: () -> Unit,
|
onDismiss: () -> Unit,
|
||||||
inheritedLabel: String? = null,
|
inheritedLabel: String? = null,
|
||||||
inherited: FixedTimeReminder? = null,
|
inherited: FixedTimeReminder? = null,
|
||||||
footer: @Composable ColumnScope.(dismiss: () -> Unit) -> Unit = {},
|
|
||||||
) {
|
) {
|
||||||
var current by rememberSaveable(stateSaver = FixedTimeOverrideSaver) { mutableStateOf(selected) }
|
var current by rememberSaveable(stateSaver = FixedTimeOverrideSaver) { mutableStateOf(selected) }
|
||||||
var editing by rememberSaveable { mutableStateOf(false) }
|
var editing by rememberSaveable { mutableStateOf(false) }
|
||||||
@@ -195,7 +192,6 @@ fun FixedTimeReminderPicker(
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
footer(onDismiss)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ import de.jeanlucmakiola.calendula.ui.common.CalendarAccountGroup
|
|||||||
import de.jeanlucmakiola.calendula.ui.common.CalendarColorChip
|
import de.jeanlucmakiola.calendula.ui.common.CalendarColorChip
|
||||||
import de.jeanlucmakiola.calendula.ui.common.CalendarView
|
import de.jeanlucmakiola.calendula.ui.common.CalendarView
|
||||||
import de.jeanlucmakiola.calendula.ui.common.accountGroupTitle
|
import de.jeanlucmakiola.calendula.ui.common.accountGroupTitle
|
||||||
|
import de.jeanlucmakiola.calendula.ui.common.label
|
||||||
import de.jeanlucmakiola.calendula.ui.common.orUnnamed
|
import de.jeanlucmakiola.calendula.ui.common.orUnnamed
|
||||||
import de.jeanlucmakiola.floret.components.GroupedListInset
|
import de.jeanlucmakiola.floret.components.GroupedListInset
|
||||||
import de.jeanlucmakiola.floret.components.GroupedRow
|
import de.jeanlucmakiola.floret.components.GroupedRow
|
||||||
@@ -70,6 +71,7 @@ fun CalendarFilterList(
|
|||||||
hidden = s.hidden,
|
hidden = s.hidden,
|
||||||
hiddenInView = hiddenInView,
|
hiddenInView = hiddenInView,
|
||||||
hiddenOnlyHere = hiddenInView.size,
|
hiddenOnlyHere = hiddenInView.size,
|
||||||
|
currentView = currentView,
|
||||||
onHideInView = onHideInView,
|
onHideInView = onHideInView,
|
||||||
onToggleCalendar = viewModel::toggleCalendar,
|
onToggleCalendar = viewModel::toggleCalendar,
|
||||||
onToggleGroup = viewModel::toggleGroup,
|
onToggleGroup = viewModel::toggleGroup,
|
||||||
@@ -90,11 +92,13 @@ private fun FilterList(
|
|||||||
hidden: Set<Long>,
|
hidden: Set<Long>,
|
||||||
hiddenInView: Set<Long>,
|
hiddenInView: Set<Long>,
|
||||||
hiddenOnlyHere: Int,
|
hiddenOnlyHere: Int,
|
||||||
|
currentView: CalendarView,
|
||||||
onHideInView: () -> Unit,
|
onHideInView: () -> Unit,
|
||||||
onToggleCalendar: (Long) -> Unit,
|
onToggleCalendar: (Long) -> Unit,
|
||||||
onToggleGroup: (List<Long>) -> Unit,
|
onToggleGroup: (List<Long>) -> Unit,
|
||||||
modifier: Modifier = Modifier,
|
modifier: Modifier = Modifier,
|
||||||
) {
|
) {
|
||||||
|
val viewName = currentView.label()
|
||||||
Column(modifier = modifier.fillMaxWidth()) {
|
Column(modifier = modifier.fillMaxWidth()) {
|
||||||
groups.forEach { group ->
|
groups.forEach { group ->
|
||||||
val ids = group.calendars.map { it.id }
|
val ids = group.calendars.map { it.id }
|
||||||
@@ -107,7 +111,7 @@ private fun FilterList(
|
|||||||
val visible = cal.id !in hidden
|
val visible = cal.id !in hidden
|
||||||
GroupedRow(
|
GroupedRow(
|
||||||
title = cal.displayName.orUnnamed(),
|
title = cal.displayName.orUnnamed(),
|
||||||
summary = if (cal.id in hiddenInView) stringResource(R.string.filter_hidden_in_view) else null,
|
summary = if (cal.id in hiddenInView) stringResource(R.string.filter_hidden_in_named_view, viewName) else null,
|
||||||
position = positionOf(index, group.calendars.size),
|
position = positionOf(index, group.calendars.size),
|
||||||
minHeight = 56.dp,
|
minHeight = 56.dp,
|
||||||
leading = { CalendarColorChip(cal.color) },
|
leading = { CalendarColorChip(cal.color) },
|
||||||
@@ -124,11 +128,11 @@ private fun FilterList(
|
|||||||
// The per-view hide (#517): the drawer filter above hides everywhere, this only here.
|
// The per-view hide (#517): the drawer filter above hides everywhere, this only here.
|
||||||
Spacer(Modifier.height(8.dp))
|
Spacer(Modifier.height(8.dp))
|
||||||
GroupedRow(
|
GroupedRow(
|
||||||
title = stringResource(R.string.view_calendars_title),
|
title = stringResource(R.string.view_hide_in_title, viewName),
|
||||||
summary = if (hiddenOnlyHere > 0) {
|
summary = if (hiddenOnlyHere > 0) {
|
||||||
pluralStringResource(R.plurals.drawer_hidden_in_view_count, hiddenOnlyHere, hiddenOnlyHere)
|
pluralStringResource(R.plurals.drawer_hidden_in_named_view_count, hiddenOnlyHere, hiddenOnlyHere, viewName)
|
||||||
} else {
|
} else {
|
||||||
stringResource(R.string.drawer_hidden_in_view_none)
|
stringResource(R.string.drawer_hidden_in_named_view_none, viewName)
|
||||||
},
|
},
|
||||||
position = Position.Alone,
|
position = Position.Alone,
|
||||||
minHeight = 56.dp,
|
minHeight = 56.dp,
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ import de.jeanlucmakiola.calendula.ui.common.CalendarColorChip
|
|||||||
import de.jeanlucmakiola.calendula.ui.common.CalendarView
|
import de.jeanlucmakiola.calendula.ui.common.CalendarView
|
||||||
import de.jeanlucmakiola.calendula.ui.common.accountGroupTitle
|
import de.jeanlucmakiola.calendula.ui.common.accountGroupTitle
|
||||||
import de.jeanlucmakiola.calendula.ui.common.calendarsHiddenIn
|
import de.jeanlucmakiola.calendula.ui.common.calendarsHiddenIn
|
||||||
|
import de.jeanlucmakiola.calendula.ui.common.label
|
||||||
import de.jeanlucmakiola.calendula.ui.common.orUnnamed
|
import de.jeanlucmakiola.calendula.ui.common.orUnnamed
|
||||||
import de.jeanlucmakiola.floret.components.FullScreenPicker
|
import de.jeanlucmakiola.floret.components.FullScreenPicker
|
||||||
import de.jeanlucmakiola.floret.components.GroupedHint
|
import de.jeanlucmakiola.floret.components.GroupedHint
|
||||||
@@ -30,8 +31,9 @@ fun ViewCalendarsPicker(
|
|||||||
onSetHidden: (calendarId: Long, hidden: Boolean) -> Unit,
|
onSetHidden: (calendarId: Long, hidden: Boolean) -> Unit,
|
||||||
onDismiss: () -> Unit,
|
onDismiss: () -> Unit,
|
||||||
) {
|
) {
|
||||||
|
val viewName = view.label()
|
||||||
FullScreenPicker(
|
FullScreenPicker(
|
||||||
title = stringResource(R.string.view_calendars_title),
|
title = stringResource(R.string.view_hide_in_title, viewName),
|
||||||
onDismiss = onDismiss,
|
onDismiss = onDismiss,
|
||||||
predictiveBack = true,
|
predictiveBack = true,
|
||||||
) {
|
) {
|
||||||
@@ -42,7 +44,7 @@ fun ViewCalendarsPicker(
|
|||||||
// Seeded once, then ahead of the store: the picker is the only
|
// Seeded once, then ahead of the store: the picker is the only
|
||||||
// writer while open, so a quick second tap still flips.
|
// writer while open, so a quick second tap still flips.
|
||||||
var hidden by remember(view) { mutableStateOf(state.hiddenViews.calendarsHiddenIn(view)) }
|
var hidden by remember(view) { mutableStateOf(state.hiddenViews.calendarsHiddenIn(view)) }
|
||||||
GroupedHint(stringResource(R.string.view_calendars_hint), verticalPadding = 8.dp)
|
GroupedHint(stringResource(R.string.view_calendars_named_hint, viewName), verticalPadding = 8.dp)
|
||||||
state.groups.forEach { group ->
|
state.groups.forEach { group ->
|
||||||
GroupedSectionHeader(accountGroupTitle(group))
|
GroupedSectionHeader(accountGroupTitle(group))
|
||||||
MultiOptionRows(
|
MultiOptionRows(
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ import de.jeanlucmakiola.floret.identity.collapseExit
|
|||||||
import de.jeanlucmakiola.floret.identity.expandEnter
|
import de.jeanlucmakiola.floret.identity.expandEnter
|
||||||
import androidx.compose.foundation.layout.Column
|
import androidx.compose.foundation.layout.Column
|
||||||
import androidx.compose.animation.AnimatedVisibility
|
import androidx.compose.animation.AnimatedVisibility
|
||||||
import androidx.compose.animation.EnterExitState
|
|
||||||
import android.Manifest
|
import android.Manifest
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.content.Intent
|
import android.content.Intent
|
||||||
@@ -20,13 +19,10 @@ import androidx.compose.foundation.layout.Row
|
|||||||
import androidx.compose.foundation.layout.Spacer
|
import androidx.compose.foundation.layout.Spacer
|
||||||
import androidx.compose.foundation.layout.fillMaxWidth
|
import androidx.compose.foundation.layout.fillMaxWidth
|
||||||
import androidx.compose.foundation.layout.height
|
import androidx.compose.foundation.layout.height
|
||||||
import androidx.compose.foundation.relocation.BringIntoViewRequester
|
|
||||||
import androidx.compose.foundation.relocation.bringIntoViewRequester
|
|
||||||
import androidx.compose.material.icons.Icons
|
import androidx.compose.material.icons.Icons
|
||||||
import androidx.compose.material.icons.automirrored.filled.KeyboardArrowRight
|
import androidx.compose.material.icons.automirrored.filled.KeyboardArrowRight
|
||||||
import androidx.compose.material.icons.automirrored.filled.OpenInNew
|
import androidx.compose.material.icons.automirrored.filled.OpenInNew
|
||||||
import androidx.compose.material.icons.outlined.Info
|
import androidx.compose.material.icons.outlined.Info
|
||||||
import androidx.compose.material.icons.outlined.NotificationsActive
|
|
||||||
import androidx.compose.material3.Icon
|
import androidx.compose.material3.Icon
|
||||||
import androidx.compose.material3.MaterialTheme
|
import androidx.compose.material3.MaterialTheme
|
||||||
import androidx.compose.material3.Text
|
import androidx.compose.material3.Text
|
||||||
@@ -112,7 +108,6 @@ internal fun NotificationsScreen(
|
|||||||
var showFixedDefault by remember { mutableStateOf(false) }
|
var showFixedDefault by remember { mutableStateOf(false) }
|
||||||
var showDigestDay by remember { mutableStateOf(false) }
|
var showDigestDay by remember { mutableStateOf(false) }
|
||||||
var showDigestTime by remember { mutableStateOf(false) }
|
var showDigestTime by remember { mutableStateOf(false) }
|
||||||
var revealDigest by rememberSaveable { mutableStateOf(false) }
|
|
||||||
val scope = rememberCoroutineScope()
|
val scope = rememberCoroutineScope()
|
||||||
val channelStatus by viewModel.channelStatus.collectAsStateWithLifecycle()
|
val channelStatus by viewModel.channelStatus.collectAsStateWithLifecycle()
|
||||||
val digestBlocked by viewModel.digestBlocked.collectAsStateWithLifecycle()
|
val digestBlocked by viewModel.digestBlocked.collectAsStateWithLifecycle()
|
||||||
@@ -198,14 +193,9 @@ internal fun NotificationsScreen(
|
|||||||
|
|
||||||
Spacer(Modifier.height(24.dp))
|
Spacer(Modifier.height(24.dp))
|
||||||
DailyDigestRows(
|
DailyDigestRows(
|
||||||
reveal = revealDigest,
|
|
||||||
onRevealed = { revealDigest = false },
|
|
||||||
digest = state.dailyDigest,
|
digest = state.dailyDigest,
|
||||||
blocked = channelStatus.appBlocked || digestBlocked,
|
blocked = channelStatus.appBlocked || digestBlocked,
|
||||||
onEnable = {
|
onEnable = toggleDigest,
|
||||||
revealDigest = false
|
|
||||||
toggleDigest(it)
|
|
||||||
},
|
|
||||||
onPickDay = { showDigestDay = true },
|
onPickDay = { showDigestDay = true },
|
||||||
onPickTime = { showDigestTime = true },
|
onPickTime = { showDigestTime = true },
|
||||||
onOpenSound = {
|
onOpenSound = {
|
||||||
@@ -267,29 +257,6 @@ internal fun NotificationsScreen(
|
|||||||
selected = state.defaultFixedTimeReminder?.let { FixedTimeOverride.At(it) } ?: FixedTimeOverride.Off,
|
selected = state.defaultFixedTimeReminder?.let { FixedTimeOverride.At(it) } ?: FixedTimeOverride.Off,
|
||||||
onSelect = { viewModel.setDefaultFixedTimeReminder((it as? FixedTimeOverride.At)?.reminder) },
|
onSelect = { viewModel.setDefaultFixedTimeReminder((it as? FixedTimeOverride.At)?.reminder) },
|
||||||
onDismiss = { showFixedDefault = false },
|
onDismiss = { showFixedDefault = false },
|
||||||
footer = { dismiss ->
|
|
||||||
// For those after one list of the day's events (#459).
|
|
||||||
if (!state.dailyDigest.enabled) {
|
|
||||||
Spacer(Modifier.height(24.dp))
|
|
||||||
GroupedRow(
|
|
||||||
title = stringResource(R.string.settings_digest_turn_on),
|
|
||||||
summary = stringResource(R.string.settings_digest_hint),
|
|
||||||
position = Position.Alone,
|
|
||||||
leading = {
|
|
||||||
Icon(
|
|
||||||
imageVector = Icons.Outlined.NotificationsActive,
|
|
||||||
contentDescription = null,
|
|
||||||
tint = MaterialTheme.colorScheme.onSurfaceVariant,
|
|
||||||
)
|
|
||||||
},
|
|
||||||
onClick = {
|
|
||||||
revealDigest = true
|
|
||||||
toggleDigest(true)
|
|
||||||
dismiss()
|
|
||||||
},
|
|
||||||
)
|
|
||||||
}
|
|
||||||
},
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
if (showDigestDay) {
|
if (showDigestDay) {
|
||||||
@@ -361,8 +328,7 @@ internal fun NotificationsScreen(
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The daily summary (#459): its switch, and once on, which day it lists, when,
|
* The daily summary (#459): its switch, and once on, which day it lists, when,
|
||||||
* and its channel's system settings. With [reveal], the block scrolls into view
|
* and its channel's system settings.
|
||||||
* once those rows have expanded, then reports [onRevealed].
|
|
||||||
*/
|
*/
|
||||||
@Composable
|
@Composable
|
||||||
private fun DailyDigestRows(
|
private fun DailyDigestRows(
|
||||||
@@ -372,59 +338,47 @@ private fun DailyDigestRows(
|
|||||||
onPickDay: () -> Unit,
|
onPickDay: () -> Unit,
|
||||||
onPickTime: () -> Unit,
|
onPickTime: () -> Unit,
|
||||||
onOpenSound: () -> Unit,
|
onOpenSound: () -> Unit,
|
||||||
reveal: Boolean,
|
|
||||||
onRevealed: () -> Unit,
|
|
||||||
) {
|
) {
|
||||||
val requester = remember { BringIntoViewRequester() }
|
GroupedSwitchRow(
|
||||||
Column(Modifier.bringIntoViewRequester(requester)) {
|
title = stringResource(R.string.settings_digest),
|
||||||
GroupedSwitchRow(
|
checked = digest.enabled,
|
||||||
title = stringResource(R.string.settings_digest),
|
onCheckedChange = onEnable,
|
||||||
checked = digest.enabled,
|
summary = if (digest.enabled) {
|
||||||
onCheckedChange = onEnable,
|
stringResource(
|
||||||
summary = if (digest.enabled) {
|
R.string.settings_digest_summary,
|
||||||
stringResource(
|
stringResource(digestDayLabel(digest.day)),
|
||||||
R.string.settings_digest_summary,
|
settingsTimeOfDay(digest.timeMinutes),
|
||||||
stringResource(digestDayLabel(digest.day)),
|
)
|
||||||
settingsTimeOfDay(digest.timeMinutes),
|
} else {
|
||||||
)
|
stringResource(R.string.settings_digest_hint)
|
||||||
} else {
|
},
|
||||||
stringResource(R.string.settings_digest_hint)
|
position = if (digest.enabled) Position.Top else Position.Alone,
|
||||||
},
|
)
|
||||||
position = if (digest.enabled) Position.Top else Position.Alone,
|
AnimatedVisibility(visible = digest.enabled, enter = expandEnter(), exit = collapseExit()) {
|
||||||
)
|
Column {
|
||||||
AnimatedVisibility(visible = digest.enabled, enter = expandEnter(), exit = collapseExit()) {
|
GroupedRow(
|
||||||
val settled = !transition.isRunning && transition.currentState == EnterExitState.Visible
|
title = stringResource(R.string.settings_digest_day),
|
||||||
LaunchedEffect(settled, reveal) {
|
summary = stringResource(digestDayLabel(digest.day)),
|
||||||
if (settled && reveal) {
|
position = Position.Middle,
|
||||||
requester.bringIntoView()
|
onClick = onPickDay,
|
||||||
onRevealed()
|
)
|
||||||
}
|
GroupedRow(
|
||||||
}
|
title = stringResource(R.string.settings_digest_time),
|
||||||
Column {
|
summary = settingsTimeOfDay(digest.timeMinutes),
|
||||||
GroupedRow(
|
position = Position.Middle,
|
||||||
title = stringResource(R.string.settings_digest_day),
|
onClick = onPickTime,
|
||||||
summary = stringResource(digestDayLabel(digest.day)),
|
)
|
||||||
position = Position.Middle,
|
GroupedRow(
|
||||||
onClick = onPickDay,
|
title = stringResource(R.string.settings_notification_sound),
|
||||||
)
|
summary = if (blocked) {
|
||||||
GroupedRow(
|
stringResource(R.string.settings_notifications_blocked_hint)
|
||||||
title = stringResource(R.string.settings_digest_time),
|
} else {
|
||||||
summary = settingsTimeOfDay(digest.timeMinutes),
|
stringResource(R.string.settings_digest_sound_hint)
|
||||||
position = Position.Middle,
|
},
|
||||||
onClick = onPickTime,
|
position = Position.Bottom,
|
||||||
)
|
trailing = { ExternalLinkIcon() },
|
||||||
GroupedRow(
|
onClick = onOpenSound,
|
||||||
title = stringResource(R.string.settings_notification_sound),
|
)
|
||||||
summary = if (blocked) {
|
|
||||||
stringResource(R.string.settings_notifications_blocked_hint)
|
|
||||||
} else {
|
|
||||||
stringResource(R.string.settings_digest_sound_hint)
|
|
||||||
},
|
|
||||||
position = Position.Bottom,
|
|
||||||
trailing = { ExternalLinkIcon() },
|
|
||||||
onClick = onOpenSound,
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -808,7 +808,6 @@
|
|||||||
<string name="settings_fixed_reminder_hint">Added to new timed events, e.g. the evening before. It follows the event when you move it to another time.</string>
|
<string name="settings_fixed_reminder_hint">Added to new timed events, e.g. the evening before. It follows the event when you move it to another time.</string>
|
||||||
<!-- Daily summary notification (#459) -->
|
<!-- Daily summary notification (#459) -->
|
||||||
<string name="settings_digest">Daily summary</string>
|
<string name="settings_digest">Daily summary</string>
|
||||||
<string name="settings_digest_turn_on">Turn on daily summary</string>
|
|
||||||
<string name="settings_digest_hint">One notification listing a day\'s events</string>
|
<string name="settings_digest_hint">One notification listing a day\'s events</string>
|
||||||
<!-- %1$s is settings_digest_day_today/tomorrow, %2$s a clock time. -->
|
<!-- %1$s is settings_digest_day_today/tomorrow, %2$s a clock time. -->
|
||||||
<string name="settings_digest_summary">%1$s at %2$s</string>
|
<string name="settings_digest_summary">%1$s at %2$s</string>
|
||||||
@@ -968,14 +967,19 @@
|
|||||||
<string name="calendars_hide_in_views_hint">Events from “%1$s” stay out of the views checked here. Reminders, search and widgets still include them.</string>
|
<string name="calendars_hide_in_views_hint">Events from “%1$s” stay out of the views checked here. Reminders, search and widgets still include them.</string>
|
||||||
<string name="calendars_hide_in_views_none">Shown in every view</string>
|
<string name="calendars_hide_in_views_none">Shown in every view</string>
|
||||||
<string name="calendars_hidden_in">Hidden in %1$s</string>
|
<string name="calendars_hidden_in">Hidden in %1$s</string>
|
||||||
<string name="filter_hidden_in_view">Hidden in this view</string>
|
<!-- %1$s: the quoted view name, as in view_hide_in_title. -->
|
||||||
<string name="view_calendars_title">Hide in this view</string>
|
<string name="filter_hidden_in_named_view">Hidden in “%1$s” view</string>
|
||||||
<plurals name="drawer_hidden_in_view_count">
|
<!-- %1$s is the view's name as the view switcher shows it, e.g. "Month" or "3 days". It is a quoted label: phrase around it instead of inflecting it. -->
|
||||||
<item quantity="one">%d calendar hidden in this view</item>
|
<string name="view_hide_in_title">Hide in “%1$s” view</string>
|
||||||
<item quantity="other">%d calendars hidden in this view</item>
|
<!-- %2$s: the quoted view name, as in view_hide_in_title. -->
|
||||||
|
<plurals name="drawer_hidden_in_named_view_count">
|
||||||
|
<item quantity="one">%1$d calendar hidden in “%2$s” view</item>
|
||||||
|
<item quantity="other">%1$d calendars hidden in “%2$s” view</item>
|
||||||
</plurals>
|
</plurals>
|
||||||
<string name="drawer_hidden_in_view_none">Leave calendars out of this view only</string>
|
<!-- %1$s: the quoted view name, as in view_hide_in_title. -->
|
||||||
<string name="view_calendars_hint">Checked calendars stay out of this view only. Reminders, search and widgets still include them.</string>
|
<string name="drawer_hidden_in_named_view_none">Leave calendars out of the “%1$s” view only</string>
|
||||||
|
<!-- %1$s: the quoted view name, as in view_hide_in_title. -->
|
||||||
|
<string name="view_calendars_named_hint">Checked calendars stay out of the “%1$s” view only. Reminders, search and widgets still include them.</string>
|
||||||
<string name="view_calendars_hidden_everywhere">Hidden in every view from the menu</string>
|
<string name="view_calendars_hidden_everywhere">Hidden in every view from the menu</string>
|
||||||
<string name="color_name_mauve">Mauve</string>
|
<string name="color_name_mauve">Mauve</string>
|
||||||
<string name="color_name_red">Red</string>
|
<string name="color_name_red">Red</string>
|
||||||
|
|||||||
@@ -420,8 +420,8 @@ separate in-app declutter that never touches reminders. Narrower still is the pe
|
|||||||
(`SettingsPrefs.perCalendarHiddenViews`, #270): each view model asks for its
|
(`SettingsPrefs.perCalendarHiddenViews`, #270): each view model asks for its
|
||||||
events through `instancesWithout(range, calendarsHiddenIn(view, …))`, which drops
|
events through `instancesWithout(range, calendarsHiddenIn(view, …))`, which drops
|
||||||
the calendars hidden in that one view on top of the repository's filters; reminders, search and widgets read
|
the calendars hidden in that one view on top of the repository's filters; reminders, search and widgets read
|
||||||
the repository and never see it. The drawer's "Hide in this view" entry (#517) edits the same
|
the repository and never see it. The drawer's "Hide in “<view>” view" entry (#517, #143) edits the same
|
||||||
set for the view on show, and the drawer's per-row "Hidden in this view" notes read it.
|
set for the view on show, and the drawer's per-row "Hidden in “<view>” view" notes read it.
|
||||||
|
|
||||||
**A channel per calendar (#145).** `ReminderChannels` keeps one notification
|
**A channel per calendar (#145).** `ReminderChannels` keeps one notification
|
||||||
channel per calendar, grouped by account (one that syncs no events only gets
|
channel per calendar, grouped by account (one that syncs no events only gets
|
||||||
|
|||||||
Reference in new issue
Block a user