@bigbinary/neeto-filters-frontend 3.2.0-beta.1 → 3.2.1
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.
- package/README.md +19 -4
- package/app/javascript/src/translations/en.json +5 -9
- package/dist/index.cjs.js +1499 -2719
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +1521 -2739
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
- package/types.d.ts +26 -43
package/README.md
CHANGED
|
@@ -10,6 +10,7 @@ The `neeto-filters-nano` manages filters across neeto products. The nano export
|
|
|
10
10
|
- [Installation](#installation-1)
|
|
11
11
|
- [Components](#components)
|
|
12
12
|
2. [Instructions for Publishing](#instructions-for-publishing)
|
|
13
|
+
3. [Releasing beta versions](#releasing-beta-versions)
|
|
13
14
|
|
|
14
15
|
# Development with Host Application
|
|
15
16
|
## Engine
|
|
@@ -77,7 +78,6 @@ You can learn more about setup and usage here:
|
|
|
77
78
|
- `keyword`: To specify the props related to searching.
|
|
78
79
|
- `childrenKeys`: The list of keys which has to be cleared from url during clear filters operation.
|
|
79
80
|
- `children`: To specify the custom components specific to the host application.
|
|
80
|
-
- `size`: To specify the width of the filters pane. It accepts "xsmall" (default), "small", and "large" as value.
|
|
81
81
|
|
|
82
82
|
**Configuration**
|
|
83
83
|
- Refer to the [Filters](/docs/frontend/filters.md) section for detailed information on the available configurations for the `Filters` component.
|
|
@@ -126,7 +126,6 @@ export default App;
|
|
|
126
126
|
- `childrenKeys`: The list of keys which has to be cleared from url during clear filters operation.
|
|
127
127
|
- `entity`: The entity associated with the filters.
|
|
128
128
|
- `defaultSegmentName`: The name of segment which results all entities without applying any filter. Default name is "All results".
|
|
129
|
-
- `customFilters`: To specify the custom components specific to the host application. This should be same as `children` passed to the `Filters` component.
|
|
130
129
|
|
|
131
130
|
All these props must be same as that passed to the `Filters` component. The
|
|
132
131
|
option to save filters as segments will be enabled only when the entity prop is
|
|
@@ -185,8 +184,6 @@ export default App;
|
|
|
185
184
|
- `entity`: The entity associated with the segments.
|
|
186
185
|
- `setIsPaneOpen`: To trigger the isOpen state of the filters pane.
|
|
187
186
|
- `defaultSegmentName`: The name of segment which results all entities without applying any filter. Default name is "All results".
|
|
188
|
-
- `customFilters`: To specify the custom components specific to the host application. This should be same as `children` passed to the `Filters` component.
|
|
189
|
-
- `childrenKeys`: The list of keys which has to be cleared from url during clear filters operation.
|
|
190
187
|
|
|
191
188
|
The "columns" prop must be same as that passed to the `Filters` component.
|
|
192
189
|
|
|
@@ -454,3 +451,21 @@ this case, all the users whose email address contains `bigbinary` in the
|
|
|
454
451
|
|
|
455
452
|
# Instructions for Publishing
|
|
456
453
|
Consult the [building and releasing packages](https://neeto-engineering.neetokb.com/articles/building-and-releasing-packages) guide for details on how to publish.
|
|
454
|
+
|
|
455
|
+
# Releasing beta versions
|
|
456
|
+
|
|
457
|
+
- Push the changes to a target branch for releasing beta version.
|
|
458
|
+
- Update the package version to `{latest-version}-beta` (if `1.2.34` is the
|
|
459
|
+
current latest version, it will be `1.2.34-beta`) in the target branch for
|
|
460
|
+
beta release.
|
|
461
|
+
- [Draft a new release](https://github.com/bigbinary/neeto-filters-nano/releases/new)
|
|
462
|
+
from the repo with the target branch.
|
|
463
|
+
- Add a new tag and title in the format: version prefixed with `v`, eg:
|
|
464
|
+
`v1.2.34-beta`.
|
|
465
|
+
- Generate release notes.
|
|
466
|
+
- Set the release as a pre-release and publish the release.
|
|
467
|
+
<img width="640" alt="image" src="https://private-user-images.githubusercontent.com/22348659/292095447-8bcb83f3-dc52-46f8-98f9-a388df33abf2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDc0NTU4MDcsIm5iZiI6MTcwNzQ1NTUwNywicGF0aCI6Ii8yMjM0ODY1OS8yOTIwOTU0NDctOGJjYjgzZjMtZGM1Mi00NmY4LTk4ZjktYTM4OGRmMzNhYmYyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMjA5VDA1MTE0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTljYjQwOGMwYTY3ZjhmZGM4N2VjNmMwMjhlYTIxY2MzYTNmZjZhMDRmZDU1OWZjMzkzNmVmZmFhNDVlZTNmMDkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.GdDk-fZIuLoZhqSdWJkvvU8l1_N-lwQEgWm5ttc7Ebs">
|
|
468
|
+
|
|
469
|
+
If we are releasing a beta version to a product, we have to inform the
|
|
470
|
+
compliance team as well to avoid overwriting the version with latest version on
|
|
471
|
+
the next compliance release.
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
"clearFilters": "Clear filters",
|
|
5
5
|
"columns": "Columns",
|
|
6
6
|
"delete": "Delete",
|
|
7
|
-
"edit": "Edit",
|
|
8
7
|
"done": "Done",
|
|
9
8
|
"filter": "Filter",
|
|
10
9
|
"filters": "Filters",
|
|
@@ -47,24 +46,21 @@
|
|
|
47
46
|
},
|
|
48
47
|
"segments": {
|
|
49
48
|
"addNewSegment": "Add new segment",
|
|
50
|
-
"saveAsNewSegment": "Add as new segment",
|
|
51
|
-
"editSegment": "Edit segment",
|
|
52
49
|
"deleteAlertMessage": "You are permanently deleting the segment <strong>{{entity,anyCase}}</strong>. This can't be undone.",
|
|
53
50
|
"deleteAlertTitle": "Delete segment?",
|
|
54
51
|
"manageSegments": "Manage segments",
|
|
55
52
|
"name": "Segment name",
|
|
56
53
|
"noSegmentsFound": "No segments found",
|
|
57
54
|
"saveSegment": "Save segment",
|
|
58
|
-
"
|
|
55
|
+
"saveAsSegment": "Save as segment",
|
|
56
|
+
"saveAsNewSegment": "Save as new segment",
|
|
59
57
|
"searchSegments": "Search segments",
|
|
60
58
|
"segmentName": "Segment name",
|
|
61
59
|
"showLess": "See less",
|
|
62
60
|
"showMoreNumbers": "See {{entity}} more",
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"newFilter": "New filter",
|
|
67
|
-
"selectFilter": "Select filter"
|
|
61
|
+
"updateSegment": "Update segment?",
|
|
62
|
+
"updateSegmentMessage": "You are trying to update the current segment <strong>{{entity,anyCase}}</strong>.",
|
|
63
|
+
"reservedNameErrorMessage": "This name is reserved. Please choose another name."
|
|
68
64
|
},
|
|
69
65
|
"labels": {
|
|
70
66
|
"keyword": "Keyword"
|