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

Block audit: File #8295

Closed
2 of 7 tasks
sarahmonster opened this issue Jul 30, 2018 · 2 comments
Closed
2 of 7 tasks

Block audit: File #8295

sarahmonster opened this issue Jul 30, 2018 · 2 comments
Assignees
Labels
[Feature] Blocks Overall functionality of blocks [Type] Task Issues or PRs that have been broken down into an individual action to take

Comments

@sarahmonster
Copy link
Member

sarahmonster commented Jul 30, 2018

Note: We'll be doing these audits in waves and editing this as we work through the blocks, so this text will be updated and fleshed out as we progress. See the full picture here.

Overview

screenshot 2018-07-30 14 31 12

Name: File
Description: Add a link to a file that visitors can download.
Category: Common blocks
CSS class: wp-block-file in frontend and editor
Can be converted to: contextual depending on file type: file, image, video, audio

States

Empty:
screenshot 2018-07-30 14 30 32

Selected:
screenshot 2018-07-30 14 30 59

Unselected:
screenshot 2018-07-30 14 31 05

Placeholder:
screenshot 2018-07-30 14 30 41

Primary (toolbar) settings

Align: left, centre, right, edit

Secondary (sidebar) settings

Text Link Settings: Link To, Open in New Window
Download Button Settings: Show Download Button
Advanced: Additional CSS Class

Frontend appearance

Gutenberg starter theme:

screen shot 2018-07-31 at 1 57 26 pm

Atomic Blocks

screen shot 2018-07-31 at 1 52 54 pm

twentyseventeen:

screen shot 2018-07-31 at 2 28 49 pm

twentyten:

screen shot 2018-07-31 at 2 27 25 pm

Documentation

No devdocs in https://github.com/WordPress/gutenberg/tree/master/core-blocks/image

Suggestion for user-facing docs:

Performance on mobile

Accessibility

Bugs/errors

Individual issues will be opened for these soon

Suggestions

Individual issues will be opened for these soon

@sarahmonster sarahmonster self-assigned this Jul 30, 2018
@sarahmonster sarahmonster added [Type] Task Issues or PRs that have been broken down into an individual action to take [Feature] Blocks Overall functionality of blocks labels Jul 30, 2018
@uamv
Copy link

uamv commented Sep 26, 2018

This appears to be a bug, though I've not tested with a clean install. When I add a custom class to the file block, the Download button loses styling on the back end. The front-end styling still appears properly.
gutenberg-file-class-bug

@kjellr
Copy link
Contributor

kjellr commented Jan 22, 2019

Closing this issue, as all bugs/enhancements have been raised as separate issues. 👍

@kjellr kjellr closed this as completed Jan 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Blocks Overall functionality of blocks [Type] Task Issues or PRs that have been broken down into an individual action to take
Projects
None yet
Development

No branches or pull requests

3 participants