Skip to content

Commit

Permalink
r0b08x [chore] 2/28/2024, 10:50:44 AM
Browse files Browse the repository at this point in the history
  • Loading branch information
p3x-robot committed Feb 28, 2024
1 parent b960d7e commit a04c87b
Show file tree
Hide file tree
Showing 9 changed files with 33 additions and 16 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ https://corifeus.com/redis-ui


---
# 💿 The p3x-redis-ui-material web interface that connects to the p3x-redis-ui-server via http and socket.io v2024.4.121
# 💿 The p3x-redis-ui-material web interface that connects to the p3x-redis-ui-server via http and socket.io v2024.4.122



Expand Down Expand Up @@ -79,7 +79,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://

---

[**P3X-REDIS-UI-MATERIAL**](https://corifeus.com/redis-ui-material) Build v2024.4.121
[**P3X-REDIS-UI-MATERIAL**](https://corifeus.com/redis-ui-material) Build v2024.4.122

[![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "p3x-redis-ui-material",
"version": "2024.4.121",
"version": "2024.4.122",
"description": "💿 The p3x-redis-ui-material web interface that connects to the p3x-redis-ui-server via http and socket.io",
"corifeus": {
"icon": "fas fa-database",
Expand Down
6 changes: 4 additions & 2 deletions src/angular/pages/main/key/p3xr-main-key-hash.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@
<div layout-gt-xs="row" layout="column" layout-align-gt-sm="start start" layout-align="center center" ng-repeat="(key, value) in $ctrl.pageBasedList()"
ng-class="{ 'p3xr-list-key-odd-item': $odd }" class="p3xr-list-key-item">
<div flex="20" ng-click="$ctrl.editValue({ hashKey: key, value: value, $event: $event})"><span ng-if="!$root.$mdMedia('xs')">&nbsp;</span><span ng-if="$root.p3xr.settings.maxValueDisplay > 0 && key.length > $root.p3xr.settings.maxValueDisplay">{{ key.substring(0, $root.p3xr.settings.maxValueDisplay) }}...</span><span ng-if="$root.p3xr.settings.maxValueDisplay === 0 || key.length <= $root.p3xr.settings.maxValueDisplay || $root.p3xr.settings.maxValueDisplay === -1 ">{{ key }}</span></div>
<div flex="60" class="p3xr-pre" style="overflow: auto;align-items: flex-start; max-height: 200px;"
ng-click="$ctrl.editValue({ hashKey: key, value: value, $event: $event})"><span ng-if="$root.p3xr.settings.maxValueDisplay > 0 && value.length > $root.p3xr.settings.maxValueDisplay">{{ value.substring(0, $root.p3xr.settings.maxValueDisplay) }}...</span><span ng-if="$root.p3xr.settings.maxValueDisplay === 0 || value.length <= $root.p3xr.settings.maxValueDisplay || $root.p3xr.settings.maxValueDisplay === -1 ">{{ value }}</span></div>
<div flex="60" style="overflow: auto;align-items: flex-start; max-height: 200px;" ng-click="$ctrl.editValue({ hashKey: key, value: value, $event: $event})">
<span class="p3xr-pre" ng-if="$root.p3xr.settings.maxValueDisplay > 0 && value.length > $root.p3xr.settings.maxValueDisplay">{{ value.substring(0, $root.p3xr.settings.maxValueDisplay) }}...</span>
<span class="p3xr-pre" ng-if="$root.p3xr.settings.maxValueDisplay === 0 || value.length <= $root.p3xr.settings.maxValueDisplay || $root.p3xr.settings.maxValueDisplay === -1 ">{{ value }}</span>
</div>
<div flex="20" style="text-align: right; ">

<md-button class="md-icon-button md-warn" ng-click="$ctrl.deleteHashKey({ hashKey: key, $event: $event})" ng-if="$root.p3xr.state.connection.readonly !== true">
Expand Down
6 changes: 4 additions & 2 deletions src/angular/pages/main/key/p3xr-main-key-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@
<span ng-if="!$root.$mdMedia('xs')">&nbsp;</span>
{{ $index + ($ctrl.pages * ($ctrl.page -1) ) }}
</div>
<div flex="60" class="p3xr-pre" style="overflow: auto;align-items: flex-start; max-height: 200px;"
ng-click="$ctrl.editValue({ index: $index, value: value, $event: $event})"><span ng-if="$root.p3xr.settings.maxValueDisplay > 0 && value.length > $root.p3xr.settings.maxValueDisplay">{{ value.substring(0, $root.p3xr.settings.maxValueDisplay) }}...</span><span ng-if="$root.p3xr.settings.maxValueDisplay === 0 || value.length <= $root.p3xr.settings.maxValueDisplay|| $root.p3xr.settings.maxValueDisplay === -1 ">{{ value }}</span></div>
<div flex="60" style="overflow: auto;align-items: flex-start; max-height: 200px;" ng-click="$ctrl.editValue({ index: $index, value: value, $event: $event})">
<span class="p3xr-pre" ng-if="$root.p3xr.settings.maxValueDisplay > 0 && value.length > $root.p3xr.settings.maxValueDisplay">{{ value.substring(0, $root.p3xr.settings.maxValueDisplay) }}...</span>
<span class="p3xr-pre" ng-if="$root.p3xr.settings.maxValueDisplay === 0 || value.length <= $root.p3xr.settings.maxValueDisplay|| $root.p3xr.settings.maxValueDisplay === -1 ">{{ value }}</span>
</div>
<div flex="20" style="text-align: right; ">

<md-button class="md-icon-button md-warn" ng-click="$ctrl.deleteListElement({ index: $index, $event: $event})" ng-if="$root.p3xr.state.connection.readonly !== true">
Expand Down
6 changes: 4 additions & 2 deletions src/angular/pages/main/key/p3xr-main-key-set.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@

<div layout-gt-xs="row" layout="column" layout-align-gt-sm="start start" layout-align="center center" ng-repeat="value in $ctrl.pageBasedList()"
ng-class="{ 'p3xr-list-key-odd-item': $odd }" class="p3xr-list-key-item">
<div flex="95" class="p3xr-pre" style="padding-left: 3px; align-items: flex-start; max-height: 200px;"
ng-click="$ctrl.editValue({ value: value, $event: $event})"><span ng-if="$root.p3xr.settings.maxValueDisplay > 0 && value.length > $root.p3xr.settings.maxValueDisplay">{{ value.substring(0, $root.p3xr.settings.maxValueDisplay) }}...</span><span ng-if="$root.p3xr.settings.maxValueDisplay === 0 || value.length <= $root.p3xr.settings.maxValueDisplay || $root.p3xr.settings.maxValueDisplay === -1 ">{{ value }}</span></div>
<div flex="95" style="padding-left: 3px; align-items: flex-start; max-height: 200px; overflow: auto !important; " ng-click="$ctrl.editValue({ value: value, $event: $event})">
<span class="p3xr-pre" ng-if="$root.p3xr.settings.maxValueDisplay > 0 && value.length > $root.p3xr.settings.maxValueDisplay">{{ value.substring(0, $root.p3xr.settings.maxValueDisplay) }}...</span>
<span class="p3xr-pre" ng-if="$root.p3xr.settings.maxValueDisplay === 0 || value.length <= $root.p3xr.settings.maxValueDisplay || $root.p3xr.settings.maxValueDisplay === -1 ">{{ value }}</span>
</div>
<div flex="5" style="text-align: right; ">

<md-button class="md-icon-button md-warn" ng-click="$ctrl.deleteSetMember({ value: value, $event: $event})" ng-if="$root.p3xr.state.connection.readonly !== true">
Expand Down
4 changes: 3 additions & 1 deletion src/angular/pages/main/key/p3xr-main-key-stream.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
<md-tooltip md-direction="top">{{ $ctrl.showTimestamp({ timestamp: value[0]})}}</md-tooltip>
</span>
</div>
<div flex="60" class="p3xr-pre" style="overflow: auto;align-items: flex-start;"><span ng-repeat="dataArr in $ctrl.p3xrValueGenerated[key]">{{ dataArr[0]}} <i class="fas fa-chevron-right" style="transform: scale(0.75) !important;"></i> {{ dataArr[1]}}<span ng-if="!$last"><br/></span></span></div>
<div flex="60" style="overflow: auto;align-items: flex-start;">
<span ng-repeat="dataArr in $ctrl.p3xrValueGenerated[key]" class="p3xr-pre">{{ dataArr[0]}} <i class="fas fa-chevron-right" style="transform: scale(0.75) !important;"></i> {{ dataArr[1]}}<span ng-if="!$last"><br/></span></span>
</div>
<div flex="20" style="text-align: right; ">

<md-button class="md-icon-button md-warn" ng-click="$ctrl.deleteStreamTimestamp({ streamTimestamp: value[0], $event: $event})" ng-if="$root.p3xr.state.connection.readonly !== true">
Expand Down
7 changes: 6 additions & 1 deletion src/angular/pages/main/key/p3xr-main-key-string.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,12 @@
</div>

<div layout-padding>
<div class="p3xr-pre" style="max-width: 100%; overflow: auto;" ng-click="$ctrl.edit()" ng-if="!$ctrl.editable"><span ng-if="$root.p3xr.settings.maxValueDisplay > -1"><span ng-if="$root.p3xr.settings.maxValueDisplay > 0 && $ctrl.p3xrValue.length > $root.p3xr.settings.maxValueDisplay">{{ $ctrl.p3xrValue.substring(0, $root.p3xr.settings.maxValueDisplay) }}...</span><span ng-if="$root.p3xr.settings.maxValueDisplay === 0 || $ctrl.p3xrValue.length <= $root.p3xr.settings.maxValueDisplay">{{ $ctrl.p3xrValue }}</span></span></div>
<div style="max-width: 100%; overflow: auto;" ng-click="$ctrl.edit()" ng-if="!$ctrl.editable">
<span ng-if="$root.p3xr.settings.maxValueDisplay > -1">
<span class="p3xr-pre" ng-if="$root.p3xr.settings.maxValueDisplay > 0 && $ctrl.p3xrValue.length > $root.p3xr.settings.maxValueDisplay">{{ $ctrl.p3xrValue.substring(0, $root.p3xr.settings.maxValueDisplay) }}...</span>
<span class="p3xr-pre" ng-if="$root.p3xr.settings.maxValueDisplay === 0 || $ctrl.p3xrValue.length <= $root.p3xr.settings.maxValueDisplay">{{ $ctrl.p3xrValue }}</span>
</span>
</div>

<div ng-if="$ctrl.editable">
<md-input-container class="md-block">
Expand Down
6 changes: 4 additions & 2 deletions src/angular/pages/main/key/p3xr-main-key-zset.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@
<span ng-if="!$root.$mdMedia('xs')">&nbsp;</span>
{{ value[0] }}
</div>
<div flex="60" class="p3xr-pre" style="overflow: auto;align-items: flex-start; max-height: 200px;"
ng-click="$ctrl.editValue({ score: value[0], member: value[1], $event: $event})"><span ng-if="$root.p3xr.settings.maxValueDisplay > 0 && value[1].length > $root.p3xr.settings.maxValueDisplay">{{ value[1].substring(0, $root.p3xr.settings.maxValueDisplay) }}...</span><span ng-if="$root.p3xr.settings.maxValueDisplay === 0 || value[1].length <= $root.p3xr.settings.maxValueDisplay|| $root.p3xr.settings.maxValueDisplay === -1 ">{{ value[1] }}</span></div>
<div flex="60" style="overflow: auto;align-items: flex-start; max-height: 200px;" ng-click="$ctrl.editValue({ score: value[0], member: value[1], $event: $event})">
<span class="p3xr-pre" ng-if="$root.p3xr.settings.maxValueDisplay > 0 && value[1].length > $root.p3xr.settings.maxValueDisplay">{{ value[1].substring(0, $root.p3xr.settings.maxValueDisplay) }}...</span>
<span class="p3xr-pre" ng-if="$root.p3xr.settings.maxValueDisplay === 0 || value[1].length <= $root.p3xr.settings.maxValueDisplay|| $root.p3xr.settings.maxValueDisplay === -1 ">{{ value[1] }}</span>
</div>
<div flex="20" style="text-align: right; ">

<md-button class="md-icon-button md-warn" ng-click="$ctrl.deleteZSet({ member: value[1], $event: $event})" ng-if="$root.p3xr.state.connection.readonly !== true">
Expand Down
8 changes: 5 additions & 3 deletions src/scss/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -389,11 +389,13 @@ body.p3xr-no-animation * {
line-height: 18px;
overflow: hidden !important;
//white-space: pre;
// white-space: pre-wrap;
word-wrap: break-word;
overflow-wrap: break-word;
white-space: pre-wrap;
//word-wrap: break-word !important;
//overflow-wrap: break-word !important;
// white-space: pre-wrap;
word-spacing: 0px;
//white-space: text-wrap;

}


Expand Down

0 comments on commit a04c87b

Please sign in to comment.