@algolia/algolia-custom-helpcenter-search 2.3.17 → 2.3.19

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.
@@ -18,7 +18,7 @@ export declare const customFindAnswers: ({ index, query, lang, searchParams, sou
18
18
  updated_at: number;
19
19
  position: number;
20
20
  title: string;
21
- body_safe: string;
21
+ plain_body: string;
22
22
  outdated: boolean;
23
23
  promoted: boolean;
24
24
  vote_sum: number;
@@ -310,7 +310,7 @@ export declare const customFindAnswers: ({ index, query, lang, searchParams, sou
310
310
  readonly matchedWords: readonly string[];
311
311
  readonly fullyHighlighted?: boolean;
312
312
  };
313
- body_safe?: {
313
+ plain_body?: {
314
314
  readonly value: string;
315
315
  readonly matchLevel: "none" | "full" | "partial";
316
316
  readonly matchedWords: readonly string[];
@@ -673,7 +673,7 @@ export declare const customFindAnswers: ({ index, query, lang, searchParams, sou
673
673
  readonly value: string;
674
674
  readonly matchLevel: "none" | "full" | "partial";
675
675
  };
676
- body_safe: {
676
+ plain_body: {
677
677
  readonly value: string;
678
678
  readonly matchLevel: "none" | "full" | "partial";
679
679
  };
@@ -5,10 +5,10 @@ export declare const AUTOCOMPLETE_PLACEHOLDERS: string[];
5
5
  export declare const AUTOCOMPLETE_PLACEHOLDER_TEMPLATE: (placeholder: string) => string;
6
6
  export declare const SOURCES: Source[];
7
7
  export declare const titleAttribute: (item: any) => string | string[];
8
- export declare const contentAttribute: (item: any) => 'content' | 'description' | 'body_safe';
8
+ export declare const contentAttribute: (item: any) => 'content' | 'description' | 'plain_body';
9
9
  export declare const BASE_URLS: Record<SourceId, string>;
10
10
  export declare const PATHNAMES: {
11
11
  search: any;
12
12
  form: any;
13
13
  };
14
- export declare const INSIGHTS_KEY = "cf34b03d83ec4f68f3bb7b4101374c81";
14
+ export declare const INSIGHTS_KEY = "0acae364171326846d0a8a0930561663";
@@ -6,7 +6,7 @@ export declare const bestHitTemplate: ({ item, titleAttribute, contentAttribute,
6
6
  sourceId: SourceId;
7
7
  };
8
8
  titleAttribute: string | string[];
9
- contentAttribute: 'description' | 'content' | 'body_safe';
9
+ contentAttribute: 'description' | 'content' | 'plain_body';
10
10
  components: AutocompleteComponents;
11
11
  }) => JSX.Element;
12
12
  export declare const hitTemplate: (item: HitWithAnswer<FederatedHits> & {
@@ -61,7 +61,7 @@ declare const zendeskExampleHit: {
61
61
  updated_at: number;
62
62
  position: number;
63
63
  title: string;
64
- body_safe: string;
64
+ plain_body: string;
65
65
  outdated: boolean;
66
66
  promoted: boolean;
67
67
  vote_sum: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@algolia/algolia-custom-helpcenter-search",
3
- "version": "2.3.17",
3
+ "version": "2.3.19",
4
4
  "description": "Algolia's Zendesk Help Center search implementation",
5
5
  "repository": {
6
6
  "type": "git",
package/CHANGELOG.md DELETED
@@ -1,300 +0,0 @@
1
- ## [2.3.17](https://github.com/algolia/custom-zendesk-search/compare/v2.3.1...v2.3.17) (2023-02-27)
2
-
3
-
4
-
5
- ## [2.3.16](https://github.com/algolia/custom-zendesk-search/compare/v2.3.1...v2.3.16) (2023-02-23)
6
-
7
-
8
-
9
- ## [2.3.13](https://github.com/algolia/custom-zendesk-search/compare/v2.3.1...v2.3.13) (2022-11-23)
10
-
11
-
12
-
13
- ## [2.3.12](https://github.com/algolia/custom-zendesk-search/compare/v2.3.1...v2.3.12) (2022-11-15)
14
-
15
-
16
-
17
- ## [2.3.15](https://github.com/algolia/custom-zendesk-search/compare/v2.3.1...v2.3.15) (2022-11-10)
18
-
19
-
20
-
21
- ## [2.3.14](https://github.com/algolia/custom-zendesk-search/compare/v2.3.1...v2.3.14) (2022-11-10)
22
-
23
-
24
-
25
- ## [2.3.11](https://github.com/algolia/custom-zendesk-search/compare/v2.3.1...v2.3.11) (2022-10-07)
26
-
27
-
28
-
29
- ## [2.3.10](https://github.com/algolia/custom-zendesk-search/compare/v2.3.1...v2.3.10) (2022-06-30)
30
-
31
-
32
-
33
- ## [2.3.2](https://github.com/algolia/custom-zendesk-search/compare/v2.3.1...v2.3.2) (2022-06-30)
34
-
35
-
36
-
37
- ## [2.3.9](https://github.com/algolia/custom-zendesk-search/compare/v2.3.1...v2.3.9) (2022-06-29)
38
-
39
-
40
-
41
- ## [2.3.8](https://github.com/algolia/custom-zendesk-search/compare/v2.3.1...v2.3.8) (2022-06-28)
42
-
43
-
44
-
45
- ## [2.3.4](https://github.com/algolia/custom-zendesk-search/compare/v2.3.1...v2.3.4) (2022-01-05)
46
-
47
-
48
-
49
- ## [2.3.3](https://github.com/algolia/custom-zendesk-search/compare/v2.3.1...v2.3.3) (2021-12-07)
50
-
51
-
52
-
53
- ## [2.3.2](https://github.com/algolia/custom-zendesk-search/compare/v2.3.1...v2.3.2) (2021-12-03)
54
-
55
-
56
- ### Bug Fixes
57
-
58
- * **webpack5:** add style path to exports field in package.json ([f2d0c27](https://github.com/algolia/custom-zendesk-search/commit/f2d0c277b2c19f8e8a5560482e7a3701c5f018db))
59
-
60
-
61
-
62
- ## [2.3.1](https://github.com/algolia/custom-zendesk-search/compare/v2.3.0...v2.3.1) (2021-10-27)
63
-
64
-
65
-
66
- # [2.3.0](https://github.com/algolia/custom-zendesk-search/compare/v2.1.0...v2.3.0) (2021-10-19)
67
-
68
-
69
- ### Features
70
-
71
- * **answers:** replace content when extract attribute is the title ([b98551b](https://github.com/algolia/custom-zendesk-search/commit/b98551b232ba4e9eaef88909974417d391e4719f))
72
-
73
-
74
-
75
- # [2.2.0](https://github.com/algolia/custom-zendesk-search/compare/v2.1.0...v2.2.0) (2021-09-20)
76
-
77
-
78
- ### Features
79
-
80
- * add title to answers attribute for prediction ([3da318e](https://github.com/algolia/custom-zendesk-search/commit/3da318e2516a9ac15ef4bbe5f9bd8dc43601169b))
81
-
82
-
83
-
84
- # [2.1.0](https://github.com/algolia/custom-zendesk-search/compare/v2.0.1...v2.1.0) (2021-09-02)
85
-
86
-
87
- ### Features
88
-
89
- * add academy to placeholder ([9a82d64](https://github.com/algolia/custom-zendesk-search/commit/9a82d64f21a3a1a0aee6bdcf94b7b39da9cd5d20))
90
- * add intro phrase before ticket form results ([2fdf627](https://github.com/algolia/custom-zendesk-search/commit/2fdf6275654479463c403457f123f809934504e1))
91
- * change "discourse" labels to "community" ([eb22019](https://github.com/algolia/custom-zendesk-search/commit/eb220197a2c9e1bc764588c55db71e6dc506047e))
92
- * **sources:** academy content templating ([51520e4](https://github.com/algolia/custom-zendesk-search/commit/51520e42e42a83e841b81efb4c226637c8f0c704))
93
- * **sources:** add academy content ([e2b54b0](https://github.com/algolia/custom-zendesk-search/commit/e2b54b0f7a9284b0dceaaab0892a365a6ce62c6e))
94
-
95
-
96
-
97
- ## [2.0.1](https://github.com/algolia/custom-zendesk-search/compare/v2.0.0...v2.0.1) (2021-09-01)
98
-
99
-
100
- ### Bug Fixes
101
-
102
- * alias react to preact ([ac9910d](https://github.com/algolia/custom-zendesk-search/commit/ac9910dfc47daef3e167f9f470811597eabfb5e7))
103
- * use root vite config for demo build ([fd8f932](https://github.com/algolia/custom-zendesk-search/commit/fd8f932e29c9567350b0fdc34bbb7741e8fd3078))
104
-
105
-
106
-
107
- # [2.0.0](https://github.com/algolia/custom-zendesk-search/compare/v1.4.7...v2.0.0) (2021-08-25)
108
-
109
-
110
- ### Features
111
-
112
- * switched from parcel to vite, types export, default umd export ([88f9494](https://github.com/algolia/custom-zendesk-search/commit/88f94948fdee5de2bee569fd575057cc31e463e1))
113
-
114
-
115
- ### BREAKING CHANGES
116
-
117
- * adding lib in script tag is not sufficient anymore, now needs initialization with customSearch.default()
118
-
119
-
120
-
121
- # [2.0.0](https://github.com/algolia/custom-zendesk-search/compare/v1.4.7...v2.0.0) (2021-08-25)
122
-
123
-
124
- ### Features
125
-
126
- * switched from parcel to vite, types export, default umd export ([88f9494](https://github.com/algolia/custom-zendesk-search/commit/88f94948fdee5de2bee569fd575057cc31e463e1))
127
-
128
-
129
- ### BREAKING CHANGES
130
-
131
- * adding lib in script tag is not sufficient anymore, now needs initialization with customSearch.default()
132
-
133
-
134
-
135
- ## [1.4.7](https://github.com/algolia/custom-zendesk-search/compare/v1.4.6...v1.4.7) (2021-08-24)
136
-
137
-
138
-
139
- ## [1.4.6](https://github.com/algolia/custom-zendesk-search/compare/v1.4.5...v1.4.6) (2021-08-24)
140
-
141
-
142
-
143
- ## [1.4.5](https://github.com/algolia/custom-zendesk-search/compare/v1.4.4...v1.4.5) (2021-08-24)
144
-
145
-
146
-
147
- ## [1.4.4](https://github.com/algolia/custom-zendesk-search/compare/v1.4.3...v1.4.4) (2021-08-24)
148
-
149
-
150
-
151
- ## [1.4.3](https://github.com/algolia/custom-zendesk-search/compare/v1.4.1...v1.4.3) (2021-08-24)
152
-
153
-
154
-
155
- ## [1.4.2](https://github.com/algolia/custom-zendesk-search/compare/v1.4.1...v1.4.2) (2021-08-24)
156
-
157
-
158
-
159
- ## [1.4.1](https://github.com/algolia/custom-zendesk-search/compare/v1.3.0...v1.4.1) (2021-08-23)
160
-
161
-
162
- ### Bug Fixes
163
-
164
- * autocomplete test ([77c3edf](https://github.com/algolia/custom-zendesk-search/commit/77c3edff2c8d43993b47b2bc31524b7187df349c))
165
- * update tests ([d6d287f](https://github.com/algolia/custom-zendesk-search/commit/d6d287f216f1060fc4e6c87e64826e0208bf89ed))
166
-
167
-
168
-
169
- # [1.4.0](https://github.com/algolia/custom-zendesk-search/compare/v1.3.0...v1.4.0) (2021-08-23)
170
-
171
-
172
- ### Features
173
-
174
- * add animated placeholder ([7a1abaa](https://github.com/algolia/custom-zendesk-search/commit/7a1abaaba8f80fe3c801cc47eef4507649bbf19d))
175
-
176
-
177
-
178
- # [1.3.0](https://github.com/algolia/custom-zendesk-search/compare/v1.2.2...v1.3.0) (2021-08-16)
179
-
180
-
181
- ### Features
182
-
183
- * remove tailwind base and add back custom scoped only-needed base ([9c1a324](https://github.com/algolia/custom-zendesk-search/commit/9c1a32439bbd82c62a73194522902d97565d0b92))
184
-
185
-
186
-
187
- ## [1.2.2](https://github.com/algolia/custom-zendesk-search/compare/v1.2.0...v1.2.2) (2021-08-12)
188
-
189
-
190
-
191
- ## [1.2.1](https://github.com/algolia/custom-zendesk-search/compare/v1.2.0...v1.2.1) (2021-08-12)
192
-
193
-
194
- ### Bug Fixes
195
-
196
- * **shipjs config:** push demo to master ([0996ce3](https://github.com/algolia/custom-zendesk-search/commit/0996ce33fd863803297dbba9f8a942e0008071d5))
197
- * **shipjs config:** require version ([20cd685](https://github.com/algolia/custom-zendesk-search/commit/20cd685dfeb1c955024afa1e4ad32749b57d7e22))
198
-
199
-
200
-
201
- # [1.2.0](https://github.com/algolia/custom-zendesk-search/compare/v1.1.1...v1.2.0) (2021-08-12)
202
-
203
-
204
- ### Features
205
-
206
- * **responsive:** add cancel button to modal when going full screen ([6fd12a2](https://github.com/algolia/custom-zendesk-search/commit/6fd12a215a550554b6043e8590349cf850dd6df0))
207
- * **responsive:** autocomplete breakpoint ([02972b0](https://github.com/algolia/custom-zendesk-search/commit/02972b012e98a84fdcfbdfa50ada824a5a35d9fb))
208
- * **responsive:** switched to max Width to prevent overflow ([bf05052](https://github.com/algolia/custom-zendesk-search/commit/bf050523500cc976af2a614820b2704190785f2f))
209
-
210
-
211
-
212
- ## [1.1.1](https://github.com/algolia/custom-zendesk-search/compare/v1.1.0...v1.1.1) (2021-08-09)
213
-
214
-
215
- ### Bug Fixes
216
-
217
- * add padding to aa input ([ace4191](https://github.com/algolia/custom-zendesk-search/commit/ace4191ea457df3df9fdd47b7529ba53b154ff1c))
218
-
219
-
220
-
221
- # [1.1.0](https://github.com/algolia/custom-zendesk-search/compare/v1.0.1...v1.1.0) (2021-08-09)
222
-
223
-
224
- ### Features
225
-
226
- * hide original suggestions list ([6c20524](https://github.com/algolia/custom-zendesk-search/commit/6c205245751d9e8b3fd3fa745f823c8200a7431d))
227
-
228
-
229
-
230
- ## [1.0.1](https://github.com/algolia/custom-zendesk-search/compare/v1.0.0...v1.0.1) (2021-08-09)
231
-
232
-
233
- ### Bug Fixes
234
-
235
- * request form pathname ([3e0463a](https://github.com/algolia/custom-zendesk-search/commit/3e0463a8248603bbdaf43ec178b5149e0bd2b7a6))
236
-
237
-
238
-
239
- # [1.0.0](https://github.com/algolia/custom-zendesk-search/compare/v0.1.3...v1.0.0) (2021-08-09)
240
-
241
-
242
- ### Bug Fixes
243
-
244
- * groupBy util ([afdc4b7](https://github.com/algolia/custom-zendesk-search/commit/afdc4b794ff5e93a6aa8c4f9d85a911a2fc402ab))
245
-
246
-
247
- ### Features
248
-
249
- * add instantsearch to request form ([82ded89](https://github.com/algolia/custom-zendesk-search/commit/82ded89e6b85b65e7a040ebac812fe3d68755eaa))
250
- * add keyboard indications ([e81e268](https://github.com/algolia/custom-zendesk-search/commit/e81e2689980322e687142843976eb92d8b5a446e))
251
- * add keyboard shortcut ([a1fc996](https://github.com/algolia/custom-zendesk-search/commit/a1fc996f38f98c73f2682901b5c157c386cd2526))
252
- * add see more ([9254268](https://github.com/algolia/custom-zendesk-search/commit/9254268db78be81bfd1a731c834fd430d55450bd))
253
- * add zendesk source ([664f69b](https://github.com/algolia/custom-zendesk-search/commit/664f69b667bd2061575f25587d4ffdb5ae861d8c))
254
- * additions to autocomplete and request form ([306dff9](https://github.com/algolia/custom-zendesk-search/commit/306dff92b0c71b01c81bd7d94a80e3a30cf2a956))
255
- * changed grouping algorithm to keep order ([d04a3fe](https://github.com/algolia/custom-zendesk-search/commit/d04a3fef68230cab77f0e1f61bbe2c0a5180cdbe))
256
- * instantsearch ([65cd138](https://github.com/algolia/custom-zendesk-search/commit/65cd138143ec1ec03b433b9933b73508e3480aa0))
257
- * removed debouncing on request form ([3dddddd](https://github.com/algolia/custom-zendesk-search/commit/3dddddd8a704537e7842e401564337168dfa2d12))
258
- * removed snippets from after first results ([28949e4](https://github.com/algolia/custom-zendesk-search/commit/28949e4a400ab2df755cf0a8dd8ea1a40c5d44ba))
259
- * see all link ([8f5c42b](https://github.com/algolia/custom-zendesk-search/commit/8f5c42b934ca44bbc0c0beaed930fd32c836425b))
260
- * try switch from IS to answers ([bfddbbf](https://github.com/algolia/custom-zendesk-search/commit/bfddbbfa21a1491707fc4da119afbd1d5c44e90b))
261
-
262
-
263
-
264
- ## [0.1.3](https://github.com/algolia/custom-zendesk-search/compare/v0.1.1...v0.1.3) (2021-08-02)
265
-
266
-
267
-
268
- ## [0.1.2](https://github.com/algolia/custom-zendesk-search/compare/v0.1.1...v0.1.2) (2021-07-30)
269
-
270
-
271
-
272
- ## 0.1.1 (2021-07-30)
273
-
274
-
275
- ### Bug Fixes
276
-
277
- * removed main property from package.json otherwise build fail ([946d82e](https://github.com/algolia/custom-zendesk-search/commit/946d82e5448b1f6c9421477ce0b9f6f8d8799bc9))
278
-
279
-
280
-
281
- # 0.1.0 (2021-07-30)
282
-
283
-
284
- ### Bug Fixes
285
-
286
- * dependant of path only in production ([98aafc5](https://github.com/algolia/custom-zendesk-search/commit/98aafc57128a8e04d6e1b030a483a93a776d24d8))
287
-
288
-
289
- ### Features
290
-
291
- * **autocomplete:** add basic results display ([31c16db](https://github.com/algolia/custom-zendesk-search/commit/31c16db30665abfb8e6d0b5ed4234f6dc5e16f46))
292
- * **autocomplete:** started implementation ([edcf632](https://github.com/algolia/custom-zendesk-search/commit/edcf632d19a16f2dd0eddfaf5e916ef3338a48a6))
293
- * **autocomplete:** templates v1 ([2fb8ec4](https://github.com/algolia/custom-zendesk-search/commit/2fb8ec4a46c08f8b5ef18dab5299221959b40bbf))
294
- * get ready for production ([c288c5a](https://github.com/algolia/custom-zendesk-search/commit/c288c5a3daa6d7bbe9ced543444917554b646b3c))
295
- * test 3 hits per type ([b453dd2](https://github.com/algolia/custom-zendesk-search/commit/b453dd273ba91f2e42db6b411f13aff879b23bb7))
296
- * test 5 most relevant answers on search ([68f8d77](https://github.com/algolia/custom-zendesk-search/commit/68f8d777aa1ea986302d9a1af8d73d1a95ecc603))
297
- * **ticket form:** add answers on ticket form request ([02ccb7c](https://github.com/algolia/custom-zendesk-search/commit/02ccb7c852d078e29b3a6a9249c9db6cb9539b31))
298
-
299
-
300
-