@bigbinary/neeto-email-pipeline-frontend 1.0.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 +109 -0
- package/app/javascript/src/translations/ar.json +5 -0
- package/app/javascript/src/translations/bg.json +5 -0
- package/app/javascript/src/translations/ca.json +5 -0
- package/app/javascript/src/translations/cs.json +5 -0
- package/app/javascript/src/translations/da.json +5 -0
- package/app/javascript/src/translations/de.json +5 -0
- package/app/javascript/src/translations/en.json +50 -0
- package/app/javascript/src/translations/es-MX.json +5 -0
- package/app/javascript/src/translations/es.json +5 -0
- package/app/javascript/src/translations/et.json +5 -0
- package/app/javascript/src/translations/fi.json +5 -0
- package/app/javascript/src/translations/fil.json +5 -0
- package/app/javascript/src/translations/fr.json +5 -0
- package/app/javascript/src/translations/he.json +5 -0
- package/app/javascript/src/translations/hi.json +5 -0
- package/app/javascript/src/translations/hr.json +5 -0
- package/app/javascript/src/translations/hu.json +5 -0
- package/app/javascript/src/translations/id.json +5 -0
- package/app/javascript/src/translations/index.js +3 -0
- package/app/javascript/src/translations/it.json +5 -0
- package/app/javascript/src/translations/ja.json +5 -0
- package/app/javascript/src/translations/ko.json +5 -0
- package/app/javascript/src/translations/nl.json +5 -0
- package/app/javascript/src/translations/pl.json +5 -0
- package/app/javascript/src/translations/pt-BR.json +5 -0
- package/app/javascript/src/translations/pt.json +5 -0
- package/app/javascript/src/translations/ro.json +5 -0
- package/app/javascript/src/translations/ru.json +5 -0
- package/app/javascript/src/translations/sk.json +5 -0
- package/app/javascript/src/translations/sl.json +5 -0
- package/app/javascript/src/translations/sv.json +5 -0
- package/app/javascript/src/translations/th.json +5 -0
- package/app/javascript/src/translations/tr.json +5 -0
- package/app/javascript/src/translations/uk.json +5 -0
- package/app/javascript/src/translations/vi.json +5 -0
- package/app/javascript/src/translations/zh-CN.json +5 -0
- package/app/javascript/src/translations/zh-TW.json +5 -0
- package/dist/.ready +1 -0
- package/dist/EmailLogs.js +557 -0
- package/dist/EmailLogs.js.map +1 -0
- package/dist/cjs/EmailLogs.js +559 -0
- package/dist/cjs/EmailLogs.js.map +1 -0
- package/dist/cjs/index.js +33 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/index.js +27 -0
- package/dist/index.js.map +1 -0
- package/package.json +234 -0
- package/types.d.ts +3 -0
package/README.md
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
# neeto-email-pipeline-nano
|
|
2
|
+
|
|
3
|
+
The `neeto-email-pipeline-nano` acts as the source of truth for the new nano's
|
|
4
|
+
structure, configs, data etc.
|
|
5
|
+
|
|
6
|
+
## Contents
|
|
7
|
+
|
|
8
|
+
1. [Development with Host Application](#development-with-host-application)
|
|
9
|
+
- [Engine](#engine)
|
|
10
|
+
- [Installation](#installation)
|
|
11
|
+
- [Usage](#usage)
|
|
12
|
+
- [Frontend package](#frontend-package)
|
|
13
|
+
- [Installation](#installation-1)
|
|
14
|
+
- [Instructions for development](#instructions-for-development)
|
|
15
|
+
- [Usage](#usage-1)
|
|
16
|
+
2. [Instructions for Publishing](#instructions-for-publishing)
|
|
17
|
+
|
|
18
|
+
## Development with Host Application
|
|
19
|
+
|
|
20
|
+
### Engine
|
|
21
|
+
|
|
22
|
+
#### Installation
|
|
23
|
+
|
|
24
|
+
1. Add this line to your application's Gemfile:
|
|
25
|
+
|
|
26
|
+
```ruby
|
|
27
|
+
source "NEETO_GEM_SERVER_URL" do
|
|
28
|
+
# ..existing gems
|
|
29
|
+
|
|
30
|
+
gem 'neeto-email-pipeline-engine'
|
|
31
|
+
end
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
2. And then execute:
|
|
35
|
+
|
|
36
|
+
```shell
|
|
37
|
+
bundle install
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
3. Add this line to your application's `config/routes.rb` file
|
|
41
|
+
|
|
42
|
+
```ruby
|
|
43
|
+
mount NeetoEmailPipelineEngine::Engine, at: "/neeto_email_pipeline"
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
4. Add required migrations in the `db/migrate` folder. Run the following
|
|
47
|
+
commands to copy the migrations from the engine to the host application.
|
|
48
|
+
|
|
49
|
+
```shell
|
|
50
|
+
bundle exec rails neeto_email_pipeline_engine:install:migrations
|
|
51
|
+
bundle exec rails db:migrate
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
#### Usage
|
|
55
|
+
|
|
56
|
+
1. Replace NeetoEmailPipelineNano with your project name
|
|
57
|
+
|
|
58
|
+
Create a `script.rb` file in the project root and paste the script from the
|
|
59
|
+
following file.
|
|
60
|
+
|
|
61
|
+
[Replace project name script](./docs/engine/replace-project-name-script.md)
|
|
62
|
+
|
|
63
|
+
2. Run the file using the following command:
|
|
64
|
+
|
|
65
|
+
```shell
|
|
66
|
+
ruby script.rb
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Notes ⚠️
|
|
70
|
+
|
|
71
|
+
- Don't commit this file.
|
|
72
|
+
- Project name should be given in PascalCase.
|
|
73
|
+
|
|
74
|
+
### Frontend package
|
|
75
|
+
|
|
76
|
+
#### Installation
|
|
77
|
+
|
|
78
|
+
1. Add the `neeto-email-pipeline-frontend` package to the `package.json`
|
|
79
|
+
|
|
80
|
+
```shell
|
|
81
|
+
yarn add @bigbinary/neeto-email-pipeline-frontend
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### Instructions for development
|
|
85
|
+
|
|
86
|
+
Check the
|
|
87
|
+
[Frontend package development guide](https://neeto-engineering.neetokb.com/p/a-d34cb4b0)
|
|
88
|
+
for step-by-step instructions to develop the frontend package.
|
|
89
|
+
|
|
90
|
+
#### Usage
|
|
91
|
+
|
|
92
|
+
1. Import `WelcomeScreen` component from
|
|
93
|
+
"@bigbinary/neeto-email-pipeline-frontend"
|
|
94
|
+
|
|
95
|
+
```javascript
|
|
96
|
+
import React from "react";
|
|
97
|
+
|
|
98
|
+
import { WelcomeScreen } from "@bigbinary/neeto-email-pipeline-frontend";
|
|
99
|
+
|
|
100
|
+
const App = () => <WelcomeScreen />;
|
|
101
|
+
|
|
102
|
+
export default App;
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
## Instructions for Publishing
|
|
106
|
+
|
|
107
|
+
Consult the
|
|
108
|
+
[building and releasing packages](https://neeto-engineering.neetokb.com/articles/building-and-releasing-packages)
|
|
109
|
+
guide for details on how to publish.
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"neetoEmailPipeline": {
|
|
3
|
+
"emailLogs": {
|
|
4
|
+
"title": "Email Logs",
|
|
5
|
+
"searchPlaceholder": "Search by email",
|
|
6
|
+
"emailWithCount_one": "{{count}} email",
|
|
7
|
+
"emailWithCount_other": "{{count}} emails",
|
|
8
|
+
"rateLimitedStat_one": "{{count}} rate-limited",
|
|
9
|
+
"rateLimitedStat_other": "{{count}} rate-limited",
|
|
10
|
+
"rateLimitedTooltip_one": "{{count}} email is currently rate-limited and pending delivery. It will appear in the logs once processed.",
|
|
11
|
+
"rateLimitedTooltip_other": "{{count}} emails are currently rate-limited and pending delivery. They will appear in the logs once processed.",
|
|
12
|
+
"subtitle": "Last {{retentionDays}} days · {{total}} emails · {{deliveredPct}}% delivered · {{bouncedPct}}% bounced · {{droppedPct}}% dropped",
|
|
13
|
+
"columns": {
|
|
14
|
+
"recipient": "Recipient",
|
|
15
|
+
"subject": "Subject",
|
|
16
|
+
"status": "Status",
|
|
17
|
+
"sentAt": "Sent At"
|
|
18
|
+
},
|
|
19
|
+
"statuses": {
|
|
20
|
+
"delivered": "Delivered",
|
|
21
|
+
"bounced": "Bounced",
|
|
22
|
+
"dropped": "Dropped",
|
|
23
|
+
"handedOver": "Handed Over",
|
|
24
|
+
"queued": "Queued",
|
|
25
|
+
"failed": "Failed",
|
|
26
|
+
"spamComplaint": "Spam Complaint"
|
|
27
|
+
},
|
|
28
|
+
"filters": {
|
|
29
|
+
"recipient": "Recipient",
|
|
30
|
+
"status": "Status",
|
|
31
|
+
"date": "Date"
|
|
32
|
+
},
|
|
33
|
+
"pane": {
|
|
34
|
+
"title": "Email details",
|
|
35
|
+
"recipient": "Recipient",
|
|
36
|
+
"from": "From",
|
|
37
|
+
"subject": "Subject",
|
|
38
|
+
"deliveryMethod": "Delivery Method",
|
|
39
|
+
"timeline": "Timeline",
|
|
40
|
+
"queued": "Queued",
|
|
41
|
+
"handedOver": "Handed Over",
|
|
42
|
+
"delivered": "Delivered",
|
|
43
|
+
"failed": "Failed",
|
|
44
|
+
"emailBody": "Email Body",
|
|
45
|
+
"loadingBody": "Loading email content...",
|
|
46
|
+
"noBody": "Email content is not available."
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
package/dist/.ready
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Built at 2026-05-22T14:44:59.047Z
|