Giter Site home page Giter Site logo

Skilltree about beautiful-skill-tree HOT 4 CLOSED

andrico1234 avatar andrico1234 commented on August 23, 2024
Skilltree

from beautiful-skill-tree.

Comments (4)

andrico1234 avatar andrico1234 commented on August 23, 2024

Hey!

I'm loving this use case for BST!

I'll look into the issues you're having and see if I can/should update the package for them.

FYI, we expose the completed skills data from the SkillTreeGroup components. Is that what you need? You can find the API details here: https://github.com/andrico1234/beautiful-skill-tree#skillgroupdatatype

You'll need to write something like this:

<SkillProvider>
  <SkillTreeGroup>
    {({ skillCount,  selectedSkillCount }: SkillGroupDataType) => (
      <React.Fragment>
      <ProgressChart skillCount={} selectedSkillCount={}>
      <SkillTree
        treeId="first-tree"
        title="Skill Tree"
        data={data}
        collapsible
        description="My first skill tree"
      />
      </React.Fragment>
    )}
  </SkillTreeGroup>
</SkillProvider>;

Let me get this right:

  • Add a classname to the node-title (I use styled components which hashes classnames, but I'll see what I can do)
  • Fix the broken edges on larger screen sizes.
  • Tree subtitle font should be same as heading font
  • Heading font and colour values are incorrect

from beautiful-skill-tree.

handihow avatar handihow commented on August 23, 2024

from beautiful-skill-tree.

andrico1234 avatar andrico1234 commented on August 23, 2024

I'm going to split this ticket up into several small tickets

from beautiful-skill-tree.

andrico1234 avatar andrico1234 commented on August 23, 2024

I'm going to close this ticket.

And instead reference this ticket in the other issues.

Here are links to the 4 issues I've created from this one.

#62
#63
#64
#65

As for creating custom classes. I want to mull over that a little bit.

from beautiful-skill-tree.

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.