Skip to content

Commit 735e8d1

Browse files
authored
fix(flavors): remove mentions of angular instantsearch (#6341)
As Angular InstantSearch is now deprecated, all mentions of it can be removed. - README links - Create InstantSearch App template and specific flavor code - some mentions in comments - some mentions in style of e-commerce example [FX-2934]
1 parent b9285b3 commit 735e8d1

File tree

44 files changed

+21
-1368
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+21
-1368
lines changed

.github/ISSUE_TEMPLATE/BUG_REPORT.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ body:
3737
<td><a href="https://codesandbox.io/s/github/algolia/instantsearch/tree/templates/instantsearch.js" target="_blank">InstantSearch.js</a></td>
3838
<td><a href="https://codesandbox.io/s/github/algolia/instantsearch/tree/templates/react-instantsearch" target="_blank">React InstantSearch</a></td>
3939
<td><a href="https://codesandbox.io/s/github/algolia/instantsearch/tree/templates/vue-instantsearch" target="_blank">Vue InstantSearch</a></td>
40-
<td><a href="https://codesandbox.io/s/github/algolia/instantsearch/tree/templates/angular-instantsearch" target="_blank">Angular InstantSearch</a></td>
4140
</tr>
4241
</table>
4342

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
</a>
55

66
<p align="center">
7-
InstantSearch is a JavaScript library for building performant and instant search experiences in vanilla JS, React, Vue and Angular with <a href="https://www.algolia.com/?utm_source=instantsearch.js&utm_campaign=repository">Algolia</a>.
7+
InstantSearch is a JavaScript library for building performant and instant search experiences in vanilla JS, React and Vue with <a href="https://www.algolia.com/?utm_source=instantsearch.js&utm_campaign=repository">Algolia</a>.
88
</p>
99
</p>
1010

@@ -14,11 +14,11 @@
1414

1515
[InstantSearch][instantsearch-docs] is a JavaScript library that lets you create an instant-search result experience using [Algolia][algolia-website]’s search API.
1616

17-
There are multiple wrappers for popular frameworks, such as [React InstantSearch][react-instantsearch-docs], [Vue InstantSearch][vue-instantsearch-docs], and [Angular InstantSearch][angular-instantsearch-docs].
17+
There are multiple wrappers for popular frameworks, such as [React InstantSearch][react-instantsearch-docs] and [Vue InstantSearch][vue-instantsearch-docs].
1818

1919
It is part of the InstantSearch family which is designed for different platforms:
2020

21-
**InstantSearch** | [Angular InstantSearch][instantsearch-angular-github] | [InstantSearch Android][instantsearch-android-github] | [InstantSearch iOS][instantsearch-ios-github]
21+
**InstantSearch** | [InstantSearch Android][instantsearch-android-github] | [InstantSearch iOS][instantsearch-ios-github]
2222

2323
<details>
2424
<summary><strong>Table of contents</strong></summary>
@@ -81,10 +81,8 @@ InstantSearch is [MIT licensed][license-url].
8181
[instantsearch-docs]: https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/js/?utm_source=instantsearch.js&utm_campaign=repository 'InstantSearch.js documentation'
8282
[react-instantsearch-docs]: https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/react/?utm_source=instantsearch.js&utm_campaign=repository 'React InstantSearch documentation'
8383
[vue-instantsearch-docs]: https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/vue/?utm_source=instantsearch.js&utm_campaign=repository 'Vue InstantSearch documentation'
84-
[angular-instantsearch-docs]: https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/angular/?utm_source=instantsearch.js&utm_campaign=repository 'Angular InstantSearch documentation'
8584
[instantsearch-android-github]: https://github.com/algolia/instantsearch-android
8685
[instantsearch-ios-github]: https://github.com/algolia/instantsearch-ios
87-
[instantsearch-angular-github]: https://github.com/algolia/angular-instantsearch
8886
[contributing-bugreport]: https://github.com/algolia/instantsearch/issues/new?template=BUG_REPORT.yml&labels=triage
8987
[contributing-featurerequest]: https://github.com/algolia/instantsearch/discussions/new?category=ideas&labels=triage&title=Feature%20request%3A%20
9088
[contributing-newissue]: https://github.com/algolia/instantsearch/issues/new?labels=triage

examples/js/e-commerce-umd/src/theme.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ a[class^='ais-'] {
1010
text-decoration: none;
1111
}
1212

13-
/*
14-
We need to target the root element because Angular InstantSearch
15-
creates web components which are not targetable with the `*` selector.
16-
*/
17-
[class^='ais-'][class$='--disabled'],
1813
/*
1914
We need to target all elements for widgets containing
2015
multiple sub elements (e.g. RangeSlider)

examples/js/e-commerce/src/theme.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ a[class^='ais-'] {
1010
text-decoration: none;
1111
}
1212

13-
/*
14-
We need to target the root element because Angular InstantSearch
15-
creates web components which are not targetable with the `*` selector.
16-
*/
17-
[class^='ais-'][class$='--disabled'],
1813
/*
1914
We need to target all elements for widgets containing
2015
multiple sub elements (e.g. RangeSlider)

examples/js/media/src/theme.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ a[class^='ais-'] {
1010
text-decoration: none;
1111
}
1212

13-
/*
14-
We need to target the root element because Angular InstantSearch
15-
creates web components which are not targetable with the `*` selector.
16-
*/
17-
[class^='ais-'][class$='--disabled'],
1813
/*
1914
We need to target all elements for widgets containing
2015
multiple sub elements (e.g. RangeSlider)

examples/react/e-commerce/Theme.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ a[class^='ais-'] {
1010
text-decoration: none;
1111
}
1212

13-
/*
14-
We need to target the root element because Angular InstantSearch
15-
creates web components which are not targetable with the `*` selector.
16-
*/
17-
[class^='ais-'][class$='--disabled'],
1813
/*
1914
We need to target all elements for widgets containing
2015
multiple sub elements (e.g. RangeSlider)

examples/vue/e-commerce/src/Theme.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ a[class^='ais-'] {
1010
text-decoration: none;
1111
}
1212

13-
/*
14-
We need to target the root element because Angular InstantSearch
15-
creates web components which are not targetable with the `*` selector.
16-
*/
17-
[class^='ais-'][class$='--disabled'],
1813
/*
1914
We need to target all elements for widgets containing
2015
multiple sub elements (e.g. RangeSlider)

packages/create-instantsearch-app/README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
[![Version][version-svg]][package-url] [![License][license-image]][license-url] [![Build Status][ci-svg]][ci-url]
66

7-
`create-instantsearch-app` is a command line utility that helps you quick start your InstantSearch app using any [Algolia][algolia-website] InstantSearch flavor ([InstantSearch.js][instantsearchjs-github], [React InstantSearch][react-instantsearch-github], [Vue InstantSearch][vue-instantsearch-github], [Angular InstantSearch][angular-instantsearch-github], [InstantSearch iOS][instantsearch-ios-github] and [InstantSearch Android][instantsearch-android-github]).
7+
`create-instantsearch-app` is a command line utility that helps you quick start your InstantSearch app using any [Algolia][algolia-website] InstantSearch flavor ([InstantSearch.js][instantsearchjs-github], [React InstantSearch][react-instantsearch-github], [Vue InstantSearch][vue-instantsearch-github], [InstantSearch iOS][instantsearch-ios-github] and [InstantSearch Android][instantsearch-android-github]).
88

99
<p align="center">
1010
<img src="preview.png" width="800" alt="Preview">
@@ -50,9 +50,7 @@ cd my-app
5050
yarn start
5151
```
5252

53-
> **Important**
54-
> Selecting 'Y' when being prompted to ‘Enable user events’ activates the [`insights`](https://www.algolia.com/doc/api-reference/widgets/instantsearch/js/#widget-param-insights) option for compatible templates, allowing Algolia to process your user Events. Events can unlock powerful features, enhancing your application's effectiveness and we encourage you to consider enabling this valuable functionality. Please review our [API reference](https://www.algolia.com/doc/api-reference/widgets/instantsearch/js/#widget-param-insights) for more details about Events collection and settings.
55-
53+
> **Important** Selecting 'Y' when being prompted to ‘Enable user events’ activates the [`insights`](https://www.algolia.com/doc/api-reference/widgets/instantsearch/js/#widget-param-insights) option for compatible templates, allowing Algolia to process your user Events. Events can unlock powerful features, enhancing your application's effectiveness and we encourage you to consider enabling this valuable functionality. Please review our [API reference](https://www.algolia.com/doc/api-reference/widgets/instantsearch/js/#widget-param-insights) for more details about Events collection and settings.
5654
5755
## Usage
5856

@@ -89,7 +87,6 @@ Supported templates are:
8987
- [`React InstantSearch`][react-instantsearch-github]
9088
- [`React InstantSearch Native`][react-instantsearch-github]
9189
- [`Vue InstantSearch`][vue-instantsearch-github]
92-
- [`Angular InstantSearch`][angular-instantsearch-github]
9390
- [`InstantSearch iOS`][instantsearch-ios-github]
9491
- [`InstantSearch Android`][instantsearch-android-github]
9592

@@ -158,7 +155,6 @@ You can use the web templates on CodeSandbox:
158155
- [InstantSearch.js](https://codesandbox.io/s/github/algolia/instantsearch/tree/templates/instantsearch.js)
159156
- [React InstantSearch](https://codesandbox.io/s/github/algolia/instantsearch/tree/templates/react-instantsearch)
160157
- [Vue InstantSearch](https://codesandbox.io/s/github/algolia/instantsearch/tree/templates/vue-instantsearch)
161-
- [Angular InstantSearch](https://codesandbox.io/s/github/algolia/instantsearch/tree/templates/angular-instantsearch)
162158
- [Autocomplete.js](https://codesandbox.io/s/github/algolia/instantsearch/tree/templates/autocomplete.js)
163159
- [JavaScript Client](https://codesandbox.io/s/github/algolia/instantsearch/tree/templates/javascript-client)
164160
- [JavaScript Helper](https://codesandbox.io/s/github/algolia/instantsearch/tree/templates/javascript-helper)
@@ -198,7 +194,6 @@ Create InstantSearch App is [MIT licensed](LICENSE).
198194
[instantsearchjs-github]: https://github.com/algolia/instantsearch/tree/master/packages/instantsearch.js
199195
[react-instantsearch-github]: https://github.com/algolia/instantsearch/tree/master/packages/react-instantsearch
200196
[vue-instantsearch-github]: https://github.com/algolia/instantsearch/tree/master/packages/vue-instantsearch
201-
[angular-instantsearch-github]: https://github.com/algolia/angular-instantsearch
202197
[instantsearch-ios-github]: https://github.com/algolia/instantsearch-ios
203198
[instantsearch-android-github]: https://github.com/algolia/instantsearch-android
204199
[contributing-bugreport]: https://github.com/algolia/instantsearch/issues/new?template=BUG_REPORT.yml&labels=triage,Library%3A%20Create+InstantSearch+App

packages/create-instantsearch-app/docs/deploy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Deploy an InstantSearch app
22

3-
Create InstantSearch App generates applications that are ready to be deployed. They rely on bundlers and framework toolkits (Parcel, Create React App, Vue CLI, Angular CLI, etc.).
3+
Create InstantSearch App generates applications that are ready to be deployed. They rely on bundlers and framework toolkits (Parcel, Create React App, Vue CLI, etc.).
44

55
Your app can be deployed in a single command, assuming you're located in its folder.
66

0 commit comments

Comments
 (0)