diff --git a/website/CHANGELOG.md b/website/CHANGELOG.md index 39c43708..f670fd32 100644 --- a/website/CHANGELOG.md +++ b/website/CHANGELOG.md @@ -1,14 +1,10 @@ # Release History -## 0.5.0 (Unreleased) +## 0.5.0 (2024-07-31) ### Features Added -### Breaking Changes - -### Bugs Fixed - -### Other Changes +- [[418]](https://github.com/Azure/awesome-azd/pull/418) Implement filter applied bar and "Clear All" button. ## 0.4.0 (2024-05-20) diff --git a/website/src/pages/ShowcaseCardPage.tsx b/website/src/pages/ShowcaseCardPage.tsx index e594d9f7..699aac6b 100644 --- a/website/src/pages/ShowcaseCardPage.tsx +++ b/website/src/pages/ShowcaseCardPage.tsx @@ -16,6 +16,7 @@ import { Option, Spinner, Badge, + Body1, } from "@fluentui/react-components"; import ShowcaseCards from "./ShowcaseCards"; import useBaseUrl from "@docusaurus/useBaseUrl"; @@ -24,6 +25,7 @@ import { useColorMode } from "@docusaurus/theme-common"; import { useHistory } from "@docusaurus/router"; import { toggleListItem } from "@site/src/utils/jsUtils"; import { prepareUserState } from "./index"; +import { Dismiss20Filled } from "@fluentui/react-icons"; const TagQueryStringKey2 = "tags"; @@ -116,29 +118,31 @@ function filterUsers( function FilterAppliedBar({ clearAll, selectedTags, + readSearchTags, + replaceSearchTags, }: { clearAll; selectedTags: TagType[]; + readSearchTags: (search: string) => TagType[]; + replaceSearchTags: (search: string, newTags: TagType[]) => string; }) { - const { colorMode } = useColorMode(); - return selectedTags.length > 0 ? ( -