potlock / next-app Goto Github PK
View Code? Open in Web Editor NEWNextJS application built for PotLock (on NEAR)
Home Page: https://alpha.potlock.org
License: MIT License
NextJS application built for PotLock (on NEAR)
Home Page: https://alpha.potlock.org
License: MIT License
Need a way to apply to pot and for admins to manage applicants
As a public good, I want to apply to a round, so that I can qualify for that quadratic funding round
As someone who has applied to a round, I want to see that status of my applications and why or why not i was rejected form round, so I can prepare to promote the round
As a chef or owner, I want to be able to see applications, and approve or reject with a reason, so I can easily manage applications.
Application tab in pot that show status. And apply button on banner that shows up when application period is live
Need to show settings & setting history or have a way for owners to change settings.
As an applicant, I want to be able to audit any settings, so that I can audit
As a chef, I want to know if the owner is changing settings or has remove my access.
As an owner, I want to edit fees and applications dates, so if anything changes with round.
As a donor, I want to see if any applications dates or round dates have changed
A settings tab in the pot page in which only the owner of pot can edit, includes application dates, funding round date, pull from pot protocol fee from pot contract
For edit settings
View settings
Settings history
Fix styles & copy on homepage
[Brief overview of the enhancement and why it is needed or desired]
Styles & copy on homepage should match designs
[Detailed description of the enhancement, including how it would work and any design considerations]
[Discussion of any alternative solutions that were considered and why the proposed solution is preferred]
[Identification and mitigation of any potential risks associated with the enhancement]
[List of criteria that must be met for the enhancement to be considered accepted]
[Any other relevant information, such as links to related issues or pull requests]
Describe the bug
The project page isn't mobile responsivenss for social icons and tabs.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Currently need a place outside of the NEAR CLI to deploy a pot
As a grant organization, I want to deploy a pot, so that I can manage a quadratic funding round.
A form for deploying quadratic funding roudns with form validation.
Create button component as per designs, & replace existing buttons with this component
[Brief overview of the enhancement and why it is needed or desired]
Current button does not implement designs
[Detailed description of the enhancement, including how it would work and any design considerations]
[Discussion of any alternative solutions that were considered and why the proposed solution is preferred]
[Identification and mitigation of any potential risks associated with the enhancement]
[List of criteria that must be met for the enhancement to be considered accepted]
[Any other relevant information, such as links to related issues or pull requests]
Project card styles should match designs
NB: wait until designs have been finalized (confirm with @lachlanglen) before starting on this ticket
[Brief overview of the enhancement and why it is needed or desired]
[More detailed explanation of the motivation for the enhancement, including any benefits it would provide]
[Detailed description of the enhancement, including how it would work and any design considerations]
[Discussion of any alternative solutions that were considered and why the proposed solution is preferred]
[Identification and mitigation of any potential risks associated with the enhancement]
[List of criteria that must be met for the enhancement to be considered accepted]
[Any other relevant information, such as links to related issues or pull requests]
Currently only showing layout need to integrated (pot) quadratic funding contracts from o chain
As a user, I want to be able to view pots from on chain, so that I can go to the pot page
On chain gallery of pots
Cart page styles should match designs
[Brief overview of the enhancement and why it is needed or desired]
[More detailed explanation of the motivation for the enhancement, including any benefits it would provide]
[Detailed description of the enhancement, including how it would work and any design considerations]
[Discussion of any alternative solutions that were considered and why the proposed solution is preferred]
[Identification and mitigation of any potential risks associated with the enhancement]
[List of criteria that must be met for the enhancement to be considered accepted]
[Any other relevant information, such as links to related issues or pull requests]
Need to see sponsors and who is donating most
As a sponsor, I want to see if my transaction wnet through and see my logo displayed, so that I can
Description of solution
Sponsors BOS Component (doesnt list all of them) https://github.com/PotLock/bos-app/blob/main/apps/potlock/widget/Pots/Sponsors.jsx
Get donations from round https://github.com/PotLock/core/blob/71f35051f81c333c85fafc42d073173191ad14ca/contracts/pot/src/donations.rs#L109C3-L129C6
pub fn get_public_round_donations(
&self,
from_index: Option<u128>,
limit: Option<u64>,
) -> Vec<DonationExternal> {
let start_index: u128 = from_index.unwrap_or_default();
assert!(
(self.public_round_donation_ids.len() as u128) >= start_index,
"Out of bounds, please use a smaller from_index."
);
let limit = limit.map(|v| v as usize).unwrap_or(usize::MAX);
assert_ne!(limit, 0, "Cannot provide limit of 0.");
self.public_round_donation_ids
.iter()
.skip(start_index as usize)
.take(limit)
.map(|id| {
self.format_donation(&Donation::from(self.donations_by_id.get(&id).unwrap()), id)
})
.collect()
}
Explain the problem in details
As a project, I want to see all my donations across pots and direct donations, so that I can see who my users are
Description of solution
Need to see accepted projects
As a donor, I want to see projects that i can donate to in matched round, so that I can get my donations amplified.
Projects section of pot (quadratic funding round) that show projects accepted in round. Donate button shows if funding round section is live.
`const projects = Near.view(potId, "get_approved_applications", {});
For those who are ellgible to donate
For those who aren't eligible need to go through nada bot
`
Know way for users to understand the impact of their donation based on current amount
As a donor, I want to know how much my donation is likely to get matched, so that I can feel good about quadratic funding and adjust my donation accordignly.
Estimated QF matching amount based on current status of pot with tool tip so users will know how much their donation will get amplfieis
on cart check out and donation amount use current donations and amount of donation to calculate estimated matching round based on current condition of pot
changes as amounts are toggled for matched donations
Should also be for when peopl arent logged in to indentivize them to want to donate
Too much decision making for supporting public goods.
As a user, I want to randomly support a verified public goods, so that I can
DOnate randomly button that triggers popup that choose a random approved project on registry.potlock.near and allow to choose an amount and currency and note then shows success screen of what you donated too
Hard time with project discovery
As a user, I want to see recommended projects on my home page and also on a project page, so that I can have a better time navigating
As a user, I want to able to support a project randomly, so that I don't have to decide from whcih approved project to support
Complete layout on figma for random donations
Alot of references to people but not potlock specific profile pages for account id except for project pages
As a community member, I want to see other profile pages and have my own page, so that I can see my activity with projects, donations, and funding strategies
A profile page for potlock that show relevant donations, sponsorships affilaited proejcts
show image and banner
pull bio
if has donations show donations
show projects a person is part of
shows sponsorships amount and affilaited rounds
if generated fees show referral fees breakdown
allow profile to work by passing in accountid in props
show nada.bot affilaited stamps (query v1.nadabot.near)
Future
show lists created
Currently total amount raised takes the current price in NEAR and multiplies towards NEAR donated through account. This is inaccurate and does not support newly added fungible token amount. Additionally donations through pots and pots payouts not supported
As a project, I want to know how muhc I have raised through all supported assets, so that I can account for it in taxes
As the platform, I want to know how much was raised through all projects and assets, so we can report on home page.
A global database for all donation types across donates and pots, that take in amount at time of donation. @lachlanglen need to figure out a better strategy for this
Describe the bug
Pulling all names from project registry but should only pull approved projects. Only the admins should show all projects (can pull admin from registry.potlock.near)
To Reproduce
Expected behavior
For not logged in users and all loggedin users but admins it should only show projects that are approved onr egistry
Screenshots
Example efiz.near and gojo academy are unapproved projects
Describe the bug
To Reproduce
Expected behavior
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
When I click on "Cart" button, Cart modal should display as per designs.
NB: Make sure this discussion is resolved before starting work on this
[Brief overview of the enhancement and why it is needed or desired]
[More detailed explanation of the motivation for the enhancement, including any benefits it would provide]
[Detailed description of the enhancement, including how it would work and any design considerations]
[Discussion of any alternative solutions that were considered and why the proposed solution is preferred]
[Identification and mitigation of any potential risks associated with the enhancement]
[List of criteria that must be met for the enhancement to be considered accepted]
[Any other relevant information, such as links to related issues or pull requests]
Need to be able to transact on cart
As a donor, I want to transact on the cart, so that I can actually make donatiosn
Cart uses NEAR API JS to trigger transactions.
Need to be able to search and filter through approved projects on registry
As a user , I want to be able to find projects by least donations or by categories, so that I can find projects I want to donate too
Explore page
Need a pot card to be used on #52 and from pot explore
As a developer, I want to have a pot component I can reused for differnet profiles, so that I can speed up developers
Pot card
display pot description
clip text
display pot status
pass in pot contract address to component
use price api to show maount matched
Show name and description
add near api js connection
maybe helper function for determining
Pot implementation on BOS
https://github.com/PotLock/bos-app/blob/main/apps/potlock/widget/Pots/Card.jsx
As a user i want to interact with near blcokahin
Integrate NEAR Wallet selector
DOnors need to see donations
As a project, I want to see who is donated from me in this round, so that I can see my traction
Donation tab that shows donations and allow you to filter from recent and most donations, by proejct and list.
Project page currently does not display team memb ers
As a team member, I want to have my profile show on profile page, so that others can follow and find me
Description of solution
Explain the problem in details
As a admin, I want to flag projects for public goods registry with a reason, so that I can keep the project registry with relevant public goods and prevent bad actors.
Need to have a dropdown with note for admins to set statuses of proejct on project registry.
Need to create profile feeds.
As a user, I want to have a robust psot, so that I can reference profiles, follow, responds, likve reporst all directly form the component.
Create a post component for social.near posts
Describe the bug
Only 9 projects display (out of 75 total) when sorting
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
As a donor, I want the ability to add to a cart even if im not logged in, so that i can easily shop later
As a donor, I want to edit amounts, delete things from cart, see breakdowns, and set optional fees, so I can donate exactly what I want.
A cart front end that allows you to add items from across the app to local storage saved in cart, and then donate all. Can also support pots.
Explain the problem in details
As a donor, I want to see updates about a proejct from project page, so that I can
Custom feed of all posts and repost on social.near by a project
On bos app example https://bos.potlock.org/?tab=project&projectId=potlock.near&nav=feed
Need to have a mobile responsinvess pot page
As a donor, I want to see if im leggible to donate to a pot, so that I can donate to a pot
As a sponsor, I want to see if the round is open, so I can fund a round.
As a proejct, I want to see if application is open so I can see
As a spectator, I want to see settings of the round, inlcuding owner, etfc.
Create pot page layout with all tabs including, projects, application, payouts
Friction of going and adding to cart then putting in price is screwing up flow of donations.
As a user I want to select how much and what currency I want to donate to.
Donate popup accessible from project page and project card that allows you to enter amount and currency and donate directly with success screen
When logged in, it clicks to logout when normally this would be where. a drop down would happen. N
As a user, I want to have a drop down to logout, so that I don't accidentally logout
Profile drop down
Owners need a dashboard to actually payouts users
As an chef or owner i want ot intiate a payout so I can pay the proejcts from mathcing round
Allow owners or chef to intiate and calcualte payouts
Add all wallets on wallet selector https://github.com/near/wallet-selector/tree/main
Hard to get a history of Pots (quadratic funding rounds) that a project is a part of. In the case of gitcoin this is the case and dont have global registry of all past funding rounds.
As a donor, I want to see all the active and past quadratic funding rounds (pots) that a project has been a part of, so that I can get a better sense of the past funding sources a project has been a part of and navigate to the active ones.
Pots section on project page that renders
Example of a pot card for Potlock bos app https://github.com/PotLock/bos-app/blob/main/apps/potlock/widget/Pots/Card.jsx
Navbar should match designs
Check item order, fonts, gap, cart button, user logo (currently pixelated)
[More detailed explanation of the motivation for the enhancement, including any benefits it would provide]
[Detailed description of the enhancement, including how it would work and any design considerations]
[Discussion of any alternative solutions that were considered and why the proposed solution is preferred]
[Identification and mitigation of any potential risks associated with the enhancement]
[List of criteria that must be met for the enhancement to be considered accepted]
[Any other relevant information, such as links to related issues or pull requests]
Add amount raised to featured project cards
Currently cards in Featured Projects do not show amount raised
[More detailed explanation of the motivation for the enhancement, including any benefits it would provide]
[Detailed description of the enhancement, including how it would work and any design considerations]
[Discussion of any alternative solutions that were considered and why the proposed solution is preferred]
[Identification and mitigation of any potential risks associated with the enhancement]
[List of criteria that must be met for the enhancement to be considered accepted]
[Any other relevant information, such as links to related issues or pull requests]
As a donor, I want to see pots, so that I can can navigate to quadratic funding round
Description of solution
Describe the bug
Currently showing hardcoded value of $24.000 needs to pull each project
on donations contract and show USD value (NEAR value if API isn't owrking
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should show current amount raised through each project
Resources
Projects should not be displayable if they got flagged. Or if account id is passed in
As a admin, I want to not have projects that have been flagged to show, so that I can
404 state for project not on registry
As a project, I want to my project to be highlighted, so that I can get more donations
As a user, I want to donate to filtered projected, so that i know they are vetted.
Project slider of project cards that can be whitelisted from array of accountids.
Currently show nextjs app
Updated favicon, description, and site title
Name
Potlock
Description
Potlock, is bringing new funding mechanisms to the table for public goods, built on NEAR Protocol
Image
As a user, i want a global fed of donors and public goods.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.