oracle-samples / oracle-samples/ofs-plugin-core
"iconData" is not updating image.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
"iconData" is not updating image.
can you please provide a sample for icon change on close message.
apiVersion: 1,
method: "close",
iconData: {
color: "highlight",
text: "117",
image: new Blob([icon], {
type: "image/svg+xml",
}),
},
I am getting error below
{
"apiVersion": 1,
"method": "error",
"entity": "activityList",
"errors": [
{
"type": "TYPE_ICON_DATA",
"code": "CODE_ICON_BLOB_INVALID"
}
]
}
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
Start by tracing how close messages and the iconData.image Blob are validated in the Oracle Field Service plugin API, using TYPE_ICON_DATA and CODE_ICON_BLOB_INVALID as search terms. Confirm the accepted image format and provide or validate a working icon-change example for the close message.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100