Giter VIP home page Giter VIP logo

bos-app-alem's People

Contributors

heroes-bounty[bot] avatar lachlanglen avatar m-rb3 avatar wpdas avatar

Stargazers

 avatar

Forkers

spandan972

bos-app-alem's Issues

[BUG] Pot donation modal so slow to the point of almost being unresponsive

Describe the bug

When I try to select between "Auto" and "Manual", UI is extremely slow to update. See video below:

Screen.Recording.2024-05-20.at.12.58.13.PM.mov

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

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):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

[BUG] disabled background scrolling when the modal is open

Describe the bug

Image

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

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):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

[ENHANCE] Além - `Local Modules`: Try to automate this functionality

Currently, for a file to be considered a module it is necessary to move it into the modules folder. This happens because depending on the files, the final package may be larger instead of smaller.

Some options to be tested again:

  1. Check if the file is stateless or a simple .ts or .js file;
  2. Check if these files support Widgets within them;
  3. If items 1 and 2 are compatible, the compiler should interpret such files as local modules automatically.

Some points from previous tests:

  1. When similar logic to the above was tested, the final package was much larger. Most likely because there are small separate files that were created like this because of the limitation of Além in its first alpha versions;
  2. When retaking the tests, you must gather as many files as possible.

[BUG] Register new project error ("filter" is not a function)

Describe the bug

Waiting for account ID this occurred for.

Image

Image

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

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):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

[BUG] no error message on create project as DAO

Describe the bug
Should show error message
"You do not have permissions to propose this to this DAO"

To Reproduce
Steps to reproduce the behavior:

  1. Go to edit proejct
  2. toggle register project as DAO
  3. put dao address

Expect behavior

  • also show error address for valid address tyep
  • show near addess

[BUG] After applying to the Marketing round via DAO the page reloads as such and is blurred

Describe the bug
A clear and concise description of what the bug is.

Image

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

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):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

[BUG] Textbox Deactivated for Apply to Pot

I am applying for the Potlock Marketing POT. Unfortunately, when I click on Application Message, the text field is disabled. Can someone help me find a solution to this? I am using the Chrome browser to apply.

[ENHANCE] Improve Projects/Home page speed

  • Re-implement Projects/Home page using state to improve its speed;
  • Fix the Card's code to speed it up using;
  • Fix imports to use alias;
  • Use Storage to store projects and use it until the next pack of data comes.

[ENHANCE] Require one linktree item for project registration

Summary

In order to register, a project must have/provide at least one item out of the linktree options.

Motivation

[More detailed explanation of the motivation for the enhancement, including any benefits it would provide]

Description

[Detailed description of the enhancement, including how it would work and any design considerations]

Alternatives

[Discussion of any alternative solutions that were considered and why the proposed solution is preferred]

Risks

[Identification and mitigation of any potential risks associated with the enhancement]

Acceptance Criteria

[List of criteria that must be met for the enhancement to be considered accepted]

Additional Information

[Any other relevant information, such as links to related issues or pull requests]

[BUG] Pot subpages have no bottom padding

Describe the bug

Pot subpages have no bottom padding

Image

Image

Image

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

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):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

[BUG] Pot's projects card is cut off on a smaller screen

Describe the bug

Image

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

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):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

[BUG] Bottom cut off pot donation modal

Describe the bug

See screenshot:

Image

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

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):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

[ENHANCE] Além: Improve File Change Detector

Improve the file change detector logic. Rn, every time a file is changed, it processes all the files again. I'll create a way to re-process only the files affected by the change;

[BUG] round's applications not loading

Describe the bug
handle if no applications been submitted yet

Image
https://app.potlock.org/?tab=pot&potId=nearian.v1.potfactory.potlock.near

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

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):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

[BUG] application filter not showing on mobile correctly

Describe the bug

Image

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

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):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

[ENHANCE] Além: Import Image Files

Add import image files feature: This will convert the images to base64 and embed them into the code. There will also be a prop to config the image compression;

[ENHANCE] Save form states to local storage before wallet transaction

Summary

Users (e.g. chefs reviewing applications & projects creating registrations) occasionally encounter wallet issues, and on redirect to Potlock after the failed transaction their form state has been cleared. This is a very frustrating UX.

To resolve this, we should save form state to browser storage before transaction call. Then, repopulate it if transaction fails, or clear it if transaction succeeds.

Motivation

[More detailed explanation of the motivation for the enhancement, including any benefits it would provide]

Description

[Detailed description of the enhancement, including how it would work and any design considerations]

Alternatives

