Skip to content

Commit

Permalink
feat: display requested amount and recipient fields inside Commun…
Browse files Browse the repository at this point in the history
…ity Pool Spend proposal details page (forbole#1053)

## Description

Closes: #XXXX
[BDU-675](https://forbole.atlassian.net/browse/BDU-675)

<!-- Add a description of the changes that this PR introduces and the
files that
are the most critical to review. -->

---

### Author Checklist

*All items are required. Please add a note to the item if the item is
not applicable and
please add links to any relevant follow up issues.*

I have...

- [x] ran linting
- [x] wrote tests where necessary
- [x] included the correct [type
prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json)
in the PR title
- [x] targeted the correct branch
- [x] provided a link to the relevant issue or specification
- [x] reviewed "Files changed" and left comments if necessary
- [X] confirmed all CI checks have passed
- [x] added an entry to the `CHANGELOG.md` file

Co-authored-by: Aaron <[email protected]>
Co-authored-by: Riccardo Montagnin <[email protected]>
Co-authored-by: Steven <[email protected]>
Co-authored-by: Ellie <[email protected]>
  • Loading branch information
5 people authored Dec 12, 2022
1 parent ac2e042 commit 66e4812
Show file tree
Hide file tree
Showing 80 changed files with 245 additions and 32 deletions.
3 changes: 3 additions & 0 deletions apps/web-agoric/public/locales/en/proposals.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,15 @@
"abstain": "Abstain",
"deposits": "Deposits",
"depositor": "Depositor",
"recipient": "Recipient",
"amount": "Amount",
"amountRequested": "Amount requested",
"time": "Time",
"submitTime": "Submit Time",
"depositEndTime": "Deposit End Time",
"votingEndTime": "Voting End Time",
"votingStartTime": "Voting Start Time",
"content": "Content",
"textProposal": "Text Proposal",
"parameterChangeProposal": "Parameter Change Proposal",
"communityPoolSpendProposal": "Community Pool Spend Proposal",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ query ProposalDetails($proposalId: Int) {
content
proposalId: id
submitTime: submit_time
proposalType: proposal_type
depositEndTime: deposit_end_time
votingStartTime: voting_start_time
votingEndTime: voting_end_time
Expand Down
3 changes: 2 additions & 1 deletion apps/web-agoric/src/graphql/types/general_types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11227,7 +11227,7 @@ export type ProposalDetailsQueryVariables = Exact<{
}>;


export type ProposalDetailsQuery = { proposal: Array<{ __typename?: 'proposal', title: string, description: string, status?: string | null, content: any, proposer: string, proposalId: number, submitTime: any, depositEndTime?: any | null, votingStartTime?: any | null, votingEndTime?: any | null }> };
export type ProposalDetailsQuery = { proposal: Array<{ __typename?: 'proposal', title: string, description: string, status?: string | null, content: any, proposer: string, proposalId: number, submitTime: any, proposalType: string, depositEndTime?: any | null, votingStartTime?: any | null, votingEndTime?: any | null }> };

export type ProposalDetailsTallyQueryVariables = Exact<{
proposalId?: InputMaybe<Scalars['Int']>;
Expand Down Expand Up @@ -11919,6 +11919,7 @@ export const ProposalDetailsDocument = gql`
content
proposalId: id
submitTime: submit_time
proposalType: proposal_type
depositEndTime: deposit_end_time
votingStartTime: voting_start_time
votingEndTime: voting_end_time
Expand Down
3 changes: 3 additions & 0 deletions apps/web-akash/public/locales/en/proposals.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,15 @@
"abstain": "Abstain",
"deposits": "Deposits",
"depositor": "Depositor",
"recipient": "Recipient",
"amount": "Amount",
"amountRequested": "Amount requested",
"time": "Time",
"submitTime": "Submit Time",
"depositEndTime": "Deposit End Time",
"votingEndTime": "Voting End Time",
"votingStartTime": "Voting Start Time",
"content": "Content",
"textProposal": "Text Proposal",
"parameterChangeProposal": "Parameter Change Proposal",
"communityPoolSpendProposal": "Community Pool Spend Proposal",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ query ProposalDetails($proposalId: Int) {
content
proposalId: id
submitTime: submit_time
proposalType: proposal_type
depositEndTime: deposit_end_time
votingStartTime: voting_start_time
votingEndTime: voting_end_time
Expand Down
3 changes: 2 additions & 1 deletion apps/web-akash/src/graphql/types/general_types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12335,7 +12335,7 @@ export type ProposalDetailsQueryVariables = Exact<{
}>;


export type ProposalDetailsQuery = { proposal: Array<{ __typename?: 'proposal', title: string, description: string, status?: string | null, content: any, proposer: string, proposalId: number, submitTime: any, depositEndTime?: any | null, votingStartTime?: any | null, votingEndTime?: any | null }> };
export type ProposalDetailsQuery = { proposal: Array<{ __typename?: 'proposal', title: string, description: string, status?: string | null, content: any, proposer: string, proposalId: number, submitTime: any, proposalType: string, depositEndTime?: any | null, votingStartTime?: any | null, votingEndTime?: any | null }> };

export type ProposalDetailsTallyQueryVariables = Exact<{
proposalId?: InputMaybe<Scalars['Int']>;
Expand Down Expand Up @@ -13047,6 +13047,7 @@ export const ProposalDetailsDocument = gql`
content
proposalId: id
submitTime: submit_time
proposalType: proposal_type
depositEndTime: deposit_end_time
votingStartTime: voting_start_time
votingEndTime: voting_end_time
Expand Down
3 changes: 3 additions & 0 deletions apps/web-assetmantle/public/locales/en/proposals.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,15 @@
"abstain": "Abstain",
"deposits": "Deposits",
"depositor": "Depositor",
"recipient": "Recipient",
"amount": "Amount",
"amountRequested": "Amount requested",
"time": "Time",
"submitTime": "Submit Time",
"depositEndTime": "Deposit End Time",
"votingEndTime": "Voting End Time",
"votingStartTime": "Voting Start Time",
"content": "Content",
"textProposal": "Text Proposal",
"parameterChangeProposal": "Parameter Change Proposal",
"communityPoolSpendProposal": "Community Pool Spend Proposal",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ query ProposalDetails($proposalId: Int) {
content
proposalId: id
submitTime: submit_time
proposalType: proposal_type
depositEndTime: deposit_end_time
votingStartTime: voting_start_time
votingEndTime: voting_end_time
Expand Down
3 changes: 2 additions & 1 deletion apps/web-assetmantle/src/graphql/types/general_types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11231,7 +11231,7 @@ export type ProposalDetailsQueryVariables = Exact<{
}>;


export type ProposalDetailsQuery = { proposal: Array<{ __typename?: 'proposal', title: string, description: string, status?: string | null, content: any, proposer: string, proposalId: number, submitTime: any, depositEndTime?: any | null, votingStartTime?: any | null, votingEndTime?: any | null }> };
export type ProposalDetailsQuery = { proposal: Array<{ __typename?: 'proposal', title: string, description: string, status?: string | null, content: any, proposer: string, proposalId: number, submitTime: any, proposalType: string, depositEndTime?: any | null, votingStartTime?: any | null, votingEndTime?: any | null }> };

export type ProposalDetailsTallyQueryVariables = Exact<{
proposalId?: InputMaybe<Scalars['Int']>;
Expand Down Expand Up @@ -11923,6 +11923,7 @@ export const ProposalDetailsDocument = gql`
content
proposalId: id
submitTime: submit_time
proposalType: proposal_type
depositEndTime: deposit_end_time
votingStartTime: voting_start_time
votingEndTime: voting_end_time
Expand Down
3 changes: 3 additions & 0 deletions apps/web-band/public/locales/en/proposals.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,15 @@
"abstain": "Abstain",
"deposits": "Deposits",
"depositor": "Depositor",
"recipient": "Recipient",
"amount": "Amount",
"amountRequested": "Amount requested",
"time": "Time",
"submitTime": "Submit Time",
"depositEndTime": "Deposit End Time",
"votingEndTime": "Voting End Time",
"votingStartTime": "Voting Start Time",
"content": "Content",
"textProposal": "Text Proposal",
"parameterChangeProposal": "Parameter Change Proposal",
"communityPoolSpendProposal": "Community Pool Spend Proposal",
Expand Down
1 change: 1 addition & 0 deletions apps/web-band/src/graphql/general/proposal_details.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ query ProposalDetails($proposalId: Int) {
content
proposalId: id
submitTime: submit_time
proposalType: proposal_type
depositEndTime: deposit_end_time
votingStartTime: voting_start_time
votingEndTime: voting_end_time
Expand Down
3 changes: 2 additions & 1 deletion apps/web-band/src/graphql/types/general_types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11429,7 +11429,7 @@ export type ProposalDetailsQueryVariables = Exact<{
}>;


export type ProposalDetailsQuery = { proposal: Array<{ __typename?: 'proposal', title: string, description: string, status?: string | null, content: any, proposer: string, proposalId: number, submitTime: any, depositEndTime?: any | null, votingStartTime?: any | null, votingEndTime?: any | null }> };
export type ProposalDetailsQuery = { proposal: Array<{ __typename?: 'proposal', title: string, description: string, status?: string | null, content: any, proposer: string, proposalId: number, submitTime: any, proposalType: string, depositEndTime?: any | null, votingStartTime?: any | null, votingEndTime?: any | null }> };

export type ProposalDetailsTallyQueryVariables = Exact<{
proposalId?: InputMaybe<Scalars['Int']>;
Expand Down Expand Up @@ -12124,6 +12124,7 @@ export const ProposalDetailsDocument = gql`
content
proposalId: id
submitTime: submit_time
proposalType: proposal_type
depositEndTime: deposit_end_time
votingStartTime: voting_start_time
votingEndTime: voting_end_time
Expand Down
3 changes: 3 additions & 0 deletions apps/web-bitsong/public/locales/en/proposals.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,15 @@
"abstain": "Abstain",
"deposits": "Deposits",
"depositor": "Depositor",
"recipient": "Recipient",
"amount": "Amount",
"amountRequested": "Amount requested",
"time": "Time",
"submitTime": "Submit Time",
"depositEndTime": "Deposit End Time",
"votingEndTime": "Voting End Time",
"votingStartTime": "Voting Start Time",
"content": "Content",
"textProposal": "Text Proposal",
"parameterChangeProposal": "Parameter Change Proposal",
"communityPoolSpendProposal": "Community Pool Spend Proposal",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ query ProposalDetails($proposalId: Int) {
content
proposalId: id
submitTime: submit_time
proposalType: proposal_type
depositEndTime: deposit_end_time
votingStartTime: voting_start_time
votingEndTime: voting_end_time
Expand Down
3 changes: 2 additions & 1 deletion apps/web-bitsong/src/graphql/types/general_types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11303,7 +11303,7 @@ export type ProposalDetailsQueryVariables = Exact<{
}>;


export type ProposalDetailsQuery = { proposal: Array<{ __typename?: 'proposal', title: string, description: string, status?: string | null, content: any, proposer: string, proposalId: number, submitTime: any, depositEndTime?: any | null, votingStartTime?: any | null, votingEndTime?: any | null }> };
export type ProposalDetailsQuery = { proposal: Array<{ __typename?: 'proposal', title: string, description: string, status?: string | null, content: any, proposer: string, proposalId: number, submitTime: any, proposalType: string, depositEndTime?: any | null, votingStartTime?: any | null, votingEndTime?: any | null }> };

export type ProposalDetailsTallyQueryVariables = Exact<{
proposalId?: InputMaybe<Scalars['Int']>;
Expand Down Expand Up @@ -12338,6 +12338,7 @@ export const ProposalDetailsDocument = gql`
content
proposalId: id
submitTime: submit_time
proposalType: proposal_type
depositEndTime: deposit_end_time
votingStartTime: voting_start_time
votingEndTime: voting_end_time
Expand Down
3 changes: 3 additions & 0 deletions apps/web-comdex/public/locales/en/proposals.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,15 @@
"abstain": "Abstain",
"deposits": "Deposits",
"depositor": "Depositor",
"recipient": "Recipient",
"amount": "Amount",
"amountRequested": "Amount requested",
"time": "Time",
"submitTime": "Submit Time",
"depositEndTime": "Deposit End Time",
"votingEndTime": "Voting End Time",
"votingStartTime": "Voting Start Time",
"content": "Content",
"textProposal": "Text Proposal",
"parameterChangeProposal": "Parameter Change Proposal",
"communityPoolSpendProposal": "Community Pool Spend Proposal",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ query ProposalDetails($proposalId: Int) {
content
proposalId: id
submitTime: submit_time
proposalType: proposal_type
depositEndTime: deposit_end_time
votingStartTime: voting_start_time
votingEndTime: voting_end_time
Expand Down
3 changes: 2 additions & 1 deletion apps/web-comdex/src/graphql/types/general_types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12419,7 +12419,7 @@ export type ProposalDetailsQueryVariables = Exact<{
}>;


export type ProposalDetailsQuery = { proposal: Array<{ __typename?: 'proposal', title: string, description: string, status?: string | null, content: any, proposer: string, proposalId: number, submitTime: any, depositEndTime?: any | null, votingStartTime?: any | null, votingEndTime?: any | null }> };
export type ProposalDetailsQuery = { proposal: Array<{ __typename?: 'proposal', title: string, description: string, status?: string | null, content: any, proposer: string, proposalId: number, submitTime: any, proposalType: string, depositEndTime?: any | null, votingStartTime?: any | null, votingEndTime?: any | null }> };

export type ProposalDetailsTallyQueryVariables = Exact<{
proposalId?: InputMaybe<Scalars['Int']>;
Expand Down Expand Up @@ -13454,6 +13454,7 @@ export const ProposalDetailsDocument = gql`
content
proposalId: id
submitTime: submit_time
proposalType: proposal_type
depositEndTime: deposit_end_time
votingStartTime: voting_start_time
votingEndTime: voting_end_time
Expand Down
3 changes: 3 additions & 0 deletions apps/web-cosmos/public/locales/en/proposals.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,15 @@
"abstain": "Abstain",
"deposits": "Deposits",
"depositor": "Depositor",
"recipient": "Recipient",
"amount": "Amount",
"amountRequested": "Amount requested",
"time": "Time",
"submitTime": "Submit Time",
"depositEndTime": "Deposit End Time",
"votingEndTime": "Voting End Time",
"votingStartTime": "Voting Start Time",
"content": "Content",
"textProposal": "Text Proposal",
"parameterChangeProposal": "Parameter Change Proposal",
"communityPoolSpendProposal": "Community Pool Spend Proposal",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ query ProposalDetails($proposalId: Int) {
content
proposalId: id
submitTime: submit_time
proposalType: proposal_type
depositEndTime: deposit_end_time
votingStartTime: voting_start_time
votingEndTime: voting_end_time
Expand Down
3 changes: 2 additions & 1 deletion apps/web-cosmos/src/graphql/types/general_types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11303,7 +11303,7 @@ export type ProposalDetailsQueryVariables = Exact<{
}>;


export type ProposalDetailsQuery = { proposal: Array<{ __typename?: 'proposal', title: string, description: string, status?: string | null, content: any, proposer: string, proposalId: number, submitTime: any, depositEndTime?: any | null, votingStartTime?: any | null, votingEndTime?: any | null }> };
export type ProposalDetailsQuery = { proposal: Array<{ __typename?: 'proposal', title: string, description: string, status?: string | null, content: any, proposer: string, proposalId: number, submitTime: any, proposalType: string, depositEndTime?: any | null, votingStartTime?: any | null, votingEndTime?: any | null }> };

export type ProposalDetailsTallyQueryVariables = Exact<{
proposalId?: InputMaybe<Scalars['Int']>;
Expand Down Expand Up @@ -12338,6 +12338,7 @@ export const ProposalDetailsDocument = gql`
content
proposalId: id
submitTime: submit_time
proposalType: proposal_type
depositEndTime: deposit_end_time
votingStartTime: voting_start_time
votingEndTime: voting_end_time
Expand Down
3 changes: 3 additions & 0 deletions apps/web-crescent/public/locales/en/proposals.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,15 @@
"abstain": "Abstain",
"deposits": "Deposits",
"depositor": "Depositor",
"recipient": "Recipient",
"amount": "Amount",
"amountRequested": "Amount requested",
"time": "Time",
"submitTime": "Submit Time",
"depositEndTime": "Deposit End Time",
"votingEndTime": "Voting End Time",
"votingStartTime": "Voting Start Time",
"content": "Content",
"textProposal": "Text Proposal",
"parameterChangeProposal": "Parameter Change Proposal",
"communityPoolSpendProposal": "Community Pool Spend Proposal",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ query ProposalDetails($proposalId: Int) {
content
proposalId: id
submitTime: submit_time
proposalType: proposal_type
depositEndTime: deposit_end_time
votingStartTime: voting_start_time
votingEndTime: voting_end_time
Expand Down
3 changes: 2 additions & 1 deletion apps/web-crescent/src/graphql/types/general_types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11614,7 +11614,7 @@ export type ProposalDetailsQueryVariables = Exact<{
}>;


export type ProposalDetailsQuery = { proposal: Array<{ __typename?: 'proposal', title: string, description: string, status?: string | null, content: any, proposer: string, proposalId: number, submitTime: any, depositEndTime?: any | null, votingStartTime?: any | null, votingEndTime?: any | null }> };
export type ProposalDetailsQuery = { proposal: Array<{ __typename?: 'proposal', title: string, description: string, status?: string | null, content: any, proposer: string, proposalId: number, submitTime: any, proposalType: string, depositEndTime?: any | null, votingStartTime?: any | null, votingEndTime?: any | null }> };

export type ProposalDetailsTallyQueryVariables = Exact<{
proposalId?: InputMaybe<Scalars['Int']>;
Expand Down Expand Up @@ -12309,6 +12309,7 @@ export const ProposalDetailsDocument = gql`
content
proposalId: id
submitTime: submit_time
proposalType: proposal_type
depositEndTime: deposit_end_time
votingStartTime: voting_start_time
votingEndTime: voting_end_time
Expand Down
3 changes: 3 additions & 0 deletions apps/web-desmos/public/locales/en/proposals.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,15 @@
"abstain": "Abstain",
"deposits": "Deposits",
"depositor": "Depositor",
"recipient": "Recipient",
"amount": "Amount",
"amountRequested": "Amount requested",
"time": "Time",
"submitTime": "Submit Time",
"depositEndTime": "Deposit End Time",
"votingEndTime": "Voting End Time",
"votingStartTime": "Voting Start Time",
"content": "Content",
"textProposal": "Text Proposal",
"parameterChangeProposal": "Parameter Change Proposal",
"communityPoolSpendProposal": "Community Pool Spend Proposal",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ query ProposalDetails($proposalId: Int) {
content
proposalId: id
submitTime: submit_time
proposalType: proposal_type
depositEndTime: deposit_end_time
votingStartTime: voting_start_time
votingEndTime: voting_end_time
Expand Down
3 changes: 2 additions & 1 deletion apps/web-desmos/src/graphql/types/general_types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11581,7 +11581,7 @@ export type ProposalDetailsQueryVariables = Exact<{
}>;


export type ProposalDetailsQuery = { proposal: Array<{ __typename?: 'proposal', title: string, description: string, status?: string | null, content: any, proposer: string, proposalId: number, submitTime: any, depositEndTime?: any | null, votingStartTime?: any | null, votingEndTime?: any | null }> };
export type ProposalDetailsQuery = { proposal: Array<{ __typename?: 'proposal', title: string, description: string, status?: string | null, content: any, proposer: string, proposalId: number, submitTime: any, proposalType: string, depositEndTime?: any | null, votingStartTime?: any | null, votingEndTime?: any | null }> };

export type ProposalDetailsTallyQueryVariables = Exact<{
proposalId?: InputMaybe<Scalars['Int']>;
Expand Down Expand Up @@ -12616,6 +12616,7 @@ export const ProposalDetailsDocument = gql`
content
proposalId: id
submitTime: submit_time
proposalType: proposal_type
depositEndTime: deposit_end_time
votingStartTime: voting_start_time
votingEndTime: voting_end_time
Expand Down
3 changes: 3 additions & 0 deletions apps/web-emoney/public/locales/en/proposals.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,15 @@
"abstain": "Abstain",
"deposits": "Deposits",
"depositor": "Depositor",
"recipient": "Recipient",
"amount": "Amount",
"amountRequested": "Amount requested",
"time": "Time",
"submitTime": "Submit Time",
"depositEndTime": "Deposit End Time",
"votingEndTime": "Voting End Time",
"votingStartTime": "Voting Start Time",
"content": "Content",
"textProposal": "Text Proposal",
"parameterChangeProposal": "Parameter Change Proposal",
"communityPoolSpendProposal": "Community Pool Spend Proposal",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ query ProposalDetails($proposalId: Int) {
content
proposalId: id
submitTime: submit_time
proposalType: proposal_type
depositEndTime: deposit_end_time
votingStartTime: voting_start_time
votingEndTime: voting_end_time
Expand Down
Loading

0 comments on commit 66e4812

Please sign in to comment.