Giter Site home page Giter Site logo

explorer's People

Contributors

adrian69 avatar alexbarnsley avatar alfonsobries avatar crnkovic avatar faustbrian avatar highjhacker avatar itsanametoo avatar lemaur avatar marianogoldman avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

explorer's Issues

nightmode not always working

Expected Behavior

To set nightmode only once.

Current Behavior

Getting light mode despite setting it as night

Possible Solution

Look into localstorage usage of"nightMode" flag. I see it is set as true, but it's not working for some reason
image

Steps to Reproduce (for bugs)

Not sure, but seems to manifest on OS restart

Your Environment

macOS 11.4
chrome 95.0.4638.54

Confirmation icons missing when using pagination in Desktop viewport

Expected Behavior

Transactions that are well confirmed should display the appropriate SVG icons in Desktop view.

Current Behavior

Using Pagination on any ARK address in the explorer triggers a network request that gets the next page's HTML. Unfortunately, for whatever reason, the rendered HTML is missing elements for only the first two rows in the results. So, for every page, the first two transactions in the table are apparently missing the double checkmark icon, even when they are well confirmed.

Expected:

<g id="Confirmations" transform="translate(-246.365 -4043.25)">
  <g id="check-double-1" transform="translate(495.895 4339.25)">
    <path id="Shape_1757" class="confirmations-st0"
      d="M-230.5-292.5l-9.2 12.3c-.4.6-1.1.7-1.7.3l-.1-.1-2.4-2.4"></path>
    <path id="Shape_1758" class="confirmations-st0" d="M-244.4-279.9c-.5.5-1.2.5-1.7 0l-2.4-2.4"></path>
    <path id="Shape_1759" class="confirmations-st0" d="M-235.2-292.4l-6.6 8.7"></path>
  </g>
</g>

Actual:

<g id="Confirmations" transform="translate(-246.365 -4043.25)">
  <g id="check-double-1" transform="translate(495.895 4339.25)"></g>
</g>

^^^ This only happens for the first two rows, thereafter, the rest of the table is completely fine. Very weird.

Screen Shot 2021-10-07 at 9 48 45 PM

Possible Solution

I haven't determined why this is happening on the backend, but I have narrowed it down to the network request that occurs when you use pagination.

Specifically, when you use pagination, a network request returns HTML from:
Request URL: https://explorer.ark.io/livewire/message/wallet-transaction-table

The HTML in this response is missing the elements for the SVG under the result of effects->html which is what's used to render Page 2, 3, 4, etc.

Steps to Reproduce

  1. Visit any ARK address with more than 1 page of transactions while in a Desktop viewport size
    e.g. https://explorer.ark.io/wallets/AJ14TXWFGpzYuGQXfES3CFmiDxpbzYeNTz
  2. Use the pagination to go to page 2
  3. Observe the first two rows are missing the double checkmark icons for the first two rows only, but the rest of the table has them.

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.