Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend the Pin configuration to support different pin shapes #5376

Open
carmenfan opened this issue Jan 29, 2025 · 0 comments
Open

Extend the Pin configuration to support different pin shapes #5376

carmenfan opened this issue Jan 29, 2025 · 0 comments
Assignees
Labels

Comments

@carmenfan
Copy link
Member

carmenfan commented Jan 29, 2025

Description

Product issue: https://github.com/3drepo/3D-Repo-Product-Team/issues/268

We want the ability for the user to depict which pin shape to use base on the configuration in the template.

In #4340 we've added support for customisable pin colouring in the configuration. We want to extend the schema to support changing the shape.

To define a default pin type in the template:

{
  name: "Ticket template #1", 
  config : {
    pin: {
      icon: "RISK"
    }
  }
}

To define a custom pin property with a particular type in the template:

{
   //...
   properties: [
      { 
         name: "custom pin",
         type: "coords",
         icon: "ISSUE"
      }
   
   ]
}

Notes

  • pin type could be DEFAULT, RISK, ISSUE, MARKER
  • If it is not specified (i.e. does not have a pin config, or pin config does not contain the property type, it should use DEFAULT.

Goals

  • As a teamspace admin I want to be able to specify the pin type on new and existing templates
  • As a teamspace admin I want to be able to get this information from the template GET request

Tasks

TBD by the developer

Related Resources

MockUp : link to mockup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants