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

add action to Group Info Row #51

Open
aidinte opened this issue Jul 2, 2024 · 2 comments
Open

add action to Group Info Row #51

aidinte opened this issue Jul 2, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@aidinte
Copy link

aidinte commented Jul 2, 2024

سلام
خیلی خوب می‌شه که Group Row Info بتونه علاوه بر title و value پارامتر action رو هم پشتیبانی کنه.


{
    "widget_type": "GROUP_INFO_ROW",
    "data": {
        "@type": "type.googleapis.com/widgets.GroupInfoRow",
        "items": [
            {
                "title": "متن اول",
                "value": "مقدار اول"
            },
            {
                "title": "متن دوم",
                "value": "مقدار دوم"
            },
            {
                "title": "متن سوم",
                "value": "مقدار سوم",
                "action": {
            "type": "LOAD_WEB_VIEW_PAGE",
            "fallback_link": "https://your.website.com",
            "payload": {
                "@type": "type.googleapis.com/widgets.LoadWebViewPagePayload",
                "url": "https://your.website.com"
                }
            }
            }
        ],
        "has_divider": true
    }
}
@loreanvictor loreanvictor added the enhancement New feature or request label Jul 2, 2024
@ehsundar
Copy link
Contributor

ehsundar commented Jul 8, 2024

ایده زیبایی هست. ولی به نظر شما چطوری میشه کاربر رو راهنمایی کرد که این بخش از افزونه قابل کلیک شدنه؟ به نظرم فعلا میشه کار رو با یه سلکتور جلو برد تا در مورد این صحبت کنیم

شاید @saeedalipoor بتونه در این مورد کمک کنه بهمون

image

@saeedalipoor
Copy link
Collaborator

این رو یه بررسی می‌کنیم که اگه افوردنس کلیکش خوبه و کلیک می‌گیره بدون تغییر ظاهری اضافه کنیم اکشن رو بهش. که البته بازم بهتره برای اکشن‌های حیاتی بهش تکیه نشه.
همچنین با کمی تغییر ظاهری همی می‌شه این حس قابل کلیک بودن رو به کاربر داد، که اون رو هم بررسی می‌کنیم.

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

No branches or pull requests

4 participants