Skip to content

Use heading actions and placeholders in settings#12801

Merged
Gargron merged 1 commit intomastodon:masterfrom
brawaru:feat/more-heading-actions
Jan 11, 2020
Merged

Use heading actions and placeholders in settings#12801
Gargron merged 1 commit intomastodon:masterfrom
brawaru:feat/more-heading-actions

Conversation

@brawaru
Copy link
Copy Markdown
Contributor

@brawaru brawaru commented Jan 8, 2020

This pull request improves some index pages to use more placeholders in place of empty tables and moves action buttons to the heading actions content block.

Demo screenshot

This merge request depends on #12799 and until it's merge this one present as draft and is not squashed for easier review.

This commit:

- Refactors centered text blocks currently used for placeholders
  for empty tables and puts styles for it in separate class -
  .centered-text, simply aliasing text-align: center. Which is
  furtherly used in this commit.

- Improves applications settings page to use heading actions, moving
  "New application" button there, and displaying placeholder "You
  have no applications" in place of empty table.

- Improves custom emoji settings page to use heading action
  for "Upload" button, making it more easily accessible without
  need to scroll through all of the emojis.

- Improves email domain blocks settings page, moving "Add new" to the
  heading actions and using placeholder "No e-mail domains currently
  blacklisted" instead of showing empty table.
@brawaru brawaru marked this pull request as ready for review January 10, 2020 12:59
@brawaru brawaru changed the title Use heading actions and placeholders at settings pages Use heading actions and placeholders in settings Jan 10, 2020
@Gargron Gargron merged commit 36426ed into mastodon:master Jan 11, 2020
@brawaru brawaru deleted the feat/more-heading-actions branch April 2, 2020 22:18
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