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

Improve report page structure #12615

Merged
merged 2 commits into from
Dec 16, 2019
Merged

Improve report page structure #12615

merged 2 commits into from
Dec 16, 2019

Conversation

brawaru
Copy link
Contributor

@brawaru brawaru commented Dec 15, 2019

This PR is dedicated to slightly improve report page structure. In overall, it:

  • Moves "Mark as resolved" button to the heading of the page

    Commit description This is one of the commits on improving overall reports page structure It changes where resolved button is located, moving it to the heading, right next to the "Report #n" header, so-called "hot-place" to look at.

    To accomplish this we have to declare one more content variable, change admin dashboard template to respect it and CSS files for minor styling, so buttons are inlined and centrally aligned according to the heading.

  • Moves actions buttons below the report table

    Commit description I believe that actions to react on report should not be located at the top of the page, instead they should be either after the table or reporter's comment. This is just a logical sign that you should not react to the report without reading all the details first.
Visually, with changes it looks like this:
Screenshot of the page

This is one of the commits on improving overall reports page structure.
It changes where resolved button is located, moving it to the heading,
right next to the "Report #n" header, so-called "hot-place" to look at.

To accomplish this we have to declare one more content variable, change
admin dashboard template to respect it and CSS files for minor styling,
so buttons are inlined and centrally aligned according to the heading.
I believe that actions to react on report should not be located at the
top of the page, instead they should be either after the table or
reporter's comment. This is just a logical sign that you should not
react to the report without reading all the details first.
@Gargron Gargron merged commit 34aa5c7 into mastodon:master Dec 16, 2019
@brawaru brawaru deleted the fix/report-page-struct branch April 2, 2020 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants