magento2 icon indicating copy to clipboard operation
magento2 copied to clipboard

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

Open Usik2203 opened this issue 5 years ago • 33 comments

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 magento/magento2#27550 : Fix UX issue on Admin > Content > Pages/Blocks grid

Usik2203 avatar Apr 05 '20 09:04 Usik2203

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.

m2-assistant[bot] avatar Apr 05 '20 09:04 m2-assistant[bot]

@magento give me test instance

Usik2203 avatar Apr 05 '20 09:04 Usik2203

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

magento-engcom-team avatar Apr 05 '20 09:04 magento-engcom-team

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.

magento-engcom-team avatar Apr 05 '20 09:04 magento-engcom-team

I would like just to drop it, but I agree that this change should be approved by product owner

On Sun, 5 Apr 2020 at 16:04, Yaroslav Rogoza [email protected] wrote:

@rogyar requested changes on this pull request.

Hi @Usik2203 https://github.com/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 https://github.com/magento/magento2/pull/27614

@ihor-sviziev https://github.com/ihor-sviziev what do you think?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/magento/magento2/pull/27623#pullrequestreview-387816951, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOJOUKZCYIAI76G2IAFYZTRLB6XTANCNFSM4MAQPO7Q .

ihor-sviziev avatar Apr 05 '20 13:04 ihor-sviziev

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!

rogyar avatar Apr 08 '20 12:04 rogyar

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

Usik2203 avatar Apr 08 '20 15:04 Usik2203

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

rogyar avatar Apr 12 '20 15:04 rogyar

@Usik2203 could you please resolve merge conflicts?

sidolov avatar Aug 25 '20 19:08 sidolov

@magento run all tests

Usik2203 avatar Sep 02 '20 08:09 Usik2203

@magento run Functional Tests B2B

rogyar avatar Sep 04 '20 08:09 rogyar

Hi @Usik2203. Could I ask you to adjust the MFTF test to follow the best practices, please? You have good expertise in creating the MFTF tests, so you should have no problem with that.

Thank you!

rogyar avatar Sep 06 '20 14:09 rogyar

@magento run all tests

Usik2203 avatar Oct 02 '20 23:10 Usik2203

@magento run Functional Tests B2B , Functional Tests CE

Usik2203 avatar Oct 03 '20 07:10 Usik2203

Hi @rogyar , @gabrieldagama I have applied your recommendations. Failed tests seems are not related with my changes

Thanks

Usik2203 avatar Oct 03 '20 12:10 Usik2203

@magento run all tests

gabrieldagama avatar Oct 05 '20 10:10 gabrieldagama

@magento run all tests

engcom-Charlie avatar Oct 09 '20 16:10 engcom-Charlie

@Usik2203 please update your PR accordingly to https://github.com/magento/magento2/pull/27623#discussion_r505656213 https://github.com/magento/magento2/pull/27623#discussion_r505656551. Thank you.

engcom-Charlie avatar Oct 20 '20 07:10 engcom-Charlie

@Usik2203 please look at https://github.com/magento/magento2/pull/27623#discussion_r505656213 https://github.com/magento/magento2/pull/27623#discussion_r505656551. Otherwise, we can't proceed with your PR. Thank you.

engcom-Charlie avatar Oct 23 '20 08:10 engcom-Charlie

@magento run all tests

Usik2203 avatar Oct 24 '20 11:10 Usik2203

@magento run all tests

Usik2203 avatar Oct 24 '20 15:10 Usik2203

Hi @engcom-Charlie I have applied https://github.com/magento/magento2/pull/27623#discussion_r505656213 recommendations Thanks

Usik2203 avatar Oct 24 '20 17:10 Usik2203

:heavy_check_mark: QA Passed

Manual testing scenario:

  1. Go to Admin > Content > Pages
  2. Click on any place on the row (except "Action" column)

Before: :heavy_multiplication_x: "Quick edit" opens, but it actually useless.

Peek 2020-11-03 13-02222

After: :heavy_check_mark: Navigated to "edit" page

Peek 2020-11-03 12-58

  1. Go to Admin > Content > Blocks
  2. Click on any place on the row (except "Action" column)

Before: :heavy_multiplication_x: "Quick edit" opens, but it actually useless.

Peek 2020-11-03 13-02

After: :heavy_check_mark: Navigated to "edit" page

Peek 2020-11-03 12-57

engcom-Alfa avatar Nov 03 '20 11:11 engcom-Alfa

@magento run all tests

engcom-Charlie avatar Nov 03 '20 11:11 engcom-Charlie

Hi @rogyar, thank you for the review. ENGCOM-8408 has been created to process this Pull Request :eight_spoked_asterisk: @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

magento-engcom-team avatar Nov 03 '20 17:11 magento-engcom-team

@magento run all tests

engcom-Charlie avatar Nov 09 '20 15:11 engcom-Charlie

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

Usik2203 avatar Nov 09 '20 19:11 Usik2203

@magento run Functional Tests CE, Functional Tests B2B

gabrieldagama avatar Nov 10 '20 15:11 gabrieldagama

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

Usik2203 avatar Nov 11 '20 08:11 Usik2203

@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

Usik2203 avatar Nov 11 '20 12:11 Usik2203