Comments (4)
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.
from beautiful-skill-tree.
I'm going to split this ticket up into several small tickets
from beautiful-skill-tree.
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.
As for creating custom classes. I want to mull over that a little bit.
from beautiful-skill-tree.
Related Issues (20)
- Tooltip onClick HOT 2
- Failed to resolve entry for package "beautiful-skill-tree" - Vite HOT 2
- Horizontal skill-tree
- git cloned, yarn, yarn start = this HOT 1
- React 18.2.0 throws Invalid Hook Call Warning HOT 1
- Auto valided branch
- Add skills leveling HOT 6
- Add a `handleSelected` hook
- Large `nodeDesktopTextNodeWidth` causes the edges to break HOT 2
- The Skill Count's font should be set by Heading Font
- headingFontSize and headingFontColor don't do anything
- Expose progress data in the handleSave method
- Handle clearer descriptions for Trees
- Style error when too many children HOT 8
- Custom Workout: Create Warmups based on selected progressions
- React-native version HOT 2
- NextJS Support HOT 1
- Horizontal tech tree HOT 3
- Allow child skill to require multiple parent skills HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from beautiful-skill-tree.