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(faucet): act-1391 - added badge component #1425

Merged
merged 2 commits into from
Jul 18, 2024

Conversation

TrofimovAnton85
Copy link
Collaborator

Description

  • Added Badge component for Faucets

Screenshot 2024-07-18 at 15 35 27

https://infura.atlassian.net/browse/ACT-1391

@TrofimovAnton85 TrofimovAnton85 self-assigned this Jul 18, 2024
@TrofimovAnton85 TrofimovAnton85 requested a review from a team as a code owner July 18, 2024 13:52
Copy link

vercel bot commented Jul 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
metamask-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 18, 2024 2:24pm

Comment on lines 14 to 18
--default-border-color: #BBC0C5;
--success-badge-color: #28A745;
--success-badge-bg-color: rgba(40, 167, 69, 0.15);
--error-badge-color: #E06470;
--error-badge-bg-color: rgba(224, 100, 112, 0.15);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Start all variables with the name of the component first, default-border-color means everything except badge

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good catch! fixed!

@TrofimovAnton85 TrofimovAnton85 merged commit 1e9b628 into faucets-for-mm-docs Jul 18, 2024
4 checks passed
@TrofimovAnton85 TrofimovAnton85 deleted the feat-badge-component branch July 18, 2024 14:31
cedricmagne added a commit that referenced this pull request Sep 23, 2024
* ACT-1390: Faucet page routing

* ACT-1387, ACT-1387: Tabs, Button

ACT-1388: Component: Button
ACT-1387: Component: Tabs

* ACT-1393 Component: Typography (#1410)

* ACT-1393 Component: Typography
* ACT-1386 Component: Accordion

* Faucet alerts + prettier (#1423)

* ACT-1394 Component: Alert + Prettier whole project

* feat(faucet): act-1391 - added badge component (#1425)

* feat(faucet): act-1391 - added badge component

* feat(faucet): act-1391 - fix for css vars

* feat(docs): act-1392 - added table component (#1439)

* eslint + prettier fix for src (#1440)

* ACT-1473 Assemble faucet page (#1448)

ACT-1473 Assemble faucet page (#1448)

* ACT-1473 Assemble faucet page

* ESlint + Prettier

* Improve types and aliases resolving

* feat(m-login): adding full login flow

* feat(m-login): fix build

* feat(m-login): fixing link unfurling

* feat(m-login): implementing multiple wallet pairing

* feat(mm-login): updating dashboard preview url

* feat(mm-login): updating dashboard preview url

* feat(mm-login): hardcode dashboard preview url

* Faucet maintenance mode (#1475)

Faucet maintenance mode (#1475)

* Faucet supports MM login flow

* Handle MetaMask sdk using common sdk

* Handle auth Infura connection

* Faucet Hero img

* Fix SSR

* Fix BrowserOnly

* Handle stale data

* Get transactions

* Unified login interface for MM Docs via MM Wallet

* Unified login interface for MM Docs via MM Wallet

* Unified login interface for MM Docs via MM Wallet

* Unified login interface for MM Docs via MM Wallet

* feat(unified-login): update unified login

* feat(unified-login): update unified login flow

* feat(unified-login): update unified login flow

* feat(unified-login): update unified login flow

* feat(unified-login): update unified login flow

* feat(unified-login): add feature flag to manage login button

* feat(unified-login): fix bug on refreshing page

* feat(unified-login): fix dahboard url

* feat(unified-login): fix dahboard url

* feat(unified-login): fix dahboard url

* feat(unified-login): fix dahboard url

* feat(unified-login): fix dahboard url

* feat(unified-login): fix dahboard url

* feat(unified-login): fix dahboard url

* feat(unified-login): update dahboard_url function call

* Improve ui and ux

* clear data on disconnect

* Small bugfixes

* feat(unified-login): add connection success modal

* feat(unified-login): upgrade metamask sdk

* feat(mm-login): fix merge and improve login when multiple infura account or no account

* feat(mm-login): fix merge conflicts

* feat(mm-login): fix yarn install

* feat(mm-login): update profile sync sdk package

* feat(mm-login): fix merge

* Fix useDoc hook

* feat(mm-login): fix merge and package version

* Fix metamask provider value

* feat(mm-login): fix sdk initialization

* fix package.json

* feat(mm-login): add projects box on new-reference page

* feat(mm-login): add projects box on new-reference page

* feat(mm-login): conosle log test

* feat(mm-login): fix pathname testing

* feat(unified-login): fix css lightmode

---------

Co-authored-by: Vlad Lo. <vlad.lobachov-ext@>
Co-authored-by: TrofimovAnton85 <98453427+TrofimovAnton85@users.noreply.github.com>
Co-authored-by: Magne Cedric <cedric.magne@consensys.net>
cedricmagne added a commit that referenced this pull request Oct 9, 2024
* ACT-1390: Faucet page routing

* ACT-1387, ACT-1387: Tabs, Button

ACT-1388: Component: Button
ACT-1387: Component: Tabs

* ACT-1393 Component: Typography (#1410)

* ACT-1393 Component: Typography
* ACT-1386 Component: Accordion

* Faucet alerts + prettier (#1423)

* ACT-1394 Component: Alert + Prettier whole project

* feat(faucet): act-1391 - added badge component (#1425)

* feat(faucet): act-1391 - added badge component

* feat(faucet): act-1391 - fix for css vars

* feat(docs): act-1392 - added table component (#1439)

* eslint + prettier fix for src (#1440)

* ACT-1473 Assemble faucet page (#1448)

ACT-1473 Assemble faucet page (#1448)

* ACT-1473 Assemble faucet page

* ESlint + Prettier

* Improve types and aliases resolving

* feat(m-login): adding full login flow

* feat(m-login): fix build

* feat(m-login): fixing link unfurling

* feat(m-login): implementing multiple wallet pairing

* feat(mm-login): updating dashboard preview url

* feat(mm-login): updating dashboard preview url

* feat(mm-login): hardcode dashboard preview url

* Faucet maintenance mode (#1475)

Faucet maintenance mode (#1475)

* Faucet supports MM login flow

* Handle MetaMask sdk using common sdk

* Handle auth Infura connection

* Faucet Hero img

* Fix SSR

* Fix BrowserOnly

* Handle stale data

* Get transactions

* Unified login interface for MM Docs via MM Wallet

* Unified login interface for MM Docs via MM Wallet

* Unified login interface for MM Docs via MM Wallet

* Unified login interface for MM Docs via MM Wallet

* Faucet in MetaMask implementation

* feat(unified-login): update unified login

* feat(unified-login): update unified login flow

* feat(unified-login): update unified login flow

* feat(unified-login): update unified login flow

* feat(unified-login): update unified login flow

* feat(unified-login): add feature flag to manage login button

* feat(unified-login): fix bug on refreshing page

* feat(unified-login): fix dahboard url

* feat(unified-login): fix dahboard url

* feat(unified-login): fix dahboard url

* feat(unified-login): fix dahboard url

* feat(unified-login): fix dahboard url

* feat(unified-login): fix dahboard url

* feat(unified-login): fix dahboard url

* feat(unified-login): update dahboard_url function call

* feat(reference): imp for reference pages (#1471)

* feat(reference): imp for reference pages

* feat(reference): fix for default data

* feat(reference): fix for param struct data

* feat(docs):ACT-1500 - Add Wallet ID to Default Values (#1477)

* added address from connected wallet

* added constants

* Fix typo in Snaps JSX documentation (#1482)

* Sync Starknet Infura content changes (#1483)

* Sync Starknet Infura content changes

* Update whats-new on starknet methods

* Update link

* Update spacing

* Update docs/whats-new.md

---------

Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com>

* feat(unified-login): update unified login

* feat(unified-login): update unified login flow

* feat(unified-login): update unified login flow

* feat(unified-login): update unified login flow

* feat(unified-login): update unified login flow

* minor update (#1484)

* fixes links: assume that Infura --> MM docs does not map exactly (#1488)

* feat(unified-login): add feature flag to manage login button

* feat(unified-login): fix bug on refreshing page

* feat(unified-login): fix dahboard url

* feat(unified-login): fix dahboard url

* feat(unified-login): fix dahboard url

* feat(unified-login): fix dahboard url

* feat(unified-login): fix dahboard url

* feat(unified-login): fix dahboard url

* feat(unified-login): fix dahboard url

* feat(unified-login): update dahboard_url function call

* Faucet in MetaMask implementation

* Faucet in MetaMask implementation

* Improve faucet UI/UX

* Improve ui and ux

* Improve ui and ux

* clear data on disconnect

* # Conflicts:
#	src/components/AuthLogin/AuthModal.tsx
#	src/lib/siwsrp/auth.ts
#	src/theme/Root.tsx

* Small bugfixes

* Implement segment events tracking

* Fix low balance alert

* fix linting

* fix linting

* fix linting

* revert structure back

* Improve linking Infura account(s)

* Fix yarn mention

* Apply suggestions from code review

* Update src/components/Faucet/Faq.tsx

---------

Co-authored-by: Vlad Lo. <vlad.lobachov-ext@>
Co-authored-by: TrofimovAnton85 <98453427+TrofimovAnton85@users.noreply.github.com>
Co-authored-by: Magne Cedric <cedric.magne@consensys.net>
Co-authored-by: Denys Nikanov <91739319+aednikanov@users.noreply.github.com>
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
Co-authored-by: Joan E <153745173+joaniefromtheblock@users.noreply.github.com>
Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com>
Co-authored-by: m4sterbunny <m4sterbunny@gmail.com>
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.

3 participants