mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
Fix icon mapping on SoftwarePage (#37414)
This pull request updates the `SOFTWARE_NAME_TO_ICON_MAP` in `frontend/pages/SoftwarePage/components/icons/index.ts` to improve the mapping between software names and their corresponding icons. The main goal is to add support for additional variations and aliases of software names, ensuring that icons are displayed correctly regardless of the naming convention used. The most important changes include: **Expanded software name aliases for icon mapping:** * Added alternative spellings and aliases for several software titles, such as `"7-zip"`, `"aws client vpn"`, `"cleanmymac"`, and `"gpg suite"`, to ensure their icons are correctly displayed. [[1]](diffhunk://#diff-628095892e1d16090be1db6cc1a5c9cebc65248c32a8b1312385394818f2907bR235) [[2]](diffhunk://#diff-628095892e1d16090be1db6cc1a5c9cebc65248c32a8b1312385394818f2907bR260) [[3]](diffhunk://#diff-628095892e1d16090be1db6cc1a5c9cebc65248c32a8b1312385394818f2907bR278) [[4]](diffhunk://#diff-628095892e1d16090be1db6cc1a5c9cebc65248c32a8b1312385394818f2907bR325) * Included additional variants for DBeaver editions (e.g., `dbeaver`, `dbeaveree`, `dbeaverlite`, `dbeaverultimate`) and `"pgadmin4"` to improve icon resolution for these products. [[1]](diffhunk://#diff-628095892e1d16090be1db6cc1a5c9cebc65248c32a8b1312385394818f2907bR295-R301) [[2]](diffhunk://#diff-628095892e1d16090be1db6cc1a5c9cebc65248c32a8b1312385394818f2907bR387) * Added support for alternative spellings of Microsoft and Wacom products, such as `"microsoft auto update"` and `"wacom tablet"`. [[1]](diffhunk://#diff-628095892e1d16090be1db6cc1a5c9cebc65248c32a8b1312385394818f2907bR337) [[2]](diffhunk://#diff-628095892e1d16090be1db6cc1a5c9cebc65248c32a8b1312385394818f2907bR447)
This commit is contained in:
parent
9a6ef5ba52
commit
a6bc23bed1
1 changed files with 13 additions and 0 deletions
|
|
@ -232,6 +232,7 @@ import Zoom from "./Zoom";
|
|||
export const SOFTWARE_NAME_TO_ICON_MAP = {
|
||||
"010 editor": ZeroOneZeroEditor,
|
||||
"7 zip": SevenZip,
|
||||
"7-zip": SevenZip,
|
||||
"8x8 work": EightXEightWork,
|
||||
"1password": OnePassword,
|
||||
abstract: Abstract,
|
||||
|
|
@ -239,6 +240,7 @@ export const SOFTWARE_NAME_TO_ICON_MAP = {
|
|||
"adobe acrobat reader": AcrobatReader,
|
||||
"adobe creative cloud": CreativeCloud,
|
||||
"adobe digital editions": AdobeDigitalEditions45,
|
||||
"adobe dng converter": AdobeDngConverter,
|
||||
aircall: Aircall,
|
||||
airtame: Airtame,
|
||||
"amazon chime": AmazonChime,
|
||||
|
|
@ -256,6 +258,7 @@ export const SOFTWARE_NAME_TO_ICON_MAP = {
|
|||
audacity: Audacity,
|
||||
avast: AvastSecureBrowser,
|
||||
"aws vpn client": AwsVpnClient,
|
||||
"aws client vpn": AwsVpnClient,
|
||||
balenaetcher: BalenaEtcher,
|
||||
bbedit: BBEdit,
|
||||
"beyond compare": BeyondCompare,
|
||||
|
|
@ -273,6 +276,7 @@ export const SOFTWARE_NAME_TO_ICON_MAP = {
|
|||
"citrix workspace": CitrixWorkspace,
|
||||
claude: Claude,
|
||||
cleanmymac_5: CleanMyMac,
|
||||
cleanmymac: CleanMyMac,
|
||||
"cleanshot x": CleanShotX,
|
||||
clion: CLion,
|
||||
clickup: ClickUp,
|
||||
|
|
@ -289,9 +293,13 @@ export const SOFTWARE_NAME_TO_ICON_MAP = {
|
|||
datagrip: DataGrip,
|
||||
"db browser for sqlite": DbBrowserForSqLite,
|
||||
"dbeaver community": DBeaver,
|
||||
dbeaver: DBeaver,
|
||||
"dbeaver enterprise edition": DBeaverEe,
|
||||
dbeaveree: DBeaverEe,
|
||||
"dbeaver lite edition": DBeaverLite,
|
||||
dbeaverlite: DBeaverLite,
|
||||
"dbeaver ultimate edition": DBeaverUltimate,
|
||||
dbeaverultimate: DBeaverUltimate,
|
||||
deepl: DeepL,
|
||||
dialpad: Dialpad,
|
||||
discord: Discord,
|
||||
|
|
@ -304,6 +312,7 @@ export const SOFTWARE_NAME_TO_ICON_MAP = {
|
|||
edge: MicrosoftEdge,
|
||||
egnyte: Egnyte,
|
||||
"elgato control center": ElgatoControlCenter,
|
||||
"elgato stream deck": ElgatoStreamDeck,
|
||||
evernote: Evernote,
|
||||
expressvpn: ExpressVpn,
|
||||
falcon: Falcon,
|
||||
|
|
@ -315,6 +324,7 @@ export const SOFTWARE_NAME_TO_ICON_MAP = {
|
|||
ghostty: Ghostty,
|
||||
gimp: Gimp,
|
||||
"gpg keychain": GpgKeychain,
|
||||
"gpg suite": GpgKeychain,
|
||||
hyper: Hyper,
|
||||
inkscape: Inkscape,
|
||||
"jabra direct": JabraDirect,
|
||||
|
|
@ -326,6 +336,7 @@ export const SOFTWARE_NAME_TO_ICON_MAP = {
|
|||
maccy: Maccy,
|
||||
mattermost: Mattermost,
|
||||
"microsoft autoupdate": MicrosoftAutoUpdate,
|
||||
"microsoft auto update": MicrosoftAutoUpdate,
|
||||
"mongodb compass": MongoDbCompass,
|
||||
"mozilla firefox": Firefox,
|
||||
"github desktop": GitHubDesktop,
|
||||
|
|
@ -375,6 +386,7 @@ export const SOFTWARE_NAME_TO_ICON_MAP = {
|
|||
"parallels desktop": ParallelsDesktop,
|
||||
p4v: P4V,
|
||||
"pgadmin 4": PgAdmin4,
|
||||
pgadmin4: PgAdmin4,
|
||||
phpstorm: PhpStorm,
|
||||
"podman desktop": PodmanDesktop,
|
||||
postman: Postman,
|
||||
|
|
@ -434,6 +446,7 @@ export const SOFTWARE_NAME_TO_ICON_MAP = {
|
|||
"visual studio code": VisualStudioCode,
|
||||
vlc: Vlc,
|
||||
"wacom center": WacomCenter,
|
||||
"wacom tablet": WacomCenter,
|
||||
webstorm: WebStorm,
|
||||
webex: Webex,
|
||||
whatsapp: WhatsApp,
|
||||
|
|
|
|||
Loading…
Reference in a new issue