Skip to content

Commit

Permalink
Merge pull request #377 from NYPL/SCC-4260/vqa
Browse files Browse the repository at this point in the history
Hotfix changes
  • Loading branch information
charmingduchess authored Oct 23, 2024
2 parents 5d2b923 + 713aec9 commit 5d4c6bb
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 23 deletions.
13 changes: 8 additions & 5 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Prerelease
## 1.3.5 2024-10-23

### Updated

- Create banner container in Layout component and add EDS link to that container (SCC-4260)
- Sentence case and rearrange search options (SCC-4260)
- Call number search scope to search dropdown options [(SCC-4260)](https://newyorkpubliclibrary.atlassian.net/browse/SCC-4260)
- Search tip per search scope [(SCC-4263)](https://newyorkpubliclibrary.atlassian.net/browse/SCC-4263)

### Fixed
### [1.3.4] Hotfix 2024-10-17
Expand Down Expand Up @@ -49,15 +56,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Updated

- Create banner container in Layout component and add EDS link to that container (SCC-4260)
- Bump DS version to 3.4.0
- Bump nvmrc version to Node 20.
- Update error message in Item Filter Year to include new error message prefix from the DS.
- Integrate view_all query param on client side and remove batched fetch (SCC-4287)
- Replaced travis with github actions (SCC-4218)
- Sentence case and rearrange search options (SCC-4260)
- Call number search scope to search dropdown options [(SCC-4260)](https://newyorkpubliclibrary.atlassian.net/browse/SCC-4260)
- Search tip per search scope [(SCC-4263)](https://newyorkpubliclibrary.atlassian.net/browse/SCC-4263)

## [1.2.4] 2024-08-29

Expand Down
10 changes: 5 additions & 5 deletions src/components/EDSBanner.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Text, Banner } from "@nypl/design-system-react-components"
import { Banner } from "@nypl/design-system-react-components"
import ExternalLink from "./Links/ExternalLink/ExternalLink"
import React from "react"

Expand All @@ -13,19 +13,19 @@ const EDSBanner = () => {
className={styles.banner}
type="informative"
content={
<Text sx={{ marginBottom: 0 }}>
<>
<span style={{ color: "var(--nypl-colors-ui-success-primary)" }}>
New!
</span>{" "}
Try our{" "}
<ExternalLink href="https://discovery.ebsco.com/c/tvrejk?acr_values=guest">
<strong style={{ color: "var(--nypl-colors-ui-link-primary" }}>
<b style={{ color: "var(--nypl-colors-ui-link-primary" }}>
Article Search
</strong>
</b>
</ExternalLink>{" "}
to discover online journals, books, and more from home with your
library card.
</Text>
</>
}
/>
)
Expand Down
25 changes: 12 additions & 13 deletions src/components/Layout/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,24 +80,23 @@ const Layout = ({
/>
{showSearch && <SearchForm aggregations={searchAggregations} />}
</div>
{showNotification && bannerNotification && (
<Flex
gap="var(--nypl-space-l)"
align="center"
// justify="space-around"
direction="column"
sx={{
padding: "2em 2em .5em 2em",
}}
>
<EDSBanner />
<Flex
gap="l"
align="center"
direction="column"
sx={{
padding: "2em 2em .5em 2em",
}}
>
<EDSBanner />
{showNotification && bannerNotification && (
<Banner
className={styles.banner}
heading="New Service Announcement"
content={bannerNotification}
/>
</Flex>
)}
)}
</Flex>
</>
)
}
Expand Down

0 comments on commit 5d4c6bb

Please sign in to comment.