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

Gutenberg/improve mentions support #12115

Merged
merged 21 commits into from
Jun 29, 2020

Conversation

mchowning
Copy link
Contributor

@mchowning mchowning commented Jun 5, 2020

related Gutenberg-Mobile PR

Improving the mentions UI by adding a background scrim and making sure dark mode looks good. This also updates to add a "Loading..." message while the users are being loaded (which can take a while the first time on a site with a lot of users).

Testing

Dark/Light Mode

  • Verify that the mentions UI looks fine in both dark and light mode

Site With 1 or 2 Users

  1. Load a site with 1 or 2 users
  2. Open the Gutenberg editor, and in an empty paragraph block type the "@" symbol
  3. Verify that the Gutenberg editor can still be seen behind the mentions UI, but that the editor is covered by a dark scrim (like it's covered with a shadow).

Site With Many Users

  1. Load a site with many users that has not had the users loaded before on the mobile device since the app was installed (i.e. you've never tried to @-mention a user in a comment or post for that site
  2. Open the Gutenberg editor, and in an empty paragraph block type the "@" symbol
  3. Observe that the mentions UI loads up with no suggestions and a "Loading..." message
  4. Observe that after a bit (maybe 5-20 seconds depending on your connection), the suggestions will be populated.
  5. Enter characters in the mentions UI until there are no matching users and observe that instead of the "Loading..." message there is now a message stating that there are no matching users available

PR submission checklist:

  • I have considered adding unit tests where possible.
  • I have considered adding accessibility improvements for my changes.
  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@mchowning mchowning added this to the 15.2 milestone Jun 5, 2020
@peril-wordpress-mobile
Copy link

peril-wordpress-mobile bot commented Jun 5, 2020

You can trigger optional UI/connected tests for these changes by visiting CircleCI here.

@peril-wordpress-mobile
Copy link

peril-wordpress-mobile bot commented Jun 5, 2020

You can test the changes on this Pull Request by downloading the APK here.

@mchowning mchowning force-pushed the gutenberg/improve_mentions_support branch from 4cb6a1b to 152d023 Compare June 12, 2020 17:38
@mchowning mchowning force-pushed the gutenberg/improve_mentions_support branch from 5d93bc1 to 7fe9930 Compare June 15, 2020 13:41
@mchowning mchowning marked this pull request as ready for review June 19, 2020 12:33
@mchowning mchowning requested a review from marecar3 June 19, 2020 12:34
Copy link
Contributor

@marecar3 marecar3 left a comment

Choose a reason for hiding this comment

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

Nice job @mchowning! 👍

Everything is working as expected but just need to make sure is it suppose to be a feature that you can add a mention to a Post title? I have checked in the web app and I couldn't do it.

Here is the proper video.

ezgif com-video-to-gif

@SergioEstevao
Copy link
Contributor

@marecar3 you shouldn't be able to do it. I think @mchowning is aware and still needs to add a check to avoid that.

@marecar3
Copy link
Contributor

@marecar3 you shouldn't be able to do it. I think @mchowning is aware and still needs to add a check to avoid that.

Thanks for the update 👍

@mchowning mchowning force-pushed the gutenberg/improve_mentions_support branch from cfc2e20 to f94f43e Compare June 25, 2020 19:49
@mchowning mchowning changed the base branch from develop to gutenberg/after_1.31.0 June 25, 2020 20:45
@mchowning
Copy link
Contributor Author

mchowning commented Jun 25, 2020

Everything is working as expected but just need to make sure is it suppose to be a feature that you can add a mention to a Post title? I have checked in the web app and I couldn't do it.

I've addressed that issue so you can't add mentions to the title anymore. 🙂 All the branches on this PR have also been updated with the monorepo updates as well.

I know you've already approved @marecar3 , but I wanted to let you know in case you wanted to give it another look.

Base automatically changed from gutenberg/after_1.31.0 to develop June 26, 2020 14:49
@marecar3
Copy link
Contributor

Hey @mchowning I can confirm that everything is working as expected and that issue in the Post Title is fixed! LGTM!

@oguzkocer
Copy link
Contributor

Hi there! 15.2 is being frozen, so this PR is being bumped to 15.3. If these changes have to be shipped with 15.2, please target release/15.2 and cc me in the PR so I can cut a new beta release. Also if you can keep the release dates in mind and bump the PRs & issues you are working on before the code freeze date, we'd really appreciate it.

@oguzkocer oguzkocer modified the milestones: 15.2 ❄️, 15.3 Jun 29, 2020
@SergioEstevao SergioEstevao merged commit 78ee83d into develop Jun 29, 2020
@SergioEstevao SergioEstevao deleted the gutenberg/improve_mentions_support branch June 29, 2020 22:31
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.

4 participants