Skip to content

Commit b675a8b

Browse files
committed
docs: headless tree note
1 parent 2ee80b7 commit b675a8b

File tree

5 files changed

+116
-8
lines changed

5 files changed

+116
-8
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: lukasbach
7+
---
8+
9+
<!--
10+
Since react-complex-tree has matured a lot since I've started working on it, I have started a successor library
11+
that is available here: https://headless-tree.lukasbach.com
12+
13+
You might find that the issue you have is already fixed or working in Headless Tree, and I suggest you try
14+
to see if that library fulfills your needs. Nevertheless, I still continue to maintain react-complex-tree,
15+
so feel free to post issues or PRs here.
16+
-->
17+
18+
**Describe the bug**
19+
A clear and concise description of what the bug is.
20+
21+
**To Reproduce**
22+
Steps to reproduce the behavior (ideally a codesandbox link or similar if for a library issue):
23+
24+
**Expected behavior**
25+
A clear and concise description of what you expected to happen.
26+
27+
**Screenshots**
28+
If applicable, add screenshots to help explain your problem. A gif or screencast can also help understand your problem.
29+
30+
**Additional context**
31+
You can help by providing additional details that are available to you, such as
32+
33+
- Device if mobile
34+
- Operating System, Browser
35+
- Version of the Library or tool for which you report the bug
36+
37+
<!--
38+
By the way, I also have a Github Sponsor account. A small contribution can help me continue investing free time
39+
into maintaining and improving my open source work.
40+
41+
https://github.com/sponsors/lukasbach
42+
43+
I can also provide paid support or consultency to help you with integrating my project, or to prioritize your
44+
issue. Feel free to contact me through [email protected], and we can find something that works for both
45+
of us :)
46+
-->
+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: ''
6+
assignees: lukasbach
7+
---
8+
9+
<!--
10+
Since react-complex-tree has matured a lot since I've started working on it, I have started a successor library
11+
that is available here: https://headless-tree.lukasbach.com
12+
13+
You might find that the issue you have is already fixed or working in Headless Tree, and I suggest you try
14+
to see if that library fulfills your needs. Nevertheless, I still continue to maintain react-complex-tree,
15+
so feel free to post issues or PRs here.
16+
-->
17+
18+
**Is your feature request related to a problem? Please describe.**
19+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
20+
21+
**Describe the solution you'd like**
22+
A clear and concise description of what you want to happen.
23+
24+
**Describe alternatives you've considered**
25+
A clear and concise description of any alternative solutions or features you've considered.
26+
27+
**Additional context**
28+
Add any other context or screenshots about the feature request here.
29+
30+
<!--
31+
By the way, I also have a Github Sponsor account. A small contribution can help me continue investing free time
32+
into maintaining and improving my open source work.
33+
34+
https://github.com/sponsors/lukasbach
35+
36+
I can also provide paid support or consultency to help you with integrating my project, or to prioritize your
37+
issue. Feel free to contact me through [email protected], and we can find something that works for both
38+
of us :)
39+
-->

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,15 @@ and more comprehensive documentation. Many common issues or questions are covere
1818
The Changelog is available at [https://rct.lukasbach.com/docs/changelog](https://rct.lukasbach.com/docs/changelog).
1919
Check the [v2 release notes](https://rct.lukasbach.com/docs/changelog/#200---12052022) when migrating from v1.x to v2.x.
2020

21+
22+
> [!TIP]
23+
> A successor library for react-complex-tree, [Headless Tree](https://headless-tree.lukasbach.com/),
24+
> is now available as Beta! Headless Tree provides easier-to-use interfaces,
25+
> better customizability and more features.
26+
> Join [the Discord](https://discord.gg/KuZ6EezzVw) to get involved, and
27+
> [follow on Bluesky](https://bsky.app/profile/lukasbach.bsky.social) to
28+
> stay up to date.
29+
2130
## Sponsors
2231

2332
The development of react-complex-tree is supported by the community. Special thanks to:

packages/docs/docs/getstarted.mdx

+14
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,20 @@ sidebar_position: 1
77
The following document shows how React Complex Tree can be installed and used in your
88
web projects.
99

10+
11+
:::tip Headless Tree is available!
12+
13+
The successor for react-complex-tree, [Headless Tree](https://headless-tree.lukasbach.com/), is now available as Beta!
14+
15+
Headless Tree provides easier-to-use interfaces,
16+
better customizability and more features.
17+
Join [the Discord](https://discord.gg/KuZ6EezzVw) to get involved, and
18+
[follow on Bluesky](https://bsky.app/profile/lukasbach.bsky.social) to
19+
stay up to date.
20+
21+
22+
:::
23+
1024
## Installation
1125

1226
To start using React Complex Table, install it to your project as a dependency via

packages/docs/src/components/CampaignBar.js

+8-8
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ export default function CampaignBar() {
1212
setHide(!!hideDate && parseInt(hideDate) > Date.now() - days * 3);
1313
}, []);
1414

15-
if (hide) {
16-
return null;
17-
}
15+
// if (hide) {
16+
// return null;
17+
// }
1818

1919
return (
2020
<div className={styles.bar}>
21-
<a href="https://github.com/sponsors/lukasbach" target="_blank" className={styles.content} >
22-
<div className={styles.alsocheckout}>Github Sponsors</div>
23-
<div className={styles.title}>If react-complex-tree provides meaningful value to you, consider supporting its development and maintenance by sponsoring on Github</div>
21+
<a href="https://headless-tree.lukasbach.com" target="_blank" className={styles.content} >
22+
<div className={styles.alsocheckout}>Headless Tree</div>
23+
<div className={styles.title}>A successor for react-complex-tree, Headless Tree, is now available!</div>
2424
</a>
25-
<div
25+
{/*<div
2626
aria-label="Hide banner"
2727
className={styles.close}
2828
onClick={() => {
@@ -31,7 +31,7 @@ export default function CampaignBar() {
3131
}}
3232
>
3333
×
34-
</div>
34+
</div>*/}
3535
</div>
3636
);
3737
}

0 commit comments

Comments
 (0)