Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix typos in ui #49

Merged
merged 1 commit into from
Oct 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading