Add icon for entity synchronization

Created on 30 January 2024, about 1 year ago

Problem/Motivation

The Entity Synchronization framework provides a top-level menu item and an icon for the admin toolbar. It would be nice to have that with Gin as well. The icon is a "refresh" icon from font-awesome, I'm posting a screenshot.

Remaining tasks

I gave it a go, but I'm not a frontend developer and I didn't have good luck with creating the SVG and adding it to the sprite. I'm adding an MR with the rest, if somebody could help with it that would be great.

Feature request
Status

Active

Version

3.0

Component

Code

Created by

🇵🇪Peru krystalcode

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @krystalcode
  • Merge request !374Add icon for Entity Synchronization → (Open) created by krystalcode
  • Pipeline finished with Failed
    about 1 year ago
    Total: 403s
    #84514
  • Assigned to amitnar
  • Status changed to Needs work 5 months ago
  • Hi krystalcode,

    I am working on this and update you asap

  • Hi @krystalcode,

    I have added reload icon as mentioned in the ticket. find the attached patch file and screenshot before and after patch implementation.

  • 🇧🇪Belgium Selfirian

    I'll review this one

  • 🇧🇪Belgium Selfirian

    Great work this does fix the issue.

    But, when I enable the New Drupal Navigation, Test integration (experimental) admin toolbar the icon is gone again.

    As far as I could see, this new experimental admin toolbar uses other classes.

    .toolbar-icon-entity-sync-admin
    becomes
    .toolbar-link--entity-sync-admin

    So I'd propose to also target that class as well, just to be future proof.

  • @selfirian

    Can you provide complete steps that what you have done and what have you got issues.

    Thanks

  • 🇵🇪Peru krystalcode

    Thanks for working on this!

    Are there any specs or instructions about the SVGs so that I can get one done for this module? The rebuild cache icon is kind of ok, but I use the font-awesome "refresh" for the standard admin toolbar because it has two arrows and the functionality of the module is syncing back-and-forth data between systems, while rebuild cache is in itself.

  • 🇨🇭Switzerland saschaeggi Zurich

    Moving this back to needs work as there are some conflicts in the MR and the SVG is missing

  • @selfirian

    I have attched updated patch "icon-sync-3417911-3.patch". Kindly check and confirm.

    Thanks

  • 🇧🇪Belgium Selfirian

    The patch does work as expected. Now it still uses the clear cache icon, for me that's fine. But @krystalcode was talking about using another icon... maybe that's worth investigating. Also @krystalcode could you add the icon to the svg?

    @amitnar Could you turn the patch into a MR, as it's my understanding that doing MR is easier for the maintainers down the line. On a side note I had issues with the MR as well so I only tested the patch on latest dev.

    Thanks for the good work!

  • 🇧🇪Belgium Selfirian

    MR needed, patch works though

  • 🇵🇪Peru krystalcode

    @selfirian the SVB that I currently use might not fit in the specs/aesthetics of the Gin menu; it works for the standard admin toolbar. So my comment was more of a question:

    Are there any specs or instructions about the SVGs so that I can get one done for this module?

  • 🇧🇪Belgium Selfirian

    @krystalcode that I don't know, maybe @saschaeggi can pitch in on that. You can check the #gin channel in slack...

  • First commit to issue fork.
  • Merge request !540#3417911: Add icon. → (Open) created by Unnamed author
  • Pipeline finished with Failed
    3 months ago
    Total: 192s
    #354086
  • Pipeline finished with Success
    3 months ago
    Total: 288s
    #356042
  • 🇮🇳India ahsannazir

    Created a MR as per #15

Production build 0.71.5 2024