chore(release): 0.4.0
Diff: https://github.com/socketio/socket.io-admin-ui/compare/0.3.0...0.4.0
This commit is contained in:
parent
5a8a75edc0
commit
89ed3c734d
18
CHANGELOG.md
18
CHANGELOG.md
|
|
@ -1,3 +1,21 @@
|
||||||
|
# [0.4.0](https://github.com/socketio/socket.io-admin-ui/compare/0.3.0...0.4.0) (2022-06-23)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **ui:** properly set initial nav drawer state ([77ee068](https://github.com/socketio/socket.io-admin-ui/commit/77ee0683185aceababc4439a3a945e273d547944))
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* add page displaying all events ([481ef22](https://github.com/socketio/socket.io-admin-ui/commit/481ef22b3aff37b40b142a29cb78e116d6d1e8e9))
|
||||||
|
* add production mode ([e0d91ca](https://github.com/socketio/socket.io-admin-ui/commit/e0d91cadb11205c5f2c686c239a50cb2eef9795d))
|
||||||
|
* display sent and received events ([8542601](https://github.com/socketio/socket.io-admin-ui/commit/8542601b55022f6ca00b677b7d7c7664a326526f))
|
||||||
|
* **ui:** add support for relative links ([fdec2ce](https://github.com/socketio/socket.io-admin-ui/commit/fdec2ce17bf7cad77a04e8eef42a26104b6a05b8))
|
||||||
|
* **ui:** separate the namespace from the server URL ([5a8a75e](https://github.com/socketio/socket.io-admin-ui/commit/3d4aed972f16dad3dd847d61f4db5e6f55978c4b))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# [0.3.0](https://github.com/socketio/socket.io-admin-ui/compare/0.2.0...0.3.0) (2022-05-03)
|
# [0.3.0](https://github.com/socketio/socket.io-admin-ui/compare/0.2.0...0.3.0) (2022-05-03)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
21
README.md
21
README.md
|
|
@ -13,6 +13,7 @@
|
||||||
- [`readonly`](#readonly)
|
- [`readonly`](#readonly)
|
||||||
- [`serverId`](#serverid)
|
- [`serverId`](#serverid)
|
||||||
- [`store`](#store)
|
- [`store`](#store)
|
||||||
|
- [`mode`](#mode)
|
||||||
- [How it works](#how-it-works)
|
- [How it works](#how-it-works)
|
||||||
- [License](#license)
|
- [License](#license)
|
||||||
|
|
||||||
|
|
@ -64,7 +65,7 @@ You should see the following modal:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Please enter the URL of your server, including the namespace (for example, `http://localhost:3000/admin` or `https://example.com/admin`) and the credentials, if applicable (see the `auth` option [below](#auth)).
|
Please enter the URL of your server (for example, `http://localhost:3000` or `https://example.com`) and the credentials, if applicable (see the `auth` option [below](#auth)).
|
||||||
|
|
||||||
### Available options
|
### Available options
|
||||||
|
|
||||||
|
|
@ -173,6 +174,24 @@ instrument(io, {
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### `mode`
|
||||||
|
|
||||||
|
Default value: `development`
|
||||||
|
|
||||||
|
In production mode, the server won't send all details about the socket instances and the rooms, thus reducing the memory footprint of the instrumentation.
|
||||||
|
|
||||||
|
```js
|
||||||
|
instrument(io, {
|
||||||
|
mode: "production"
|
||||||
|
});
|
||||||
|
```
|
||||||
|
|
||||||
|
The production mode can also be enabled with the NODE_ENV environment variable:
|
||||||
|
|
||||||
|
```
|
||||||
|
NODE_ENV=production node index.js
|
||||||
|
```
|
||||||
|
|
||||||
## How it works
|
## How it works
|
||||||
|
|
||||||
You can check the details of the implementation in the [lib/index.ts](lib/index.ts) file.
|
You can check the details of the implementation in the [lib/index.ts](lib/index.ts) file.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@socket.io/admin-ui",
|
"name": "@socket.io/admin-ui",
|
||||||
"version": "0.3.0",
|
"version": "0.4.0",
|
||||||
"description": "Admin UI for Socket.IO",
|
"description": "Admin UI for Socket.IO",
|
||||||
"files": [
|
"files": [
|
||||||
"dist/",
|
"dist/",
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
.chart[data-v-58987bf8],.chart[data-v-d6482f56]{max-width:160px;margin:20px}.select-room[data-v-d014ee1e],.selector[data-v-2c330798]{max-width:200px}.key-column[data-v-8d2424e4],.key-column[data-v-41eb1dae],.key-column[data-v-18284f59]{width:30%}
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
.chart[data-v-0ad5cc14],.chart[data-v-68c0c5d5]{max-width:160px;margin:20px}.selector[data-v-2c330798]{max-width:200px}.row-pointer[data-v-1d29c60a] tbody>tr:hover{cursor:pointer}.select-room[data-v-5631eb89]{max-width:200px}.row-pointer[data-v-5631eb89] tbody>tr:hover{cursor:pointer}.key-column[data-v-3c0dcfcd]{width:30%}.link[data-v-3c0dcfcd]{color:inherit}.key-column[data-v-18284f59]{width:30%}.row-pointer[data-v-57b53591] tbody>tr:hover,.row-pointer[data-v-29992f63] tbody>tr:hover{cursor:pointer}.key-column[data-v-8d2424e4]{width:30%}.row-pointer[data-v-38772079] tbody>tr:hover,.row-pointer[data-v-c9425064] tbody>tr:hover{cursor:pointer}.link[data-v-2c2337d4]{color:inherit}
|
||||||
|
|
@ -1 +1 @@
|
||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.png"><title>Socket.IO Admin UI</title><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css"><link href="/css/app.4ba437f0.css" rel="preload" as="style"><link href="/css/chunk-vendors.9f55d012.css" rel="preload" as="style"><link href="/js/app.895ee6c7.js" rel="preload" as="script"><link href="/js/chunk-vendors.ad0a9e7f.js" rel="preload" as="script"><link href="/css/chunk-vendors.9f55d012.css" rel="stylesheet"><link href="/css/app.4ba437f0.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but Socket.IO Admin UI doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.ad0a9e7f.js"></script><script src="/js/app.895ee6c7.js"></script></body></html>
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="favicon.png"><title>Socket.IO Admin UI</title><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css"><link href="css/app.6e3b9661.css" rel="preload" as="style"><link href="css/chunk-vendors.9f55d012.css" rel="preload" as="style"><link href="js/app.37014115.js" rel="preload" as="script"><link href="js/chunk-vendors.587058a6.js" rel="preload" as="script"><link href="css/chunk-vendors.9f55d012.css" rel="stylesheet"><link href="css/app.6e3b9661.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but Socket.IO Admin UI doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="js/chunk-vendors.587058a6.js"></script><script src="js/app.37014115.js"></script></body></html>
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "ui",
|
"name": "ui",
|
||||||
"version": "0.3.0",
|
"version": "0.4.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"serve": "vue-cli-service serve",
|
"serve": "vue-cli-service serve",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue