Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

View

Requirements

FIO Crypto Handle Selection

Populated

User has domains state

Image RemovedImage Added

Empty state

Error state

Nothing available state

Loader state

  • Collect

    • Username

      • X appears when first character is entered

        • When clicked it clears the content and disappears

  • Validate

    • Username

      • Convert onfocusout

        • Convert to lowercase

      • Validate onfocusout

        • On validation error

          • Display error message

      • Validation rules

  • Compile Master List of available FCHs as follows

    • My Domain FCH (if user owns FIO Domains)

      • Prepend entered username to domains owned by user (alphabetically), example: george@mycustomdomain

        • Stop once 3 available FCHs are found

    • Free (if user eligible - otherwise treat these domains as Premium)

    • Premium - FCHs on Premium domains are always paid, even if user qualifies for free FCH

      • Prepend entered username to Premium Domain starting with highest rank as defined in Defaults - Dashboard Domains - Premium (for Dashboard direct) Partner Profile (for Partners), example: george@safu

        • Stop once 5 available FCHs are found or when no more premium domains exist

    • Username as Custom Domain - FCH + domains being registered in the same transaction

      • Append entered username to Usernames on Custom Domains only for one the highest rank Username as defined in Defaults - Usernames on Custom Domains,

        • Example

          • Usernames on Custom Domains

            • chief

            • hodl

            • defi

          • User entered string: georgew

          • Recommended FCH: chief@georgew

    • Username on Available Domains - FCHs + domains being registered in the same transaction

      • Prepend entered username to domains Available Domains starting with highest rank domain as defined in Defaults - Available Domains owned by user (alphabetically), example: george@someavailabledomain

        • Stop once 5 available FCHs are found

  • Display

    • My Domain FCH

      • Disable for domains which have expired and show warning

      • Show 3

        • If does not exist:

          • Do not display tile

      • Always display view more if user has at least 1 domain

    • Suggested FCH

      • Free (if user eligible)

        • Highest rank Free FCH from Master List above

          • If does not exist:

        • Highest rank Premium FCH from Master List above

          • If doesn’t exist

        • Highest rank Custom FCH from Master List above

          • If doesn’t exist

        • Display Nothing Available State

      • Premium - FCHs on Premium domains are always paid, even if user qualifies for free FCH

        • Highest rank Premium FCH (not already displayed in Suggested) from Master List above

          • If does not exist:

        • Highest rank Custom FCH from Master List above

          • If doesn’t exist

        • Hide Tile

      • Custom - Custom FCHs are FCHs + on domains being registered in the same transaction

        • Highest rank Custom FCH (not already displayed in Suggested) from Master List above

          • If doesn’t exist

        • Hide Tile

    • Additional FCH

      • Show all FCHs from master List not yet shown in Suggested

      • Sort by

        • Rank

        • Type: Free, Premium, Custom

      • Show max 25 items

      • If list empty

        • Hide Additional FIO Crypto Handles section

    • Item price - see Free FIO Address and USDC Price Computation

    • Links

      • Add to Cart link

        • On click

          • Add FCH to cart

          • Replace Add to Cart with Added

FCH Label Pop-up

  • Display copy

    • Free FCH

      • Title: Free FIO Crypto Handle

      • Body: Please enjoy this free FIO Crypto Handle for life. Limit: one free handle per user.

    • Premium FCH

      • Title: Premium FIO Crypto Handle

      • Body: Premium FIO Crypto Handles are on hand-picked FIO Domains (@domain), which are reserved for users who want to stand out from the crowd.

    • Custom FCH

      • Title: Custom FIO Crypto Handle

      • Body: When you register a Custom FIO Crypto Handle you also get your own FIO Domain (@domain). By default this domain is private, meaning only you can create new handles on it.

    • My Domain

      • Title: My Domain

      • Body: You already own the FIO Domain, now get a FIO Crypto Handle on it.

FIO Crypto Handle on custom domain

Default state

Domain available state

Domain is public and FCH available state

Error state

When accessed from Domain List Page

  • Variants

    • Accessed from FIO Crypto Handle Selection Page

    • Accessed from Domain List Page

      • Custom Ending is a pull-down menu of User Domains with domain which was clicked highlighted and Add Custom Ending menu item, which when clicks reverts to Accessed from FIO Crypto Handle Selection Page variant

  • Collect

    • Username

      • X appears when first character is entered

        • When clicked it clears the content and disappears

      • When accessed from FIO Crypto Handle Selection Page, pre-populate with username

  • Validate

  • Display

get_table_rows example
Code Block
languagejson
{
	"code": "fio.address",
	"scope": "fio.address",
	"table": "domains",
	"lower_bound": "0x58725d9194db3d26c4a1ba4b3e27e0ed",
	"upper_bound": "0x58725d9194db3d26c4a1ba4b3e27e0ed",
	"key_type": "i128",
	"index_position": "4",
	"json": true
}

FIO Domain Selection

Default state

Not available state

Invalid domain state

  • Collect

    • Domain

  • Validate

    • Domain

      • Convert onfocusout

        • Convert to lowercase

      • Validate onfocusout

        • On validation error

          • Display error message

      • Validation rules

  • Display

    • Suggested FIO Domains

      • Display direct match

    • Additional FIO Domains

      • Append Defaults - Search Prefix to the searched domain and display if available (max 5)

        • If domain starts with prefix, do not apply that prefix

      • Append Defaults - Search Postfix to the searched domain and display if available (max 5)

        • If domain ends with postfix, do not apply that postfix

      • Sort by Rank

      • Example:

        • Domain entered: pizza

        • List of prefixes:

          • crypto

          • chain

        • List of post fixes

          • 1

          • hodl

        • Additional Domains

          • cryptopizza

          • chainpizza

          • pizza1

          • pizzahodl

    • FIO Domain item and descriptor

    • Price - see Free FIO Address and USDC Price Computation

    • Add to Cart link - display when FIO Domain is available

      • On click

        • Add FIO Domain to cart

        • Replace Add to Cart with Added

Multi-year domains

  • When a domain registration is searched display

    • Domain discount banner. Banner persists as long as domain appears.

    • The domain years selector:

      • 1 year (default)

      • 2 years

      • 3 years

    • On select

      • Update price

...