Skip to content

Commit

Permalink
chore: add OFREP providers to the ecosystem (#906)
Browse files Browse the repository at this point in the history
<!-- Please use this template for your pull request. -->
<!-- Please use the sections that you need and delete other sections -->

## This PR
<!-- add the description of the PR here -->

- adds OFREP providers to the ecosystem

### Related Issues
<!-- add here the GitHub issue that this PR resolves if applicable -->

Fixes #905

---------

Signed-off-by: Michael Beemer <[email protected]>
Co-authored-by: Michael Beemer <[email protected]>
Co-authored-by: Lukas Reining <[email protected]>
  • Loading branch information
3 people authored Jan 10, 2025
1 parent a543144 commit c15253c
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/datasets/providers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import { Hypertune } from './hypertune';
import { Confidence } from './confidence';
import { ConfigBee } from './configbee';
import { Tggl } from './tggl';
import { OFREP } from './ofrep';

export const PROVIDERS: Provider[] = [
Bucket,
Expand All @@ -51,6 +52,7 @@ export const PROVIDERS: Provider[] = [
GrowthBook,
MultiProvider,
Tggl,
OFREP,
];

export const ECOSYSTEM_PROVIDERS: EcosystemElement[] = PROVIDERS.map((provider) => {
Expand Down
34 changes: 34 additions & 0 deletions src/datasets/providers/ofrep.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
import OFLogo from '@site/static/img/logo-no-fill.svg';
import type { Provider } from '.';

export const OFREP: Provider = {
name: 'OFREP',
logo: OFLogo,
excludeFromLandingPage: true,
technologies: [
{
technology: 'JavaScript',
category: ['Client'],
href: 'https://github.com/open-feature/js-sdk-contrib/tree/main/libs/providers/ofrep-web',
vendorOfficial: true,
},
{
technology: 'JavaScript',
category: ['Server'],
href: 'https://github.com/open-feature/js-sdk-contrib/tree/main/libs/providers/ofrep',
vendorOfficial: true,
},
{
technology: 'Go',
category: ['Server'],
href: 'https://github.com/open-feature/go-sdk-contrib/tree/main/providers/ofrep',
vendorOfficial: true,
},
{
technology: 'Python',
category: ['Server'],
href: 'https://github.com/open-feature/python-sdk-contrib/tree/main/providers/openfeature-provider-ofrep',
vendorOfficial: true,
},
],
};
2 changes: 1 addition & 1 deletion src/partials/ecosystem/hit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function Hit({ hit }: { hit: EcosystemElement }) {
>
<div className="flex justify-between mb-6">
{/* Logo */}
<Svg className="mt-2 h-8 w-8" />
<Svg className="mt-2 h-8 w-fit" />
{/* Icon showing that it's an external link */}
{external && <FontAwesomeIcon icon={faArrowUpRightFromSquare} className="h-4 w-4 opacity-60" />}
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/partials/features-zigzag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ function FeaturesZigZag() {
>
<div className="max-w-full mx-auto md:max-w-none h-auto flex flex-row justify-center fill-[#1c1e21] dark:fill-[#e3e3e3]">
<GenericCarousel
items={PROVIDERS.map((provider) => ({
items={PROVIDERS.filter((provider) => !provider.excludeFromLandingPage).map((provider) => ({
name: provider.name,
logo: provider.logo,
href: encodeURI(`/ecosystem?instant_search[refinementList][vendor][0]=${provider.name}`),
Expand Down
13 changes: 13 additions & 0 deletions static/img/logo-no-fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c15253c

Please sign in to comment.