matrix-org / matrix-org/matrix-widget-api
Improve `[PostmessageTransport]` logging
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 95
- Forks
- 24
- Avg merge
- 16h 16m
- Merged PRs (30d)
- 1
Description
This line will just print the object but in the actual logs this object is not serialized (in playwright this makes it hard to debug)
`console.log(`[PostmessageTransport] Sending object to ${this.targetOrigin}: `, message);`
we should add at least the action type as a string to the log.
@BillCarsonFr
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the PostmessageTransport logging call that prints the message object, and inspect how messages expose their action type. Update the log so the action type is visible as text in Playwright logs, then run the relevant existing checks to confirm the logging output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100