Skip to content

Commit

Permalink
Addressed naming comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
M6AI committed Nov 8, 2023
1 parent a79f282 commit 9332010
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions testplan/web_ui/testing/src/Nav/InteractiveNavEntry.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,8 @@ function StartingStoppingIcon(starting) {
className={
css(
styles.inactiveEntryButton,
styles.onOffButton,
styles.busyOnOffButton,
styles.environmentToggle,
styles.busyEnvironmentToggle,
)
}
icon={starting ? faToggleOn : faToggleOff}
Expand All @@ -246,8 +246,8 @@ const getEnvStatusIcon = (entryStatus, envStatus, envCtrlCallback) => {
<FontAwesomeIcon
className={
disabled ?
css(styles.inactiveOnOffButton, styles.onOffButton) :
css(styles.entryButton, styles.onOffButton)
css(styles.inactiveEntryButton, styles.environmentToggle) :
css(styles.entryButton, styles.environmentToggle)
}
icon={faToggleOff}
title="Start environment"
Expand All @@ -265,8 +265,8 @@ const getEnvStatusIcon = (entryStatus, envStatus, envCtrlCallback) => {
<FontAwesomeIcon
className={
disabled ?
css(styles.inactiveEntryButton, styles.onOffButton) :
css(styles.entryButton, styles.onOffButton)
css(styles.inactiveEntryButton, styles.environmentToggle) :
css(styles.entryButton, styles.environmentToggle)
}
icon={faToggleOn}
title="Stop environment"
Expand Down Expand Up @@ -413,10 +413,10 @@ const styles = StyleSheet.create({
padding: "0.7em 0em 0.7em 0em",
transition: "all 0.3s ease-out 0s !important",
},
onOffButton: {
environmentToggle: {
padding: "0.65em 0em 0.65em 0em",
},
busyOnOffButton: {
busyEnvironmentToggle: {
color: "orange",
},
badge: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ exports[`InteractiveNavEntry renders an entry with environment status STARTED 1`
beatFade={false}
border={false}
bounce={false}
className="entryButton_1wwl2v-o_O-onOffButton_q5b348"
className="entryButton_1wwl2v-o_O-environmentToggle_q5b348"
fade={false}
fixedWidth={false}
flip={false}
Expand Down Expand Up @@ -885,7 +885,7 @@ exports[`InteractiveNavEntry renders an entry with environment status STARTING 1
beatFade={false}
border={false}
bounce={false}
className="inactiveEntryButton_104ny1c-o_O-onOffButton_q5b348-o_O-busyOnOffButton_2mo5qs"
className="inactiveEntryButton_104ny1c-o_O-environmentToggle_q5b348-o_O-busyEnvironmentToggle_2mo5qs"
fade={false}
fixedWidth={false}
flip={false}
Expand Down Expand Up @@ -1058,7 +1058,7 @@ exports[`InteractiveNavEntry renders an entry with environment status STOPPED 1`
beatFade={false}
border={false}
bounce={false}
className="entryButton_1wwl2v-o_O-onOffButton_q5b348"
className="entryButton_1wwl2v-o_O-environmentToggle_q5b348"
fade={false}
fixedWidth={false}
flip={false}
Expand Down Expand Up @@ -1230,7 +1230,7 @@ exports[`InteractiveNavEntry renders an entry with environment status STOPPING 1
beatFade={false}
border={false}
bounce={false}
className="inactiveEntryButton_104ny1c-o_O-onOffButton_q5b348-o_O-busyOnOffButton_2mo5qs"
className="inactiveEntryButton_104ny1c-o_O-environmentToggle_q5b348-o_O-busyEnvironmentToggle_2mo5qs"
fade={false}
fixedWidth={false}
flip={false}
Expand Down

0 comments on commit 9332010

Please sign in to comment.