@atlaskit/link-picker 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/cjs/browser.js +39 -0
  3. package/dist/cjs/index.js +13 -0
  4. package/dist/cjs/messages.js +112 -0
  5. package/dist/cjs/transformTimeStamp.js +55 -0
  6. package/dist/cjs/types.js +5 -0
  7. package/dist/cjs/ui/announcer.js +64 -0
  8. package/dist/cjs/ui/link-picker.js +611 -0
  9. package/dist/cjs/ui/link-search-list/index.js +102 -0
  10. package/dist/cjs/ui/link-search-list/styled.js +21 -0
  11. package/dist/cjs/ui/link-search-no-results/index.js +27 -0
  12. package/dist/cjs/ui/link-search-no-results/no-results.svg +38 -0
  13. package/dist/cjs/ui/list-item/index.js +103 -0
  14. package/dist/cjs/ui/list-item/styled.js +59 -0
  15. package/dist/cjs/ui/styled.js +32 -0
  16. package/dist/cjs/ui/text-input/index.js +116 -0
  17. package/dist/cjs/ui/text-input/styled.js +25 -0
  18. package/dist/cjs/url.js +104 -0
  19. package/dist/cjs/utils.js +27 -0
  20. package/dist/cjs/version.json +5 -0
  21. package/dist/es2019/browser.js +34 -0
  22. package/dist/es2019/index.js +1 -0
  23. package/dist/es2019/messages.js +103 -0
  24. package/dist/es2019/transformTimeStamp.js +41 -0
  25. package/dist/es2019/types.js +1 -0
  26. package/dist/es2019/ui/announcer.js +38 -0
  27. package/dist/es2019/ui/link-picker.js +499 -0
  28. package/dist/es2019/ui/link-search-list/index.js +60 -0
  29. package/dist/es2019/ui/link-search-list/styled.js +13 -0
  30. package/dist/es2019/ui/link-search-no-results/index.js +12 -0
  31. package/dist/es2019/ui/link-search-no-results/no-results.svg +38 -0
  32. package/dist/es2019/ui/list-item/index.js +88 -0
  33. package/dist/es2019/ui/list-item/styled.js +65 -0
  34. package/dist/es2019/ui/styled.js +28 -0
  35. package/dist/es2019/ui/text-input/index.js +99 -0
  36. package/dist/es2019/ui/text-input/styled.js +15 -0
  37. package/dist/es2019/url.js +88 -0
  38. package/dist/es2019/utils.js +13 -0
  39. package/dist/es2019/version.json +5 -0
  40. package/dist/esm/browser.js +34 -0
  41. package/dist/esm/index.js +1 -0
  42. package/dist/esm/messages.js +103 -0
  43. package/dist/esm/transformTimeStamp.js +41 -0
  44. package/dist/esm/types.js +1 -0
  45. package/dist/esm/ui/announcer.js +51 -0
  46. package/dist/esm/ui/link-picker.js +589 -0
  47. package/dist/esm/ui/link-search-list/index.js +88 -0
  48. package/dist/esm/ui/link-search-list/styled.js +8 -0
  49. package/dist/esm/ui/link-search-no-results/index.js +14 -0
  50. package/dist/esm/ui/link-search-no-results/no-results.svg +38 -0
  51. package/dist/esm/ui/list-item/index.js +90 -0
  52. package/dist/esm/ui/list-item/styled.js +37 -0
  53. package/dist/esm/ui/styled.js +16 -0
  54. package/dist/esm/ui/text-input/index.js +99 -0
  55. package/dist/esm/ui/text-input/styled.js +10 -0
  56. package/dist/esm/url.js +90 -0
  57. package/dist/esm/utils.js +13 -0
  58. package/dist/esm/version.json +5 -0
  59. package/dist/types/browser.d.ts +15 -0
  60. package/dist/types/index.d.ts +3 -0
  61. package/dist/types/messages.d.ts +102 -0
  62. package/dist/types/transformTimeStamp.d.ts +3 -0
  63. package/dist/types/types.d.ts +40 -0
  64. package/dist/types/ui/announcer.d.ts +22 -0
  65. package/dist/types/ui/link-picker.d.ts +51 -0
  66. package/dist/types/ui/link-search-list/index.d.ts +20 -0
  67. package/dist/types/ui/link-search-list/styled.d.ts +3 -0
  68. package/dist/types/ui/link-search-no-results/index.d.ts +4 -0
  69. package/dist/types/ui/list-item/index.d.ts +17 -0
  70. package/dist/types/ui/list-item/styled.d.ts +7 -0
  71. package/dist/types/ui/styled.d.ts +4 -0
  72. package/dist/types/ui/text-input/index.d.ts +17 -0
  73. package/dist/types/ui/text-input/styled.d.ts +2 -0
  74. package/dist/types/url.d.ts +5 -0
  75. package/dist/types/utils.d.ts +3 -0
  76. package/package.json +1 -2
  77. package/example-helpers/flight-deck/_manifest.json +0 -9
  78. package/example-helpers/flight-deck/mockFDResponse.json +0 -133
  79. package/example-helpers/mock-data.ts +0 -318
  80. package/example-helpers/providers.ts +0 -39
