Git Product home page Git Product logo

Comments (8)

davidyuk avatar davidyuk commented on September 26, 2024

I didn't get the idea of this. What interface the rebranded button will have? I can't get how it is connected to Vuex. Do you know that the button in the current master is already rebranded?

from superhero-utils.

shapkarin avatar shapkarin commented on September 26, 2024

The idea is to have reusable component for any Vue project. As the interface It can use the same state and mapState helpers. Also maybe it can be separated from the Vuex and reused without it. In any case the main idea is to separate some parts and make superhero-utils used by the superhero-ui as a dependency.

from superhero-utils.

shapkarin avatar shapkarin commented on September 26, 2024

Can't saw the rebranding you mentioned - tips list is not available. Also that's why I suggest Storybook.
I talked with Tsvetan and he told me that https://github.com/aeternity/superhero-ui/tree/feature/new-branding is not merged and I commited there he ask to change the the button. Maybe other style is ready at the master, I will recheck.
I also found right now - https://github.com/aeternity/superhero-ui/tree/feature/new-branding and it looks more alive.

from superhero-utils.

davidyuk avatar davidyuk commented on September 26, 2024

The idea is to have reusable component for any Vue project.

There is already one, we did it in #38

As the interface It can use the same state and mapState helpers.

The current version of tip button just opens a deeplink to the wallet, don't see reasons to connect it to the store somehow.

the main idea is to separate some parts and make superhero-utils used by the superhero-ui as a dependency

  • superhero-utils and superhero-ui may have some common code, but I don't think that it is enough big amount to refactor this
  • superhero-utils is made for third-party integrations, it has some limitations (like it can't reference sdk explicitly) that we don't have in superhero-ui, so we can't reuse it in superhero-ui easily

talked with Tsvetan and he told me that https://github.com/aeternity/superhero-ui/tree/feature/new-branding is not merged

This is a branch in another repository.

from superhero-utils.

shapkarin avatar shapkarin commented on September 26, 2024

There is already one, we did it in #38

I know, but it's rebranded one and the idea is to use the same for the superhero-ui and any other project.

The current version of tip button just opens a deeplink to the wallet, don't see reasons to connect it to the store somehow.

Why? It can be useful for others. Helps make a nice tip button with the extension or iframe wallet. The current tip button version is works only with "deeplink".

superhero-utils is made for third-party integrations, it has some limitations (like it can't reference sdk explicitly) that we don't have in superhero-ui, so we can't reuse it in superhero-ui easily

Right, that's what I plan to solve – make it works with sdk also. the same sdk that uses the project that want to integrate the tip button.

This is a branch in another repository.

Yes, but you asked why this idea comes to me. That's why – I start to rebranding the button for the superhero-ui and thought that it may be useful to make it a part of the superhero-utils.

from superhero-utils.

davidyuk avatar davidyuk commented on September 26, 2024

to use the same for the superhero-ui and any other project

They look different. Making buttons in superhero-utils to look like in superhero-ui is a breaking change.

make it works with sdk also

SDK is too heavy (about 500kb) for a such use case. Making it optional will make documentation more complicated.

I'm against to work on this.

from superhero-utils.

shapkarin avatar shapkarin commented on September 26, 2024

@davidyuk but it's rebranding now in any case.

SDK is too heavy (about 500kb) ....

I mean make an instruction how to use the component with own SDK instance but not to have the SDK itself at this repo as a dependency.

from superhero-utils.

davidyuk avatar davidyuk commented on September 26, 2024

but it's rebranding now in any case

Can you post a link to the actual designs of the tip button in superhero-utils?

I mean make an instruction how to use the component with own SDK instance ...

I don't think the package users need it.

from superhero-utils.

Related Issues (20)

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.