mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-02 02:00:49 +08:00
feat(native): record encoding (#14188)
fix #13784 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Start/stop system or meeting recordings with Ogg/Opus artifacts and native start/stop APIs; workspace backup recovery. * **Refactor** * Simplified recording lifecycle and UI flows; native runtime now orchestrates recording/processing and reporting. * **Bug Fixes** * Stronger path validation, safer import/export dialogs, consistent error handling/logging, and retry-safe recording processing. * **Chores** * Added cross-platform native audio capture and Ogg/Opus encoding support. * **Tests** * New unit, integration, and e2e tests for recording, path guards, dialogs, and workspace recovery. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -187,7 +187,6 @@ export const DayPicker = memo(function DayPicker(
|
||||
{/* Weeks in month */}
|
||||
{matrix.map((week, i) => {
|
||||
return (
|
||||
// eslint-disable-next-line react/no-array-index-key
|
||||
<div key={i} className={clsx(styles.monthViewRow)}>
|
||||
{week.map(cell => {
|
||||
const dateValue = cell.date.format(format);
|
||||
|
||||
@@ -126,10 +126,8 @@ export const MonthPicker = memo(function MonthPicker(
|
||||
const Body = useMemo(() => {
|
||||
return (
|
||||
<div className={styles.yearViewBody}>
|
||||
{/* eslint-disable-next-line react/no-array-index-key */}
|
||||
{matrix.map((row, i) => {
|
||||
return (
|
||||
// eslint-disable-next-line react/no-array-index-key
|
||||
<div key={i} className={styles.yearViewRow}>
|
||||
{row.map(month => {
|
||||
const monthValue = month.format('YYYY-MM');
|
||||
|
||||
Reference in New Issue
Block a user