Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Create a homepage with family tree chart #22

Open
biplobice opened this issue Feb 7, 2019 · 4 comments
Open

Feature Request: Create a homepage with family tree chart #22

biplobice opened this issue Feb 7, 2019 · 4 comments

Comments

@biplobice
Copy link
Contributor

I really love to have a homepage like the following image.

  • The tree should start from the oldest person.
  • Should show their thumbnail, name & life period (From Year - To Year).
  • If I click on a person image, the tree should show his family tree from his grandfather to grandchildren (if any)
  • It's better to have a setting option if I want to make the tree public or private.

the-entire-royal-family-tree-explained-in-one-easy-chart-2

@nafiesl
Copy link
Owner

nafiesl commented Feb 7, 2019

Thanks for the feature request.

I want to ask for more detail for each point:

  • The tree should start from the oldest person.
    Right now, on the users/{user_id}/tree route, we have implement the tree start from the selected person (not the oldest one).

  • Should show their thumbnail, name & life period (From Year - To Year).
    I think this one can be implemented.

  • If I click on a person image, the tree should show his family tree from his grandfather to grandchildren (if any)
    So the selected user will be set to the center of the tree?

  • It's better to have a setting option if I want to make the tree public or private.
    I think this can be implemented by adding is_private attribute on user edit page.

For this feature i think we need new person tree page, instead of editing the existing tree view.

@biplobice
Copy link
Contributor Author

Right now, on the users/{user_id}/tree route, we have implement the tree start from the selected person (not the oldest one).

For example- When I'll visit http://royalfamily.com I would like to see a tree like the above image. As we haven't selected any user we need to pick a user to show the tree. That could be the eldest or youngest one. In such a case I think eldest (By birth) is the better choice.

So the selected user will be set to the center of the tree?

I believe you already have that implementation on users/{user_id}/chart route. Here you're showing the user's grandparents to grandchildren.

I think this can be implemented by adding is_private attribute on user edit page.

I was saying about the whole application. Some people may not want to show the family tree to public. So, if the app setting is set to private, an user need to login to see the family tree.
i.e. http://royalfamily.com will redirect to http://royalfamily.com/login

@biplobice
Copy link
Contributor Author

Just to let you know, I found a Vue component similar to my feature request https://github.com/walkerz88/vue-family-tree

@nafiesl
Copy link
Owner

nafiesl commented Apr 7, 2022

Hi @biplobice the component looks nice and meets the requirement for showing the spouse of the person. Thanks for still get in touch with this project 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants