-
-
Notifications
You must be signed in to change notification settings - Fork 968
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
Doc: Add labels to landscape grid description. #8452
Conversation
Sounds interesting! The html docs have needed some work for a while. Can you post a screenshot of the changes? Would save me checking out your branch ;) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few things noticed while scrolling through - there could be a few others that i've missed, do check them
d6aa9fe
to
11f298c
Compare
What is the difference between these two?
|
The colors are nice, but using a,b,c,d,e for different types of "used" would be easier, and also allows searching. |
It is the same (I will update the PR). A bit which has no meaning could be freeded or used for other purposes. But for bit alignment mostly, this isn't done. If there was such a need for freeing the bits because there are no other free bits available, these "usable" bits could be considered. That's why I marked with a different type. |
I don't understand the suggestion. Do you mean naming the classes used-a, used-b,...? If that's the case, you can't search for classes names in an html document except when editing the html code. |
I meant replacing the "X" with different letters. |
I have used X for a bit with undetermined value, and 1 or O for those bits whose value is known. I am not sure using other letters for different cases will help. I will put the legend closer to the grid on the next update of the PR. |
394a82c
to
93f55e4
Compare
93f55e4
to
cdd5297
Compare
cdd5297
to
946a8a1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but I will leave merging to someone more familiar with the document
Motivation / Problem
Current landscape_grid.html only tells which bits are used. If you want to know their meaning, you should look up their meaning in landscape.html.
I propose adding labels to the bits and some other things. But I won't mind if changes are rejected.
Description
The changes in landscape_grid.html include:
1.- Hovering over each bit shows a label describing its meaning.
2.- Some old "inherit" are changed with rowspans, trying to make it easier to know which tile class belong to and common meanings among "tile classes".
3.- Added the same header at the end of the table, as table is big and sometimes it is difficult to see the header when trying to read information from the end of the table.
4.- As some adjacent bits have different meanings, I separated them with a space. The right alignment of the bits sometimes is lost (it is difficult to keep them aligned).
5.- Added some more bit classes which also help in understanding the meaning of the bits.
Limitations
Bits are not always correctly aligned. Changes and colours are debatable. But I still think the grid is more helpful with these changes.
The columns "type" and "height" classes could be omitted or moved to the right side of the table, as they are common for all tile classes.
Checklist for review
Some things are not automated, and forgotten often. This list is a reminder for the reviewers.