Problem/Motivation

Should be a quick issue to remove the icon. Will attempt to remove and not just hide. But if that doesn't work hide.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

cosmicdreams created an issue. See original summary.

cosmicdreams’s picture

Issue tags: +Novice
cosmicdreams’s picture

Issue tags: +frontend

Ranjit1032002 made their first commit to this issue’s fork.

ranjit1032002’s picture

Status: Active » Needs review
StatusFileSize
new412 bytes

Created a patch for removing Pencil icon, please review.
Thank You.

cosmicdreams’s picture

Thanks @Ranjit1032002 can you provide it as a Merge Request?

sonam.chaturvedi’s picture

StatusFileSize
new772.24 KB
new513.89 KB

Verified and tested patch #5 with 2.0.x-dev version on drupal 10.1.x-dev.
Patch applied cleanly

Test Results:
Pencil icon is removed. However, I think title "Preview" should be aligned left.
Refer attached before and after screenshot

cosmicdreams’s picture

Status: Needs review » Needs work

Cool. But can you provide this as an MR?

rohan-sinha’s picture

Hi, @cosmicdreams, reviwed the patch #5, it works well but the patch fixes is inside core, so or for MR need to ovwerwite the same class in the module css.

ranjit1032002’s picture

Status: Needs work » Needs review

Hi, @cosmicdreams MR!35 created , please review.
Thank You.

rohan-sinha’s picture

Status: Needs review » Reviewed & tested by the community

The MR looks good, fixed the issue, also the preview is aligned as expected by @sonam.chaturvedi on #7 , thnks

rohan-sinha’s picture

StatusFileSize
new207.34 KB
cosmicdreams’s picture

Status: Reviewed & tested by the community » Needs work

Back to Needs Work with some review notes. I like the result, just have some comments about the implementation.

cosmicdreams’s picture

Issue tags: -Novice +MidCamp2023
ranjit1032002’s picture

Status: Needs work » Needs review

I have made changes in MR!35, Please review.

sharayurajput’s picture

Assigned: Unassigned » sharayurajput

Will review this issue

sharayurajput’s picture

Assigned: sharayurajput » Unassigned
Status: Needs review » Reviewed & tested by the community
StatusFileSize
new28.12 KB
new27.52 KB

Merge request !35 reviewed, its working good as per requirement added screenshot for the reference.
LGTM so moving status to RTBC

cosmicdreams’s picture

The use of !important would have a severe impact to the rest of Drupal development as the styles introduced with this change would override other implementations in a way that would make it hard to undo. Please modify this change to exclude !important.

You can accomplish this be having greater selector specificity so that the scope of the change is assured to only impact our use case.

cosmicdreams’s picture

Status: Reviewed & tested by the community » Needs work
ranjit1032002’s picture

Status: Needs work » Needs review

I have made changes in MR!35 by excluding !important, Please review.

sharayurajput’s picture

StatusFileSize
new27.52 KB

its also working instead of using !important so now we can move this issue to RTBC

sharayurajput’s picture

Status: Needs review » Reviewed & tested by the community

Rajeshreeputra made their first commit to this issue’s fork.

rajeshreeputra’s picture

Rebased MR, changes looks good +1 RTBC.

cosmicdreams’s picture

Finally getting around to merging this.

  • Ranjit1032002 authored 39e88e16 on 2.1.x
    Issue #3352976: Remove Pencil icon
    fix additional issues found in new...
brianperry’s picture

Status: Reviewed & tested by the community » Fixed

This fix looks to be in both 2.0 and 2.1 so marking as fixed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.