Comments (6)
I can't see how application lifecycle has something to do with this error.
Dupe #41
from tonscan.
I can't see how application lifecycle has something to do with this error.
Dupe #41
@ingria This is not a duplicate of #41.
Extra table renders when there is nothing!
Please watch the video. This is due to the content rendering queue in the application.
It's not about the division of contracts. Which still doesn't work!
- Why are you correcting the title of the ticket? I liked the past better.
- Why are you in a hurry to close the ticket without understanding it?
from tonscan.
This is called “preloader” or “skeleton” and it indicates that the app is loading data. Skeleton is always shown until the ajax request resolves (either with error or with data).
The only problem that I see here is that skeleton doesn’t disappear on inactive address “contract” tab because of api error.
I’ve changed the title because this problem has nothing to do with application lifecycle. If you think I’m wrong, please explain where exactly in the lifecycle there’s an error.
from tonscan.
@ingria Thanks. Your comment is great.
- In the case of an ajax request, you can first get the data.
- In the process of receiving data, show the loader.
- Draw the table itself along with the data.
This strategy should ensure that the view is visually static.
An example can be viewed in TON DNS when searching domain (https://dns.ton.org/#test123).
Sorry, I wrote badly about the life cycle. You can formulate this as the life cycle of the query and display of data.
from tonscan.
"Skeleton" is just another type of loader. It is not rotating and round, yet it is still some entity indicating that the data is loading.
Unfortunately, displaying round spinning loader is not an option, because every page loads data from several different places (APIs). Some data is fast to fetch (like balance), some is slow (like contract type). Notice, how different "skeletons" take different amount of time to load:
example1.mp4
Displaying many spinning loaders would not look nice. Also, for the same reason we cannot display one big loader and wait until all data on the page is loaded - it would take too much time. Better display piece of info when it's ready, right away.
from tonscan.
You can try to make a loader for the first start of the table. I considered the case of the first entry to the page (the case of reloading the page on the browser button).
This can reduce flickering when the table is first started?
from tonscan.
Related Issues (20)
- Contract information not loading {"statusCode":500,"error":"Internal Server Error","message":"Not enough bytes for magic prefix"} HOT 1
- According to tonscan, there may be a case when 0 != 0 или 0 ≈ 0
- Contract tab is not working HOT 1
- This doesn't look like a valid address. Where'd you get that?
- Unfair tick closure
- Not all NFTs' icons displayed while scrolling the collection. HOT 1
- Duplicates and lost NFT items on the NFT collection tab. HOT 2
- Tonscan does not display some name tags
- Unable to get contract info on testnet HOT 1
- Unable to find DNS NFT item itself (when assigned to wallet)
- Inconsistent Tonscan data HOT 7
- Unable to get contract info on testnet (CORS error for 301 redirect)
- tonscan.org suddenly shows garbage instead of timestams HOT 7
- Different fees shown for same transaction HOT 1
- tonscan.org no longer shows domain names in From and To fields after switch from EQ to UQ HOT 1
- Add “verified” and “scam” badges for jettons HOT 1
- Amount of jettons sent is not shown HOT 1
- fees are not shown for transactions
- Incorrect history
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tonscan.