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

Cleanup #248

Merged
merged 31 commits into from
Feb 2, 2021
Merged

Cleanup #248

merged 31 commits into from
Feb 2, 2021

Conversation

dingo-d
Copy link
Contributor

@dingo-d dingo-d commented Jan 28, 2021

I've done the cleanup inspection for the scripts part of the frontend libs.

There are lots of minor fixes. The easiest way to look at this PR is to go through the commits when reviewing to see what has been changed, and to understand the reason for the fixes.

Screenshot 2021-01-29 at 08 50 31

@dingo-d dingo-d added the bugfix A report on a possible bug in the code label Jan 28, 2021
@dingo-d dingo-d self-assigned this Jan 28, 2021
iruzevic
iruzevic previously approved these changes Jan 28, 2021
@dingo-d dingo-d requested a review from a team January 28, 2021 16:07
@dingo-d dingo-d marked this pull request as ready for review January 28, 2021 16:07
@dingo-d dingo-d requested a review from iruzevic January 29, 2021 17:26
iruzevic
iruzevic previously approved these changes Jan 29, 2021
@kmaric69
Copy link

Left some minor comments. Rest looks good...nice job!

kmaric69
kmaric69 previously approved these changes Jan 30, 2021
iruzevic
iruzevic previously approved these changes Jan 31, 2021
gabriel-glo
gabriel-glo previously approved these changes Feb 1, 2021
MetarDev
MetarDev previously approved these changes Feb 1, 2021
Copy link
Contributor

@MetarDev MetarDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a few comments, otherwise looks good

@dingo-d dingo-d dismissed stale reviews from MetarDev and gabriel-glo via 321436a February 2, 2021 08:19
MetarDev
MetarDev previously approved these changes Feb 2, 2021
Will be added automatically if the image is imported from wp and has the alt tag added. Props @JerrySpecter.
Co-authored-by: Karlo Biscan <JerrySpecter@users.noreply.github.com>
Fix the visibility toggle.
gabriel-glo
gabriel-glo previously approved these changes Feb 2, 2021
Copy link
Contributor

@goranalkovic-infinum goranalkovic-infinum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Besides the search-bar-style change, everything else seems fine

kmaric69
kmaric69 previously approved these changes Feb 2, 2021
@dingo-d
Copy link
Contributor Author

dingo-d commented Feb 2, 2021

Hmmm, so I need to find a way to update the meta field for the alt when changed in the options 🤔 on my way!

EDIT: Turns out that's how the core image is also behaving. Odd...

I've opened up a bug, but maybe it's a feature, not a bug 👀

WordPress/gutenberg#28654

Alt description can be larger text, so it makes sense to have textarea.
Copy link
Member

@iruzevic iruzevic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also in the image-toolbar.js you once removing the image should we remove the alt as well?

@dingo-d dingo-d requested a review from iruzevic February 2, 2021 10:58
@dingo-d dingo-d merged commit 815ac68 into develop Feb 2, 2021
@dingo-d dingo-d deleted the cleanup branch February 2, 2021 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix A report on a possible bug in the code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants