-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release - Develop to Master (#872) [v2024-12-04]
* Fixed the typo * clean up & css fix user tab * user page initial commit, font changed, tabs & cards updated * user movements component * user transactions finished - pagination & responsiveness * clean up * votes component logic fixed * tabs updated and pagination added to all tabs * multiple ui fixes * last UI changes * validation for downloading votes & label for when no votes on dialog * top members component brought back * Ipfs lite (#813) * csv votes download * fix node version * updated dependencies * new ui implemented * user tab - activity section new layout * activity logic * filter dialog layout & logic working * filters for proposals & votes * rpc node updated & loading for casting vote * Treasury filters (#845) * desktop update * responsive tables * no items + scroll on other tabs * searchbar * transactions filters working * search bar & filter dialog for token tab * filters & xtz added to list of holdings * nft filters & responsive dialogs * Update FilterNFTDialog.tsx --------- Co-authored-by: Manank Patni <[email protected]> * Votes grouping (#832) * voting grouping & dependencies upgraded * stylings add to tooltip * mobile css * pagination & css fix * votes grouping in csv file * requested changes * decimals for isXTZ * fix * fix * Arbitrary Contract Interaction (ACI) (#836) * frontend with mocks * initial integration * API working * ACI Form with various entrypoints * Update node version * Fix for API in ACI * WIP - ACI Implementation Debugging * WIP - ACI Interaction (Pseudocode working) * Error handling + Params now being passed into generated lambda * Changes for adding ACI Executor and simplified UI components * Removed Cycle Ignore Option * Fixed prettier issues * Added ACI Contract within the form & fixed the "Submit" button. * Improved Components for ConfigProposalForm * Removed unused imports * Modal Improvements * Renamed simple lambda 3 to ACI_Executor * Fixed Other UI Issues --------- Co-authored-by: Ashutosh Kumar <[email protected]> Co-authored-by: Ashutosh Kumar <[email protected]> * Removed bun lock file * Build Issues Fixed * Fixed Build Issue --------- Co-authored-by: fabiolalombardim <[email protected]> Co-authored-by: fabiolalombardim <[email protected]> Co-authored-by: Manank Patni <[email protected]>
- Loading branch information
1 parent
62c64ba
commit e76d39a
Showing
64 changed files
with
4,644 additions
and
664 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,4 @@ | |
"[javascript]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import { styled, Button as MaterialButton } from "@material-ui/core" | ||
|
||
export const Button = styled(MaterialButton)(({ theme }) => ({ | ||
"fontSize": "14px", | ||
"justifyItems": "center", | ||
"color": "#000", | ||
"boxShadow": "0px 0px 7px -2px rgba(0, 0, 0, 0.2)", | ||
"transition": ".15s ease-in", | ||
"background": theme.palette.secondary.main, | ||
"textTransform": "none", | ||
"borderRadius": 4, | ||
"padding": "8px 15px", | ||
"marginRight": "8px", | ||
|
||
"&$disabled": { | ||
boxShadow: "none" | ||
}, | ||
|
||
"&:hover": { | ||
boxShadow: "0px 0px 7px -2px rgba(0, 0, 0, 0.2)", | ||
backgroundColor: "#62eda5 !important", | ||
transition: ".15s ease-in" | ||
}, | ||
|
||
["@media (max-width:1030px)"]: { | ||
fontSize: "14px" | ||
} | ||
})) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { Grid, Typography, styled, CircularProgress } from "@material-ui/core" | ||
import { CheckOutlined } from "@material-ui/icons" | ||
|
||
const StyledRow = styled(Grid)({ | ||
marginTop: 30 | ||
}) | ||
|
||
const LoadingContainer = styled(Grid)({ | ||
minHeight: 651 | ||
}) | ||
|
||
const LoadingStateLabel = styled(Typography)({ | ||
marginTop: 40 | ||
}) | ||
|
||
const CheckIcon = styled(CheckOutlined)({ | ||
fontSize: 169 | ||
}) | ||
|
||
export { StyledRow, LoadingContainer, LoadingStateLabel, CheckIcon } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { styled, Grid, Theme } from "@material-ui/core" | ||
|
||
export const ContentContainer = styled(Grid)(({ theme }) => ({ | ||
borderRadius: 8, | ||
background: "#24282D" | ||
})) | ||
|
||
export const TableHeader = styled(Grid)(({ theme }: { theme: Theme }) => ({ | ||
padding: "16px 46px", | ||
minHeight: 34, | ||
[theme.breakpoints.down("sm")]: { | ||
gap: 10 | ||
} | ||
})) | ||
|
||
export const TableContainer = styled(ContentContainer)({ | ||
width: "100%" | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
const AppConfig = { | ||
env: process.env.REACT_APP_ENV, | ||
CONST: { | ||
ARBITRARY_CONTRACT_INTERACTION: "arbitrary_contract_interaction" | ||
}, | ||
ACI: { | ||
EXECUTOR_FUNCTION_NAME: "aci_executor", | ||
EXECUTOR_LAMBDA: { | ||
code: `(Left (Left (Pair (Pair { UNPAIR; UNPAIR; SWAP; UNPACK (pair (lambda %code (pair (pair (map %handler_storage string bytes) (bytes %packed_argument)) (pair %proposal_info (address %from) (nat %frozen_token) (bytes %proposal_metadata))) (pair (pair (option %guardian address) (map %handler_storage string bytes)) (list %operations operation))) (bytes %packed_argument)); ASSERT_SOME; UNPAIR; DIP{ SWAP; PAIR; PAIR}; SWAP; EXEC} {DROP; UNIT}) "aci_executor")))`, | ||
type: `(or (or (pair %add_handler (pair (lambda %code (pair (pair (map %handler_storage string bytes) (bytes %packed_argument)) (pair %proposal_info (address %from) (nat %frozen_token) (bytes %proposal_metadata))) (pair (pair (option %guardian address) (map %handler_storage string bytes)) (list %operations operation))) (lambda %handler_check (pair bytes (map string bytes)) unit)) (string %name)) (pair %execute_handler (string %handler_name) (bytes %packed_argument))) (string %remove_handler))` | ||
} | ||
} | ||
} | ||
|
||
export default AppConfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
export interface ArbitraryContract { | ||
counter: number | ||
name: string | ||
type: string | ||
children: ContractChild[] | ||
} | ||
|
||
interface ContractChild { | ||
counter: number | ||
name: string | ||
type: string | ||
children: ParametersList[] | ||
placeholder: string | ||
validate: any | ||
initValue: string | ||
} | ||
|
||
interface ParametersList { | ||
counter: number | ||
name: string | ||
type: string | ||
children: ParametersList[] | ||
placeholder: string | ||
validate: any | ||
initValue: string | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { styled } from "@material-ui/core" | ||
import { MainButton } from "./MainButton" | ||
|
||
const StyledSendButton = styled(MainButton)(({ theme }) => ({ | ||
"width": 101, | ||
"color": "#1C1F23", | ||
"&$disabled": { | ||
opacity: 0.5, | ||
boxShadow: "none", | ||
cursor: "not-allowed" | ||
} | ||
})) | ||
|
||
export { StyledSendButton } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.