ProfileType

ProfileType is an individual element or module that make up the profile. Each profile type is uniquely identified and characterised by various fields that determine its behaviour and appearance.


ProfileType Database Table Structure

ProfileType represents the overarching category or classification of a profile. It defines the primary characteristics and settings that apply to the profile as a whole. Understanding the structure and purpose of each field helps in efficiently configuring and managing profile types in the application.

The PostgreSQL table ProfileType consists of the following fields:

  • id (Integer):

    The unique identifier for the profile type. It is used as the primary key to uniquely identify each profile type within the table.

    Example: 1, 2, 3, etc.

  • type (String):

    The name or designation of the profile type. It serves as a label to easily identify the profile type. It is often used as the abbreviation or short form of the profile type.

    Example: genomics, dtol, dtolenv, asg, erga, test, etc.

  • description (String):

    A detailed description of the profile type. It provides a comprehensive understanding of what the profile type represents and its scope.

    Example:

    • Genomics: A profile that operates independently.

    • Darwin Tree of Life (DTOL): A profile related to the DToL project.

    • Darwin Tree of Life Environmental Samples (DTOLENV): A profile for environmental samples within the DTOLENV project.

    • Aquatic Symbiosis Genomics (ASG): A profile related to the ASG project.

    • European Reference Genome Atlas (ERGA): A profile related to the ERGA project.

    • Test New Profile: A profile for testing purposes.

  • widget_colour (String):

    The colour associated with the profile type, used for UI elements. It enhances the visual distinction and user interface by providing a specific colour for each profile type.

    Example:

    • #009c95 (cyan)

    • #16ab39 (green)

    • #fb7d0d (orange)

    • #5829bb (purple)

    • #E61A8D (magenta)

    • violet

  • is_dtol_profile (Boolean):

    Indicates whether the profile type is related to the DToL project. It helps in categorising and filtering profiles that are part of the DToL project.

    Example:

    • t (true): The profile is part of the DToL project.

    • f (false): The profile is not part of the DToL project.

  • is_permission_required (Boolean):

    Indicates whether permissions are required to access this profile type. It ensures that sensitive or restricted profiles are only accessible by authorised users.

    Example:

    • t (true): Permissions are required to access the profile

    • f (false): No special permissions are required to access the profile

Hint

Click the collapsible-item-arrow button below to view the contents

ProfileType database fields and records
 id |   type   |                     description                     | widget_colour | is_dtol_profile | is_permission_required
----+----------+-----------------------------------------------------+---------------+-----------------+------------------------
  1 | genomics | Stand-alone                                         | #009c95       | f               | f
  2 | dtol     | Darwin Tree of Life (DTOL)                          | #16ab39       | t               | t
  3 | dtolenv  | Darwin Tree of Life Environmental Samples (DTOLENV) | #fb7d0d       | t               | t
  4 | asg      | Aquatic Symbiosis Genomics (ASG)                    | #5829bb       | t               | t
  5 | erga     | European Reference Genome Atlas (ERGA)              | #E61A8D       | t               | t
  6 | test     | Test New Profile                                    | violet        | f               | t

Usage of ProfileType

Please check back soon for more information on how to use the profile type in the project.


Visualisation of ProfileType in Project

Work Profiles web page where desired profile type can be chosen to be created from the dropdown menu

Work Profiles web page: Dropdown menu where desired profile type can be chosen to be created

Profile types shown as dropdown menu options on the Work Profiles web page

Work Profiles web page: Dropdown menu options of profile types that can be created

A grid of created profiles on the Work Profiles web page

Work Profiles web page: A grid of created profiles