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

feat: render adaptive cards #2746

Open
wants to merge 40 commits into
base: next/mgt-chat
Choose a base branch
from
Open

feat: render adaptive cards #2746

wants to merge 40 commits into from

Commits on Oct 3, 2023

  1. Add adaptive cards and markdownit to render md

    Signed-off-by: Musale Martin <martinmusale@microsoft.com>
    musale committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    3427a73 View commit details
    Browse the repository at this point in the history
  2. Render adaptive cards in a chat

    Signed-off-by: Musale Martin <martinmusale@microsoft.com>
    musale committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    69abaed View commit details
    Browse the repository at this point in the history
  3. Render only Action.OpenUrl type of cards

    Signed-off-by: Musale Martin <martinmusale@microsoft.com>
    musale committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    2134f17 View commit details
    Browse the repository at this point in the history
  4. Add types for markdown-it

    Signed-off-by: Musale Martin <martinmusale@microsoft.com>
    musale committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    a6c449d View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2023

  1. Configuration menu
    Copy the full SHA
    84b898d View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2023

  1. WIP: redo rendering the cards from the state to the chat component

    Signed-off-by: Martin Musale <martinmusale@microsoft.com>
    musale committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    7594315 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2023

  1. Configuration menu
    Copy the full SHA
    b04905b View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2023

  1. Configuration menu
    Copy the full SHA
    c56bc11 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    39d26a5 View commit details
    Browse the repository at this point in the history
  3. Merge chat.tsx to onRenderMessage.tsx'

    Signed-off-by: Martin Musale <martinmusale@microsoft.com>
    musale committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    9e44636 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2023

  1. Fine tune the adaptive cards rendered

    Signed-off-by: Martin Musale <martinmusale@microsoft.com>
    musale committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    c6ac564 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2023

  1. Remove unnecessary assertions

    Signed-off-by: Martin Musale <martinmusale@microsoft.com>
    musale committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    6c137c4 View commit details
    Browse the repository at this point in the history
  2. Fix naming and imports issues

    Signed-off-by: Martin Musale <martinmusale@microsoft.com>
    musale committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    4379e2f View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2023

  1. Update the artifacts

    musale committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    03da770 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    992c356 View commit details
    Browse the repository at this point in the history
  3. Render multiple cards in a message and clear div before append

    Signed-off-by: Martin Musale <martinmusale@microsoft.com>
    musale committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    deb0051 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2023

  1. Add react-components to the mgt-chat package

    Signed-off-by: Martin Musale <martinmusale@microsoft.com>
    musale committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    d18846d View commit details
    Browse the repository at this point in the history
  2. Add ChatMessage and ChatMyMessage as wrappers around adaptive card me…

    …ssages
    
    Signed-off-by: Martin Musale <martinmusale@microsoft.com>
    musale committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    062cc3c View commit details
    Browse the repository at this point in the history
  3. Add the chat message header props with styling

    Signed-off-by: Martin Musale <martinmusale@microsoft.com>
    musale committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    0789365 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    726cd3d View commit details
    Browse the repository at this point in the history
  5. Add copyright header text on new files

    Signed-off-by: Martin Musale <martinmusale@microsoft.com>
    musale committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    dd13a48 View commit details
    Browse the repository at this point in the history
  6. Update the string descriptions and fix tests

    Signed-off-by: Martin Musale <martinmusale@microsoft.com>
    musale committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    bfe432d View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2023

  1. Add adaptivecards-designer

    Signed-off-by: Martin Musale <martinmusale@microsoft.com>
    musale committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    b12f680 View commit details
    Browse the repository at this point in the history
  2. Add teams light as the default CSS styling

    Signed-off-by: Martin Musale <martinmusale@microsoft.com>
    musale committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    8a20450 View commit details
    Browse the repository at this point in the history
  3. Add styling for my chat messages

    Signed-off-by: Martin Musale <martinmusale@microsoft.com>
    musale committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    a38da05 View commit details
    Browse the repository at this point in the history
  4. Add message details prop to the container

    Signed-off-by: Martin Musale <martinmusale@microsoft.com>
    musale committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    47af024 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2023

  1. WIP: set icons for status

    Signed-off-by: Martin Musale <martinmusale@microsoft.com>
    musale committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    28d56e9 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2023

  1. Configuration menu
    Copy the full SHA
    afebe03 View commit details
    Browse the repository at this point in the history
  2. Fix tests for displayDates

    Signed-off-by: Martin Musale <martinmusale@microsoft.com>
    musale committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    740d3dd View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2023

  1. Move Mgt adaptive cards component to it's pwn file

    Signed-off-by: Martin Musale <martinmusale@microsoft.com>
    musale committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    30e12d7 View commit details
    Browse the repository at this point in the history
  2. Move message container to it's own file

    Signed-off-by: Martin Musale <martinmusale@microsoft.com>
    musale committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    3b7562f View commit details
    Browse the repository at this point in the history
  3. WIP: find icons

    Signed-off-by: Martin Musale <martinmusale@microsoft.com>
    musale committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    87d3f0a View commit details
    Browse the repository at this point in the history
  4. Revert to default rendering for the uncustomized messages

    Signed-off-by: Martin Musale <martinmusale@microsoft.com>
    musale committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    a84a063 View commit details
    Browse the repository at this point in the history
  5. Remove displayDates util and use utils in mgt-component

    Signed-off-by: Martin Musale <martinmusale@microsoft.com>
    musale committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    cad5fc7 View commit details
    Browse the repository at this point in the history
  6. Add tests for getRelativeDisplayDate

    Signed-off-by: Martin Musale <martinmusale@microsoft.com>
    musale committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    5f13cc3 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2023

  1. Configuration menu
    Copy the full SHA
    7f7dab1 View commit details
    Browse the repository at this point in the history
  2. Move MgtMessageContainer to it's own file

    Use dangerouslySetInnerHTML in the html and richtext/html content types
    
    Signed-off-by: Martin Musale <martinmusale@microsoft.com>
    musale committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    cd86198 View commit details
    Browse the repository at this point in the history
  3. WIP: render emojis

    Signed-off-by: Martin Musale <martinmusale@microsoft.com>
    musale committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    ea55ed4 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'adaptive-cards' of github.com:microsoftgraph/microsoft-…

    …graph-toolkit into adaptive-cards
    musale committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    fe88388 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2023

  1. Configuration menu
    Copy the full SHA
    ce90d31 View commit details
    Browse the repository at this point in the history