-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve TVM Instructions Table Readability #361
Comments
In case of approved ,I am ready to undertake task. |
These days horizontal scrolling is the main problem. This gist about the 1270 line, just summarizes TVM instruction.Maybe useful for resoving this issue. |
This repo, also summarizes the Fift pdf whitepaper, This may be also useful. |
As "Stack" and "Gas" are not unique (meaning you are not searching by these fields) and nullable for "Stack," there might be an argument to move them into "Description" with an icon indications. Also making headers sticky would've helped in the navigation of a large document (just a nit). Anyway, if you like the proposed solution feel free to assign me for a small $100 fee 😊 |
@liketurbo, could you show an example(screenshot) of what this could look like? I'd ask you to try with the most "heavy" description, to stress test this hypothesis. I agree, that the "GAS" field is not a key for searching, on the other hand we should think about convenient readability for this field. |
@reveloper Yes, sure. Provided screenshots are before and after respectively on my 1920 screen. Here's changes' descriptions:
Acknowledged drawbacks:
|
In the past, when we wanted to see the most right column we should scroll down, put scroll bar to the right, and then come back to see it. It is now much better. |
@liketurbo, thank you for such deep work, I appreciate that you spent time researching this issue. At first sight, I thought this was a great solution. I quote some text which I believe could be helpful for work: 1. The field with the stack name is critical. Personally, for me the following list of fields is used: 2. The information about the stack column removed (hidden) for some reason, even though it's one of the key pieces of information. 3. In any case, you should provide the option to hide the left and right navbars. Please, make sure you are working with the new version of TVM Instructions pages. |
What do you think about using accordions similar to evm.codes and moving the stack field into them? If it is essential to keep the stack field in the current format, how about hosting the full version of "TVM Instructions" on a separate website, again akin to the references you provided, and embedding a tablet version within the docs page? I'm also providing a suggested version with removed left and right navbars as it's easy to prototype and it's a viable solution (screens below). |
I believe we should not use a separate website since we already have a CSV list on GitHub. Regarding the hidden bars, do you know if they can be implemented in a dynamic/static mode for TVM Instruction pages? |
I clarified the expected result for this bounty:
@liketurbo, would you like to finish this task? |
Certainly! I would be happy to complete this task. Question: Should separate pages also be updated in the new format? |
@liketurbo, great! Should separate pages also be updated in the new format? Yes, but only if the search will work with this update. It's necessary to check. Otherwise, do this only for the one-page archive version. The best version is - the one-page TVM Instruction without sidebars which supported by algolia search. |
Summary
Modification of the standard table format on the page https://docs.ton.org/learn/tvm-instructions/instructions to a wider display format.
Bounty Context
Why it's Important?
The TVM Instructions table is an essential resource for developers on the TON Blockchain. Improving its readability will enhance developer experience and efficiency.
Problem showcase
The current table formatting makes it difficult to read the TVM codes and their corresponding descriptions. A wider format is needed for easier reading and a better understanding of the given information.
Potential Solution
One should research solutions for the table layout to a wider format, the readability of the table should be significantly improved. Clear demarcation between each TVM Instruction and its corresponding information will lead to easier comprehension by developers. This layout redesign should implement user-friendly elements without loss of any content.
Clarified Details
Update TVM Instruction pages according to the format of this page(src/pages/hacktonberfest.tsx)
Fift Syntax, Stack, Description - Always
Gas - Sometimes
Opcode - almost never.
Early we split the original one-page list, to make possible searches (and it works at the moment). This is very important to keep the opportunity to find OP codes by fift syntax descr from the main search bar and redirect developers to convenient for reading page.
References
REWARD
✨ Created with the help of TON Bounties Creator Bot.
The text was updated successfully, but these errors were encountered: