Skip to content
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

Replace sprite svg icons with heroicons alternatives #3711

Merged
merged 36 commits into from
Jan 30, 2024

Conversation

theskumar
Copy link
Member

@theskumar theskumar commented Jan 7, 2024

  • Upgrade heroicons to 2.6.0, adds support for heroicons_mirco
  • Remove/upgrade sprite icons
  • Update icons in the global messages widget
  • Remove unused bgg-logo sprite
  • Update calendar icon with heroicon
  • Update anchor-link icon
  • Remove speech-bubble icon and link—-open-feed, link--close-feed and link—to-top
  • Remove arrow-up and arrow-down
  • Remove arrow-split
  • Remove "website" icon
  • Remove “error” icon
  • Update like & dislike button in the screening section
  • Remove 'bulb' svg from sprite
  • Remove 'hero-home-left-pixels' sprite
  • Remove 'hero-home-right-pixels' from sprite
  • Remove 'magnifying-glass' svg from sprite
  • Remove 'person-icon' and profile_button.html
  • Replace 'caret-down' and 'caret-up' icon
  • Remove 'side-arrow' from svg sprite
  • Remove 'add-user' icon, replace with 'user-plus'
  • Remove 'logo-desktop', 'logo-mobile' and 'logo-desktop--dark' icons
  • Remove 'logo-mobile-no-text' icon
  • Remove 'logo-mobile-dark' and 'logo-desktop--dark-alt'
  • Remove 'hero-standard-left-pixels' and 'hero-standard-right-pixels'
  • Remove 'eye' icon and replace with heroicon 'eye'
  • Remove 'exclamation-point' icon and replace by heroicon exlaimation-circle
  • Remove 'github' icon
  • Remove 'person-icon' and profile_button.html
  • Replace 'caret-down' and 'caret-up' icon
  • Remove 'side-arrow' from svg sprite

closes #3703
depends on #3722

@theskumar theskumar self-assigned this Jan 7, 2024
@theskumar theskumar requested review from frjo and wes-otf January 7, 2024 19:01
@theskumar theskumar force-pushed the maintainance/svg-updates branch from d2d5b1b to eff33da Compare January 7, 2024 19:02
@theskumar theskumar changed the title maintainance/svg updates Replace sprite svg icons with heroicons alternatives Jan 7, 2024
Copy link
Member

@frjo frjo left a comment

Choose a reason for hiding this comment

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

Will be nice to have one single source for all icons. They will all have the same look and there is no guessing where they come from.

If we in the future want to change icon set it will be easier as well.

@theskumar theskumar force-pushed the maintainance/remove-public-social-media branch from 62b71ec to 96cfdff Compare January 9, 2024 12:37
@theskumar theskumar force-pushed the maintainance/svg-updates branch from eff33da to 469859f Compare January 9, 2024 12:41
@theskumar
Copy link
Member Author

Will be nice to have one single source for all icons. They will all have the same look and there is no guessing where they come from.

I didn't fully understand this. Did you intend to say not use heroicons? As for the guess work, I believe heroicons template tags avoids the guess work, and is very explicit where the icons came from. They are also quite isolated for each use, and can be easily updated with find and replace.

For the custom icons, I was thinking to use web components and be included with a template tag. Thoughts?

@frjo frjo added Type: Enhancement This is an improvement of an existing thing (not a new thing, which would be a feature). Type: Patch Mini change, used in release drafter labels Jan 10, 2024
@frjo
Copy link
Member

frjo commented Jan 11, 2024

I ment that the heroicons is a good single source for all icons.

@theskumar theskumar force-pushed the maintainance/svg-updates branch from 469859f to d53231d Compare January 17, 2024 05:52
@theskumar theskumar changed the base branch from maintainance/remove-public-social-media to main January 17, 2024 05:55
@theskumar theskumar force-pushed the maintainance/svg-updates branch 2 times, most recently from fbad3ca to 98a2a26 Compare January 17, 2024 06:12
@theskumar theskumar changed the base branch from main to maintainance/8-cookie-settings January 17, 2024 06:12
@theskumar
Copy link
Member Author

Rebased on top of #3722 to avoid merge conflicts.

@theskumar theskumar force-pushed the maintainance/svg-updates branch from 291d43f to 2b1639b Compare January 17, 2024 12:34
@theskumar theskumar force-pushed the maintainance/svg-updates branch from 4b1555d to 1496a0b Compare January 24, 2024 15:27
@frjo frjo force-pushed the maintainance/8-cookie-settings branch from a31b2f4 to 836ecf5 Compare January 29, 2024 19:42
@frjo
Copy link
Member

frjo commented Jan 30, 2024

I have merged in all "Remove public…" PRs before this one now so this can be rebased of main.

Base automatically changed from maintainance/8-cookie-settings to main January 30, 2024 06:35
@theskumar
Copy link
Member Author

Awesome, will do it now.

@theskumar theskumar marked this pull request as ready for review January 30, 2024 06:53
- arrow-up-short-bar
- file
- download
- tap-phone
- Flags
- bell-icons
- archive
- mobile-menu-toggle
- home
- cross
- magnifying-glass
- filters
@theskumar theskumar force-pushed the maintainance/svg-updates branch from b579c86 to d032b7c Compare January 30, 2024 07:05
@theskumar theskumar requested a review from frjo January 30, 2024 07:06
Copy link
Member

@frjo frjo left a comment

Choose a reason for hiding this comment

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

One minor issue.

