Merge pull request #950 from getmaxun/ui-name

feat: rename name & target url labels
This commit is contained in:
Karishma Shukla
2026-01-22 18:58:18 +05:30
committed by GitHub
4 changed files with 11 additions and 11 deletions

View File

@@ -266,7 +266,7 @@
},
"save_recording": {
"title": "Save Robot",
"robot_name": "Robot Name",
"robot_name": "Name",
"buttons": {
"save": "Save",
"confirm": "Confirm"
@@ -440,7 +440,7 @@
"warning": "⚠️ Ensure the new page has the same structure as the original page."
},
"fields": {
"target_url": "Robot Target URL"
"target_url": "Target URL"
},
"buttons": {
"duplicate": "Duplicate Robot",
@@ -456,7 +456,7 @@
},
"robot_settings": {
"title": "Robot Settings",
"target_url": "Robot Target URL",
"target_url": "Target URL",
"robot_id": "Robot ID",
"robot_limit": "Robot Limit",
"created_by_user": "Created By User",
@@ -470,7 +470,7 @@
},
"robot_edit": {
"title": "Edit Robot",
"change_name": "Robot Name",
"change_name": "Name",
"robot_limit": "Robot Limit",
"save": "Save Changes",
"cancel": "Cancel",

View File

@@ -399,12 +399,12 @@ const RobotCreate: React.FC = () => {
<Box sx={{ width: '100%', maxWidth: 700 }}>
<Box sx={{ mb: 3 }}>
<TextField
placeholder="Robot Name"
placeholder="Name"
variant="outlined"
fullWidth
value={extractRobotName}
onChange={(e) => setExtractRobotName(e.target.value)}
label="Robot Name"
label="Name"
/>
</Box>
@@ -693,7 +693,7 @@ const RobotCreate: React.FC = () => {
value={scrapeRobotName}
onChange={(e) => setScrapeRobotName(e.target.value)}
sx={{ mb: 2 }}
label="Robot Name"
label="Name"
/>
<TextField
placeholder="Example: https://www.ycombinator.com/companies/"
@@ -854,7 +854,7 @@ const RobotCreate: React.FC = () => {
<Box sx={{ width: '100%', maxWidth: 700, mb: 2 }}>
<TextField
label="Robot Name"
label="Name"
placeholder="Example: YC Companies Crawler"
fullWidth
value={crawlRobotName}
@@ -1013,7 +1013,7 @@ const RobotCreate: React.FC = () => {
<Box sx={{ width: '100%', maxWidth: 700, mb: 2 }}>
<TextField
label="Robot Name"
label="Name"
placeholder="Example: AI News Monitor"
fullWidth
value={searchRobotName}

View File

@@ -1094,7 +1094,7 @@ export const RobotEditPage = ({ handleStart }: RobotSettingsProps) => {
<>
<TextField
label={t("robot_edit.change_name")}
key="Robot Name"
key="Name"
type="text"
value={robot.recording_meta.name}
onChange={(e) => handleRobotNameChange(e.target.value)}

View File

@@ -131,7 +131,7 @@ export const RobotSettingsPage = ({ handleStart }: RobotSettingsProps) => {
{robot.recording_meta.type !== 'search' && (
<TextField
label={t("robot_settings.target_url")}
key="Robot Target URL"
key="Target URL"
value={targetUrl}
InputProps={{
readOnly: true,