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

Feat: Argent one button connector UI #138

Merged

Conversation

Cussone
Copy link
Member

@Cussone Cussone commented Oct 10, 2024

Issue / feature description

Adding UI elements for 1 button connector feature

Checklist

  • Rebased to the last commit of the target branch (or merged)
  • Code self-reviewed
  • Code self-tested
  • Tests updated (if needed)
  • All tests are passing locally

@Cussone Cussone requested a review from bluecco October 23, 2024 09:52
@@ -15,6 +16,8 @@
? wallet.icon.dark
: wallet.icon.light
const isSvg = icon?.startsWith("<svg")

console.log(wallet)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wip

export let theme: "light" | "dark" | null = null

let loadingItem: string | false = false
console.log(modalWallets)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wip

import ConnectorButton from "./ConnectorButton.svelte"
import type { StarknetkitConnector } from "../connectors/connector"
import { InjectedConnector } from "../connectors/injected"
// import { onMount } from "svelte"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all these comments are placeholders or can be removed?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wip

} catch {}
return
}
<!-- <WalletList {walletList} />-->
Copy link
Contributor

@bluecco bluecco Oct 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same q for these comments

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wip

</svg>
</span>
</header>
<!--{#if !isInAppBrowser && modalWallets.length > 1}-->
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same q for these comments

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wip

Copy link
Contributor

@bluecco bluecco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a couple of comments, lgtm

@Cussone Cussone merged commit 8ed021a into feat/argent-one-button-connector Oct 23, 2024
1 check passed
@bluecco bluecco deleted the feat/argent-one-button-connector-ui branch October 23, 2024 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants