| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Freshdesk app for TechCorp Solutions that surfaces B2B customer health scores in the ticket sidebar and full-page app using Platform 3.0 instance methods.
TechCorp CSMs need account health tiers visible while working tickets. This app demonstrates parent/child instance coordination — modal health reviews, dialog escalation notes, and cross-instance messaging. See usecase.md for the full TechCorp operational scenarios.
| Surface | Placement | Behavior |
|---|---|---|
| app/index.html | support_ticket.ticket_sidebar | Health badge, open modal/dialog |
| app/index.html | service_ticket.ticket_sidebar | Same health UI on Freshservice |
| app/index.html | common.full_page_app | Portfolio health dashboard |
| app/index.html | sales_account.sales_account_entity_menu | Account-level health view |
| app/index.html | chat_conversation.conversation_user_info | Health context in chat |
| app/modal.html | Modal / dialog child instance | Health form; sends tier to parent |
client.instance.resize({ height: '400px' });
client.instance.receive(function (event) { /* healthTier update */ });
childClient.instance.send({ message: { healthTier, notes } });
childClient.instance.close();client.interface.trigger('showModal', { template: 'modal.html', data: {...} }) opens the health review form. showDialog demonstrates a lighter escalation surface.
One codebase deploys across support_ticket, service_ticket, sales_account, chat_conversation, and common.full_page_app.
The app uses Freshworks Crayons v4 design system:
| Component | Usage |
|---|---|
| <fw-label> | Health tier badge (color-coded) |
| <fw-button> | Open health review, escalation note, form actions |
| <fw-form> / <fw-select> | Modal health assessment form |
| <fw-textarea> | CSM notes in modal |
| Layer | Role |
|---|---|
| app/index.html | Parent UI — badge + actions |
| app/modal.html | Child instance — health form |
| app/scripts/app.js | Instance API orchestration |
Placements: full_page_app, ticket_sidebar (support + service), sales_account_entity_menu, conversation_user_info.
instance-method-samples/ ├── app/ │ ├── index.html # Parent — badge + modal/dialog triggers │ ├── modal.html # Child — health form + instance.send │ ├── scripts/app.js │ └── styles/ ├── config/ │ └── iparams.json # Empty — no install params required ├── manifest.json ├── usecase.md └── README.md
Enable global apps before local development:
fdk config set global_apps.enabled truefdk validate
fdk runfdk validateReset local state when re-testing instance messaging:
rm .fdk/store.sqlite
fdk runSee usecase.md for industry scenarios.
| Back | FazBrowse Home | New Git URL |