remove the possibility to receive notifications when subscribing because that sends a lot of notifications, one for each entry in the feed

This commit is contained in:
Athou
2026-02-19 15:53:17 +01:00
parent bcce77495a
commit ba3214bf10
9 changed files with 26 additions and 26 deletions

View File

@@ -304,7 +304,6 @@ export interface SubscribeRequest {
url: string
title: string
categoryId?: string
pushNotificationsEnabled: boolean
}
export interface TagRequest {

View File

@@ -11,7 +11,6 @@ import { useAppDispatch } from "@/app/store"
import { reloadTree } from "@/app/tree/thunks"
import type { FeedInfoRequest, SubscribeRequest } from "@/app/types"
import { Alert } from "@/components/Alert"
import { ReceivePushNotificationsChechbox } from "@/components/ReceivePushNotificationsChechbox"
import { CategorySelect } from "./CategorySelect"
export function Subscribe() {
@@ -29,7 +28,6 @@ export function Subscribe() {
url: "",
title: "",
categoryId: Constants.categories.all.id,
pushNotificationsEnabled: false,
},
})
@@ -105,9 +103,6 @@ export function Subscribe() {
<TextInput label={<Trans>Feed URL</Trans>} {...step1Form.getInputProps("url")} disabled />
<TextInput label={<Trans>Feed name</Trans>} {...step1Form.getInputProps("title")} required autoFocus />
<CategorySelect label={<Trans>Category</Trans>} {...step1Form.getInputProps("categoryId")} clearable />
<ReceivePushNotificationsChechbox
{...step1Form.getInputProps("pushNotificationsEnabled", { type: "checkbox" })}
/>
</Stack>
</Stepper.Step>
</Stepper>