From 4666e052e7409cc759552abd3fc90144ff18eb5b Mon Sep 17 00:00:00 2001 From: skuhlmann Date: Fri, 6 Sep 2024 11:50:10 -0600 Subject: [PATCH 1/3] tooltip copy update --- apps/admin/src/components/CancelProposal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/admin/src/components/CancelProposal.tsx b/apps/admin/src/components/CancelProposal.tsx index 0a0c436f..48cf2ac8 100644 --- a/apps/admin/src/components/CancelProposal.tsx +++ b/apps/admin/src/components/CancelProposal.tsx @@ -98,7 +98,7 @@ export const CancelProposal = ({ return isProposer || sponsorBelowThreshold || isGovernorShaman ? true - : `Proposal can only be cancelled by the proposer, by a governance shaman or if the sponsor's voting token balance has fallen below the sponsor threshold`; + : `Proposal can only be cancelled by the sponsor, by a governance shaman or by anyone if the sponsor's voting token balance has fallen below the sponsor threshold`; }, [proposal, address, dao]); if (proposal.status !== PROPOSAL_STATUS.voting) { From 5aeefe5ce57e648e83cedb474a63dccb64f8aaf5 Mon Sep 17 00:00:00 2001 From: skuhlmann Date: Fri, 6 Sep 2024 12:06:42 -0600 Subject: [PATCH 2/3] fixes queries if dao address isn't lowercase --- libs/moloch-v3-hooks/src/hooks/useConnectedMember.tsx | 2 +- libs/moloch-v3-hooks/src/hooks/useDaoData.tsx | 2 +- libs/moloch-v3-hooks/src/hooks/useDaoMember.tsx | 2 +- libs/moloch-v3-hooks/src/hooks/useDaoMembers.tsx | 2 +- libs/moloch-v3-hooks/src/hooks/useDaoProposal.tsx | 2 +- libs/moloch-v3-hooks/src/hooks/useDaoProposals.tsx | 2 +- libs/moloch-v3-hooks/src/hooks/useDaoRecords.tsx | 2 +- .../src/components/DaoSettings/ShamanList.tsx | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/libs/moloch-v3-hooks/src/hooks/useConnectedMember.tsx b/libs/moloch-v3-hooks/src/hooks/useConnectedMember.tsx index 3dce7bc4..8e85d3bd 100644 --- a/libs/moloch-v3-hooks/src/hooks/useConnectedMember.tsx +++ b/libs/moloch-v3-hooks/src/hooks/useConnectedMember.tsx @@ -26,7 +26,7 @@ export const fetchMember = async ({ try { const res = await findMember({ networkId: daochain, - dao: daoid, + dao: daoid.toLowerCase(), memberAddress: address.toLowerCase(), graphApiKeys, }); diff --git a/libs/moloch-v3-hooks/src/hooks/useDaoData.tsx b/libs/moloch-v3-hooks/src/hooks/useDaoData.tsx index 693f338f..b554ce84 100644 --- a/libs/moloch-v3-hooks/src/hooks/useDaoData.tsx +++ b/libs/moloch-v3-hooks/src/hooks/useDaoData.tsx @@ -22,7 +22,7 @@ export const fetchDao = async ({ try { const daoRes = await findDao({ networkId: daoChain, - dao: daoId, + dao: daoId.toLowerCase(), includeTokens: true, graphApiKeys, }); diff --git a/libs/moloch-v3-hooks/src/hooks/useDaoMember.tsx b/libs/moloch-v3-hooks/src/hooks/useDaoMember.tsx index bf0dee46..0856d855 100644 --- a/libs/moloch-v3-hooks/src/hooks/useDaoMember.tsx +++ b/libs/moloch-v3-hooks/src/hooks/useDaoMember.tsx @@ -24,7 +24,7 @@ const fetchMember = async ({ try { const res = await findMember({ - dao: daoId, + dao: daoId.toLowerCase(), memberAddress, networkId: daoChain, graphApiKeys, diff --git a/libs/moloch-v3-hooks/src/hooks/useDaoMembers.tsx b/libs/moloch-v3-hooks/src/hooks/useDaoMembers.tsx index 4fca7ab0..ba54c436 100644 --- a/libs/moloch-v3-hooks/src/hooks/useDaoMembers.tsx +++ b/libs/moloch-v3-hooks/src/hooks/useDaoMembers.tsx @@ -111,7 +111,7 @@ export const useDaoMembers = (props?: DaoMembersProps) => { [queryId, { daoId, daoChain, filter, ordering, paging }], ({ pageParam }) => fetchMembers({ - daoId, + daoId: daoId?.toLowerCase(), daoChain, graphApiKeys, filter, diff --git a/libs/moloch-v3-hooks/src/hooks/useDaoProposal.tsx b/libs/moloch-v3-hooks/src/hooks/useDaoProposal.tsx index a40bc9a8..5201aede 100644 --- a/libs/moloch-v3-hooks/src/hooks/useDaoProposal.tsx +++ b/libs/moloch-v3-hooks/src/hooks/useDaoProposal.tsx @@ -23,7 +23,7 @@ const fetchProposal = async ({ try { const res = await findProposal({ - dao: daoId, + dao: daoId.toLowerCase(), proposalId, networkId: daoChain, graphApiKeys, diff --git a/libs/moloch-v3-hooks/src/hooks/useDaoProposals.tsx b/libs/moloch-v3-hooks/src/hooks/useDaoProposals.tsx index 2885b215..d2a8459d 100644 --- a/libs/moloch-v3-hooks/src/hooks/useDaoProposals.tsx +++ b/libs/moloch-v3-hooks/src/hooks/useDaoProposals.tsx @@ -110,7 +110,7 @@ export const useDaoProposals = (props?: DaoProposalsProps) => { ['proposals', { daoId, daoChain, filter, ordering, paging }], ({ pageParam }) => fetchProposals({ - daoId, + daoId: daoId?.toLowerCase(), daoChain, graphApiKeys, filter, diff --git a/libs/moloch-v3-hooks/src/hooks/useDaoRecords.tsx b/libs/moloch-v3-hooks/src/hooks/useDaoRecords.tsx index 7511c0d3..c5e2b5b6 100644 --- a/libs/moloch-v3-hooks/src/hooks/useDaoRecords.tsx +++ b/libs/moloch-v3-hooks/src/hooks/useDaoRecords.tsx @@ -69,7 +69,7 @@ export const useRecords = ({ [credentialType || recordType, { daoId, chainId }], () => fetchRecords({ - daoId, + daoId: daoId.toLowerCase(), chainId: chainId as ValidNetwork, recordType, pageSize, diff --git a/libs/moloch-v3-macro-ui/src/components/DaoSettings/ShamanList.tsx b/libs/moloch-v3-macro-ui/src/components/DaoSettings/ShamanList.tsx index 030e3ff0..0bd051b7 100644 --- a/libs/moloch-v3-macro-ui/src/components/DaoSettings/ShamanList.tsx +++ b/libs/moloch-v3-macro-ui/src/components/DaoSettings/ShamanList.tsx @@ -31,7 +31,7 @@ export const ShamanList = ({ {shamen && shamen.map((shaman) => ( - + Date: Fri, 6 Sep 2024 12:25:59 -0600 Subject: [PATCH 3/3] new version --- libs/abis/package.json | 2 +- libs/connect-context/package.json | 2 +- libs/connect/package.json | 2 +- libs/contract-utils/package.json | 2 +- libs/data-fetch-utils/package.json | 2 +- libs/form-builder-base/package.json | 2 +- libs/form-builder/package.json | 2 +- libs/keychain-utils/package.json | 2 +- libs/moloch-v3-data/package.json | 2 +- libs/moloch-v3-fields/package.json | 2 +- libs/moloch-v3-hooks/package.json | 2 +- libs/moloch-v3-legos/package.json | 2 +- libs/moloch-v3-macro-ui/package.json | 2 +- libs/profile-data/package.json | 2 +- libs/tx-builder/package.json | 2 +- libs/ui/package.json | 2 +- libs/utils/package.json | 2 +- libs/wizard-form-builder/package.json | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) diff --git a/libs/abis/package.json b/libs/abis/package.json index c72dbea7..5c870f3d 100644 --- a/libs/abis/package.json +++ b/libs/abis/package.json @@ -1,6 +1,6 @@ { "name": "@daohaus/abis", - "version": "0.5.2", + "version": "0.5.3", "type": "commonjs", "repository": { "type": "git", diff --git a/libs/connect-context/package.json b/libs/connect-context/package.json index 670c916e..18d7a58a 100644 --- a/libs/connect-context/package.json +++ b/libs/connect-context/package.json @@ -1,6 +1,6 @@ { "name": "@daohaus/connect-context", - "version": "0.5.2", + "version": "0.5.3", "repository": { "type": "git", "url": "https://github.com/HausDAO/monorepo" diff --git a/libs/connect/package.json b/libs/connect/package.json index 427e3618..5c997405 100644 --- a/libs/connect/package.json +++ b/libs/connect/package.json @@ -1,6 +1,6 @@ { "name": "@daohaus/connect", - "version": "0.5.2", + "version": "0.5.3", "peerDependencies": { "react-router-dom": "^6.4.3" }, diff --git a/libs/contract-utils/package.json b/libs/contract-utils/package.json index 02ff96e7..0c5c3c4e 100644 --- a/libs/contract-utils/package.json +++ b/libs/contract-utils/package.json @@ -1,6 +1,6 @@ { "name": "@daohaus/contract-utils", - "version": "0.5.2", + "version": "0.5.3", "type": "commonjs", "repository": { "type": "git", diff --git a/libs/data-fetch-utils/package.json b/libs/data-fetch-utils/package.json index ef3a5b3b..1a3b3b32 100644 --- a/libs/data-fetch-utils/package.json +++ b/libs/data-fetch-utils/package.json @@ -1,6 +1,6 @@ { "name": "@daohaus/data-fetch-utils", - "version": "0.5.2", + "version": "0.5.3", "type": "commonjs", "repository": { "type": "git", diff --git a/libs/form-builder-base/package.json b/libs/form-builder-base/package.json index 105940c0..a60a6425 100644 --- a/libs/form-builder-base/package.json +++ b/libs/form-builder-base/package.json @@ -1,6 +1,6 @@ { "name": "@daohaus/form-builder-base", - "version": "0.5.2", + "version": "0.5.3", "repository": { "type": "git", "url": "https://github.com/HausDAO/monorepo" diff --git a/libs/form-builder/package.json b/libs/form-builder/package.json index 96f4153d..d4d4bd03 100644 --- a/libs/form-builder/package.json +++ b/libs/form-builder/package.json @@ -1,6 +1,6 @@ { "name": "@daohaus/form-builder", - "version": "0.5.2", + "version": "0.5.3", "repository": { "type": "git", "url": "https://github.com/HausDAO/monorepo" diff --git a/libs/keychain-utils/package.json b/libs/keychain-utils/package.json index 89ae4fa0..a6d61eb5 100644 --- a/libs/keychain-utils/package.json +++ b/libs/keychain-utils/package.json @@ -1,6 +1,6 @@ { "name": "@daohaus/keychain-utils", - "version": "0.5.2", + "version": "0.5.3", "repository": { "type": "git", "url": "https://github.com/HausDAO/monorepo" diff --git a/libs/moloch-v3-data/package.json b/libs/moloch-v3-data/package.json index a0a652b7..40d83596 100644 --- a/libs/moloch-v3-data/package.json +++ b/libs/moloch-v3-data/package.json @@ -1,6 +1,6 @@ { "name": "@daohaus/moloch-v3-data", - "version": "0.5.2", + "version": "0.5.3", "type": "commonjs", "repository": { "type": "git", diff --git a/libs/moloch-v3-fields/package.json b/libs/moloch-v3-fields/package.json index 2caad824..072f5c5b 100644 --- a/libs/moloch-v3-fields/package.json +++ b/libs/moloch-v3-fields/package.json @@ -1,6 +1,6 @@ { "name": "@daohaus/moloch-v3-fields", - "version": "0.5.2", + "version": "0.5.3", "repository": { "type": "git", "url": "https://github.com/HausDAO/monorepo" diff --git a/libs/moloch-v3-hooks/package.json b/libs/moloch-v3-hooks/package.json index e8ed9d68..1a6b7063 100644 --- a/libs/moloch-v3-hooks/package.json +++ b/libs/moloch-v3-hooks/package.json @@ -1,6 +1,6 @@ { "name": "@daohaus/moloch-v3-hooks", - "version": "0.5.2", + "version": "0.5.3", "peerDependencies": { "react-query": "^3.39.3" }, diff --git a/libs/moloch-v3-legos/package.json b/libs/moloch-v3-legos/package.json index 420e99f2..8690365a 100644 --- a/libs/moloch-v3-legos/package.json +++ b/libs/moloch-v3-legos/package.json @@ -1,6 +1,6 @@ { "name": "@daohaus/moloch-v3-legos", - "version": "0.5.2", + "version": "0.5.3", "type": "commonjs", "repository": { "type": "git", diff --git a/libs/moloch-v3-macro-ui/package.json b/libs/moloch-v3-macro-ui/package.json index fc731616..0bc292b4 100644 --- a/libs/moloch-v3-macro-ui/package.json +++ b/libs/moloch-v3-macro-ui/package.json @@ -1,6 +1,6 @@ { "name": "@daohaus/moloch-v3-macro-ui", - "version": "0.5.2", + "version": "0.5.3", "peerDependencies": { "react-router-dom": "^6.4.3" }, diff --git a/libs/profile-data/package.json b/libs/profile-data/package.json index e106fafc..272904ef 100644 --- a/libs/profile-data/package.json +++ b/libs/profile-data/package.json @@ -1,6 +1,6 @@ { "name": "@daohaus/profile-data", - "version": "0.5.2", + "version": "0.5.3", "type": "commonjs", "repository": { "type": "git", diff --git a/libs/tx-builder/package.json b/libs/tx-builder/package.json index 2ed71814..1967ebec 100644 --- a/libs/tx-builder/package.json +++ b/libs/tx-builder/package.json @@ -1,6 +1,6 @@ { "name": "@daohaus/tx-builder", - "version": "0.5.2", + "version": "0.5.3", "repository": { "type": "git", "url": "https://github.com/HausDAO/monorepo" diff --git a/libs/ui/package.json b/libs/ui/package.json index 6e251c4f..b2cf3642 100644 --- a/libs/ui/package.json +++ b/libs/ui/package.json @@ -1,6 +1,6 @@ { "name": "@daohaus/ui", - "version": "0.5.2", + "version": "0.5.3", "repository": { "type": "git", "url": "https://github.com/HausDAO/monorepo" diff --git a/libs/utils/package.json b/libs/utils/package.json index bde57609..cfdc27a9 100644 --- a/libs/utils/package.json +++ b/libs/utils/package.json @@ -1,6 +1,6 @@ { "name": "@daohaus/utils", - "version": "0.5.2", + "version": "0.5.3", "repository": { "type": "git", "url": "https://github.com/HausDAO/monorepo" diff --git a/libs/wizard-form-builder/package.json b/libs/wizard-form-builder/package.json index 5411909c..24c9c190 100644 --- a/libs/wizard-form-builder/package.json +++ b/libs/wizard-form-builder/package.json @@ -1,6 +1,6 @@ { "name": "@daohaus/wizard-form-builder", - "version": "0.2.2", + "version": "0.2.3", "repository": { "type": "git", "url": "https://github.com/HausDAO/monorepo"