Changes on Habr eyes of the developer from

    I post the promised small review of innovations and small, in my opinion, imperfections (not bugs) that I tried to fix in a user script.

    1) Viewing the site at an angle of layout and scripts has generated a number of comments and observations that will be of interest to everyone - both front-end developers and other users of the site.

    2) A small, purely business message: a script supporting layout and making various interface improvements on Habré, HabrAjax , has already been posted on its hosting with corrections that take into account the new layout. Subjected to updates, of course, and the styles of ZenComment .

    Further, the changes will contain a personal professional assessment, therefore I will allow each new thought to be supplied with “Plus” or “Minus”, but everything, of course, is subjective.

    (+)
    I would like to show in the illustrations how conveniently the hubs and tags are located in the interface of the loaded article in the HabrAjax + ZenComment main mode. At the top and bottom of the article there are buttons-stripes that collapsed the article after reading. Traditionally (several months already) tags were located above the surface of the bottom button. Now, in exactly the same location above the top button are the hubs. The universe is complete. (+)



    Of the unobvious good changes in the layout, it should be noted the appearance in the personal pages - in the comments, of the total votes for and against. Now from the comment page you can easily observe whether there is a “struggle” of pluses and minuses or just 0 - this is “quiet and smooth” and no one is reacting violently to the comment. The amounts will become apparent if you put the script " Interest Charts ". Unfortunately, it is not yet integrated with HabrAjax, it does not circle the loaded articles (TODO, rather make plugins for it!). (-) From the same, but not very good - in the old typesetting of companies, including in the layout of the blog of the TMs themselves, there is no indication of the opposite sums of ratings. (-)






    The best in 24 hours - "blinded." It does not mark blogs or hubs, only article titles and links remain. Therefore, this section of the sidebar, unfortunately, is losing some of the payload. And he was quite useful.

    (+)
    The site is even more distant from old layouts. Individual pages (favorites, comments) have long been her stronghold. Now they are in the camp of innovators.

    (-)
    Not all old layouts have died. The real and hardest stronghold of the old is corporate blogs, for the sake of which in user scripts you will have to contain the old code when walking through the DOM tree. They will live for a long time. They invested money in them when they created their own unique individual layout style. And now it's out of date.

    (+)
    The changes are not affected too much. Compared to October, the amount of corrections took one evening; however, some changes are even pleasant. For example, buttons for sending comments.

    (-)
    The “Q&A” link in the subheading of the article list leads to the wrong place for the QA link in the menu.

    (...)
    The era of the old Habr is finally canceled. The links / all / and / all / new / have stopped working. Good or bad, it's too early to say. If the New link displays ALL ALL new articles, then this is equivalent to the whole stream. If, for the sake of the whole stream, you have to sacrifice your blog filter and set all blogs selected, then the meaning of the filters will be lost as marks of which topics are mainly of interest.

    (-)
    The ill-conceived links of the "live broadcast" in the sidebar remain. The link points to the profile and the user's message. If you think about it, it’s highly unlikely that a user will be interested in one or another link. Only if he knows the author of the post personally or wants to find out more about him. Much more often transitions go according to the content - by the title of the article. And they get to a specific comment. The script corrects this mess, but it is better that this is the case initially - a link to an article, and not to a specific post.

    (-)
    There remains a similar ill-conceived link in its comments. Links are already the opposite, to the article. And only the second one-character "#" - for comment. In this case, the author of the post, of course, is more interested in the answer to his post and comments in general, i.e. link #comments. (It will be necessary to correct the script.

    (-)
    The words "Company Blog" take up a lot of space. Repeated often, so they can be reduced to a sign. For example, earlier in HabrAjax companies stood out in color. Now the name of the company is the last hub. Therefore, if we highlight the company name with color, it will be recognizable in a number of hubs.

    (-)
    Lists of tags and hubs are stuck to the left edge, which is why they merge with other texts. No problem, in HabrAjax + ZenComment they stick to the right edge. To make the last hub more visible, its font is slightly larger. But, so that it is not too long, its length is limited to 13 characters, if it is a company blog.

    (+)
    Filtering articles not by blog, but by all hubs. Earlier in HabrAjax has already been done filtering articles on blogs. The blog was regarded as equivalent to the text of the annotation. If a stop word (or reg.vyr.) Is found in the blog name, the annotation is minimized. Now the area of ​​interest of the filter has spread to all hubs. As usual, 2 special filters are placed in separate settings: podcasts and company blogs.

    (+) - HabrAjax
    Tint of translations and topic links. To make translations more recognizable, the title of the translation is highlighted in blue. Links are green.

    (+) - HabrAjax
    The font size in the header - depending on the length of the header.

    (-)
    Who needs tenths of a rating? They take a place. As many as 2 characters of unnecessary data that you have to constantly filter with your eyes ??? No, better script. HabrAjax does this.

    (-)
    The word "Frontend" in the names of blog groups. It is written through "e".

    To summarize, it can be concluded that change is more likely good than bad. First of all, because they are not so global in comparison with the previous ones (from October 2011) and are moving towards simplification through the generalization of the site system, and not towards the multiplication of entities.

    Also popular now: