Skip to content

Commit

Permalink
Merge pull request #2686 from Giveth/Release-2.15.6
Browse files Browse the repository at this point in the history
Release 2.15.6
  • Loading branch information
MohammadPCh authored May 22, 2023
2 parents 4e8f456 + 12175b1 commit 10907f0
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 20 deletions.
3 changes: 0 additions & 3 deletions lang/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -974,10 +974,7 @@
"label.stake_giv_on_gnosis_chain": "Fes stake de GIV a Gnosis Chain",
"label.giv_staking_is_available_on_gnosis_chain": "El staking de GIV està disponible a Gnosis Chain. Si us plau, traslladeu el vostre GIV a Gnosis Chain, després canvieu de xarxa i feu stake per obtenir recompenses.",
"label.please_note_it_will_take_few_minutes_for_your_giv_to_bridge": "Si us plau, tingueu en compte que trigarà uns minuts perquè el vostre GIV es transfereixi.",
"label.accepts_giv": "Accepta GIV",
"label.if_you_already_bridged_your_giv_please_switch_network": "Si ja heu transferit el vostre GIV, si us plau canvieu de xarxa per fer staking del GIVpower!",
"label.boosted_with_giv_power": "Boostejat amb GIVpower",
"label.from_giving_block": "De Giving Block",
"label.accepts_funds_on_chain": "Aceptan finançament en {chainName}",
"label.rank": "Classificació",
"label.newest": "Més nou",
Expand Down
3 changes: 0 additions & 3 deletions lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1047,9 +1047,6 @@
"label.giv_staking_is_available_on_gnosis_chain": "GIV staking is available on Gnosis Chain. Please bridge your GIV to Gnosis Chain, then switch network and stake to earn rewards.",
"label.please_note_it_will_take_few_minutes_for_your_giv_to_bridge": "Please note, it will take a few minutes for your GIV to bridge.",
"label.if_you_already_bridged_your_giv_please_switch_network": "If you already bridged your GIV, please switch network to stake for GIVpower!",
"label.accepts_giv": "Accepts GIV",
"label.boosted_with_giv_power": "Boosted with GIVpower",
"label.from_giving_block": "From Giving Block",
"label.accepts_funds_on_chain": "Accepts Funds on {chainName}",
"label.rank": "Rank",
"label.newest": "Newest",
Expand Down
3 changes: 0 additions & 3 deletions lang/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -1055,9 +1055,6 @@
"label.giv_staking_is_available_on_gnosis_chain": "Staking de GIV esta disponible en Gnosis Chain. Por favor transfiere tu GIV a Gnosis Chain, luego cambia tu red y haz stake para recibir recompensas.",
"label.please_note_it_will_take_few_minutes_for_your_giv_to_bridge": "Por favor ten en cuenta que tomará unos minutos para que tu GIV se transfiera.",
"label.if_you_already_bridged_your_giv_please_switch_network": "Si ya transferiste tu GIV, por favor cambia la red para hacer stake del GIVpower!",
"label.accepts_giv": "Aceptan GIV",
"label.boosted_with_giv_power": "Boosted con GIVpower",
"label.from_giving_block": "De Giving Block",
"label.accepts_funds_on_chain": "Aceptan financiación en {chainName}",
"label.rank": "Clasificación",
"label.newest": "Más nuevo",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "givethdapp",
"version": "2.15.5",
"version": "2.15.6",
"private": true,
"scripts": {
"build": "next build",
Expand Down
2 changes: 2 additions & 0 deletions src/apollo/types/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export enum EProjectsFilter {
VERIFIED = 'Verified',
BOOSTED_WITH_GIVPOWER = 'BoostedWithGivPower',
GIVING_BLOCK = 'GivingBlock',
ACCEPT_FUND_ON_MAINNET = 'AcceptFundOnMainnet',
ACCEPT_FUND_ON_GNOSIS = 'AcceptFundOnGnosis',
ACCEPT_FUND_ON_POLYGON = 'AcceptFundOnPolygon',
ACCEPT_FUND_ON_CELO = 'AcceptFundOnCelo',
Expand All @@ -91,6 +92,7 @@ export enum ECampaignFilterField {
AcceptGiv = 'givingBlocksId',
GivingBlock = 'fromGivingBlock',
BoostedWithGivPower = 'boostedWithGivPower',
AcceptFundOnMainnet = 'acceptFundOnMainnet',
AcceptFundOnGnosis = 'acceptFundOnGnosis',
AcceptFundOnPolygon = 'acceptFundOnPolygon',
AcceptFundOnCelo = 'acceptFundOnCelo',
Expand Down
15 changes: 5 additions & 10 deletions src/components/menu/FilterMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,16 @@ export const FilterMenu = forwardRef<HTMLDivElement, IFilterMenuProps>(
const router = useRouter();

const projectFeatures = [
{
label: formatMessage({ id: 'label.accepts_giv' }),
value: EProjectsFilter.ACCEPT_GIV,
},
{
label: formatMessage({ id: 'label.verified' }),
value: EProjectsFilter.VERIFIED,
},
{
label: formatMessage({ id: 'label.boosted_with_giv_power' }),
value: EProjectsFilter.BOOSTED_WITH_GIVPOWER,
},
{
label: formatMessage({ id: 'label.from_giving_block' }),
value: EProjectsFilter.GIVING_BLOCK,
label: formatMessage(
{ id: 'label.accepts_funds_on_chain' },
{ chainName: 'Mainnet' },
),
value: EProjectsFilter.ACCEPT_FUND_ON_MAINNET,
},
{
label: formatMessage(
Expand Down
6 changes: 6 additions & 0 deletions src/helpers/url.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ export function campaignLinkGenerator(campaign: ICampaign) {
EProjectsFilter.BOOSTED_WITH_GIVPOWER,
);
break;
case ECampaignFilterField.AcceptFundOnMainnet:
params.append(
'filter',
EProjectsFilter.ACCEPT_FUND_ON_MAINNET,
);
break;
case ECampaignFilterField.AcceptFundOnGnosis:
params.append(
'filter',
Expand Down

1 comment on commit 10907f0

@vercel
Copy link

@vercel vercel bot commented on 10907f0 May 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

giveth-dapps-v2 – ./

giveth-dapps-v2-git-main-givethio.vercel.app
www.giveth.io
giveth-dapps-v2-givethio.vercel.app
giveth.io

Please sign in to comment.