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

Decompile ABI using a heimdall-rs backend #71

Merged
merged 27 commits into from
Apr 21, 2024
Merged
Show file tree
Hide file tree
Changes from 17 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
d99b906
Decompile ABI using a heimdall-rs backend
portdeveloper Mar 10, 2024
ce5d6e8
Better placement of go back button and input
portdeveloper Mar 12, 2024
30f3d9e
Merge branch 'main' into ui/heimdallrs-steps
portdeveloper Mar 13, 2024
a617119
Update backend link
portdeveloper Mar 13, 2024
cf63ece
Fix eslint warning
portdeveloper Mar 15, 2024
63b23db
Add additionalClasses param to networksdropdown
portdeveloper Mar 28, 2024
a95a6a4
Update ui, merging the current style with the suggested style
portdeveloper Mar 28, 2024
f13f8ec
Merge branch 'main' into ui/heimdallrs-steps
Pabl0cks Mar 28, 2024
a2db599
Missing padding change from PR #75
Pabl0cks Mar 28, 2024
5a75eca
Remove err notif saying contract not verified
portdeveloper Mar 29, 2024
7f98e23
Disable network dropdown in second step(abi/heimdall)
portdeveloper Mar 29, 2024
267c0af
Small spacing tweaks on new screen
Pabl0cks Mar 29, 2024
f07871f
Tweak homepage spacing
Pabl0cks Mar 29, 2024
5c9c595
Fix dropdown showing scrollbar on homepage
Pabl0cks Mar 29, 2024
3345c3c
Fix footer not being clickable
Pabl0cks Mar 29, 2024
c884c0c
Show footer in new screen
Pabl0cks Mar 29, 2024
33961b8
Set same hover effect to new screen buttons
Pabl0cks Mar 29, 2024
0cba3a0
remove goerli + OPGoerli
technophile-04 Apr 1, 2024
b475868
remove additionalClasses from NetworksDropdown
technophile-04 Apr 1, 2024
fc63d46
Check abi length and return if its 0
portdeveloper Apr 3, 2024
280a9fc
Merge branch 'main' into ui/heimdallrs-steps
portdeveloper Apr 13, 2024
7455cef
Add missing import + dep to dep array
portdeveloper Apr 13, 2024
73276ed
Merge branch 'main' into ui/heimdallrs-steps
portdeveloper Apr 15, 2024
8b222cc
Remove scaffoldConfig import
portdeveloper Apr 15, 2024
59ede15
Add heimdall backend url as env var
portdeveloper Apr 17, 2024
fd66bc0
remove https:// from heimdall url
technophile-04 Apr 19, 2024
1592c0f
fix bug from (#86) default network a mainnet at 0th index
technophile-04 Apr 19, 2024
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
2 changes: 1 addition & 1 deletion packages/nextjs/components/MiniFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { BuidlGuidlLogo } from "~~/components/assets/BuidlGuidlLogo";

export const MiniFooter = () => {
return (
<div className="flex justify-center items-center gap-1 text-xs w-full mt-10">
<div className="flex justify-center items-center gap-1 text-xs w-full mt-10 z-10">
<div className="mb-1">
<a href="https://github.com/BuidlGuidl/abi.ninja" target="_blank" rel="noreferrer" className="link">
Fork me
Expand Down
13 changes: 11 additions & 2 deletions packages/nextjs/components/NetworksDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,13 @@ const IconOption = (props: OptionProps<Options>) => (
</Option>
);

export const NetworksDropdown = ({ onChange }: { onChange: (options: any) => any }) => {
export const NetworksDropdown = ({
onChange,
additionalClasses,
}: {
onChange: (options: any) => any;
additionalClasses?: string;
technophile-04 marked this conversation as resolved.
Show resolved Hide resolved
}) => {
const [isMobile, setIsMobile] = useState(false);

useEffect(() => {
Expand All @@ -78,7 +84,7 @@ export const NetworksDropdown = ({ onChange }: { onChange: (options: any) => any
onChange={onChange}
components={{ Option: IconOption }}
isSearchable={!isMobile}
className="text-sm w-44 max-w-xs bg-white relative"
className={`max-w-xs bg-white relative ${additionalClasses ? additionalClasses : "text-sm w-44"}`}
theme={theme => ({
...theme,
colors: {
Expand All @@ -88,6 +94,9 @@ export const NetworksDropdown = ({ onChange }: { onChange: (options: any) => any
primary: "#551d98",
},
})}
styles={{
menuList: provided => ({ ...provided, maxHeight: 280, overflow: "auto" }),
}}
/>
);
};
Loading
Loading