Skip to content
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

Customized behaviour for question/answer list on 10k tools page #505

Open
miken32 opened this issue Dec 16, 2023 · 0 comments
Open

Customized behaviour for question/answer list on 10k tools page #505

miken32 opened this issue Dec 16, 2023 · 0 comments

Comments

@miken32
Copy link

miken32 commented Dec 16, 2023

Describe the feature you'd like
10k users get access to site tools which include a list of questions and answers with recent delete and undelete votes. It would be helpful to be able to customize these lists. DOM on page load looks like this:

<table class="summary-table collapsed">
  <tbody>
    <tr>
      <td class="cnt">2</td>
      <td>
        <a class="question-hyperlink" href="...">Title</a>
        <span title="1 more vote needed to delete this question">(1)</span>
      </td>
    </tr>
      <td class="cnt">1</td>
      <td>
        <a class="answer-hyperlink" href="...">Title</a>
        <span title="2 more votes needed to delete this answer">(1)</span>
      </td>
    <tr>
      <td class="cnt">1</td>
      <td class="tagged-ignored" title="you can't vote to delete/undelete this post">
        <a class="answer-hyperlink" href="...">Title</a>
        <span title="2 more votes needed to delete this answer">(1)</span>
      </td>
    </tr>
    <tr class="collapsing">...</tr>
    <tr class="collapsing">...</tr>
    ...
  </tbody>
</table>

In SO stylesheet .collapsed .collapsing are hidden. There are 45 total rows in the table, with 3 shown initially.

Things that could be done with these lists include:

  • customize the number of entries shown
  • only show questions or answers
  • hide posts the user is unable to vote on

Use case
These lists are collapsed by default, and do not maintain state between page views, making navigating from the list to a question and back aggravating. In addition space is wasted showing posts you're unable to vote on.

Suggested descriptions
Main option could be "Customize 10k tools lists" and clicking the settings icon could show 3 options: "Show ____ posts by default," "Show post type: ( ) questions ( ) answers ( ) all," and "[ ] Show posts you can't vote to delete/undelete."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants