Skip to content

Commit

Permalink
fix: fix typos in ui
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekzyla committed Oct 4, 2023
1 parent 12922d0 commit 8e02ded
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ function AddDeviceModal(){
return (
<div>
<Modal onRequestClose={handleRequestClose} open={GrCtx.addDeviceOpen} style={{ width: '600px' }}>
<StyledModalHeader title={((GrCtx.isDeviceEdit) ? `Edit device` : `Add a new device to group ${GrCtx.groupName}`)} onRequestClose={handleRequestClose} />
<StyledModalHeader title={((GrCtx.isDeviceEdit) ? `Edit device` : `Add a new device to ${GrCtx.groupName}`)} onRequestClose={handleRequestClose} />
<StyledModalBody>
<StyledControlGroup labelWidth={140} label="IP address">
<ValidationGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ function GroupsList() {
<GroupsContent>
<GroupsNames>
<GroupsNamesHeader>
<P>Group name</P>
<P>Group</P>
<div>
<Button data-test="sc4snmp:add-new-group-button" onClick={handleRequestOpenGroups} appearance="pill" icon={<Plus />} />
</div>
Expand All @@ -252,7 +252,7 @@ function GroupsList() {
<GroupDevices>
<div style={{width: '100%' }}>
<Pagination>
<Select data-test="sc4snmp:group-pagination" appearance="pill" suffixLabel="group items per page"
<Select data-test="sc4snmp:group-pagination" appearance="pill" suffixLabel="items per page"
value={devicesPerPage} onChange={devicesPerPageHandler}
defaultValue="20">
<Select.Option data-test="sc4snmp:group-pagination-option" label="10" value="10" />
Expand Down
13 changes: 6 additions & 7 deletions frontend/packages/manager/src/components/menu_header/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ function Header(){
};

const addButtonLabel = {
Profiles: "Add new profile",
Groups: "Add new group",
Inventory: "Add new device/group"
Profiles: "Add profile",
Groups: "Add group",
Inventory: "Add device/group"
};

const addButtonHandler = {
Expand All @@ -79,10 +79,9 @@ function Header(){
</span>
<span id="project-description">
<P>
Collect SNMP data for Splunk Enterprise, Splunk Enterprise Cloud and Splunk
Infrastructure Monitoring. Make any changes to Profiles, Groups and Inventory. Then select
Apply changes to put the changes into effect. Applying changes can only be done every
5 minutes.
Collect SNMP data for Splunk Enterprise, Splunk Enterprise Cloud, and Splunk Infrastructure Monitoring.
Make any changes to Profiles, Groups, and Inventory, then select Apply changes.
You can only apply changes every 5 minutes.
</P>
</span>
</div>
Expand Down

0 comments on commit 8e02ded

Please sign in to comment.