Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
7981184
bootstrap 5
yann300 Jul 1, 2025
c28aa6b
keep only light and dark
Aniket-Engg Jul 15, 2025
7914d87
update and handle react-bootstrap
Aniket-Engg Jul 16, 2025
26f0f6b
themes and root
Aniket-Engg Jul 16, 2025
a92dd7e
old Remix colors for dark
Aniket-Engg Jul 16, 2025
fd62de8
text color and scroll
Aniket-Engg Jul 17, 2025
23c656d
margin & custom-select class
Aniket-Engg Jul 17, 2025
4353d74
padding classes
Aniket-Engg Jul 17, 2025
c3e9229
revert theme changes
Aniket-Engg Jul 17, 2025
286dbce
badge class
Aniket-Engg Jul 17, 2025
22243e6
text border rounded left right classes
Aniket-Engg Jul 17, 2025
8d854d3
font-weight class
Aniket-Engg Jul 17, 2025
b55a611
form check label repetition fixed
Aniket-Engg Jul 22, 2025
7854306
fix sol compiler
Aniket-Engg Jul 22, 2025
3248ade
replace more custom-control
Aniket-Engg Jul 24, 2025
dc1bad3
fix build with rebase
Aniket-Engg Jul 24, 2025
ba71edf
more rebase fixes
Aniket-Engg Jul 24, 2025
91d236e
fix sol comp css
Aniket-Engg Jul 24, 2025
d0eb627
btn-block
Aniket-Engg Jul 25, 2025
0475874
fix udapp instance and labels
Aniket-Engg Jul 25, 2025
1732825
form-check
Aniket-Engg Jul 28, 2025
7496d1e
form-check-input and modal close button
Aniket-Engg Jul 28, 2025
bed351c
dropdwon form-select
Aniket-Engg Jul 28, 2025
6fb4dac
fix caret in form-select
Aniket-Engg Jul 29, 2025
2168220
dark theme color scheme
Aniket-Engg Jul 30, 2025
af4db1c
dark theme final color updates
Aniket-Engg Aug 1, 2025
33339e9
fix compile button dropdown
Aniket-Engg Aug 4, 2025
ca68f12
Merge branch 'master' into bootstrap_5
Aniket-Engg Aug 4, 2025
2a8f0df
updated classes after topbar merge
Aniket-Engg Aug 4, 2025
1cb8519
Merge branch 'master' into bootstrap_5
Aniket-Engg Aug 5, 2025
8536e26
Merge branch 'master' into bootstrap_5
Aniket-Engg Aug 6, 2025
4854a94
fix e2e
Aniket-Engg Aug 6, 2025
56d66b4
linting fix
Aniket-Engg Aug 6, 2025
1b65edf
fix ballot0414 e2e
Aniket-Engg Aug 6, 2025
8793432
fix more e2e
Aniket-Engg Aug 6, 2025
0754b74
fix more e2e
Aniket-Engg Aug 6, 2025
114f7a2
final e2e fix
Aniket-Engg Aug 7, 2025
f49451f
run renameworkspace on circle
Aug 7, 2025
827fa66
remove #pr
Aug 7, 2025
7013fc3
add pause
Aug 7, 2025
74ac7bf
reduce pause
Aug 7, 2025
e744469
disable rename delete workspace
Aniket-Engg Aug 7, 2025
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
4 changes: 2 additions & 2 deletions apps/circuit-compiler/src/app/components/configurations.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export function Configurations ({primeValue, setPrimeValue, versionValue}: Confi
return (
<div className="flex-column">
<div className="flex-column d-flex">
<div className="ml-0">
<div className="ms-0">
<label className="circuit_inner_label form-check-label" htmlFor="circuitPrimeSelector">
<FormattedMessage id="circuit.prime" />
</label>
Expand All @@ -20,7 +20,7 @@ export function Configurations ({primeValue, setPrimeValue, versionValue}: Confi
<select
onChange={(e) => setPrimeValue(e.target.value as PrimeValue)}
value={primeValue}
className="custom-select"
className="form-select"
style={{
pointerEvents: 'auto'
}}
Expand Down
2 changes: 1 addition & 1 deletion apps/circuit-compiler/src/app/components/container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export function Container () {
tooltipClasses="text-nowrap"
tooltipText='See compiler license'
>
<span className="far fa-file-certificate border-0 p-0 ml-2" onClick={() => showCompilerLicense()}></span>
<span className="far fa-file-certificate border-0 p-0 ms-2" onClick={() => showCompilerLicense()}></span>
</CustomTooltip>
<VersionList setVersion={handleVersionSelect} versionList={circuitApp.appState.versionList} currentVersion={circuitApp.appState.version} downloadList={circuitApp.appState.versionDownloadList} />
<CompileOptions setCircuitAutoCompile={handleCircuitAutoCompile} setCircuitHideWarnings={handleCircuitHideWarnings} autoCompile={circuitApp.appState.autoCompile} hideWarnings={circuitApp.appState.hideWarnings} />
Expand Down
8 changes: 4 additions & 4 deletions apps/circuit-compiler/src/app/components/generateProof.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ export function GenerateProof () {

return (
<div className="flex-column d-flex">
<div className="mt-2 custom-control custom-checkbox">
<div className="mt-2 form-check">
<input
className="custom-control-input"
className="form-check-input"
type="checkbox"
title="Export Verifier Calldata"
id="circuitExportVerifierCalldata"
onChange={() => circuitApp.dispatch({ type: 'SET_EXPORT_VERIFIER_CALLDATA', payload: !circuitApp.appState.exportVerifierCalldata })}
checked={circuitApp.appState.exportVerifierCalldata}
/>
<label className="form-check-label custom-control-label pt-1" htmlFor="circuitExportVerifierCalldata">
<label className="form-check-label pt-1" htmlFor="circuitExportVerifierCalldata">
<FormattedMessage id="circuit.exportVerifierCalldata" />
</label>
</div>
Expand All @@ -30,7 +30,7 @@ export function GenerateProof () {
data-id="generateProofBtn"
>
<RenderIf condition={status === 'proving'}>
<i className="fas fa-sync fa-spin mr-2" aria-hidden="true"></i>
<i className="fas fa-sync fa-spin me-2" aria-hidden="true"></i>
</RenderIf>
<FormattedMessage id="circuit.generateProof" />
</button>
Expand Down
30 changes: 15 additions & 15 deletions apps/circuit-compiler/src/app/components/setupExports.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,42 +11,42 @@ export function SetupExports () {
return (
<div className="flex-column">
<div className="flex-column d-flex">
<div className="mb-1 ml-0">
<div className="mb-1 ms-0">
<label className="circuit_inner_label form-check-label">
<FormattedMessage id="circuit.provingScheme" />
</label>
<div className="radio custom-control custom-radio mb-1 form-check">
<div className="radio form-control custom-radio mb-1 form-check">
<input
type="radio"
className="align-middle custom-control-input"
className="align-middle form-check-input"
name="circuitProvingScheme"
id="groth16ProvingScheme"
onClick={() => circuitApp.dispatch({ type: 'SET_PROVING_SCHEME', payload: 'groth16' })}
value='groth16'
checked={circuitApp.appState.provingScheme === 'groth16'}
readOnly
/>
<label className="form-check-label custom-control-label" data-id="groth16ProvingScheme" htmlFor="groth16ProvingScheme" style={{ paddingTop: '0.125rem' }}>
<label className="form-check-label" data-id="groth16ProvingScheme" htmlFor="groth16ProvingScheme" style={{ paddingTop: '0.125rem' }}>
Groth16
</label>
</div>
<div className="radio custom-control custom-radio form-check">
<div className="radio form-control custom-radio form-check">
<input
type="radio"
className="align-middle custom-control-input"
className="align-middle form-check-input"
name="circuitProvingScheme"
id="plonkProvingScheme"
onClick={() => circuitApp.dispatch({ type: 'SET_PROVING_SCHEME', payload: 'plonk' })}
value='plonk'
checked={circuitApp.appState.provingScheme === 'plonk'}
readOnly
/>
<label className="form-check-label custom-control-label" data-id="plonkProvingScheme" htmlFor="plonkProvingScheme" style={{ paddingTop: '0.125rem' }}>
<label className="form-check-label" data-id="plonkProvingScheme" htmlFor="plonkProvingScheme" style={{ paddingTop: '0.125rem' }}>
Plonk
</label>
</div>
</div>
<div className="mb-1 ml-0">
<div className="mb-1 ms-0">
<label className="circuit_inner_label form-check-label">
<FormattedMessage id="circuit.ptau" />
</label>
Expand All @@ -59,7 +59,7 @@ export function SetupExports () {
<div className="mb-1">
<select
value={circuitApp.appState.ptauValue}
className="custom-select"
className="form-select"
style={{
pointerEvents: 'auto'
}}
Expand All @@ -76,29 +76,29 @@ export function SetupExports () {
</select>
</div>
</CustomTooltip>
<div className="mt-2 custom-control custom-checkbox">
<div className="mt-2 form-check">
<input
className="custom-control-input"
className="form-check-input"
type="checkbox"
title="Export Verifier Contract"
id="circuitExportVerifierContract"
onChange={() => circuitApp.dispatch({ type: 'SET_EXPORT_VERIFICATION_CONTRACT', payload: !circuitApp.appState.exportVerificationContract })}
checked={circuitApp.appState.exportVerificationContract}
/>
<label className="form-check-label custom-control-label pt-1" htmlFor="circuitExportVerifierContract">
<label className="form-check-label pt-1" htmlFor="circuitExportVerifierContract">
<FormattedMessage id="circuit.exportVerifierContract" />
</label>
</div>
<div className="mt-2 custom-control custom-checkbox">
<div className="mt-2 form-check">
<input
className="custom-control-input"
className="form-check-input"
type="checkbox"
title="Export Verification Key"
id="circuitExportVerificationKey"
onChange={() => circuitApp.dispatch({ type: 'SET_EXPORT_VERIFICATION_KEY', payload: !circuitApp.appState.exportVerificationKey })}
checked={circuitApp.appState.exportVerificationKey}
/>
<label className="form-check-label custom-control-label pt-1" htmlFor="circuitExportVerificationKey">
<label className="form-check-label pt-1" htmlFor="circuitExportVerificationKey">
<FormattedMessage id="circuit.exportVerificationKey" />
</label>
</div>
Expand Down
4 changes: 2 additions & 2 deletions apps/circuit-compiler/src/app/components/setupExportsBtn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function SetupExportsBtn ({ handleRunSetup, status }: { handleRunSetup: (
placement="auto"
tooltipId="overlay-tooltip-compile"
tooltipText={
<div className="text-left">
<div className="text-start">
<div>
Click to setup and export verification keys
</div>
Expand All @@ -21,7 +21,7 @@ export function SetupExportsBtn ({ handleRunSetup, status }: { handleRunSetup: (
>
<div className="d-flex align-items-center justify-content-center">
<RenderIf condition={status === 'exporting'}>
<i className="fas fa-sync fa-spin mr-2" aria-hidden="true"></i>
<i className="fas fa-sync fa-spin me-2" aria-hidden="true"></i>
</RenderIf>
<div className="text-truncate overflow-hidden text-nowrap">
<span>
Expand Down
4 changes: 2 additions & 2 deletions apps/circuit-compiler/src/app/components/toggler.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ export function Toggler ({ children, title, dataId, show = false, icon, iconTool
tooltipClasses="text-nowrap"
tooltipText={iconTooltip}
>
<span className={`${icon} border-0 p-0 ml-2`} aria-hidden="true"></span>
<span className={`${icon} border-0 p-0 ms-2`} aria-hidden="true"></span>
</CustomTooltip>) :
<span className={`${icon} border-0 p-0 ml-2`} aria-hidden="true"></span> : null }
<span className={`${icon} border-0 p-0 ms-2`} aria-hidden="true"></span> : null }
</label>
</div>
<div>
Expand Down
6 changes: 3 additions & 3 deletions apps/circuit-compiler/src/app/components/versions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ export function VersionList ({ currentVersion, versionList, downloadList, setVer
</div>
</Dropdown.Toggle>

<Dropdown.Menu as={CircomVersionMenu} className="w-100 custom-dropdown-items overflow-hidden">
<Dropdown.Menu as={CircomVersionMenu} className="w-100 form-select overflow-hidden">
{
versionListKeys.reverse().map((version, index) => (
<Dropdown.Item key={index} onClick={() => {
setVersion(version)
}}>
<div className='d-flex w-100 justify-content-between'>
<div>
<span className={`fas fa-check text-success mr-2 ${currentVersion === version ? 'visible' : 'invisible'}`}></span>
<span className={`fas fa-check text-success me-2 ${currentVersion === version ? 'visible' : 'invisible'}`}></span>
<span>
{ isElectron() ? versionList[version].name.replace('wasm', '') : versionList[version].name }
</span>
</div>
{ isElectron() ? downloadList.includes(version) ? <div className='far fa-arrow-circle-down'></div> : <div className='fas fa-arrow-circle-down text-success ml-auto'></div> : null }
{ isElectron() ? downloadList.includes(version) ? <div className='far fa-arrow-circle-down'></div> : <div className='fas fa-arrow-circle-down text-success ms-auto'></div> : null }
</div>
</Dropdown.Item>
))
Expand Down
10 changes: 5 additions & 5 deletions apps/circuit-compiler/src/app/components/witness.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,24 +41,24 @@ export function WitnessSection () {
<>
{
signalInputs.map((input, index) => (
<div className="mb-2 ml-0" key={index}>
<div className="mb-2 ms-0" key={index}>
<label className="circuit_inner_label form-check-label" htmlFor="circuitPrimeSelector">
<FormattedMessage id="circuit.signalInput" /> { input }
</label>
<input className="form-control m-0 txinput" placeholder={input} name={input} onChange={handleSignalInput} data-id={`circuit_input_${input}`} />
</div>
))
}
<div className="custom-control custom-checkbox">
<div className="form-check">
<input
className="custom-control-input"
className="form-check-input"
type="checkbox"
title="Export Witness As JSON"
id="circuitExportWtnsJson"
onChange={() => { dispatch({ type: 'SET_EXPORT_WTNS_JSON', payload: !exportWtnsJson }) }}
checked={exportWtnsJson}
/>
<label className="form-check-label custom-control-label pt-1" htmlFor="circuitExportWtnsJson">
<label className="form-check-label pt-1" htmlFor="circuitExportWtnsJson">
<FormattedMessage id="circuit.exportWtnsJson" />
</label>
</div>
Expand All @@ -69,7 +69,7 @@ export function WitnessSection () {
data-id="compute_witness_btn"
>
<RenderIf condition={status === 'computing'}>
<i className="fas fa-sync fa-spin mr-2" aria-hidden="true"></i>
<i className="fas fa-sync fa-spin me-2" aria-hidden="true"></i>
</RenderIf>
<FormattedMessage id="circuit.compute" />
</button>
Expand Down
20 changes: 10 additions & 10 deletions apps/contract-verification/src/app/components/AccordionReceipt.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,34 +51,34 @@ export const AccordionReceipt: React.FC<AccordionReceiptProps> = ({ contract, in

<div className={`${expanded ? '' : 'd-none'} px-2 pt-2 pb-3 small`}>
<div>
<span className="font-weight-bold">Chain: </span>
<span className="fw-bold">Chain: </span>
{chainName} ({contract.chainId})
</div>
<div>
<span className="font-weight-bold">File: </span>
<span className="fw-bold">File: </span>
<span className="text-break">{contract.filePath}</span>
</div>
<div>
<span className="font-weight-bold">Submitted at: </span>
<span className="fw-bold">Submitted at: </span>
{new Date(contract.date).toLocaleString()}
</div>

<div>
<span className="font-weight-bold">Verified at: </span>
<span className="fw-bold">Verified at: </span>
<ReceiptsBody receipts={contract.receipts} />
</div>

{hasProxy && (
<>
<div className="mt-3">
<span className="font-weight-bold">Proxy Address: </span>
<span className="fw-bold">Proxy Address: </span>
<CustomTooltip placement="top" tooltipClasses=" text-break" tooltipText={contract.proxyAddress}>
<span>{shortenAddress(contract.proxyAddress)}</span>
</CustomTooltip>
<CopyToClipboard tip="Copy" content={contract.proxyAddress} direction={'top'} />
</div>
<div>
<span className="font-weight-bold">Proxy verified at: </span>
<span className="fw-bold">Proxy verified at: </span>
<ReceiptsBody receipts={contract.proxyReceipts} />
</div>
</>
Expand All @@ -102,7 +102,7 @@ const ReceiptsBody = ({ receipts }: { receipts: VerificationReceipt[] }) => {
tooltipTextClasses="text-capitalize"
tooltipText={`Status: ${receipt.status}${receipt.message ? `, Message: ${receipt.message}` : ''}`}
>
<span className="mr-2">
<span className="me-2">
{['verified', 'partially verified', 'already verified'].includes(receipt.status) ?
<i className="fas fa-check text-success px-1"></i> :
receipt.status === 'fully verified' ?
Expand All @@ -117,11 +117,11 @@ const ReceiptsBody = ({ receipts }: { receipts: VerificationReceipt[] }) => {
</CustomTooltip>
<div className="d-flex flex-row w-100 justify-content-between">
<CustomTooltip placement="top" tooltipClasses=" text-break" tooltipText={`API: ${receipt.verifierInfo.apiUrl}`}>
<span className="font-weight-bold pr-2">{receipt.verifierInfo.name}</span>
<span className="fw-bold pe-2">{receipt.verifierInfo.name}</span>
</CustomTooltip>
<div className="ml-1">
<div className="ms-1">
{!!receipt.lookupUrl && receipt.verifierInfo.name === 'Blockscout' ?
<CopyToClipboard classList="pr-0 py-0" tip="Copy code URL" content={receipt.lookupUrl} direction="top" /> :
<CopyToClipboard classList="pe-0 py-0" tip="Copy code URL" content={receipt.lookupUrl} direction="top" /> :
!!receipt.lookupUrl && <a href={receipt.lookupUrl} target="_blank" className="fa fas fa-arrow-up-right-from-square" rel="noreferrer"></a>
}
</div>
Expand Down
6 changes: 3 additions & 3 deletions apps/contract-verification/src/app/components/ConfigInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const ConfigInput: React.FC<ConfigInputProps> = ({ label, id, secret, ini
<div className="d-flex flex-row justify-content-start">
<input
type={secret ? 'password' : 'text'}
className={`form-control small w-100 ${!enabled ? 'bg-transparent pl-0 border-0' : ''}`}
className={`form-control small w-100 ${!enabled ? 'bg-transparent ps-0 border-0' : ''}`}
id={id}
placeholder={intl.formatMessage({ id: "contract-verification.configInputPlaceholderText" }, { label })}
value={value}
Expand All @@ -52,10 +52,10 @@ export const ConfigInput: React.FC<ConfigInputProps> = ({ label, id, secret, ini

{ enabled ? (
<>
<button type="button" className="btn btn-primary btn-sm ml-2" onClick={handleSave}>
<button type="button" className="btn btn-primary btn-sm ms-2" onClick={handleSave}>
<FormattedMessage id="contract-verification.configInputSaveButton" />
</button>
<button type="button" className="btn btn-secondary btn-sm ml-2" onClick={handleCancel}>
<button type="button" className="btn btn-secondary btn-sm ms-2" onClick={handleCancel}>
<FormattedMessage id="contract-verification.configInputCancelButton" />
</button>
</>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ export const ConstructorArguments: React.FC<ConstructorArgumentsProps> = ({ abiE
return (
<div className="mt-4">
<label>Constructor Arguments</label>
<div className="d-flex py-1 align-items-center custom-control custom-checkbox">
<input className="form-check-input custom-control-input" type="checkbox" id="toggleRawInputSwitch" checked={toggleRawInput} onChange={() => setToggleRawInput(!toggleRawInput)} />
<label className="m-0 form-check-label custom-control-label" style={{ paddingTop: '2px' }} htmlFor="toggleRawInputSwitch">
<div className="d-flex py-1 align-items-center form-check">
<input className="form-check-input" type="checkbox" id="toggleRawInputSwitch" checked={toggleRawInput} onChange={() => setToggleRawInput(!toggleRawInput)} />
<label className="m-0 form-check-label" style={{ paddingTop: '2px' }} htmlFor="toggleRawInputSwitch">
<FormattedMessage id="contract-verification.constructorArgumentsToggleRawInput" />
</label>
</div>
Expand All @@ -126,7 +126,7 @@ export const ConstructorArguments: React.FC<ConstructorArgumentsProps> = ({ abiE
<div>
{constructorArgs.map((inp, i) => (
<div key={`constructor-arg-${inp.name}`} className="d-flex flex-row align-items-center justify-content-between mb-2">
<div className="mr-2 small">{inp.name}</div>
<div className="me-2 small">{inp.name}</div>
<input className="form-control" placeholder={inp.type} value={constructorArgsValues[i] ?? ''} onChange={(e) => handleConstructorArgs(e.target.value, i)} />
</div>
))}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const ContractDropdown: React.FC<ContractDropdownProps> = ({ label, id, s
<div className="form-group">
<label htmlFor={id}><FormattedMessage id="contract-verification.contractDropdownLabel" defaultMessage={label} values={{ label }} /></label>
<select value={selectedContract ? JSON.stringify(selectedContract) : ''}
className={`form-control custom-select pr-4 ${!hasContracts ? 'disabled-cursor text-warning' : ''}`}
className={`form-control form-select pe-4 ${!hasContracts ? 'disabled-cursor text-warning' : ''}`}
id={id}
disabled={!hasContracts}
onChange={handleSelectContract}
Expand Down
Loading