@frjo frjo merged commit fdec894 into main Jan 30, 2024
@theskumar theskumar deleted the maintainance/svg-updates branch January 30, 2024 08:25
wes-otf pushed a commit that referenced this pull request May 7, 2024
- Upgrade heroicons to 2.6.0, adds support for heroicons_mirco
- Remove/upgrade sprite icons
- Update icons in the global messages widget
- Remove unused bgg-logo sprite
- Update calendar icon with heroicon
- Update anchor-link icon
- Remove speech-bubble icon and link—-open-feed, link--close-feed and
link—to-top
- Remove arrow-up and arrow-down
- Remove arrow-split
- Remove "website" icon
- Remove “error” icon
- Update like & dislike button in the screening section
 - Remove 'bulb' svg from sprite
 - Remove 'hero-home-left-pixels' sprite
 - Remove 'hero-home-right-pixels' from sprite
 - Remove 'magnifying-glass' svg from sprite
-  Remove 'person-icon' and profile_button.html
 - Replace 'caret-down' and 'caret-up' icon
 - Remove 'side-arrow' from svg sprite
 - Remove 'add-user' icon, replace with 'user-plus'
 - Remove 'logo-desktop', 'logo-mobile' and 'logo-desktop--dark' icons
 - Remove 'logo-mobile-no-text' icon
 - Remove 'logo-mobile-dark' and 'logo-desktop--dark-alt'
 - Remove 'hero-standard-left-pixels' and 'hero-standard-right-pixels'
 - Remove 'eye' icon and replace with heroicon 'eye'
- Remove 'exclamation-point' icon and replace by heroicon
exlaimation-circle
 - Remove 'github' icon
 - Remove 'person-icon' and profile_button.html
 - Replace 'caret-down' and 'caret-up' icon
 - Remove 'side-arrow' from svg sprite

closes #3703 
depends on #3722
wes-otf pushed a commit that referenced this pull request May 8, 2024
- Upgrade heroicons to 2.6.0, adds support for heroicons_mirco
- Remove/upgrade sprite icons
- Update icons in the global messages widget
- Remove unused bgg-logo sprite
- Update calendar icon with heroicon
- Update anchor-link icon
- Remove speech-bubble icon and link—-open-feed, link--close-feed and
link—to-top
- Remove arrow-up and arrow-down
- Remove arrow-split
- Remove "website" icon
- Remove “error” icon
- Update like & dislike button in the screening section
 - Remove 'bulb' svg from sprite
 - Remove 'hero-home-left-pixels' sprite
 - Remove 'hero-home-right-pixels' from sprite
 - Remove 'magnifying-glass' svg from sprite
-  Remove 'person-icon' and profile_button.html
 - Replace 'caret-down' and 'caret-up' icon
 - Remove 'side-arrow' from svg sprite
 - Remove 'add-user' icon, replace with 'user-plus'
 - Remove 'logo-desktop', 'logo-mobile' and 'logo-desktop--dark' icons
 - Remove 'logo-mobile-no-text' icon
 - Remove 'logo-mobile-dark' and 'logo-desktop--dark-alt'
 - Remove 'hero-standard-left-pixels' and 'hero-standard-right-pixels'
 - Remove 'eye' icon and replace with heroicon 'eye'
- Remove 'exclamation-point' icon and replace by heroicon
exlaimation-circle
 - Remove 'github' icon
 - Remove 'person-icon' and profile_button.html
 - Replace 'caret-down' and 'caret-up' icon
 - Remove 'side-arrow' from svg sprite

closes #3703 
depends on #3722
Vldln pushed a commit to equalitie/hypha that referenced this pull request May 28, 2024
- Upgrade heroicons to 2.6.0, adds support for heroicons_mirco
- Remove/upgrade sprite icons
- Update icons in the global messages widget
- Remove unused bgg-logo sprite
- Update calendar icon with heroicon
- Update anchor-link icon
- Remove speech-bubble icon and link—-open-feed, link--close-feed and
link—to-top
- Remove arrow-up and arrow-down
- Remove arrow-split
- Remove "website" icon
- Remove “error” icon
- Update like & dislike button in the screening section
 - Remove 'bulb' svg from sprite
 - Remove 'hero-home-left-pixels' sprite
 - Remove 'hero-home-right-pixels' from sprite
 - Remove 'magnifying-glass' svg from sprite
-  Remove 'person-icon' and profile_button.html
 - Replace 'caret-down' and 'caret-up' icon
 - Remove 'side-arrow' from svg sprite
 - Remove 'add-user' icon, replace with 'user-plus'
 - Remove 'logo-desktop', 'logo-mobile' and 'logo-desktop--dark' icons
 - Remove 'logo-mobile-no-text' icon
 - Remove 'logo-mobile-dark' and 'logo-desktop--dark-alt'
 - Remove 'hero-standard-left-pixels' and 'hero-standard-right-pixels'
 - Remove 'eye' icon and replace with heroicon 'eye'
- Remove 'exclamation-point' icon and replace by heroicon
exlaimation-circle
 - Remove 'github' icon
 - Remove 'person-icon' and profile_button.html
 - Replace 'caret-down' and 'caret-up' icon
 - Remove 'side-arrow' from svg sprite

closes HyphaApp#3703 
depends on HyphaApp#3722
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement This is an improvement of an existing thing (not a new thing, which would be a feature). Type: Patch Mini change, used in release drafter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace all svg icons in "sprites.html" with heroicons
2 participants