Skip to content

Commit

Permalink
Merge pull request #44 from kytos-ng/chore/socketio
Browse files Browse the repository at this point in the history
chore: removed socket.io dependency
  • Loading branch information
viniarck authored May 5, 2023
2 parents 933db4e + a610aa5 commit 0ba64b6
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 81 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@ Security
Changed
=======

[2023.1.0-b1] - 2023-05-03
**************************

Removed
=======

- Logs on console with ``socket.io`` has been removed. In the future, it'll be supported without ``socket.io``.

[2022.3.0] - 2022-12-15
***********************

Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "kytos-web-ui",
"description": "Kytos-NG Web-ui project",
"version": "2022.3.0",
"version": "2023.1.0-b1",
"author": "Beraldo Leal <[email protected]>",
"private": true,
"scripts": {
Expand All @@ -13,7 +13,6 @@
"d3": "^4.11.0",
"glob": "^7.2.0",
"jsdocgen": "^0.2.4",
"socket.io-client": "^4.4.1",
"typeit": "^8.2.0",
"v-hotkey": "^0.9.0",
"vue": "^2.6.14",
Expand Down
76 changes: 0 additions & 76 deletions src/components/kytos/logging/Logging-Utils.js

This file was deleted.

7 changes: 4 additions & 3 deletions src/components/kytos/logging/Logging.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="k-logging-toolbar">
<k-button-group>
<k-button icon="trash" v-on:click.native="clear" tooltip="Clear Logging"></k-button>
<k-button v-bind:icon="playing" v-on:click.native="play_pause" tooltip="Pause/Play Logging" ></k-button>
<k-button v-if="false" v-bind:icon="playing" v-on:click.native="play_pause" tooltip="Pause/Play Logging" ></k-button>
<k-checkbox icon="paint-brush" v-on:change.native="change_colors" class="round"></k-checkbox>
</k-button-group>
<k-button-group>
Expand All @@ -29,11 +29,10 @@

<script>
import KytosBaseWithIcon from '../base/KytosBaseWithIcon';
import LoggingUtils from './Logging-Utils';
export default {
name: 'k-logging',
mixins: [KytosBaseWithIcon, LoggingUtils],
mixins: [KytosBaseWithIcon],
methods: {
/**
* Method called to change the log level.
Expand Down Expand Up @@ -90,6 +89,8 @@ export default {
},
data () {
return {
channels: new Set(),
logs: [],
colors: "no_colors",
playing: "stop",
highlight_string: "",
Expand Down

0 comments on commit 0ba64b6

Please sign in to comment.