add descriptions to marketplace list page (#1812)

* add descriptions to marketplace list page

* clean up unused styling

* rip descriptions from registry marketplace, use binary choice custom default and alternative messages

* cleanup

* fix selected type and remove uneeded conditional

* conditional color

* cleanup

* better comparision of marketplace url duplicates

* add logic to handle marketplace description display based on url

* decrease font size

* abstract helper fn to get url hostname; add error toast when adding duplicate marketplace

* move helper function to more appropriate file location

* rework marketplace list and don't worry about patch db firing before bootstrapped

* remove aes-js

* reinstall aes just to please things for now

Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
This commit is contained in:
Lucy C
2022-09-21 12:41:19 -06:00
committed by GitHub
parent 7575e8c1de
commit f8ea2ebf62
26 changed files with 930 additions and 893 deletions

View File

@@ -49,3 +49,7 @@ export function isValidHttpUrl(string: string): boolean {
return false
}
}
export function getUrlHostname(url: string): string {
return new URL(url).hostname
}