@strapi-community/plugin-io 5.3.0 → 5.3.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 +23 -21
- package/dist/server/index.js +1 -0
- package/dist/server/index.mjs +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -898,13 +898,17 @@ Authorization: Bearer <admin-jwt>
|
|
|
898
898
|
|
|
899
899
|
The plugin provides a full admin interface for configuration and monitoring.
|
|
900
900
|
|
|
901
|
-
### Dashboard
|
|
901
|
+
### Dashboard Widgets
|
|
902
902
|
|
|
903
903
|
> **Requires Strapi v5.13+**
|
|
904
904
|
|
|
905
|
-
After installation,
|
|
905
|
+
After installation, live statistics widgets appear on your Strapi admin homepage:
|
|
906
906
|
|
|
907
|
-
|
|
907
|
+
#### Socket.IO Statistics Widget
|
|
908
|
+
|
|
909
|
+

|
|
910
|
+
|
|
911
|
+
**Shows:**
|
|
908
912
|
- Live connection status (pulsing indicator when active)
|
|
909
913
|
- Active connections count
|
|
910
914
|
- Active rooms count
|
|
@@ -913,12 +917,24 @@ After installation, a live statistics widget appears on your Strapi admin homepa
|
|
|
913
917
|
|
|
914
918
|
Updates automatically every 5 seconds.
|
|
915
919
|
|
|
920
|
+
#### Who's Online Widget
|
|
921
|
+
|
|
922
|
+

|
|
923
|
+
|
|
924
|
+
**Shows:**
|
|
925
|
+
- List of currently online admin users
|
|
926
|
+
- User avatars with role badges
|
|
927
|
+
- Online status and last activity
|
|
928
|
+
- Quick access to view all activity
|
|
929
|
+
|
|
916
930
|
### Settings Page
|
|
917
931
|
|
|
918
932
|
Navigate to **Settings > Socket.IO > Settings** for visual configuration:
|
|
919
933
|
|
|
920
934
|
**Path:** `/admin/settings/io/settings`
|
|
921
935
|
|
|
936
|
+

|
|
937
|
+
|
|
922
938
|
#### General Settings
|
|
923
939
|
- Enable/disable the plugin
|
|
924
940
|
- Configure CORS origins
|
|
@@ -956,6 +972,8 @@ Navigate to **Settings > Socket.IO > Monitoring** for live statistics:
|
|
|
956
972
|
|
|
957
973
|
**Path:** `/admin/settings/io/monitoring`
|
|
958
974
|
|
|
975
|
+

|
|
976
|
+
|
|
959
977
|
- View active connections with user details
|
|
960
978
|
- See event logs in real-time
|
|
961
979
|
- Monitor performance metrics (events/second)
|
|
@@ -971,6 +989,8 @@ When editing content in the Content Manager, a **Live Presence** panel appears i
|
|
|
971
989
|
- **Active Editors** - List of other users editing the same content
|
|
972
990
|
- **Typing Indicator** - Shows when someone is typing and in which field
|
|
973
991
|
|
|
992
|
+

|
|
993
|
+
|
|
974
994
|
**How It Works:**
|
|
975
995
|
|
|
976
996
|
1. When you open a content entry, the panel connects via Socket.IO
|
|
@@ -978,24 +998,6 @@ When editing content in the Content Manager, a **Live Presence** panel appears i
|
|
|
978
998
|
3. Typing in any field broadcasts a typing indicator to others
|
|
979
999
|
4. When you leave, others are notified
|
|
980
1000
|
|
|
981
|
-
**Example Display:**
|
|
982
|
-
|
|
983
|
-
```
|
|
984
|
-
+-----------------------------+
|
|
985
|
-
| Live Presence |
|
|
986
|
-
+-----------------------------+
|
|
987
|
-
| [*] Live |
|
|
988
|
-
| Real-time sync active |
|
|
989
|
-
+-----------------------------+
|
|
990
|
-
| ALSO EDITING (1) |
|
|
991
|
-
| +-------------------------+ |
|
|
992
|
-
| | SA Sarah Admin | |
|
|
993
|
-
| | Typing in: title | |
|
|
994
|
-
| | [Typing...] | |
|
|
995
|
-
| +-------------------------+ |
|
|
996
|
-
+-----------------------------+
|
|
997
|
-
```
|
|
998
|
-
|
|
999
1001
|
---
|
|
1000
1002
|
|
|
1001
1003
|
## Monitoring Service
|
package/dist/server/index.js
CHANGED
|
@@ -11383,6 +11383,7 @@ const getNonVisibleAttributes = (model) => {
|
|
|
11383
11383
|
return ___default.uniq([
|
|
11384
11384
|
ID_ATTRIBUTE$4,
|
|
11385
11385
|
DOC_ID_ATTRIBUTE$4,
|
|
11386
|
+
PUBLISHED_AT_ATTRIBUTE$1,
|
|
11386
11387
|
...getTimestamps(model),
|
|
11387
11388
|
...nonVisibleAttributes
|
|
11388
11389
|
]);
|
package/dist/server/index.mjs
CHANGED
|
@@ -11351,6 +11351,7 @@ const getNonVisibleAttributes = (model) => {
|
|
|
11351
11351
|
return ___default.uniq([
|
|
11352
11352
|
ID_ATTRIBUTE$4,
|
|
11353
11353
|
DOC_ID_ATTRIBUTE$4,
|
|
11354
|
+
PUBLISHED_AT_ATTRIBUTE$1,
|
|
11354
11355
|
...getTimestamps(model),
|
|
11355
11356
|
...nonVisibleAttributes
|
|
11356
11357
|
]);
|
package/package.json
CHANGED