Skip to content

Chat

Mark Harding requested to merge epic/chat into master

Ticket(s) / Related Merge Requests

Summary of Changes

Testing Considerations

{

    chatRoomList {
      edges {
        node {
          id
          roomType
        }
        messages {
           edges {
             node {
               id
               plainText
               sender {
                 node {
                   username
                 }
               }
               timeCreatedISO8601
               timeCreatedUnix
             }
           }
        }
        members {
          edges {
            node {
              username
            }
            role
            timeJoinedISO8601
            timeJoinedUnix
          }
        }
      }
    }

    chatMessages (roomGuid:  1) {
        edges {
          node {
            id
            plainText
            sender {
              node {
                username
              }
            }
            timeCreatedISO8601
            timeCreatedUnix
          }
        }
    }

    chatRoom (roomGuid: 1) {
      node {
        id
        roomType
      }
      messages {
           edges {
             node {
               id
               plainText
               sender {
                 node {
                   username
                 }
               }
             }
           }
        }
    }

    chatRoomMembers (roomGuid: 1) {
      edges {
        role
        node {
          username
        }
      }
    }
}
{
  "data": {
    "chatRoomList": {
      "edges": [
        {
          "node": {
            "id": "urn:chat:1609574819991392269",
            "roomType": "ONE_TO_ONE"
          },
          "messages": {
            "edges": [
              {
                "node": {
                  "id": "urn:chat:1609574819991392269-1609574819995586576",
                  "plainText": "Hello world",
                  "sender": {
                    "node": {
                      "username": "mark"
                    }
                  },
                  "timeCreatedISO8601": "2024-02-28T13:55:41+00:00",
                  "timeCreatedUnix": "1709128541"
                }
              }
            ]
          },
          "members": {
            "edges": [
              {
                "node": {
                  "username": "mark"
                },
                "role": "OWNER",
                "timeJoinedISO8601": "2024-02-28T13:55:41+00:00",
                "timeJoinedUnix": "1709128541"
              }
            ]
          }
        }
      ]
    },
    "chatMessages": {
      "edges": [
        {
          "node": {
            "id": "urn:chat:1-1609574820003975171",
            "plainText": "Hello world",
            "sender": {
              "node": {
                "username": "mark"
              }
            },
            "timeCreatedISO8601": "2024-02-28T13:55:41+00:00",
            "timeCreatedUnix": "1709128541"
          }
        }
      ]
    },
    "chatRoom": {
      "node": {
        "id": "urn:chat:1",
        "roomType": "ONE_TO_ONE"
      },
      "messages": {
        "edges": [
          {
            "node": {
              "id": "urn:chat:1-1609574820003975175",
              "plainText": "Hello world",
              "sender": {
                "node": {
                  "username": "mark"
                }
              }
            }
          }
        ]
      }
    },
    "chatRoomMembers": {
      "edges": [
        {
          "role": "OWNER",
          "node": {
            "username": "mark"
          }
        }
      ]
    }
  }
}

Deployment Considerations

Regression Scope

Platform Affected (web, mobile, etc)

Developer Testing Completed

Screenshots / Screen Recording

Does this impact

  • Localization
  • Dark/light mode
  • Guest mode

Definition of Done Checklist

  • The Acceptance Criteria has been met
  • Code is tested: Testing includes unit/spec, E2E/automated and manual testing
  • Merge requests description has been filled out

Merge request reports