arkecosystem / explorer Goto Github PK
View Code? Open in Web Editor NEWThe source code of https://explorer.ark.io
Home Page: https://explorer.ark.io
The source code of https://explorer.ark.io
Home Page: https://explorer.ark.io
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
Steps to Reproduce (for bugs)
Not sure, but seems to manifest on OS restart
Your Environment
macOS 11.4
chrome 95.0.4638.54
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.