weixin_39556853
2020-11-29 05:13 阅读 0

tree component

I'm submitting a tree component

[ ] bug report [x] feature request [ ] support request

Hello Yann, Awesome repository, many thanks for sharing this! Have you thought about adding/developing an ionic tree component, in a kind of similar way as this Angular Tree Component ? It would be very helpful I guess! Cheers Pierre

该提问来源于开源项目:yannbf/ionic3-components

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

6条回答 默认 最新

  • weixin_39848097 weixin_39848097 2020-11-29 05:13

    Hey !

    Thanks a lot for opening an issue :))

    Do you have any practical example of cases where this would be handy? It is a bit of a complex component so I'd have to tweak a lot with it. I'll take a look and let you know! Seems like a nice idea!

    点赞 评论 复制链接分享
  • weixin_39556853 weixin_39556853 2020-11-29 05:13

    Hello Yann! Thanks for your reply! I was thinking about something similar to Angular Tree, but adapted to Ionic. I have to admit that my poor skills doesn't allow me to contribute in the adaptation myself! But if you believe this should be part of your since library, then it would be awesome! For instance to embed to menus, or to link to a "move" button that would open a modal with the tree to select the destination where you move your object... As an example to move files, emails, etc in a specific directory. My specific use case that I have in mind is to move an organisation unit in a tree of org units in the platform called DHIS2, in the same way you move a file/folder in Google Drive for instance. Have a nice day! Pierre

    点赞 评论 复制链接分享
  • weixin_39728544 weixin_39728544 2020-11-29 05:13

    I don't believe an organization tree is an appropriate pattern for mobile. Consult material design, see how google drive moves files/folders, or even how Dropbox does it. I'll upload an example soon: it'll be a modal that has its own navigation control.

    Cory McArthur

    On Jul 8, 2017, at 3:32 PM, plmercereau wrote:

    Hello Yann! Thanks for your reply! I was thinking about something similar to Angular Tree, but adapted to Ionic. I have to admit that my poor skills doesn't allow me to contribute in the adaptation myself! But if you believe this should be part of your since library, then it would be awesome! For instance to embed to menus, or to link to a "move" button that would open a modal with the tree to select the destination where you move your object... As an example to move files, emails, etc in a specific directory. My specific use case that I have in mind is to move an organisation unit in a tree of org units in the platform called DHIS, in the same way you move a file/folder in Google Drive for instance. Have a nice day! Pierre

    — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

    点赞 评论 复制链接分享
  • weixin_39728544 weixin_39728544 2020-11-29 05:13

    See this example in my pull request: https://github.com/yannbf/ionic3-components/pull/39

    点赞 评论 复制链接分享
  • weixin_39556853 weixin_39556853 2020-11-29 05:13

    Hello Cory, Your example seems pretty nice! The google drive / dropbox way to do is indeed more appropriate for mobile - it will be very helpful. By the way congrats for your Ionic hackathon prize - your may the 4th app is very inspiring.

    点赞 评论 复制链接分享
  • weixin_39848097 weixin_39848097 2020-11-29 05:13

    Hey , thank you!! The app served its purpose then :)

    So, as mentioned, he created an amazing example which is already integrated at master. Take a look at the "Modal with Navigation" section under the side menu!

    点赞 评论 复制链接分享

相关推荐