@@ -0,0 +1,51 @@
1
+ /** @jsx jsx */
2
+ import React from 'react';
3
+ import { WrappedComponentProps } from 'react-intl-next';
4
+ import { LinkSearchListItemData, LinkInputType, LinkPickerPlugin } from '../types';
5
+ export declare const RECENT_SEARCH_LIST_SIZE = 5;
6
+ interface Meta {
7
+ /** Indicates how the link was picked. */
8
+ inputMethod: LinkInputType;
9
+ }
10
+ interface OnSubmitParameter {
11
+ /** The `url` of the linked resource. */
12
+ url: string;
13
+ /** The desired text to be displayed alternatively to the title of the linked resource. */
14
+ displayText: string | null;
15
+ /** The resolved `title` of the resource at the time of link picking (if applicable, null if not known). */
16
+ title: string | null;
17
+ /** Meta data about the link picking submission. */
18
+ meta: Meta;
19
+ /**
20
+ * The input value of the `url` field at time of submission if inserted "manually".
21
+ * This can useful if the `url` was manually inserted with a value that is different from the normalised value returned as `url`.
22
+ * @example
23
+ * { url: 'https://google.com', rawUrl: 'google.com' }
24
+ */
25
+ rawUrl?: string;
26
+ }
27
+ export interface LinkPickerProps {
28
+ /** Callback to fire on form submission. */
29
+ onSubmit: (arg: OnSubmitParameter) => void;
30
+ /** Callback to fire when the cancel button is clicked. */
31
+ onCancel: () => void;
32
+ /** The url of the linked resource for editing. */
33
+ url?: string;
34
+ /** The desired text to be displayed alternatively to the title of the linked resource for editing. */
35
+ displayText?: string | null;
36
+ /** Plugins that provide link suggestions / search capabilities. */
37
+ plugins?: LinkPickerPlugin[];
38
+ }
39
+ export interface State {
40
+ items: LinkSearchListItemData[];
41
+ selectedIndex: number;
42
+ activeIndex: number;
43
+ url: string;
44
+ isLoading: boolean;
45
+ displayText: string;
46
+ invalidUrl: string | null;
47
+ }
48
+ export declare const LinkPickerWithIntl: React.FC<import("react-intl-next").WithIntlProps<WrappedComponentProps<"intl"> & LinkPickerProps>> & {
49
+ WrappedComponent: React.ComponentType<WrappedComponentProps<"intl"> & LinkPickerProps>;
50
+ };
51
+ export {};
@@ -0,0 +1,20 @@
1
+ /** @jsx jsx */
2
+ import { PureComponent } from 'react';
3
+ import { jsx } from '@emotion/react';
4
+ import { LinkSearchListItemData } from '../../types';
5
+ export interface Props {
6
+ items?: LinkSearchListItemData[];
7
+ isLoading: boolean;
8
+ selectedIndex: number;
9
+ activeIndex: number;
10
+ onSelect: (objectId: string) => void;
11
+ onMouseEnter: (objectId: string) => void;
12
+ onMouseLeave: (objectId: string) => void;
13
+ ariaControls?: string;
14
+ ariaLabelledBy?: string;
15
+ role?: string;
16
+ id?: string;
17
+ }
18
+ export default class LinkSearchList extends PureComponent<Props, {}> {
19
+ render(): jsx.JSX.Element;
20
+ }
@@ -0,0 +1,3 @@
1
+ export declare const listContainerStyles: import("@emotion/react").SerializedStyles;
2
+ export declare const spinnerContainerStyles: import("@emotion/react").SerializedStyles;
3
+ export declare const listStyles: import("@emotion/react").SerializedStyles;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { EmptyStateProps } from '@atlaskit/empty-state';
3
+ declare const NoResults: (props: EmptyStateProps) => JSX.Element;
4
+ export default NoResults;
@@ -0,0 +1,17 @@
1
+ /// <reference types="react" />
2
+ import { WrappedComponentProps } from 'react-intl-next';
3
+ import { LinkSearchListItemData } from '../../types';
4
+ export interface Props {
5
+ item: LinkSearchListItemData;
6
+ selected: boolean;
7
+ active: boolean;
8
+ onSelect: (objectId: string) => void;
9
+ onMouseEnter: (objectId: string) => void;
10
+ onMouseLeave: (objectId: string) => void;
11
+ id?: string;
12
+ role?: string;
13
+ }
14
+ declare const _default: import("react").FC<import("react-intl-next").WithIntlProps<WrappedComponentProps<"intl"> & Props>> & {
15
+ WrappedComponent: import("react").ComponentType<WrappedComponentProps<"intl"> & Props>;
16
+ };
17
+ export default _default;
@@ -0,0 +1,7 @@
1
+ export declare const relativeFontSizeToBase16: (px: number | string) => string;
2
+ export declare const composeListItemStyles: (active?: boolean, selected?: boolean) => import("@emotion/react").SerializedStyles;
3
+ export declare const itemNameStyles: import("@emotion/react").SerializedStyles;
4
+ export declare const listItemNameStyles: import("@emotion/react").SerializedStyles;
5
+ export declare const listItemContextStyles: import("@emotion/react").SerializedStyles;
6
+ export declare const itemIconStyles: import("@emotion/react").SerializedStyles;
7
+ export declare const imgStyles: import("@emotion/react").SerializedStyles;
@@ -0,0 +1,4 @@
1
+ export declare const recentListStyles: import("@emotion/react").SerializedStyles;
2
+ export declare const containerStyles: import("@emotion/react").SerializedStyles;
3
+ export declare const searchIconStyles: import("@emotion/react").SerializedStyles;
4
+ export declare const listTitleStyles: import("@emotion/react").SerializedStyles;
@@ -0,0 +1,17 @@
1
+ import { jsx } from '@emotion/react';
2
+ import { TextFieldProps } from '@atlaskit/textfield';
3
+ export interface Props extends Omit<TextFieldProps, 'value' | 'onChange' | 'autoFocus' | 'onSubmit'> {
4
+ name: string;
5
+ label?: string;
6
+ autoFocus?: boolean;
7
+ value: string;
8
+ onChange: (value: string) => void;
9
+ onSubmit?: (value: string) => void;
10
+ onUndo?: Function;
11
+ onRedo?: Function;
12
+ onClear?: () => void;
13
+ clearLabel?: string;
14
+ error?: string | null;
15
+ }
16
+ declare const PanelTextInput: (props: Props) => jsx.JSX.Element;
17
+ export default PanelTextInput;
@@ -0,0 +1,2 @@
1
+ export declare const clearTextButtonStyles: import("@emotion/react").SerializedStyles;
2
+ export declare const fieldStyles: import("@emotion/react").SerializedStyles;
@@ -0,0 +1,5 @@
1
+ export declare const isSafeUrl: (url: string) => boolean;
2
+ /**
3
+ * Adds protocol to url if needed.
4
+ */
5
+ export declare function normalizeUrl(url?: string | null): string | null;
@@ -0,0 +1,3 @@
1
+ import { KeyboardEvent } from 'react';
2
+ export declare const isUndoEvent: (e: KeyboardEvent<HTMLInputElement>) => boolean;
3
+ export declare const isRedoEvent: (e: KeyboardEvent<HTMLInputElement>) => boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-picker",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Standalone link picker",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "publishConfig": {
@@ -50,7 +50,6 @@
50
50
  },
51
51
  "devDependencies": {
52
52
  "@atlaskit/activity-provider": "^2.3.2",
53
- "@atlaskit/button": "^16.3.0",
54
53
  "@atlaskit/docs": "*",
55
54
  "@atlaskit/link-test-helpers": "^1.1.0",
56
55
  "@atlaskit/popup": "^1.3.5",
@@ -1,9 +0,0 @@
1
- {
2
- "name": "recent-work-service",
3
- "publishMetadata": {
4
- "metricTags": {}
5
- },
6
- "dimensions": {},
7
- "tagScheme": "v001-n_$name$",
8
- "frontend": true
9
- }
@@ -1,133 +0,0 @@
1
- {
2
- "hydrators": {
3
- "TownsquareGoal": {
4
- "hydratorPaths": {
5
- "id": [
6
- "id"
7
- ],
8
- "key": [
9
- "key"
10
- ],
11
- "name": [
12
- "name"
13
- ],
14
- "url": [
15
- "url"
16
- ],
17
- "icon": [
18
- "iconData"
19
- ]
20
- }
21
- },
22
- "TownsquareProject": {
23
- "hydratorPaths": {
24
- "id": [
25
- "id"
26
- ],
27
- "key": [
28
- "key"
29
- ],
30
- "name": [
31
- "name"
32
- ],
33
- "url": [
34
- "url"
35
- ],
36
- "icon": [
37
- "iconData"
38
- ]
39
- }
40
- },
41
- "TownsquareComment": {
42
- "hydratorPaths": {
43
- "id": [
44
- "id"
45
- ],
46
- "name": [
47
- "object.name"
48
- ],
49
- "url": [
50
- "object.url"
51
- ],
52
- "icon": [
53
- "object.iconData"
54
- ]
55
- }
56
- },
57
- "ConfluencePage": {
58
- "hydratorPaths": {
59
- "id": [
60
- "id"
61
- ],
62
- "name": [
63
- "title"
64
- ],
65
- "localResourceId": [
66
- "pageId"
67
- ],
68
- "url": [
69
- "links.base",
70
- "links.webUi"
71
- ],
72
- "containers": [
73
- "space.name"
74
- ],
75
- "icon": [
76
- "metadata.titleEmojiDraft",
77
- "metadata.titleEmojiPublished"
78
- ]
79
- },
80
- "staticFallbacks": {
81
- "icon": "https://home-static.us-east-1.staging.public.atl-paas.net/confluence-page-icon.svg"
82
- }
83
- },
84
- "ConfluenceBlogPost": {
85
- "hydratorPaths": {
86
- "id": [
87
- "id"
88
- ],
89
- "name": [
90
- "title"
91
- ],
92
- "localResourceId": [
93
- "blogPostId"
94
- ],
95
- "url": [
96
- "links.base",
97
- "links.webUi"
98
- ],
99
- "containers": [
100
- "space.name"
101
- ],
102
- "icon": [
103
- "metadata.titleEmojiDraft",
104
- "metadata.titleEmojiPublished"
105
- ]
106
- },
107
- "staticFallbacks": {
108
- "icon": "https://home-static.us-east-1.prod.public.atl-paas.net/confluence-blogpost-icon.svg"
109
- }
110
- },
111
- "ConfluenceComment": {
112
- "hydratorPaths": {
113
- "id": [
114
- "id"
115
- ],
116
- "name": [
117
- "container.title"
118
- ],
119
- "url": [
120
- "links.base",
121
- "links.webUi"
122
- ],
123
- "containers": [
124
- "container.space.name"
125
- ]
126
- },
127
- "staticFallbacks": {
128
- "icon": "https://home-static.us-east-1.staging.public.atl-paas.net/confluence-page-icon.svg"
129
- }
130
- }
131
- },
132
- "queryFragments": "\n\n fragment townsquareGoal on TownsquareGoal {\n id\n key\n name\n url\n iconData\n }\n\n\n fragment townsquareProject on TownsquareProject {\n id\n key\n name\n url\n iconData\n }\n\n\n fragment townsquareComment on TownsquareComment {\n id\n url\n object {\n name\n iconData\n url\n }\n }\n\n\n fragment confluencePage on ConfluencePage {\n id\n title\n pageId\n links {\n base\n webUi\n }\n space {\n name\n }\n }\n\n\n fragment confluenceBlogPost on ConfluenceBlogPost {\n id\n title\n blogPostId\n links {\n base\n webUi\n }\n space {\n name\n }\n }\n\n\n fragment confluenceComment on ConfluenceComment {\n id\n links {\n base\n webUi\n }\n container {\n __typename\n ...confluenceBlogPost\n ...confluencePage\n }\n }\n\nfragment activityItemEdge on ActivityItemEdge {\n cursor\n node {\n id\n object {\n id\n type\n product\n rootContainerId\n contributors {\n profile {\n name\n picture\n accountId\n }\n }\n data {\n __typename\n\t...townsquareGoal\n\t...townsquareProject\n\t...townsquareComment\n\t...confluencePage\n\t...confluenceBlogPost\n\t...confluenceComment\n }\n }\n event {\n id\n timestamp\n eventType\n }\n }\n}\nfragment activityItemConnection on ActivityConnection {\n edges {\n ...activityItemEdge\n }\n}\n\n"
133
- }
@@ -1,318 +0,0 @@
1
- export interface MockDataV3 {
2
- ACTIVITIES_DATA: {
3
- data: {
4
- activity: {
5
- myActivity: {
6
- viewed: {
7
- edges: any[];
8
- };
9
- };
10
- };
11
- };
12
- extensions?: object;
13
- };
14
- }
15
-
16
- const MOCK_DATA_V3: MockDataV3 = {
17
- ACTIVITIES_DATA: {
18
- data: {
19
- activity: {
20
- myActivity: {
21
- viewed: {
22
- edges: [
23
- {
24
- cursor:
25
- 'WVhKcE9tTnNiM1ZrT21sa1pXNTBhWFI1T2pwMWMyVnlMell4TURFNU5tRmxZamN3TkdJME1EQTJPR0ZpTVRRek5udzNaVGRrT1dFMk5DMWpPRFZqTFRRM1pEVXRPR014TVMwNE5UVmhOelk1TURVeVlXWT18MA==',
26
- node: {
27
- id:
28
- 'YXJpOmNsb3VkOmFjdGl2aXR5OkRVTU1ZLWE1YTAxZDIxLTFjYzMtNGYyOS05NTY1LWYyYmI4Y2Q5NjlmNTppdFVtLzE3ZjA5YTQyMWRkOTg5YzFmODY2Njk1ODNkOTk3YmI4ZDNjYzEwMWRkZjc=',
29
- object: {
30
- id:
31
- 'ari:cloud:townsquare:a5a01d21-1cc3-4f29-9565-f2bb8cd969f5:project/cae6f0ae-bd95-439a-835f-d93907a63f23',
32
- type: 'project',
33
- product: 'townsquare',
34
- rootContainerId:
35
- 'ari:cloud:platform::site/9a257bbc-b7c6-47c8-b1dc-c3db3dc8914b',
36
- contributors: [
37
- {
38
- profile: {
39
- name: 'Ashley Hilt',
40
- picture: 'https://example.com/my-image/128',
41
- accountId: '60ef1ffcb9ef6f00691d644d',
42
- },
43
- },
44
- {
45
- profile: {
46
- name: 'Trevor Green',
47
- picture: 'https://example.com/my-image/128',
48
- accountId: '610196aeb704b40068ab1437',
49
- },
50
- },
51
- ],
52
- data: {
53
- __typename: 'TownsquareProject',
54
- key: 'ATL-1262',
55
- name: 'FAB-1520: Recent Work',
56
- url: 'https://example.com/project/ATL-1262',
57
- iconData:
58
- 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAJbUlEQVR4XuWbe1BU1x3HSfpI29h2mr/aOp3OtElmMpk2I2iSUVOWyGt5iIC8ISlVg1W0GlDxAb5qBHxEXaBixDA+BoF7V6Mi+KCgIG/bxlSLNuZhYmJIprWIMRPUb8/vbHaze84+7l2XoHJnPjN3zuP3+/5+9+6559w9189P45Hw5IrvBo4tCQn0N5UaxpQ0GfxLLxj8S64xMMxc41qYJtJGGkmrqN/rwzCu9Kc8aP+SfifO71b6uWamXYxH82F8dMtDgWNKVjJjA04c3CsMUAwUixif24MyZ/A3tTsxeI/CYtF6N/wuwPQbQ0DJB7KRexwWE8Umxutw8Ct/PwZvhWJzdSfQ7+T+uu1dYWp3OiYEjTGtkhvfn1CsDsFbBj0fjPZjyxA8qRLh8QoiMusQvqgNIa/8A4mmdhTv3YX9dUU4e2I+Pm3/PQY6kzHYHYvBnlhc60pGX3smzp2YB/OhYhRV7UGSifr+HeELT3FbYXG13LYhoFT2q58Bh59C0JiSMieN3MOEhEZXISrrGOJX/Q0p5ReRUfMJkhmRr1+CsfwtbFIrcKZpDm53TwZ6onVBfd5smovN6nYYt51BBLOZwmynV/cheetF7jMq6yhCo6q8SgrFzIOnWRMruCo2cEXYlBrEFXQhbddlZKif2Uit7YNxx/uIKe+Bwq7ija54KShv+bxrKqoPbkDMth4YX38PqTV9jr6Zlrj8ToTFVkt63XCVzxiD/E1hTiolyHhSyQUHx1bitr2D8FXdOFKd59XV1srtnhgcqFqG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O1tb4M2SWnZJueJdGOx108Hb6DRngZjUYde+DY5rRslPTFprAmmBQuH9G6gf6grl89H8NP6HnWu4Bsl9W6V9QT9l1hTOEf3rNEdZIv+89czw9OAZaus15ulPUCLkc05C3GuNl3z+wR7qA8taelv7uiJ2hY2erBtlqbDZ9vlXTDFsJH/UUkLqs7KTFyqS+Zvm+mVO0HnVEZ11IbaUh/Rjg9x3C5Px4j+YIKOEf/JDB0j+qMp6zGiP5uzHiP6w0nrMaI/nbU/RuzH0+Jxv34+/397Kb3Gi0FKTQAAAABJRU5ErkJggg==',
59
- id:
60
- 'ari:cloud:townsquare:a5a01d21-1cc3-4f29-9565-f2bb8cd969f5:project/cae6f0ae-bd95-439a-835f-d93907a63f23',
61
- },
62
- },
63
- event: {
64
- id: '17f09a421dd989c1f86669583d997bb8d3cc101ddf7',
65
- timestamp: '2022-02-17T21:43:45Z',
66
- eventType: 'viewed',
67
- },
68
- },
69
- },
70
- {
71
- cursor:
72
- 'WVhKcE9tTnNiM1ZrT21sa1pXNTBhWFI1T2pwMWMyVnlMelZrWmpCaFltUmpOMlJqTURNMk1HVmpaRFF5TXpkalludzBNVGc1WWpVek9DMHhPV1UwTFRSak16VXRPR00xWkMxaFl6ZzFPV1ppTWpGaU1qUT18MA==',
73
- node: {
74
- id:
75
- 'YXJpOmNsb3VkOmFjdGl2aXR5OjlhMjU3YmJjLWI3YzYtNDdjOC1iMFRjLWMzZGIzYWM4OTU0YjppdGVtLzE4MTAzNTRiYTRmMWQwNDQ1MzdhMWJjMWM5NDVmZTIwMWYwZGNkZjQyYTA=',
76
- object: {
77
- id:
78
- 'ari:cloud:confluence:9a257bbc-b7c6-47c8-b1dc-c3db3dc8954b:page/539197607',
79
- type: 'page',
80
- product: 'confluence',
81
- rootContainerId:
82
- 'ari:cloud:platform::site/9a257bbc-b7c6-47c8-b1dc-c3db3dc8954b',
83
- contributors: [
84
- {
85
- profile: {
86
- name: 'Joleen Roberson',
87
- picture: 'https://example.com/my-image/128',
88
- accountId: '61ce114bce3622006a7cd505',
89
- },
90
- },
91
- {
92
- profile: {
93
- name: 'Erika Cox',
94
- picture: 'https://example.com/my-image/128',
95
- accountId: '5df0abdc7dc0260ecd0237cb',
96
- },
97
- },
98
- ],
99
- data: {
100
- __typename: 'ConfluencePage',
101
- links: {
102
- webUi:
103
- '/spaces/~61ce114bce3652006a7cd505/pages/539197607/Decision',
104
- base: 'https://example.com/wiki',
105
- },
106
- id:
107
- 'ari:cloud:confluence:9a257bbc-b7c6-47c8-b1dc-c3db3ac8954b:page/539197607',
108
- title: 'FAB-1558 Decision',
109
- pageId: '539197607',
110
- space: { name: 'Joleen Roberson' },
111
- },
112
- },
113
- event: {
114
- id: '1810354ba4f1d044537a1bc1c945fe201f0dcdf42a0',
115
- timestamp: '2022-05-27T02:24:53.000Z',
116
- eventType: 'viewed',
117
- },
118
- },
119
- },
120
- {
121
- cursor:
122
- 'WVhKcE9tTnNiM1ZrT21sa1pXNTBhWFI1T2pwMWMyVnlMelZrWmpCaFltFmpOMlJqTURNMk1HVmpaREF5TXpkalludzBNVGc1WWpVek9DMHhPV1UwTFRSak16VXRPR00xWkMxaFl6ZzFPV1ppTWpGaT1qUT18MA==',
123
- node: {
124
- id:
125
- 'YXJpOmNsb3VkOmFjdGl2aXR5OjlhMjU3YmJjLWI3YzYtNDdjOC1iFWRjLWMzZGIzYWM4OTU0YjppdGVtLzE4MTAzNTRiYTRmMWQwNDQ1MzdhMWJjMWM5NDVmZTIwMWYwZGNkZjQyYTB=',
126
- object: {
127
- id:
128
- 'ari:cloud:confluence:9a357bbc-b7c6-47c8-b1dc-c3db3ac8954b:page/539197608',
129
- type: 'page',
130
- product: 'confluence',
131
- rootContainerId:
132
- 'ari:cloud:platform::site/9a357bbc-b7c6-47c8-b1dc-c3db3ac8954b',
133
- contributors: [
134
- {
135
- profile: {
136
- name: 'Carlos Dyer',
137
- picture: 'https://example.com/my-image/128',
138
- accountId: '61ce114bce3652006a7cd505',
139
- },
140
- },
141
- {
142
- profile: {
143
- name: 'Martha Sanders',
144
- picture: 'https://example.com/my-image/128',
145
- accountId: '5df0abdc7dc0360ecd0237cb',
146
- },
147
- },
148
- ],
149
- data: {
150
- __typename: 'ConfluencePage',
151
- links: {
152
- webUi:
153
- '/spaces/~61ce114bce3652006a7cd505/pages/539197607/Other',
154
- base: 'https://example.com/wiki',
155
- },
156
- id:
157
- 'ari:cloud:confluence:9a357bbc-b7c6-47c8-b1dc-c3db3ac8954b:page/539197608',
158
- title: 'FAB-996 Other one',
159
- pageId: '539197608',
160
- space: { name: 'Cool space' },
161
- },
162
- },
163
- event: {
164
- id: '1810354ba4f1d044537a1bc1c945fe201f0dcdf42a0',
165
- timestamp: '2022-05-27T02:24:53.000Z',
166
- eventType: 'viewed',
167
- },
168
- },
169
- },
170
- {
171
- cursor:
172
- 'WVhKcE9tTnNiM1ZrT21sa1pXNTBhWFI1T2pwMWMyVnlMell4TURFNU5tRmxZamF3TkdJME1EQTJPR0ZpTVRRek5ueGhPR1JqTnpCbU9TMWlNV05rTFRRNE1qWXRPVEUzT0MxbVltVTVNRGxrWldKaE1HST18MA==',
173
- node: {
174
- id:
175
- 'YXJpOmNsb3VkOmFjdGl2aXR5OkRVTU1ZLWE1YTAxZDIxLTFjYzMtNGYyOS05NFY1LWYyYmI4Y2Q5NjlmNTppdGVtLzE3ZjA1ZWFhM2ZjMGE3MWEwOWRjYjI4YTE2MTBiOWMyZmFmOWUxMjU1YjQ=',
176
- object: {
177
- id:
178
- 'ari:cloud:townsquare:a3a01d21-1cc3-4f29-9565-f2bb8cd969f5:project/cae6f0ae-bd95-439a-835f-d93907a63f53',
179
- type: 'project',
180
- product: 'townsquare',
181
- rootContainerId:
182
- 'ari:cloud:platform::site/9a257bbc-b7c6-47c8-b1dc-c3db3dc8914b',
183
- contributors: [
184
- {
185
- profile: {
186
- name: 'Marcelino King',
187
- picture: 'https://example.com/my-image/128',
188
- accountId: '60ef1ffcb9ef6f00691d633d',
189
- },
190
- },
191
- {
192
- profile: {
193
- name: 'Tonya Riley',
194
- picture: 'https://example.com/my-image/128',
195
- accountId: '610196aeb704b40068ab1436',
196
- },
197
- },
198
- ],
199
- data: {
200
- __typename: 'TownsquareProject',
201
- key: 'XD-1261',
202
- name:
203
- 'FAB-983 Woah woah this title is rather long I wonder what it will do!',
204
- url: 'https://example.com/project/XD-1261',
205
- iconData:
206
- 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAGmElEQVR4XuWb+08UVxTH/cn+C/0n+mc0Tf8AxZpUY61J27RJ0yaapk2bgqIoaIuA8trXrMDigiAPq6nFGAWrAsKy7MwsbxCoVqDLIs/l9Jy7rIG5M7PLZnf2wt7kE2B35jLnO/eeOefeMwcOJNgO+esPfqJKH+YoUmmOKnUgKv6+iECGWWTXQteE10bXSNeqvf6k2yG//X3qGAnp/HNRoWstpWvX2pNw+zhY/F6O4voVOwrr/IO9QphsIFu09pm2rbvepdPhXqUr4dFwKOD+4LAiTep0sqchm8g2rb07Gqm0H42PwUQwGgnROb+vhr0RXbo+4bAq5eocvC8hW3cYv+X0du3tc2UXjPmqYW7AAbNqDXTJbvha5o8TkPCOqYBBRJnOQaZcQkNDz67B2nA9wGz7O+ZQhF8UN3e8cKDNW3e//iB+sMAdEIfZvipYVWt3GE9sTrfCZL+NO15AFljEeDjg+kjnS1OOqi4IPb+OBrdxAhDz/dXcOSJCth/IiYa53Jdm2AIuWMZ5rzWcMYMC9FZy5whKKc3/Dp0vOI4gecN18GCiEZbHGw3vfmSiiU0P7flCgrbTCJC5LzT8iB5+4mULZ6wea0N10O93cH0IikwCmGZ5P/mcMOfjnZ0Rq0oN3B90cf0ISogE0H64g+57V2FttIkz1IjI1G2Yf1EFeTp9iUhcAVTvJVgfa+YMNSMy1QyhF5Xg3ANBUVwBlIZCCO9iCsSgeCDcZ4NOwf1BXAEedVyDkdoCWAk2cEbGpw2WUYChATscEzQ6jCvAF+jQgiiA6siD6fYSmP/biThg+o8SGPU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RJXyoeuvMhZMlfTYWbap7csAViARt0QmU+RjnkAGGtYn4KOOvm9+XMGdmyBywkVSmcD51MYM3Bg33nmmxVZKrbXnJsRWkdSuy+Ssoup5VIAlv/5eY+RlK9uU1Z63C0qTKpS0im8GJRYLzNwt5YwnaOvt+b0S7rxEYYWSyZbKWsWLO8VsFLx5bGMrxjHjl+WbMOK5CK5nSdckRktlky2Wtgq27Y65ASvMkM7BOD7iRuoK2N8Dbb/D0WRrDWLF0tGC6eTK5a3iBKa/dzEqpH0FCoxoz9HzpIoFStpjE2RnuTy1rH5hglrWvzJDLatfmoq1rH5tLtay+sXJWMvqV2e3t6x9eVrb9uvr8/8Dep+Iri1GehwAAAAASUVORK5CYII=',
207
- id:
208
- 'ari:cloud:townsquare:a3a01d21-1cc3-4f29-9565-f2bb8cd969f5:project/cae6f0ae-bd95-439a-835f-d93907a63f23',
209
- },
210
- },
211
- event: {
212
- id: '17f05eaa3fc0a71a09dcb28a1610b9c2faf9e1255b4',
213
- timestamp: '2022-02-17T04:22:17Z',
214
- eventType: 'updated',
215
- },
216
- },
217
- },
218
- {
219
- cursor:
220
- 'WVhKcE9tTnNiM1ZrT21sa1pXNTBhWFI1T2pwMFMyVnlMelZrWmpCaFltUmpOMlJqTURNMk1HVmpaREF5TXpkalludzBNVGc1WWpVek9DMHhPV1UwTFRSak16VXRPR00xWkMxaFl6ZzFPV1ppTWpGaU1qUT18Ng==',
221
- node: {
222
- id:
223
- 'YXJpOmNsb3VkOmFjdGl2aXR5OkRVTU1ZLWEFYTAxZDIxLTFjYzMtNGYyOS05NTY1LWYyYmI4Y2Q5NjlmNTppdGVtLzE4MGFiNThjZDdlYzJhOWRhZjAyMzU0ZTIzZTExYTY5OWQzZGNlZGZkNDk=',
224
- object: {
225
- id:
226
- 'ari:cloud:confluence:a4a01d21-1cc3-4f29-9565-f2bb8cd969f5:page/452269311391',
227
- type: 'page',
228
- product: 'confluence',
229
- rootContainerId:
230
- 'ari:cloud:platform::site/a4a01d21-1cc3-4f29-9565-f2bb8cd969f5',
231
- contributors: [
232
- {
233
- profile: {
234
- name: 'Sharon Haugen',
235
- picture: 'https://example.com/my-image/128',
236
- accountId:
237
- '655363:f87158bb-15fc-48a9-a396-744a9fbe9ed7',
238
- },
239
- },
240
- {
241
- profile: {
242
- name: 'Nicolette Espinosa',
243
- picture: 'https://example.com/my-image/128',
244
- accountId: '5c36c7dd13a8bb0b103988fe',
245
- },
246
- },
247
- {
248
- profile: {
249
- name: 'Suzanne Goldberg',
250
- picture: 'https://example.com/my-image/128',
251
- accountId: '6232212a62dc1e006802dea8',
252
- },
253
- },
254
- ],
255
- data: {
256
- __typename: 'ConfluencePage',
257
- links: {
258
- webUi:
259
- '/spaces/~655363f87158bb15fc48a9a396744a9fbe9ed7/pages/452269311391/Testtest',
260
- base: 'https://example.com/wiki',
261
- },
262
- id:
263
- 'ari:cloud:confluence:DUMMY-a5a01d21-1cc3-4f29-9565-f2bb8cd969f5:page/452269311391',
264
- title: 'FAB-1166 Testtest',
265
- pageId: '452269311391',
266
- space: { name: 'Sharon Haugen' },
267
- },
268
- },
269
- event: {
270
- id: '180ab58cd7ec2a9daf02354e23e11a699d3dcedfd49',
271
- timestamp: '2022-05-10T00:22:45.000Z',
272
- eventType: 'viewed',
273
- },
274
- },
275
- },
276
- ],
277
- },
278
- },
279
- },
280
- },
281
- extensions: {
282
- activity: {
283
- query_info: {
284
- methods: [
285
- {
286
- name: 'viewed',
287
- version: 'V3',
288
- },
289
- ],
290
- operationName: 'nadel_2_activity_sdfghd',
291
- isFetchingMyActivities: true,
292
- },
293
- },
294
- gateway: {
295
- request_id: '351fc075dbed201d',
296
- deprecatedFieldsUsed: [],
297
- schema: {
298
- schemaName: 'central',
299
- commitHash: 'dcaf893115bbeb69ae428cff33ce7beea0807343',
300
- schemaHash: '',
301
- snapshot: '1348',
302
- buildNumber: '10346',
303
- buildTimestamp: '2022-02-23T00:39:59.104715Z',
304
- },
305
- micros_env: 'stg-west',
306
- invokedServices: [
307
- 'activity',
308
- 'identity',
309
- 'townsquare',
310
- 'gira',
311
- 'cc_graphql',
312
- ],
313
- },
314
- },
315
- },
316
- };
317
-
318
- export default MOCK_DATA_V3;