Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • C catalog.genesys-pgr.org
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 13
    • Issues 13
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Genesys PGR
  • Genesys Catalog
  • catalog.genesys-pgr.org
  • Issues
  • #172
Closed
Open
Created Jan 16, 2018 by Matija Obreza@mobrezaOwner

Configurable descriptor Card

Make the Descriptor Card configurable by adding flags to the <DescriptorCard that control display of specific elements.

  • textLength=200 would trim description to 200 characters
  • owner will force display of owner information
  • crop
  • vocabulary
  • classification
  • version
  • dataType

The component should have two preset modes: complete and brief. The complete mode sets all flags to true, while brief sets most flags to false. The mode should default to full.

Then each flag provided to the component toggles the state of the mode: When in complete mode and providing owner like this <DescriptorCard full owner descriptor={ d } /> it would include all information, but toggle the owner to false.

Assignee
Assign to
Time tracking