Giter VIP home page Giter VIP logo

magicbuild's People

Contributors

codingshot avatar kurodenjiro avatar

Stargazers

 avatar

Watchers

 avatar

magicbuild's Issues

Select change Type arg on Builder is not work

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

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Create method'
  2. Click on 'change string to number'
  3. Click on 'Call' or 'View' button
  4. See error Type data remains unchanged

Prettier JSON Formating on View Method Responses

Is your feature request related to a problem? Please describe.
When you do a view function than the json formatting is all condesnsed and its hard to distingish the response

Describe the solution you'd like
For view requests where a json is displayed, format in prettier formamter with 2 indenting

  • also add a copy to clipboard

Describe alternatives you've considered

  • show each response as a card
  • allowing to copy response with clipboard button

Additional context
MagicBuild JSON

In the future

  • make it so responses could possible show in a better format

Missing Arg when scanned

Describe the bug
Some arg not scan

To Reproduce
Steps to reproduce the behavior:

  1. Created chatme.near contract
  2. Ex; look to leave_channel
  3. See error

Expected behavior

image

Click twice to scan all results

Describe the bug
Some arg did not scan

To Reproduce
Steps to reproduce the behavior:

  1. Created nft.genadrop.near contract
  2. Ex; look to nft_revoke
  3. See error

Expected behavior
A clear and concise description of what you expected to happen.
image

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.

Select Method Show Mode

Is your feature request related to a problem? Please describe.
Too many forms are displayed so show mode is needed

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Re enter input contract and scan got error

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

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.

Save and manage ABI from smart contract

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Deep scan with type object

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Change preview behavior

Describe the bug
Every time you enter input, Live Preview will slow down the input because it has to continuously update State .

We'll toggle the preview button. After creating the form from the contract, the user will press the preview button to display it

show deposit for preview and export widget

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Additional Style

Create additional style input boxes in information fields, so users can design CSS as desired

Create default Input and input input

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Add process bar when scanning contract

Is your feature request related to a problem? Please describe.
To check the status while scanning, need a process bar

Describe the solution you'd like
This will cause the client to wait longer

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

add filter show

Is your feature request related to a problem? Please describe.
The displayed filter box helps users focus on processing the target form without affecting many other forms

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Drag Method Form

To change the display position of forms. Drag to change the required position

Add css composer

Is your feature request related to a problem? Please describe.
After having the class input box, we create an additional css input box so that the client can add more diversity in css

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Convert type json to Input Field

Is your feature request related to a problem? Please describe.
Client want to convert json types into feild instead of importing input files

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Create Custom Button From Bos composer

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Call Methods Showing Up As View Method

Describe the bug
Some call methods are showing up as view method

To Reproduce
Steps to reproduce the behavior:

  1. Created nft.genadrop.near contract
  2. Exported component
  3. Ex; look to nft_mint
  4. See error

Expected behavior
Show a form that takes in nft metdata

Image

Create Menu Custom Block For Bos composer

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Update enum Select Button on Arg

Currently, magicbuild can automatically scan out the enum format and their data, instead of having the user enter it manually, it automatically creates a select section for the user.

Make it So Name of Component Matches Contract Name

Is your feature request related to a problem? Please describe.
When you export component than it shows as Magicbuild with a hash at the end. Not clear what is happening and should name after the contract.

