GithubHelp home page GithubHelp logo

tripal / tripald3 Goto Github PK

View Code? Open in Web Editor NEW
3.0 5.0 4.0 1.19 MB

provides an API for developing consistent biological diagrams with a common configuration, as well as, providing some common diagrams such as pie, bar, column and pedigree diagrams.

Home Page: https://www.drupal.org/project/tripald3

License: GNU General Public License v2.0

CSS 1.10% PHP 36.61% JavaScript 62.29%
tripal d3js api visualization tripal3-compatible

tripald3's Introduction

alt tag

Tripal 4 (Drupal 10)

               _   _                 _____                 _                                  _
     /\       | | (_)               |  __ \               | |                                | |
    /  \   ___| |_ ___   _____      | |  | | _____   _____| | ___  _ __  _ __ ___   ___ _ __ | |_
   / /\ \ / __| __| \ \ / / _ \     | |  | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __|
  / ____ \ (__| |_| |\ V /  __/     | |__| |  __/\ V /  __/ | (_) | |_) | | | | | |  __/ | | | |_
 /_/    \_\___|\__|_| \_/ \___|     |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__|
                                                                  | |
                                                                  |_|

Compatibility

Target Drupal Version 10.2.x-dev

Tested on PostgreSQL 13 + PostgreSQL 16

Drupal 10.2.x 10.3.x
PHP 8.1 Grid81-102-Badge Grid81-103-Badge
PHP 8.2 Grid82-102-Badge Grid82-103-Badge
PHP 8.3 Grid83-102-Badge Grid83-103-Badge

Code Coverage

This project uses Code Climate to determine the quality of our codebase and the coverage of our test suite. Compatibility above is based on passing of this test suite.

Test Coverage

Maintainability

Current Timeline

Required for Tripal 4.alpha3 Release

  • Display suite / page work
  • Importers: Publications
  • Search (ElasticSearch + Views)

How to get involved!

This upgrade to Drupal 10 is a community effort. As such, we NEED YOUR HELP!

  • To get involved, please join our Tripal Slack and comment in the #core-dev channel.
    • Alternatively, feel free to contact Lacey-Anne Sanderson through Slack direct message.
    • We can use help both with programming, documentation, outreach and welcome all individuals from all backgrounds!
  • We prefer automated testing for all Pull Requests (PRs) and are happy to guide you through the process!
    • Just comment on the issue if you need help designing tests
    • If you need help implementing tests see our documentation
  • If more documentation would be helpful, please create an issue here and we'll add it.

Documentation

Documentation for Tripal 4 has begun on ReadtheDocs.

Tripal Docker

Tripal Docker is currently focused on Development and Automated Testing. There will be a production focused Tripal Docker soon and if you're interested in helping or providing tips -please join us on our Slack channel!

For more information about how to use our fully functional development docker, see our documentation on ReadtheDocs!

tripald3's People

Contributors

laceysanderson avatar marceylewin avatar nicherndon avatar reynoldtan avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

tripald3's Issues

error on install: undefined function libraries_get_libraries

drush pm-enable -y tripald3
WD php: Error: Call to undefined function libraries_get_libraries() in tripald3_requirements() (line 71 of     [error]
/Users/bc/tripal/sites/all/modules/tripald3/tripald3.install).
Error: Call to undefined function libraries_get_libraries() in tripald3_requirements() (line 71 of /Users/bc/tripal/sites/all/modules/tripald3/tripald3.install).
Drush command terminated abnormally due to an unrecoverable error.

looks like libraries should be declared as a dependency

edit- i . see that it is listed as a requirement. Perhaps because you use a function in hte .install? i dunno.

You list in the README so probably OK to just close this issue.

Upgrade to Tripal 4 + Drupal 9

Work on this has been begun by @reynoldtan on branch 9.x-2.x. We have a PR open #14 for testing of the current upgrade and would appreciate feedback on this issue or the PR if you are interested in using this module for Tripal 4.

THIS ISSUE SHOULD NOT BE CLOSED UNTIL

  • Tripal 4 stable is released
  • 9.x-2.x branch is made the default branch
  • all documentation has been upgraded to the Drupal 9 / Tripal 4 / Tripal D3 2.x

Example charts

Could anyone provide an example on how to use tripal3d to make eg bar chart?

Pedigree relationship tooltips are not always correctly ordered

Some of the relationship tooltips are not formed correctly. For example, in the following screenshot the tooltip should read CDC Impulse is_registered_cultivar_of IBC 479. I have checked the database + relationship fields which do have the relationship in the correct order thus the problem is with the pedigree js code in this library.
Screen Shot 2022-08-25 at 9 44 13 AM

Make Tripal v3 compatible

This module should be made into a d3.js api for Tripal. All diagrams should perhaps move to other modules.

Few minor issues in pedigree tree

  • Relationship not showing
  • Only finding links for content with same Tripal content types as the root
  • Nodes linking to # - top page
  • Left border of top container box (for figure key legend) missing

Colours re-used if more then 10+ categories

If there are more categories then colours, the colours are re-used. This may be the expected behaviour but causes unreadable charts... Should we add cross-hatching or some-such in this case?
screen shot 2017-12-27 at 6 57 50 pm

Key spills off bottom of SVG

If there are too many categories for a chart to fit within the height specified, they simply get cut off. I'm not sure what we want the default to be. Should the SVG grow to fit the expanded key? This could throw off layouts... Should the key become two columns? There many not be room for this either.
screen shot 2017-12-27 at 6 57 50 pm

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.