Welcome to mirror list, hosted at ThFree Co, Russian Federation.

discussion.js « mock_data « design_management « frontend « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0e59ef29f8f511932345028aa2fbe262f6ae2c62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
export default {
  id: 'discussion-id-1',
  resolved: false,
  resolvable: true,
  notes: [
    {
      id: 'note-id-1',
      index: 1,
      position: {
        height: 100,
        width: 100,
        x: 10,
        y: 15,
      },
      author: {
        name: 'John',
        webUrl: 'link-to-john-profile',
      },
      createdAt: '2020-05-08T07:10:45Z',
      userPermissions: {
        repositionNote: true,
      },
      resolved: false,
    },
    {
      id: 'note-id-3',
      index: 3,
      position: {
        height: 50,
        width: 50,
        x: 25,
        y: 25,
      },
      author: {
        name: 'Mary',
        webUrl: 'link-to-mary-profile',
      },
      createdAt: '2020-05-08T07:10:45Z',
      userPermissions: {
        adminNote: true,
      },
      resolved: false,
    },
  ],
};