Change TOTP Labels to 2FA and ensure consistency between task block a… (#949)

Co-authored-by: wintonzheng <null>
This commit is contained in:
Shuchang Zheng
2024-10-10 06:16:47 -07:00
committed by GitHub
parent 9eb1673cf2
commit 39776842f3
3 changed files with 6 additions and 8 deletions

View File

@@ -530,7 +530,7 @@ function CreateNewTaskForm({ initialValues }: Props) {
<div className="flex gap-16">
<FormLabel>
<div className="w-72">
<h1 className="text-lg">TOTP Verification URL</h1>
<h1 className="text-lg">2FA Verification URL</h1>
<h2 className="text-base text-slate-400"></h2>
</div>
</FormLabel>
@@ -556,7 +556,7 @@ function CreateNewTaskForm({ initialValues }: Props) {
<div className="flex gap-16">
<FormLabel>
<div className="w-72">
<h1 className="text-lg">TOTP Identifier</h1>
<h1 className="text-lg">2FA Identifier</h1>
<h2 className="text-base text-slate-400"></h2>
</div>
</FormLabel>

View File

@@ -704,7 +704,7 @@ function SavedTaskForm({ initialValues }: Props) {
<div className="flex gap-16">
<FormLabel>
<div className="w-72">
<h1 className="text-lg">TOTP Verification URL</h1>
<h1 className="text-lg">2FA Verification URL</h1>
<h2 className="text-base text-slate-400"></h2>
</div>
</FormLabel>
@@ -730,7 +730,7 @@ function SavedTaskForm({ initialValues }: Props) {
<div className="flex gap-16">
<FormLabel>
<div className="w-72">
<h1 className="text-lg">TOTP Identifier</h1>
<h1 className="text-lg">2FA Identifier</h1>
<h2 className="text-base text-slate-400"></h2>
</div>
</FormLabel>

View File

@@ -389,7 +389,7 @@ function TaskNode({ id, data }: NodeProps<TaskNode>) {
<div className="space-y-4">
<div className="space-y-1">
<Label className="text-xs text-slate-300">
TOTP Verification URL
2FA Verification URL
</Label>
<AutoResizingTextarea
onChange={(event) => {
@@ -404,9 +404,7 @@ function TaskNode({ id, data }: NodeProps<TaskNode>) {
/>
</div>
<div className="space-y-1">
<Label className="text-xs text-slate-300">
Unique Identifier
</Label>
<Label className="text-xs text-slate-300">2FA Identifier</Label>
<AutoResizingTextarea
onChange={(event) => {
if (!editable) {