Skip to content

Geo Sites - Icon Actions

Zack Cuddy requested to merge 346459-geo-icon-actions into master

What does this MR do and why?

Closes #346459 (closed)

This change updates the desktop view actions of the Geo Sites page to be Icon Buttons w/ tooltips rather than simple words.

Note: This does not change the Mobile Actions as they are a different component that includes a dropdown.

Screenshots or screen recordings

Before After
Desktop (No Remove) Desktop_Disabled__Before_ Desktop_Disabled__After_
Desktop (w/ Remove) Desktop_Enabled__Before_ Desktop_Enabled__After_
Mobile (No Remove) No Change Mobile_Disabled__Before_ Mobile_Disabled__After_
Mobile (w/ Remove) No Change Mobile_Enabled__Before_ Mobile_Enabled__After_

Tooltips:

Edit Remove
Primary Edit_Primary Remove_Disabled
Secondary Edit_Secondary Remove_Secondary

How to set up and validate locally

  1. Fetch and checkout this branch
  2. Setup Geo and access your Primary GDK (How to setup Geo)
  3. Go to the Geo Sites page (ex. http://127.0.0.1:3000/admin/geo)
  4. Ensure the actions on each Node Card are icons
  5. Ensure the actions work
  6. Reduce screen size to mobile
  7. Ensure actions are words inside of dropdown
  8. Ensure actions work

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #346459 (closed)

Merge request reports