📜 ⬆️ ⬇️

Who answers you in QA. Browser Extension

I am glad to present you a new version of the Habra extension ( previous topic ), which has learned to show questions and answers (QA), as well as notify about all events in them.

And most importantly - now you can answer directly in the extension, including in the Opera.

Now you can create personal correspondence and delete it.
')
Many bugs fixed, many improvements and optimizations made.


The most basic innovation in this version is that you can respond from the extension, as well as perform any actions. It turned out to be done through the iframe. In Chrome, this works inside the extension, but in Opera, due to limitations in its architecture (content-scripts are not embedded in the pages created inside the extension), this technique does not work, so for Opera it is implemented through any open tab in the browser. This is a prerequisite for answers in Opera, but since sites are usually viewed in the browser, this condition will almost always be fulfilled 100%. From the Opera they promised that they would finalize this moment by the fall of this year.



Now in the extension you can see the tracker, as well as work with it. Currently there are only two tabs in it - Posts and QA.

Posts - this is still what is at the very Habré, a copy. The advantages are that you can mark as read and delete all topics at once, and not page by page, as it is implemented in the Habré.

But QA is a specific functionality of the extension, it allows you to monitor any question - all the clarifications, answers and comments will appear in the form of events, and the number of these new events in the form of green numbers with a plus is drawn in the tracker.



If the tracker hovers the mouse over the links “comments”, “clarifications” or counters of answers, then you can see all the correspondence in the question, and in each case, depending on what link the mouse hovers, unnecessary comments will be hidden and See, you need to click on the oval with the counter.



This is convenient in that only new elements will be visible, and those that have already been read will be hidden. However, new comments are always marked with a darker background.



From the tracker, you can mark as read all the events of this issue with one click - you need to click on the red “new” icon. You can also stop following the question, and if you select the "delete all events" checkbox when unsubscribing, all events will also be deleted.

If you have written a comment for any answer in the question, but have not been signed to the question, the extension will still notify you of subsequent comments in this answer (unless of course you manage to capture your comment on the air).

To subscribe (or unsubscribe) to a question, the extension inserts a checkout “follow through extension” to the page to the right of the panel. This daw is both in the question itself and in any lists where there is a QA.



The list of your comments and clarifications is located in a separate tab (there is no this list on Habré). The extension carefully collects and stores all your comments and clarifications that it finds. In the future, I will implement an instant reliable collection of this and any other added information - in Chrome there is an opportunity to intercept http-requests.

Your questions, answers, as well as comments or clarifications written later than yours will also receive events - all answers, clarifications and comments.



When trying to answer QA, you can choose three options for what to do specifically - clarify the question, answer the question or comment on the answer.



You can create a new correspondence with the user by clicking on the icon of the folder with a plus sign in the tab “private correspondence”. You must enter a folder name and text.

Settings spread by tabs and types.
Added settings:
  1. Restriction of loading and checking tracker, pages . Load only this number of tracker pages for analysis.
  2. Frequency of rescan tracker, sec . How often will the entire list of your tracker be rescanned (all pages, not just the first one).
  3. Tracker check frequency, sec . How often to check for new events in the tracker.
  4. Scan frequency QA, sec . How often to check the live QA live on the appearance of updated QA, where you answered or commented. It is advisable to set not very rarely, because your comments may be skipped.
  5. Upload your old QA . If enabled, your old QA-questions will be loaded (for which the creation time is ahead of the extension installation time).
  6. Limit the download and check your QA-questions pages . Load only this number of pages of your QA questions for analysis.
  7. Frequency of rescanning of own QA-questions, sec . How often will the whole list of your QA-questions be rescanned for new answers in them? It was done in order to still find comments for you, if they missed through checking the live broadcast - due to the closure of the browser, the lack of the Internet, etc.
  8. Limit upload and check your QA-answers pages . Load only this number of pages of your QA responses for analysis.
  9. Frequency of rescanning of own QA-responses, sec . How often will the entire list of your QA responses be rescanned for new comments? It was done in order to still find comments for you, if they missed through checking the live broadcast - due to the closure of the browser, the lack of the Internet, etc.


For now. Update through the standard browser feature or re-install the extension. Then, if you need old information and you have unlimited fast traffic, you need to set the page limit everywhere in the settings everywhere and turn on all the checkboxes.

In the near future I will be engaged in the section “Events”, I will improve the tracker for posts (for example, I will also do as QA so that I can receive all new comments in the form of events), I will vote for comments and topics. And I implement many other ideas in this extension.

Source: https://habr.com/ru/post/149468/


All Articles