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

Suggestion: Add action buttons for FAQ questions #102

Open
GerardPaligot opened this issue Apr 23, 2024 · 2 comments
Open

Suggestion: Add action buttons for FAQ questions #102

GerardPaligot opened this issue Apr 23, 2024 · 2 comments

Comments

@GerardPaligot
Copy link

Sometimes, a question in the FAQ want to redirect the user somewhere (ticket office, code of conduct, agenda page, etc.). For every question in the FAQ, it could be great to be able to declare one or more action buttons and let the frontend apps use them.

image

image

Proposal output:

    {
        "id": "iWnuGsNxL9ZSh2WHGiKN",
        "order": 5,
        "question": "Comment devenir partenaires ?",
        "response": "Consultez tout d'abord notre dossier de partenariat, puis remplissez le formulaire sur l'outil CMS4Partners.",
        "actions": [
            {
                "order": 0,
                "label": "Dossier de partenariat",
                "url": "https://docs.google.com/presentation/d/e/2PACX-1vRf18ULorPCSXjc4FDy7hHUp2rYIDZNefrsE7OkiXUJaTY1bzTYcDJBnfVDuWHvggglIipco8GCND-2/pub"
            },
            {
                "order": 1,
                "label": "CMS4Partners",
                "url": "https://cms4partners.gdglille.org/#"
            }
        ]
    },
@HugoGresse
Copy link
Owner

It is already possible to use links in the Markdown, what you ask is to somewhat mark those links as Actions and facilitate the usage through the API?

@GerardPaligot
Copy link
Author

Links are well adapted for web applications but not for other kind of fronts.
But it could be possible to parse every question of the FAQ to extract these action buttons in the OpenPanner consumer side.
I leave it to you to judge the relevance of my suggestion.

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

No branches or pull requests

2 participants