Skip to content

Commit

Permalink
feat: the save path rule now support the remarks variable
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiteMinds committed Mar 9, 2024
1 parent d569a44 commit 47bf04f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/manager/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@autorecord/manager",
"version": "1.0.4",
"version": "1.0.5",
"description": "Batch scheduling recorders",
"main": "./lib/index.js",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions packages/manager/src/manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ export function genSavePathFromRule<
const params = {
platform: provider?.name ?? 'unknown',
channelId: recorder.channelId,
remarks: recorder.remarks ?? '',
year: formatDate(now, 'yyyy'),
month: formatDate(now, 'MM'),
date: formatDate(now, 'dd'),
Expand Down
4 changes: 4 additions & 0 deletions packages/web/src/views/RecordersManage/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@
<td>owner</td>
<td>{{ t('settings.field_owner_hint') }}</td>
</tr>
<tr>
<td>remarks</td>
<td>{{ t('settings.field_remarks_hint') }}</td>
</tr>
<tr>
<td>year</td>
<td>{{ t('settings.field_year_hint') }}</td>
Expand Down

0 comments on commit 47bf04f

Please sign in to comment.