Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'View Messages' intent #768

Closed
symphony-jean-michael opened this issue Jun 28, 2022 · 1 comment · Fixed by #994
Closed

'View Messages' intent #768

symphony-jean-michael opened this issue Jun 28, 2022 · 1 comment · Fixed by #994
Labels
Context Data & Intents Contexts & Intents Discussion Group enhancement New feature or request
Milestone

Comments

@symphony-jean-michael
Copy link
Contributor

symphony-jean-michael commented Jun 28, 2022

Enhancement Request

Use Case:

Users may want to search and see some messages. A list of messages will be displayed to the user.

Intents

ViewMessages

The proposal is to support a new intent ViewMessages to search messages.

Intent name: ViewMessages
Display Name: View Messages

Context

This intent could take as context:

Context: Instrument

This shows messages containing a given ticker. (Like '$AAPL')

Example
const instrument = {
    type: "fdc3.instrument",
    id: {
        ticker: "AAPL"
    }
}

fdc3.raiseIntent('ViewMessages', instrument);

Context: Contact

This shows messages from a specific contact.

Example
const contact = {
    type: "fdc3.contact",
    name: "Jane Doe",
    id: {
        email: "jane.doe@mail.com"
    }
}

fdc3.raiseIntent('ViewMessages', contact);

Context: Contact

This shows messages from a specific organization.

Example
const organization = {
    type: "fdc3.organization",
    name: "Symphony"
}

fdc3.raiseIntent('ViewMessages', organization);

Context: Tag

This shows messages containing a specific tag.

Example
const searchTag = {
    type: "fdc3.chat.searchCriteria",
    tag: '#OrderID45788422'
}

fdc3.raiseIntent('ViewMessages', searchTag);

Additional Information

Maybe in the future, we will support a list of Intents/Contact/Organization/Tags. Out of scope for now.

@symphony-jean-michael symphony-jean-michael added Context Data & Intents Contexts & Intents Discussion Group enhancement New feature or request labels Jun 28, 2022
@kriswest kriswest added this to the 2.1-candidates milestone Jul 28, 2022
@symphony-jean-michael symphony-jean-michael changed the title [Draft] 'View Messages' intent 'View Messages' intent Aug 3, 2022
@mistryvinay mistryvinay linked a pull request Aug 24, 2022 that will close this issue
@robmoffat
Copy link
Member

Could we improve the documentation around this use case so that it covers why this needs to involve FDC3 interop? "A User may want to search messages" is achievable from within a single app (say Symphony)... so we need to be clear why and how users would use this from one app to another.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Context Data & Intents Contexts & Intents Discussion Group enhancement New feature or request
Projects
None yet
3 participants