You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Add version update notification system
This PR adds a new feature that notifies users when a newer version of Bifrost is available. It also improves the promotional card stack component with better animations and dismissible cards.
## Changes
- Added DNS prefetch and preconnect hints for getbifrost.ai in the layout
- Created a new API endpoint to fetch the latest release information from getbifrost.ai
- Implemented semantic version comparison logic to detect when a newer version is available
- Enhanced the PromoCardStack component with:
- Card dismissal animations
- Stacked card visual effect
- Improved styling and interaction
- Added a new release notification card with link to release notes
- Improved styling of promotional cards with better typography and layout
## Type of change
- [x] Feature
- [x] UI (Next.js)
## Affected areas
- [x] Transports (HTTP)
- [x] UI (Next.js)
## How to test
1. Run the application with an older version than what's available on getbifrost.ai
2. The sidebar should display a new release notification card
3. Test dismissing the card by clicking the X button
4. Verify the animation works correctly
```sh
# Core/Transports
go version
go test ./...
# UI
cd ui
pnpm i
pnpm build
```
## Screenshots/Recordings
The new release notification card shows in the sidebar with the ability to dismiss it. The card stack now has a more polished appearance with cards that stack visually.
## Breaking changes
- [x] No
## Security considerations
The application now makes external requests to getbifrost.ai to check for version updates. This is done with appropriate timeouts and error handling to prevent issues if the external service is unavailable.
0 commit comments