Skip to content

27550 - Fix UX issue on Admin > Content > Pages/Blocks grid #27623

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

Open
wants to merge 19 commits into
base: 2.4-develop
Choose a base branch
from

Conversation

Usik2203
Copy link
Contributor

@Usik2203 Usik2203 commented Apr 5, 2020

Description (*)

I want to share reasons why I have removed quick edit functionality on grid page

  1. Most often Title, Url, and Layoutare permanent and need not quick editing on the grid page.
    Customer often edit Content ,Search Engine Optimization , Custom Design Update sections.
    We have to go to edit page any way
  2. I as customer want to edit content quickly without redundant moves.
    But I have to do two clicks Select > Edit to go to edit section of Cms Page/Block.
    Sometimes even four clicks Click to need page/block -> cancel -> Select > Edit if I forgot about quick editing.

If I will edit Cms content very often It isn't user friendly interface for me and customers whole.

Yes we can apply this solution #27614 , yes it's good. But we can't get rid of two clicks to go to edit page.

I think removing quick editing functionality on the grid will save time people who works with Magento.
And they will spend this time for others things.

This PR adds such ability only One click on the grid and we are on the Edit page.
Also this PR fixed this issue #27550 It's one more confirmation than we need to avoid redundant clicks to go to Edit Cms Page/Blocks

Actual result Block grid

2020-04-05 12 45 48

Actual result Page grid

2020-04-05 12 45 13

Related Pull Requests

Fixed Issues (if relevant)

  1. Fixes UX issue on Admin > Content > Pages/Blocks grid #27550 : Fix UX issue on Admin > Content > Pages/Blocks grid

@m2-assistant
Copy link

m2-assistant bot commented Apr 5, 2020

Hi @Usik2203. Thank you for your contribution
Here is some useful tips how you can test your changes using Magento test environment.
Add the comment under your pull request to deploy test or vanilla Magento instance:

  • @magento give me test instance - deploy test instance based on PR changes
  • @magento give me 2.4-develop instance - deploy vanilla Magento instance

For more details, please, review the Magento Contributor Guide documentation.

@magento-engcom-team magento-engcom-team added Release Line: 2.4 Partner: Atwix Pull Request is created by partner Atwix partners-contribution Pull Request is created by Magento Partner labels Apr 5, 2020
@Usik2203
Copy link
Contributor Author

Usik2203 commented Apr 5, 2020

@magento give me test instance

@magento-engcom-team
Copy link
Contributor

Hi @Usik2203. Thank you for your request. I'm working on Magento instance for you

@magento-engcom-team
Copy link
Contributor

Hi @Usik2203, here is your new Magento instance.
Admin access: https://pr-27623.instances.magento-community.engineering/admin_f7df
Login: b19f1643 Password: e1db378667f3
Instance will be terminated in up to 3 hours.

@rogyar rogyar self-assigned this Apr 5, 2020
Copy link
Contributor

@rogyar rogyar left a comment

Choose a reason for hiding this comment

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

Hi @Usik2203. Thank you for your collaboration. That approach might be tricky. If I understand correctly, you just removed the inline edit possibility. In that way we are changing the existing system behavior.

I'm not sure we should simply remove this possibility (even if it's useless, I agree) from the product owners approval perspective. Maybe we should consider something like proposed in the following PR?

#27614

@ihor-sviziev what do you think?

@ihor-sviziev
Copy link
Contributor

ihor-sviziev commented Apr 5, 2020 via email

@rogyar
Copy link
Contributor

rogyar commented Apr 8, 2020

Hi @Usik2203. Could I kindly ask you to extend the PR description slightly, please? So what is the main reason for your decision to remove this functionality but not to adjust it somehow. It's necessary for the final decision on how to proceed with the solution.

Thank you!

@Usik2203
Copy link
Contributor Author

Usik2203 commented Apr 8, 2020

Hi @rogyar
I have updated description for this PR.
Thank you !

@rogyar
Copy link
Contributor

rogyar commented Apr 12, 2020

Awesome, thank you. Now we need approval from product owners.

@Usik2203 Usik2203 force-pushed the fix-ux-issue-on-cms-block-grid branch from 1e0b04b to ecaa592 Compare April 15, 2020 15:49
@magento-engcom-team
Copy link
Contributor

Hi @rogyar, thank you for the review.
ENGCOM-8408 has been created to process this Pull Request
✳️ @rogyar, could you please add one of the following labels to the Pull Request?

Label Description
Auto-Tests: Covered All changes in Pull Request is covered by auto-tests
Auto-Tests: Not Covered Changes in Pull Request requires coverage by auto-tests
Auto-Tests: Not Required Changes in Pull Request does not require coverage by auto-tests

# Conflicts:
#	app/code/Magento/Cms/Test/Mftf/Section/AdminBlockGridSection.xml
@engcom-Charlie
Copy link
Contributor

@magento run all tests

@Usik2203
Copy link
Contributor Author

Usik2203 commented Nov 9, 2020

@magento run Functional Tests CE , Functional Tests EE , Functional Tests B2B

@gabrieldagama
Copy link
Contributor

@magento run Functional Tests CE, Functional Tests B2B

@Usik2203
Copy link
Contributor Author

HI @gabrieldagama
I see that failed tests are not related with my changes
Thanks

Copy link
Contributor

@gabrieldagama gabrieldagama left a comment

Choose a reason for hiding this comment

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

Hi @Usik2203,

Apparently, the tests introduced here are conflicting with other tests, maybe some tests missed to clear their filters and are causing this to failed. Can we make sure the filters are clear before performing the action? Please follow screenshots below.

Screenshot 2020-11-11 at 09 21 17
Screenshot 2020-11-11 at 09 21 28

Also, we do need the approval of PO on this functional change, once that is fixed we need to move this to the Pending Approval column.

Thanks.

@Usik2203
Copy link
Contributor Author

@gabrieldagama Can we make sure the filters are clear before performing the action?
I didn't find way to do this .
Yes, I can create additional assertion to be sure that filters are clear but in case is it will not be true test will be failed.
Now tests looks good.
Screenshot 2020-11-11 at 14 37 06
Thanks

@gabrieldagama
Copy link
Contributor

gabrieldagama commented Nov 11, 2020

@Usik2203 the tests are failing on internal builds, please add the following to your tests:

<actionGroup ref="ClearFiltersAdminDataGridActionGroup" stepKey="clearProductsGridFilters"/>

@Usik2203
Copy link
Contributor Author

@magento run all tests

@Usik2203
Copy link
Contributor Author

@Usik2203 the tests are failing on internal builds, please add the following to your tests:

<actionGroup ref="ClearFiltersAdminDataGridActionGroup" stepKey="clearProductsGridFilters"/>

@gabrieldagama Thank you for advice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Frontend Auto-Tests: Not Required Changes in Pull Request does not require coverage by auto-tests Award: MFTF test coverage Component: Backend Component: Cms Event: Global-Contribution-Day Partner: Atwix Pull Request is created by partner Atwix partners-contribution Pull Request is created by Magento Partner Priority: P4 No current plan to fix. Fixing can be deferred as a logical part of more important work. Progress: pending review QA: Added to Regression Scope Scenario was analysed and added to Regression Testing Scope Release Line: 2.4 Severity: S4 Affects aesthetics, professional look and feel, “quality” or “usability”.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UX issue on Admin > Content > Pages/Blocks grid
9 participants