Describe the solution you'd like
Name component after name of contract. If the user already has that then increment this (need to check components a user has deployed to under the widget tree under user who is deploying the compoennt.

If iet is a subaccount use camelcase, example nft.genadrop.near should be NftGenadrop

Describe alternatives you've considered

  • using contract name with hash
  • adding a .main afterward

Additional context

Image

Design components

When clicking on any attribute, a design table will appear where you can select font, font size, color, padding margin.

The call function has incorrect gas and deposit information

Describe the bug
The call function has incorrect gas and deposit information

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'nft.genadrop.near'
  2. Click on 'search'
  3. Scroll down to 'input gas and deposit and call'
  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.

select design mode

Is your feature request related to a problem? Please describe.
Some times the client just needs to interact with the contract without needing to design it

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Can not scan

Describe the bug
Some arg did not scan

To Reproduce
Steps to reproduce the behavior:

  1. Created nft.genadrop.near contract
  2. Ex; look to nft_token
  3. See error

Expected behavior

image

Scan Method from EVM chain

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Many requests because of loops.

Describe the bug
Each scan but calling too many times causes the application to spam the server. Need to optimize the loop

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image

      asyncFetch(
        `${state.nearBlockRpc}v1/account/${state.contractAddress}/txns?method=${item}&order=desc&page=1&per_page=25`,
        {
          headers: header,
          method: "GET",
        }
      ).then((res) => {
        const method = {
          name: item,
          kind: "view",
          export: true,
          params: {
            serialization_type: "json",
            args: [],
          },
          deposit: 0,
          gas: 30000000000000,
        };
        if (res.body.txns.length > 0) {
          const isScs = false;
          res.body.txns.forEach((item) => {
            if (item.outcomes.status) {
              isScs = true;
            }
          });
          if (isScs) {
            method.kind = "call";
          }
        }
        abiMethod.push(method);
        State.update({ cMethod: abiMethod });
        abiMethod.forEach((item, index) => {
          getArgsFromMethod(item.name, index);
        });
      });
    });

Design View Function Request

In ABI smartcontract, the default value is result, we can know the default return value and design components corresponding to the default value returned in the View function. For example, the return value is Array, we can create a compoentn list

When Clicking A Popup Unclear That Transaction Went Thought

Describe the bug
When you click a form, you cant tell if on chain transaction was succesfull as popup stays or there is no indication that something succesful happened like a transaction link.

To Reproduce
Steps to reproduce the behavior:

  1. Click export and save
  2. Or add client

Expected behavior

  • the popup to close
  • or a link to the component or client produce (When save maybe generate relative path based on the component saved to user data tree for the them to check) if getting a response is difficult

Screenshots
Popup wont go away
Image

Already uploaded
Image

auto fill simulator for gas and deposit

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

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.

Add Validation / Feedback that contract you are putting is valid address

Is your feature request related to a problem? Please describe.
When adding a cotnract for the first time, could put an invalid account

Describe the solution you'd like
Live time form validation with toast notification indicating that is or not a valid contract. Also a link to the contract on NEARBLOCKs contract section so someone can refer to it if valid near address to double check

Additional context

Image

Change label params not change

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

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.

Remove create Form Client

Instead of making the user have to create it from the beginning. Then let the user use the builder so they can save right after

remove param bug

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

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.

Make It So All Source Code is Deployed

Is your feature request related to a problem? Please describe.
Complete source code with out magicbuild widget component (will be costlier) but will allow devs to build better boilerplate and not be reliant on magic build compoennts
Describe the solution you'd like
Source code not using helper component when export component is deployed.

Describe alternatives you've considered

  • this is a costlier alternative
    Additional context

MagicBuild source component
Should be all the source code

Create nested widget with layout

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Export ABI for developer javascript client

Is your feature request related to a problem? Please describe.
Some developers need field information to code on web3 without spending a lot of time declaring methods and having result types to help type scripts faster.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Allow on Export For Users to Enter Widget Metadata

Is your feature request related to a problem? Please describe.
Currently there is no option for people export component to name add widget metadata.

Describe the solution you'd like
Add on export option to add component metadata (uplaod image uri, description and taggs)

Describe alternatives you've considered

  • autogenerate with documentation based on methods
  • add magicbuild tag automatically

Additional context

Example of metadata editor from near social (also a component)

Image

Create Form from Social DB

Is your feature request related to a problem? Please describe.
Many client need to create forms without going through a smart contract

Describe the solution you'd like
We can let client create from and store it in SocialDB

Describe alternatives you've considered

Additional context

Make It So Export Is More Prominent

Is your feature request related to a problem? Please describe.
Hard to know that you can export the component

Describe the solution you'd like
Export should be main call to action (put as buttons on top

Extra

  • make it so scan is the first call to action next to export, not clear
    Describe alternatives you've considered
  • highlight it a different color or make it blink

Additional context

Fix Export widget

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

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.

upload file abi near

Is your feature request related to a problem? Please describe.
Need a function, just upload the ABI file to display the form

Describe the solution you'd like

Describe alternatives you've considered

Additional context

The input is jerky

The input is jerky due to optimizing the code that can be stored on the board. Need to fix it back to the original and check again

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.