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

RND-371-cli-commands-update #1554

Merged
merged 1 commit into from
Dec 25, 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
10 changes: 5 additions & 5 deletions ui_src/src/components/sideBar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,14 +239,14 @@ function SideBar() {
const MenuItem = ({ icon, activeIcon, name, route, onClick, onMouseEnter, onMouseLeave, badge }) => {
return (
<div className={'item-wrapper ' + (state.route === route ? 'ms-active ' : '') + (hoveredItem === route ? 'item-wrapper-hovered' : '')} onMouseEnter={onMouseEnter} onMouseLeave={onMouseLeave} onClick={onClick}>
<div className="icon">{state.route === route ? activeIcon : hoveredItem === route ? activeIcon : icon}</div>
<div className="icon ">{state.route === route ? activeIcon : hoveredItem === route ? activeIcon : icon}</div>
<p className={state.route === route ? 'checked' : 'name'}>{name}</p>
{badge && <label className="badge">{badge}</label>}
</div>
);
};

const PopoverActionItem = ({icon, name, onClick, upgrade}) => {
const PopoverActionItem = ({ icon, name, onClick, upgrade }) => {
upgrade && setBannerType('upgrade');
return (
<div
Expand Down Expand Up @@ -598,11 +598,11 @@ function SideBar() {

<div className="item-wrapper ms-appearance-wrapper">
<div className="ms-appearance">
<div className={'ms-appearance-light ' + (!darkMode && 'ms-active')} onClick={() => handleDarkMode(false)}>
<SunIcon/>
<div className={'ms-appearance-light ' + (!darkMode && 'ms-active')} onClick={ () => handleDarkMode(false)}>
<SunIcon />
<span className="ms-appearance-text">Light</span>
</div>
<div className={'ms-appearance-dark ' + (darkMode && 'ms-active')} onClick={() => handleDarkMode(true)}>
<div className={'ms-appearance-dark ' + (darkMode && 'ms-active')} onClick={ () => handleDarkMode(true)}>
<MoonIcon/>
<span className="ms-appearance-text">Dark</span>
</div>
Expand Down
8 changes: 4 additions & 4 deletions ui_src/src/const/globalConst.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ export const githubUrls = {
powershell -c "Expand-Archive memphis-cli_Windows_x86_64.zip -DestinationPath memphis-cli -Force"`,
Mac: `brew tap memphisdev/memphis-cli
brew install memphis-cli`,
'Linux RPM': `wget https://github.com/memphisdev/memphis-cli/releases/download/v0.0.1/memphis-cli_0.0.1_linux_amd64.rpm
sudo rpm -i memphis-cli_0.0.1_linux_amd64.rpm`,
'Linux APK': `wget https://github.com/memphisdev/memphis-cli/releases/download/v0.0.1/memphis-cli_0.0.1_linux_arm64.apk
apk add memphis-cli_0.0.1_linux_arm64.apk --allow-untrusted`,
'Linux RPM': `wget https://github.com/memphisdev/memphis-cli/releases/latest/download/memphis-cli_linux_amd64.rpm
sudo rpm -i memphis-cli_linux_amd64.rpm`,
'Linux APK': `wget https://github.com/memphisdev/memphis-cli/releases/latest/download/memphis-cli_linux_arm64.apk
apk add memphis-cli_linux_arm64.apk --allow-untrusted`,
code: 'mem func init myExampleFunc --lang [nodejs/go/python]'
}
};
Expand Down