GithubHelp home page GithubHelp logo

Comments (5)

Martijn-Bos avatar Martijn-Bos commented on July 19, 2024

Where would this feature be possible to implement? There is a significant possibility in scope.

from chandler.

phorcys420 avatar phorcys420 commented on July 19, 2024

Where would this feature be possible to implement? There is a significant possibility in scope.

Hello, sorry, I don't understand your question.
Can you maybe elaborate on what you mean ?

from chandler.

Martijn-Bos avatar Martijn-Bos commented on July 19, 2024

If I correctly understand there would be a set amount of possible templating tags that are transformable
%contact_id% - id of contact.
%gift_description% - description of a gift.
%address_id% - id of address
%postal_code% - postal code

Wherever a string will be presented in the frontend and within the context of that page it is possible to figure out which contact, gift or address(etc) is actually meant, the tag will be transformed to the actual data.

If you're looking at a contact page of Mahatma Gandhi, which has id 12 in your database it would be able to transform the following link:
https://somesite.com/%contact_id%/profile
Would become
https://somesite.com/12/profile

For a lot of templating there is a specific need for context for the tags that need to be filled. If you're on a contact index page, you can't fill any contact_id since Chandler is not able to know which exact contact is meant.

As the idea is awesome I am wondering where you'd want this to be available and where it would be interesting to implement - every extra added tag and page where tagging is possible would increase the time investment needed.

from chandler.

phorcys420 avatar phorcys420 commented on July 19, 2024

I don't think you understood it like I meant it.

if you go to /settings/personalize/contactInformationType on your chandler instance, you are able to add contact information types. (image)

Like that :

And that would format the link to be https://website.com/@/something/profile

In #459 I talked about something like adding in an "ID" field to the existing contact info stuff, that way you could distinguish name and ID.

from chandler.

Martijn-Bos avatar Martijn-Bos commented on July 19, 2024

I did indeed misunderstand. Seems like a great implementation.

from chandler.

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.