Merge branch 'master' into fe-shortcut-keys

pull/5370/head
Joseph Izang 5 months ago committed by GitHub
commit e750831d37
  1. 1
      apps/remix-ide/src/app/tabs/locales/en/terminal.json
  2. 1
      apps/remix-ide/src/app/tabs/locales/es/terminal.json
  3. 3
      apps/remix-ide/src/app/tabs/locales/fr/terminal.json
  4. 1
      apps/remix-ide/src/app/tabs/locales/it/terminal.json
  5. 1
      apps/remix-ide/src/app/tabs/locales/ko/terminal.json
  6. 1
      apps/remix-ide/src/app/tabs/locales/ru/terminal.json
  7. 1
      apps/remix-ide/src/app/tabs/locales/zh/terminal.json
  8. 2
      libs/remix-lib/package.json
  9. 2
      libs/remix-simulator/src/methods/accounts.ts
  10. 2
      libs/remix-ui/app/src/lib/remix-app/remix-app.tsx
  11. 1
      libs/remix-ui/app/src/lib/remix-app/style/remix-app.css
  12. 2
      libs/remix-ui/home-tab/src/lib/components/homeTabFile.tsx
  13. 4
      libs/remix-ui/home-tab/src/lib/components/homeTabGetStarted.tsx
  14. 6
      libs/remix-ui/modal-dialog/src/lib/remix-ui-modal-dialog.css
  15. 13
      libs/remix-ui/terminal/src/lib/components/Table.tsx
  16. 2
      libs/remix-ui/workspace/src/lib/components/workspace-hamburger.tsx

@ -40,5 +40,6 @@
"terminal.input": "input",
"terminal.decodedInput": "decoded input",
"terminal.decodedOutput": "decoded output",
"terminal.rawlogs": "raw logs",
"terminal.logs": "logs"
}

@ -39,5 +39,6 @@
"terminal.input": "entrada",
"terminal.decodedInput": "entrada descodificada",
"terminal.decodedOutput": "salida descodificada",
"terminal.rawlogs": "registros sin procesar",
"terminal.logs": "registros"
}

@ -39,5 +39,6 @@
"terminal.input": "entrée",
"terminal.decodedInput": "entrée décodée",
"terminal.decodedOutput": "sortie décodée",
"terminal.logs": "logs"
"terminal.rawlogs": "logs bruts",
"terminal.logs": "Log"
}

@ -39,5 +39,6 @@
"terminal.input": "input",
"terminal.decodedInput": "input decodificato",
"terminal.decodedOutput": "output decodificato",
"terminal.rawlogs": "log grezzi",
"terminal.logs": "Log"
}

@ -39,5 +39,6 @@
"terminal.input": "입력",
"terminal.decodedInput": "디코드된 입력",
"terminal.decodedOutput": "디코드된 출력",
"terminal.rawlogs": "원시 로그",
"terminal.logs": "로그"
}

@ -39,5 +39,6 @@
"terminal.input": "ввод",
"terminal.decodedInput": "декодированный ввод",
"terminal.decodedOutput": "декодированный вывод",
"terminal.rawlogs": "необработанные журналы",
"terminal.logs": "журналы"
}

@ -39,5 +39,6 @@
"terminal.input": "输入",
"terminal.decodedInput": "解码输入",
"terminal.decodedOutput": "解码输出",
"terminal.rawlogs": "原始日志",
"terminal.logs": "日志"
}

@ -57,4 +57,4 @@
"typings": "src/index.d.ts",
"gitHead": "35e1469e94bb370f5427d4ab230fcbd47c665e55",
"types": "./src/index.d.ts"
}
}

@ -44,7 +44,7 @@ export class Web3Accounts {
async _addAccount (privateKey, balance) {
try {
privateKey = toBytes('0x' + privateKey)
if (typeof privateKey === 'string') privateKey = toBytes('0x' + privateKey)
const address: Uint8Array = privateToAddress(privateKey)
const addressStr = toChecksumAddress(bytesToHex(address))
this.accounts[addressStr] = { privateKey, nonce: 0 }

@ -194,7 +194,7 @@ const RemixApp = (props: IRemixAppUi) => {
<DragBar
resetTrigger={resetLeftTrigger}
maximiseTrigger={maximiseLeftTrigger}
minWidth={285}
minWidth={305}
refObject={sidePanelRef}
hidden={hideSidePanel}
setHideStatus={setHideSidePanel}

@ -43,6 +43,7 @@ pre {
.pinnedpanel {
width : 320px;
transition : width 0.25s;
padding-bottom : 1.4rem;
}
.highlightcode {
position : absolute;

@ -209,7 +209,7 @@ function HomeTabFile({ plugin }: HomeTabFileProps) {
await plugin.call('filePanel', 'clone')
}}>
<i className="fa-brands fa-github-alt pl-1 pr-2"></i>
Git Clone
Clone
</button>
</CustomTooltip>
<CustomTooltip placement={'top'} tooltipId="overlay-tooltip" tooltipClasses="text-nowrap" tooltipText={<FormattedMessage id="home.connectToLocalhost" />} tooltipTextClasses="border bg-light text-dark p-1 pr-3">

@ -157,12 +157,12 @@ function HomeTabGetStarted({ plugin }: HomeTabGetStartedProps) {
<div ref={carouselRefDiv} className="w-100 d-flex flex-column pt-1">
<ThemeContext.Provider value={themeFilter}>
<div className="pt-3">
<div className="d-flex flex-row align-items-center mb-3 flex-wrap">
<div className="d-flex flex-row align-items-center flex-wrap">
{workspaceTemplates.map((template, index) => (
<CustomTooltip tooltipText={template.description} tooltipId={template.gsID} tooltipClasses="text-nowrap" tooltipTextClasses="border bg-light text-dark p-1 pr-3" placement="top-start" key={`${template.gsID}-${template.workspaceTitle}-${index}`}>
<button
key={index}
className={index === 0 ? 'btn btn-primary border p-2 text-nowrap mr-3 mb-3' : index === workspaceTemplates.length - 1 ? 'btn border p-2 text-nowrap mr-2 mb-3' : 'btn border p-2 text-nowrap mr-3 mb-3'}
className={index === 0 ? 'btn btn-primary border p-2 text-nowrap mr-3 mb-2' : index === workspaceTemplates.length - 1 ? 'btn border p-2 text-nowrap mr-2 mb-2' : 'btn border p-2 text-nowrap mr-3 mb-3'}
onClick={(e) => {
createWorkspace(template.templateName)
}}

@ -10,6 +10,12 @@
max-height: 600px;
white-space: pre-line;
}
.modal-ok {
min-width: 4rem;
}
.modal-cancel {
min-width: 4rem;
}
@-webkit-keyframes animatetop {
from {top: -300px; opacity: 0}
to {top: 0; opacity: 1}

@ -188,7 +188,18 @@ const showTable = (opts, showTableHash) => {
<td className="remix_ui_terminal_td" data-id={`txLoggerTableHash${opts.hash}`} data-shared={`pair_${opts.hash}`}>
{JSON.stringify(stringified, null, '\t')}
<CopyToClipboard content={JSON.stringify(stringified, null, '\t')} />
<CopyToClipboard content={JSON.stringify(opts.logs.raw || '0')} />
<CopyToClipboard content={JSON.stringify(opts.logs.raw || '0', null, 2)} />
</td>
</tr>
) : null}
{opts.logs ? (
<tr className="remix_ui_terminal_tr">
<td className="remix_ui_terminal_td" data-shared={`key_${opts.hash}`}>
<FormattedMessage id="terminal.rawlogs" />
</td>
<td className="remix_ui_terminal_td" data-id={`txLoggerTableHash${opts.hash}`} data-shared={`pair_${opts.hash}`}>
<pre>{JSON.stringify(opts.logs.raw || '0', null, 2)}</pre>
<CopyToClipboard content={JSON.stringify(opts.logs.raw || '0', null, 2)} />
</td>
</tr>
) : null}

@ -52,7 +52,7 @@ export function HamburgerMenu(props: HamburgerMenuProps) {
></HamburgerMenuItem>
<HamburgerMenuItem
kind="clone"
fa="fab fa-github"
fa="fa-brands fa-github-alt"
hideOption={hideWorkspaceOptions}
actionOnClick={() => {
props.cloneGitRepository()

Loading…
Cancel
Save