Title: Add presence tracking support · Issue #85 · base44/javascript-sdk · GitHub
Open Graph Title: Add presence tracking support · Issue #85 · base44/javascript-sdk
X Title: Add presence tracking support · Issue #85 · base44/javascript-sdk
Description: Summary Implement presence tracking functionality to allow apps to track which users are currently online/active. Background Presence tracking enables real-time awareness of user activity within an app. This is useful for: Showing online...
Open Graph Description: Summary Implement presence tracking functionality to allow apps to track which users are currently online/active. Background Presence tracking enables real-time awareness of user activity within an...
X Description: Summary Implement presence tracking functionality to allow apps to track which users are currently online/active. Background Presence tracking enables real-time awareness of user activity within an...
Opengraph URL: https://github.com/base44/javascript-sdk/issues/85
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add presence tracking support","articleBody":"## Summary\nImplement presence tracking functionality to allow apps to track which users are currently online/active.\n\n## Background\nPresence tracking enables real-time awareness of user activity within an app. This is useful for:\n- Showing online/offline status\n- Collaborative features\n- Active user indicators\n\n## Proposed API\n\n```typescript\ninterface PresenceUser {\n id: string;\n email?: string;\n // Additional presence metadata\n}\n\ntype PresenceCallback = (users: PresenceUser[]) =\u003e void;\n\n// New presence module\nbase44.presence.subscribe(callback: PresenceCallback): Subscription;\n```\n\n## Usage Example\n\n```typescript\nconst unsubscribe = base44.presence.subscribe((users) =\u003e {\n console.log('Online users:', users);\n setOnlineUsers(users);\n});\n```\n\n## Implementation Details\n\n### Files to create/modify:\n- `src/modules/presence.ts` - New module for presence functionality\n- `src/modules/presence.types.ts` - Type definitions\n- `src/client.ts` - Add presence module to client\n- `src/index.ts` - Export presence types\n\n### Socket Integration:\n- Hook into existing socket join events\n- Room naming: `presence:{appId}` or similar\n- Listen for user join/leave events\n\n## Status\nTBD - Pending backend implementation details\n\n## Related\n- Depends on backend presence tracking implementation","author":{"url":"https://github.com/guyofeck","@type":"Person","name":"guyofeck"},"datePublished":"2026-01-22T19:49:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/85/javascript-sdk/issues/85"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9d2040a6-f942-f3a8-844f-b5e138ee1fed |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B0EE:21A061:2DCE68:3E15EC:6A4C215C |
| html-safe-nonce | 2b31182bd054eda595b928c9b2eedae7d81367d018d243931ff9614a2568e59f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMEVFOjIxQTA2MToyRENFNjg6M0UxNUVDOjZBNEMyMTVDIiwidmlzaXRvcl9pZCI6IjQ5NDc1NzI3MjI1NzkwODEyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f6f5cad04fba91ca3bfc7523c39be6bd19ce59d666805a2bf4488a66b390178c |
| hovercard-subject-tag | issue:3844491033 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/base44/javascript-sdk/85/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3be30ce7ea47cbb3696f419410b8232a43291f6fd5dd27f9bcff6e87f5dced19/base44/javascript-sdk/issues/85 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3be30ce7ea47cbb3696f419410b8232a43291f6fd5dd27f9bcff6e87f5dced19/base44/javascript-sdk/issues/85 |
| og:image:alt | Summary Implement presence tracking functionality to allow apps to track which users are currently online/active. Background Presence tracking enables real-time awareness of user activity within an... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | guyofeck |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1b6b16d04026f131a36d57e3b01d0f4d26a51800edf48bf5ed0256e0ac905511 |
| turbo-cache-control | no-preview |
| go-import | github.com/base44/javascript-sdk git https://github.com/base44/javascript-sdk.git |
| octolytics-dimension-user_id | 234699998 |
| octolytics-dimension-user_login | base44 |
| octolytics-dimension-repository_id | 939374418 |
| octolytics-dimension-repository_nwo | base44/javascript-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 939374418 |
| octolytics-dimension-repository_network_root_nwo | base44/javascript-sdk |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f95fb36c72adc940ff991c03531114b2245658d0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width