feat(uikit): add room to some other interaction contexts#39858
feat(uikit): add room to some other interaction contexts#39858
Conversation
Co-authored-by: d-gubert <[email protected]>
Co-authored-by: d-gubert <[email protected]>
Co-authored-by: d-gubert <[email protected]>
Co-authored-by: d-gubert <[email protected]> Agent-Logs-Url: https://github.com/RocketChat/Rocket.Chat/sessions/1d9fe17e-f376-436c-a62e-97a42942ac9e
Co-authored-by: d-gubert <[email protected]> Agent-Logs-Url: https://github.com/RocketChat/Rocket.Chat/sessions/1d9fe17e-f376-436c-a62e-97a42942ac9e
Co-authored-by: d-gubert <[email protected]> Agent-Logs-Url: https://github.com/RocketChat/Rocket.Chat/sessions/9124b5cb-6821-4135-a3ed-9ac62f9f0d24
Co-authored-by: d-gubert <[email protected]> Agent-Logs-Url: https://github.com/RocketChat/Rocket.Chat/sessions/4fce8021-7e0b-4eb1-8658-47de2f9629be
- Enhanced test app to support modal, contextual bar, and message surfaces - Added getAppLogs helper to e2e fixtures for fetching app logs - Updated installLocalTestPackage to return app data - Completed all 7 Playwright test cases validating room, user, triggerId, actionId, and container - Removed old non-applicable end-to-end test (uikit-room-context.ts) - Updated README documentation for the enhanced test app Co-authored-by: d-gubert <[email protected]> Agent-Logs-Url: https://github.com/RocketChat/Rocket.Chat/sessions/ec71feb5-1416-4b80-8e2f-b03c571ccef4
Co-authored-by: d-gubert <[email protected]> Agent-Logs-Url: https://github.com/RocketChat/Rocket.Chat/sessions/ec71feb5-1416-4b80-8e2f-b03c571ccef4
Opening a contextual bar via the Apps Engine triggers a client-side
URL navigation (to /channel/{room}/app/{viewId}). Calling waitFor on
a locator while this navigation is still in progress causes Playwright
to throw "Target page, context or browser has been closed".
Add page.waitForURL(/\/app\//) after dispatching the contextual bar
slash command in all three contextual bar tests to ensure the
navigation completes before any locator operations.
Co-authored-by: d-gubert <[email protected]>
Agent-Logs-Url: https://github.com/RocketChat/Rocket.Chat/sessions/1998ca62-abf1-478a-835c-d3ea1053d273
|
Looks like this PR is not ready to merge, because of the following issues:
Please fix the issues and try again If you have any trouble, please check the PR guidelines |
🦋 Changeset detectedLatest commit: 4c13525 The changes in this PR will be included in the next version bump. This PR includes changesets to release 42 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Proposed changes (including videos or screenshots)
This pull request enhances the contextual bar UI Kit integration by ensuring the room ID (rid) is consistently included and handled throughout the UI interaction flow. This allows the backend to associate UI Kit interactions with the correct room context, enabling more context-aware app behaviors.
Issue(s)
CORE-1264
Steps to test or reproduce
Further comments