Coder Social home page Coder Social logo

expand contact model about ghini.desktop HOT 11 CLOSED

ghini avatar ghini commented on July 20, 2024
expand contact model

from ghini.desktop.

Comments (11)

mfrasca avatar mfrasca commented on July 20, 2024

@tmyersdn, could you spend a couple more words about the above?

email address, that's clear, but a flag for receipt of seed list, how would you use this?

from ghini.desktop.

mfrasca avatar mfrasca commented on July 20, 2024

actually, "how would you use that", the same question applies to email address, why would you need a separate field when you have a multiline description field?
just asking, and trying to avoid work that is not necessary.

from ghini.desktop.

tmyersdn avatar tmyersdn commented on July 20, 2024

Hi Mario, I will reply to the questions above under new issues,

Can you help me understand: what is a "contact", is this a source from the accessions table? Or is it something else?

from ghini.desktop.

mfrasca avatar mfrasca commented on July 20, 2024

in terms of the Bauble/Ghini database structure, a "Contact" is not a Source, it's a SourceDetail.
in ITF2 terms, it's a Donor

from ghini.desktop.

tmyersdn avatar tmyersdn commented on July 20, 2024

from a user viewpoint, is this seen as the "source details" window that opens when you click on "new" source in the accessions source tab?

from ghini.desktop.

mfrasca avatar mfrasca commented on July 20, 2024

yes, that is it. you can get to the same window by following Insert→Contact from the main menu.

from ghini.desktop.

tmyersdn avatar tmyersdn commented on July 20, 2024

ah, okay, I am on Bauble 1.0.55, that option is not there. Yes, I would like to move to Ghini, I will do that as soon as time permits this week.

from ghini.desktop.

mfrasca avatar mfrasca commented on July 20, 2024

I think I will commit changes into bauble-1.0 as well, and anyhow, 1.0.56 is not out yet so you would not find it in ghini-1.0 either.

from ghini.desktop.

tmyersdn avatar tmyersdn commented on July 20, 2024

just a note on ITF2: Donor. - I would feel pretty uncomfortable including email addresses or peoples names in Donor for export to BGCI.

from ghini.desktop.

mfrasca avatar mfrasca commented on July 20, 2024

I see your concern; what about a private flag so you can inform the reporting script not to include the donor?
we already have this in accessions, not that I know of any reporting script acknowledging it.

    # ITF2 - E6 - Donor
    name = Column(Unicode(75), unique=True)
    # extra description, not included in E6
    description = Column(UnicodeText)
    # ITF2 - E5 - Donor Type Flag
    source_type = Column(types.Enum(values=[i[0] for i in source_type_values],
                                    translations=dict(source_type_values)),
                         default=None)

but anyway you decide what and if to export, not the software. the software just helps you do that.

from ghini.desktop.

tmyersdn avatar tmyersdn commented on July 20, 2024

That sounds good, but note, this is probably a minor concern for BGCI reports. At present BGCI just asks for taxonomy fields not all the extended data fields like donor.

But it probably makes sense to include a private flag just to because privacy is an issue.

Also, I think having an separate email field will mean that email addresses are kept out of the "donor" description field.

from ghini.desktop.

Related Issues (20)

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.