Coder Social home page Coder Social logo

rank-my-wallet's People

Contributors

alt3-ci avatar bravo-kernel avatar dependabot[bot] avatar github-actions[bot] avatar hng63 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

thekip

rank-my-wallet's Issues

Fix unexpected error

Currently e.g. https://rankmywallet.com/blog throws below error instead of the UnrecognizedAddress message:

Unexpected Error
Error 400: can't access property "charAt", e is undefined

src\lib\capitalize.ts (7:14) @ charAt

  5 |  */
  6 | export const capitalize = function (word: string) {
> 7 |   return word.charAt(0).toUpperCase() + word.slice(1)
    |              ^
  8 | }
  9 | 

Replace deprecated StylesProvider

  1. Update this line https://github.com/alt3/rank-my-wallet/blob/main/src/components/DataGrid/DataGrid.tsx#L9

  2. Following the instructions at chakra-ui/chakra-ui#6566

  3. To resolve below deprecation error:

(alias) const StylesProvider: react.Provider<Record<string, SystemStyleObject>>
import StylesProvider
@deprecated — - Prefer to use createStylesContext to provide better error messages

@example

import { createStylesContext } from "@chakra-ui/react"

const [StylesProvider, useStyles] = createStylesContext("Component")
'StylesProvider' is deprecated.ts(6385)

providers.d.ts(19, 4): The declaration was marked as deprecated here.

Fix clipboard

Toast no longer works when copying sponsor card address.

Add FAQ page

  • Accordion
  • Cardano and Ergo sections
  • Explain Ergo boxes + how to consolidate
  • No support for Byron addresses
  • Reference blitzjs, chakra ?

Add i18n support

Tasks

  • Next subpath routing
  • Lingui configuration
  • Lingui use .po files in development so file saves trigger a page refresh. Only use the .js files in production
  • npm run scripts
  • gitignore *.mo files as produced by e.g. Poedit
  • Use lingui defineMessage() for src/core/constants etc.
  • Fix imports, always use loader
  • Use eslint plugin for lingui (to detect usage of macros outside components etc.)
  • Use Lingui context to differentiate between words that are identical in both singular and plural form
  • Dialect fallback using nonExplicitSupportedLngs for e.g. non-existing nl-BE translation to fallback to nl DROPPED to prevent catalog loading bloat.
  • Test Lingui duplicates (multiple use of single translation)
  • Plural support
  • Naming convention for *.po file msgid. Conclusion: do not use any, stick to natural language. Leads to a better translator experience, no double work and much cleaner code
  • Language dropdown:
    • Something like this
    • Dutch (nl)
    • Nederlands (nl)
    • Nederlands (be)
    • オランダの (nl)
    • (nl) هولندي
    • 擬似 (pseudo), dev-only
    • country flag icon using react-country-flag derived from Lingui active locale
    • Sort dropdown alphabetically
    • Pseudo available in dev-mode only
    • Dropdown translations
    • Add terrritory to dropdown (when applicabale)
  • No assumptions:
    • Names like カルダノfor Cardano
  • Replace capitalize() with capitalization in the .po files because of languages without capital letters etc.
  • lang meta tag
  • Sitemap: #105
  • Husky pre-commit hook should prevent file diffs between npm run translations:extract and e.g. Poedit. Update: not required when using crowdin
  • About: technology stack
  • Readme:
    • Poedit
    • Updates vs new language
    • New languange: update next.config.js, src/translations/setup.ts
  • FAQ:
    • How do I add a translation?
  • Extend bigToString.test.ts with other locales
  • Localized numbers
  • Support Indian numbering for Counter component
  • Consider https://crowdin.com/

Good to know:

  • Language in NEXT_LOCALE cookie wins over ACCEPT_LANGUAGE header
  • Language in ACCEPT_LANGUAGE supported: route to language. Not supported: fall back to default language.
  • Only use Lingui macros. They transform code before parsing to Babel and lead to cleaner code.

Poedit

Disable below POEdit setting to prevent creation of *.mo files:

image

More a question than an issue

Hello,
Do you guys know how much time does it get for the website to get updated. For example, i created a new wallet for more than a week and when i launch a search, the wallet is still labelled as "ghost" with 0 erg.
Thanks in advance for any response !

Add confetti

For top-100 ranks and top-5 species?

Optionally offset number of known exchange wallets per blockchain.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.