Skip to content

Commit

Permalink
Change TOTP Labels to 2FA and ensure consistency between task block a… (
Browse files Browse the repository at this point in the history
#949)

Co-authored-by: wintonzheng <null>
  • Loading branch information
wintonzheng authored Oct 10, 2024
1 parent 9eb1673 commit 3977684
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions skyvern-frontend/src/routes/tasks/create/SavedTaskForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand All @@ -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) {
Expand Down

0 comments on commit 3977684

Please sign in to comment.