[Discussion of any alternative solutions that were considered and why the proposed solution is preferred]

Risks

[Identification and mitigation of any potential risks associated with the enhancement]

Acceptance Criteria

[List of criteria that must be met for the enhancement to be considered accepted]

Additional Information

[Any other relevant information, such as links to related issues or pull requests]

[ENHANCE]

20240528_203833

Summary

[Can't scroll down to see all the challenges, it doesn't show all either mobile or desktop, no button to scroll down]

Motivation

[Users can't view all the challenges, only the first 3 shows]

Alternatives

[I don't know, a dedicated page for challenges sounds better than challenges being a small part of the payout page]

Acceptance Criteria

[A button to scroll down to see all challenges or a page dedicated to challenges]

[BUG] Set Payouts Button Shows After Setting Payouts

Describe the bug
After set payouts, set payouts show
To Reproduce
Steps to reproduce the behavior:

  1. When matching round is over click set payouts
  2. Refresh
  3. Still see set payouts

Expected behavior
It should be clearer that need to accept all challenges and cannot process payouts until challenge period is over

[DESIGN] Add pot selector to Create Project page

Summary

When creating/registering my project, I should be able to simultaneously apply to a pot (or more than one).

If there are no pots currently accepting applications, the form should remain as it currently is.

If there are pots currently accepting applications, there should be a new section entitled "Apply to pots?" with a list of available pots displaying the pot's name and description, and the ability to select one or more pots.

If pots have been selected, the CTA button should read "Create & Apply" rather than "Create new project". If it is a DAO, CTA button should read "Add proposal to create & apply".

Motivation

[More detailed explanation of the motivation for the enhancement, including any benefits it would provide]

Description

[Detailed description of the enhancement, including how it would work and any design considerations]

Alternatives

[Discussion of any alternative solutions that were considered and why the proposed solution is preferred]

Risks

[Identification and mitigation of any potential risks associated with the enhancement]

Acceptance Criteria

[List of criteria that must be met for the enhancement to be considered accepted]

Additional Information

[Any other relevant information, such as links to related issues or pull requests]

[BUG] Cannot Register project on AI Round

Describe the bug
Register project showing as grayed out.
To Reproduce
Steps to reproduce the behavior:

  1. Go to to ai pot
  2. See grayed out register proejct

Expected behavior
Should register project and register at same time, or let people just register from that page
Screenshots

[ENHANCE] Improve registration + application flow (🟠 NEEDS DESIGN)

Summary

The idea here is to allow a project that is registering to be able to simultaneously apply to pot/s in a single step.

  • On click "Register to apply" button, potId should be passed as URL param to Create Project page
  • In Create Project page, check for potId URL param
  • Fetch all pots with applications currently open
  • For each pot, fetch config & check if registry_provider == "lists.potlock.near:is_registered".
  • If there are any pots with config where registry_provider == "lists.potlock.near:is_registered", check default_registration_status for list_id: 1 on lists.potlock.near (use get_list() method) and verify that it is "Approved". If it isn't, no pots that use this registry_provider can allow automatic application immediately upon registration, as the registration will need to be approved before they can apply.
  • At bottom of Create Project page, add selector to select pot/s
    • 🟠 NEEDS DESIGN - check this ticket for status
    • Should only display if there are pots with applications open
    • Automatically populates with pot from potId URL param, if present
    • If pot/s are selected, button text changes (see design ticket linked above for details)
  • Add apply call for all selected pots to to transactions list (including for DAOs, but as a FunctionCall proposal)

Motivation

[More detailed explanation of the motivation for the enhancement, including any benefits it would provide]

Description

[Detailed description of the enhancement, including how it would work and any design considerations]

Alternatives

[Discussion of any alternative solutions that were considered and why the proposed solution is preferred]

Risks

[Identification and mitigation of any potential risks associated with the enhancement]

Acceptance Criteria

[List of criteria that must be met for the enhancement to be considered accepted]

Additional Information

[Any other relevant information, such as links to related issues or pull requests]

PotLock with Além

  • Project bootstrap: ✅
  • Folder structure: ✅
  • Initial components: ✅
  • Projects Page: ✅ 🕵️
  • Donate Randomly Modal: ✅ 🕵️
  • Profile Page ✅
  • Feed Page: ✅🕵️
  • Pots Home Page: ✅🕵️
  • Pot Single Page: ✅🕵️
  • Donors Page: ✅
  • Cart Page:✅
  • Homepage filter: ✅🕵️
  • Donor Leaderboard: ✅
  • Create Project Page: ✅
  • Deploy Pot:✅

Ref links:

Além
Figma
Repository

[BUG] `404` error when clicking on an open source project's repo

Describe the bug
When discovering open source projects to donate to, I encountered a 404 error on GH. Looking at the link, it appears that github.com is being added to the beginning of all project's repo URL. Note that the github link at the top of a profile works as expected.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a project's profile with a github repo listed on the bottom left of the profile (see attached gif)
  2. Click on the project or hover over the link to see the incorrect url

Expected behavior
Opens GH repo :)

Screenshots
Rewatch GIF Recording - 2024-05-16 at 5 59 26 PM

[BUG] trying to donate to a 10 different projects on pot fails

Describe the bug

If you want to donate to marketing dao pot to a lot of projects, and select multiple projects on pot page, it 1) takes forever to select, 2) takes forever to enter donation amount 3) after all that, when you click confirm transactions (I have 10 transactions in my case), the modal just disappears. Super frustrating, trying it for the second time, happened once a few days ago, and now the same thing, I don't want to go through all this again and waste 5-10 minutes selecting projects. I know that all or most of these issues are probably related to bos and not potlock in particular, but idk maybe there's a way to fix it in the gateway

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

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):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

[BUG] As list owner, I can't change status of project

Describe the bug

I am signed in as potlock.near which is the owner of the potlock registry list, but when I view this project I am not given the option to change its status: https://bos.potlock.io/?tab=project&projectId=survival-is-near.sputnik-dao.near

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

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):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

[BUG] Challenge Period Button Showing When Challenge Period Is Pending

Describe the bug
Challenge button showing up when it shouldn't be

To Reproduce
Steps to reproduce the behavior:

  1. Go to oss pot during challenge period
  2. See challenge button

Expected behavior
Do not see challenge button until challenge period has started
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

[BUG] When Changing Date on Pot Keeps on Snapping Back

Describe the bug
As admin
To Reproduce
Steps to reproduce the behavior:

  1. Go to settings of active pot
  2. Click on on date and change via keyboard or calendar popup
  3. When you click out of number it snap backs to inial number

[BUG] Repos on Create Project Should Only Show If Open Source

Describe the bug
Hide repos if not open source then require at least 1 if open source. Dont show 4 repos make it able to add like adding contract
To Reproduce
Steps to reproduce the behavior:

  1. Go to create project

Expected behavior
Only show if open source tag

Fix: Modals, Modals Provider, Pot Page, Pot's Loading Component

1 - issue when opening modals. The projects page is blinking;
2 - Modals should handle its own context to improve performance;
3 - The amount information for modals are sometimes NaN;
4 - The Cards inside the Pots page is blinking because some data is still in the loading process;
5 - The search input inside Pots page should be fixed to work the same way as the input being used in Projects page.

[ENHANCE] Add comprehensive extension wallet handling

Summary

Extension wallet handling should be added for all transactions where it's currently missing.

Transactions that don't currently support extension wallet handling:

  • chef_set_application_status (high priority)
  • update_registration (high priority)
  • Set blacklisted accounts (set method for plBlacklistedAccounts on social.near)
  • donate (matching pool - see FundModal.tsx)
  • admin_dangerously_set_pot_config
  • Follow (set method - see FollowButton.tsx)

Additionally, @codingshot has reported that extension wallet handling does not work for direct donations.

Consider adding a util/middleware that can be used to simplify extension wallet handling for transactions added in the future.

Motivation

[More detailed explanation of the motivation for the enhancement, including any benefits it would provide]

Description

[Detailed description of the enhancement, including how it would work and any design considerations]

Alternatives

[Discussion of any alternative solutions that were considered and why the proposed solution is preferred]

Risks

[Identification and mitigation of any potential risks associated with the enhancement]

Acceptance Criteria

[List of criteria that must be met for the enhancement to be considered accepted]

Additional Information

[Any other relevant information, such as links to related issues or pull requests]

[ENHANCE] Copy updates

Summary

Update subtitle/description on Edit Project / Create Project to the following:

Create a profile for your project to receive donations and qualify for funding rounds.

Motivation

[More detailed explanation of the motivation for the enhancement, including any benefits it would provide]

Description

[Detailed description of the enhancement, including how it would work and any design considerations]

Alternatives

[Discussion of any alternative solutions that were considered and why the proposed solution is preferred]

Risks

[Identification and mitigation of any potential risks associated with the enhancement]

Acceptance Criteria

[List of criteria that must be met for the enhancement to be considered accepted]

Additional Information

[Any other relevant information, such as links to related issues or pull requests]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.