Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 5.1 #506

Open
wants to merge 100 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
e2cbe61
Primary books integration
ALotOfNthing Dec 14, 2021
6369ba3
Book pages
rzvdv Dec 16, 2021
52cce6f
fix build
rzvdv Dec 16, 2021
38e7c74
Fix graph search
rzvdv Dec 16, 2021
fa67cef
Preload books before creating root store
rzvdv Dec 17, 2021
2e6b0e0
Move sessions loading to SessionsStore
rzvdv Dec 17, 2021
49ad356
Remove unused dependency
rzvdv Dec 17, 2021
8024fc9
Add scope, update bookmarks
rzvdv Dec 17, 2021
88fe3d7
Filter search history by bookId
rzvdv Dec 20, 2021
026006b
Fix search result click handler
rzvdv Dec 20, 2021
f82c464
Fix search history
rzvdv Dec 20, 2021
d825cfa
fix illegal invocation error
rzvdv Dec 20, 2021
18a0dc7
New workspace from graph items and bookmarks
rzvdv Dec 20, 2021
f4f3dd2
Refetch event tree on book change
rzvdv Dec 21, 2021
e8a61e2
Save only valid sessions
rzvdv Dec 21, 2021
1a5a3ee
Bump version
rzvdv Dec 21, 2021
4d27bd2
Remove async message filter
rzvdv Dec 21, 2021
9c3ea0c
Fix indexedb upgrade
rzvdv Dec 22, 2021
e69aa34
Fix indexeddb
rzvdv Dec 23, 2021
e5c6d29
New workspace from event or message
rzvdv Dec 28, 2021
840d4d4
Merge branch 'master' into books_integration
rzvdv Dec 28, 2021
93d8585
fix errors
rzvdv Dec 28, 2021
f02f8f6
Handle selected book change
rzvdv Dec 28, 2021
565dc82
Add search for book select
rzvdv Feb 9, 2022
43f7746
added notification about empty books
molotgor Aug 2, 2022
1908efa
lint:fix
molotgor Aug 2, 2022
e3b5819
restore package-lock.json
rzvdv Aug 3, 2022
335f9df
Fix lint errors
rzvdv Aug 3, 2022
4b734c2
books-pages
rzvdv Aug 10, 2022
4f597b7
Merge branch 'master' into books-pages-5
rzvdv Aug 11, 2022
dbfc3ed
Fix linting error
rzvdv Aug 11, 2022
7589495
Fix autocomplete bug
rzvdv Aug 12, 2022
8507b61
Fix api parameters
rzvdv Aug 12, 2022
93c5b04
unique streams array
molotgor Nov 21, 2022
8cfef55
bump version
molotgor Nov 21, 2022
5d83ace
changed build release/snapshot
molotgor Nov 21, 2022
a337b89
Disable children loading for unknown root event
rzvdv Dec 19, 2022
f83c61d
merge master into books-pages-5
molotgor Dec 19, 2022
b99d0e6
merge branch 'books-pages-5' of https://github.com/th2-net/th2-rpt-vi…
molotgor Dec 19, 2022
48b793b
upadete lock
molotgor Dec 19, 2022
223fbe8
Merge branch 'master' into books-pages-5
molotgor Dec 19, 2022
23b504b
changed filter to bookpage format
molotgor Dec 21, 2022
a01275d
merge master
molotgor Dec 21, 2022
16ee248
changed initialState and workspaceLinkGetter
molotgor Dec 21, 2022
3031de9
added pause state saved before reseting complete state
molotgor Dec 22, 2022
777c5e7
Add target message to the list
rzvdv Dec 26, 2022
2cb6907
Filter unique messages in case of duplicates
rzvdv Dec 26, 2022
f9dea1d
bump version
molotgor Jan 9, 2023
7b129d1
changed proxy target
molotgor Jan 9, 2023
318e538
[Th2-4580] added check when autocomplete is fully open (#505)
molotgor Jan 9, 2023
c68c39e
[Th2-4593] added wheel handler to load messages when on top without i…
molotgor Jan 9, 2023
deb56ad
[Th2-4626] added scope to search by event (#508)
molotgor Jan 9, 2023
c3e73dc
[Th2-4626] Revert "added scope to search by event" as QA find this us…
molotgor Jan 9, 2023
f1bfdc1
Cursor is active after inputting session_alias in messages search filter
okti-web Jan 13, 2023
6b48c79
slight correction
okti-web Jan 13, 2023
b85f39b
dont set anchor to null on select
okti-web Jan 13, 2023
25e769c
removed comment
okti-web Jan 13, 2023
b63622a
merge 5.0 into 5.1
molotgor Jan 17, 2023
7f3d362
delete duplicate onWheel
molotgor Jan 17, 2023
6ae9a40
Merge pull request #514 from th2-net/v5.0-merge
rzvdv Jan 17, 2023
2acb8be
[TH2-4588] Update messagesIds
rzvdv Jan 23, 2023
08b4778
th2-4657 fix
okti-web Jan 26, 2023
d31fcee
optional changes, to avoid repetition
okti-web Jan 26, 2023
024d628
naming consistency
okti-web Jan 27, 2023
b1e87d0
naming consistency.2
okti-web Jan 27, 2023
092fced
fix validation for copies of bubbles (th2-4450)
okti-web Jan 27, 2023
feff9d4
return tab as a way to add bubbles
okti-web Jan 27, 2023
7716fac
Merge branch 'version-5.1' into th2-4630
osinkinroman Jan 27, 2023
1174756
bump version
osinkinroman Jan 27, 2023
c6dd645
Merge pull request #511 from th2-net/th2-4630
okti-web Jan 28, 2023
e085b3e
[TH2-4726] It's impossible to select a value from dropdown list in [S…
osinkinroman Feb 3, 2023
b40a424
TH2-4657 fix the behaviour of books and session selection (#521)
okti-web Feb 6, 2023
8f6473a
TH2-4450 (#522)
okti-web Feb 6, 2023
002b953
Merge branch 'version-5.1' into th2-4588
rzvdv Feb 7, 2023
27c6d14
Merge pull request #515 from th2-net/th2-4588
rzvdv Feb 8, 2023
ad41077
[TH2-3773] Fix events search (#523)
rzvdv Feb 8, 2023
68cb6be
[Th2-4741] added ability to resize columns in tables (#524)
molotgor Feb 8, 2023
37c35f4
Merge branch 'master' into version-5.1
rzvdv Feb 9, 2023
07ff1a5
Update dockerfile node and nginx versions (#528)
rzvdv Feb 10, 2023
f2685be
[TH2-3773] Fix event search input buttons. Prevent unnecessary requests
rzvdv Feb 14, 2023
003f4e7
shorten notification about cut session (#531)
molotgor Feb 14, 2023
3ab3052
th2-4710 autocomplete clicks don't work under certain conditions (#532)
okti-web Feb 16, 2023
f6df53d
bump version (#541)
okti-web Feb 16, 2023
e75dc77
TH2-4750 after we delete fix-client1->fix-client. we don't receive …
okti-web Feb 24, 2023
7725aa2
[TH2-4673] New messages not loading when scrolling up in message bar …
osinkinroman Feb 27, 2023
175f339
Merge 5.0 (#545)
molotgor Mar 1, 2023
6795eba
[Th2-4830] Hide next/prev buttons in verificationTable and add button…
molotgor Mar 6, 2023
bf0bb77
updated readme (#552)
molotgor Mar 16, 2023
482f328
[TH2-5125] Add opening workspace with event from query parameters (#557)
osinkinroman Nov 14, 2023
e216b6a
TH2-4996: UI: Cannot show event if its scope contains # symbol (#558)
tesohi Nov 21, 2023
cb31606
TH2-4993: UI doesn't provide the list of available books (#559)
tesohi Nov 24, 2023
ac2d241
[TH2-4979] UI doesn't update scopes list when I update time range (#560)
tesohi Nov 28, 2023
46cac1e
[TH2-4978] UI skips a message that should be highlighted in the messa…
tesohi Dec 5, 2023
9aee2a2
[TH2-5155] Add ability to turn back to the attached message (#562)
tesohi Jan 22, 2024
f59785d
bump version (#563)
tesohi Jan 22, 2024
774aaf7
[TH2-5158] Outline searched messages (#564)
tesohi Feb 5, 2024
12d7dbe
[TH2-5164] Raw message in ASCII display mode has incorrect character …
tesohi Feb 15, 2024
57e9c43
[TH2-4909] Add sorting for list of event-scopes in UI (#565)
tesohi Feb 15, 2024
404170a
[TH2-4981] UI: highlight fields that I provide in filters for all mes…
tesohi Feb 27, 2024
7798ce7
[TH2-5171] Enhancements: 'Select All' Button for Message Export and C…
tesohi Feb 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
module.exports = {
parser: '@typescript-eslint/parser',
extends: [
'eslint:recommended',
'airbnb-base',
'prettier',
'plugin:react/recommended',
Expand All @@ -30,13 +31,11 @@ module.exports = {
env: {
browser: true,
jest: true,
es2021: true,
},
parserOptions: {
ecmaVersion: 2018,
ecmaVersion: 'latest',
sourceType: 'module',
ecmaFeatures: {
jsx: true,
},
},
rules: {
'import/no-unresolved': 'error',
Expand Down Expand Up @@ -71,6 +70,7 @@ module.exports = {
},
},
],
'no-use-before-define': 'off',
'@typescript-eslint/no-use-before-define': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/ban-types': 'off',
Expand All @@ -83,6 +83,7 @@ module.exports = {
'error',
{ argsIgnorePattern: '^_', ignoreRestSiblings: true },
],
'no-shadow': ['warn', { ignoreOnInitialization: false }],
'no-unused-expressions': 'off',
'@typescript-eslint/no-unused-expressions': ['error'],
'import/no-unassigned-import': [
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,3 @@ jobs:
push: true
tags: ghcr.io/${{ github.repository }}:${{ steps.version.outputs.prop }}
labels: com.exactpro.th2.${{ steps.repo.outputs.REPOSITORY_NAME }}=${{ steps.version.outputs.prop }}

1 change: 0 additions & 1 deletion .github/workflows/build-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,3 @@ jobs:
push: true
tags: ghcr.io/${{ github.repository }}:${{ steps.snapshot_name.outputs.value }}
labels: com.exactpro.th2.${{ steps.repo.outputs.REPOSITORY_NAME }}=${{ steps.version.outputs.prop }}

28 changes: 14 additions & 14 deletions .github/workflows/ci-unwelcome-words.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ jobs:
test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.sha }}
- name: Checkout tool
uses: actions/checkout@v2
with:
repository: exactpro-th2/ci-github-action
ref: master
token: ${{ secrets.PAT_CI_ACTION }}
path: ci-github-action
- name: Run CI action
uses: ./ci-github-action
with:
ref: ${{ github.sha }}
- uses: actions/checkout@v2
with:
ref: ${{ github.sha }}
- name: Checkout tool
uses: actions/checkout@v2
with:
repository: exactpro-th2/ci-github-action
ref: master
token: ${{ secrets.PAT_CI_ACTION }}
path: ci-github-action
- name: Run CI action
uses: ./ci-github-action
with:
ref: ${{ github.sha }}
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
variables:
APP_NAME: "th2-rpt-viewer"
APP_NAME: 'th2-rpt-viewer'
INSPECTION_ENABLED: 'false'

include:
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM node:14.18 AS build
FROM node:14.21 AS build
ARG app_version=0.0.0
RUN apt-get update \
&& apt-get install --yes --no-install-recommends make build-essential
WORKDIR /home/node
COPY ./ .
RUN npm ci && npm run build

FROM nginx:1.17.10-alpine
FROM nginx:1.23.3-alpine
COPY --from=build /home/node/build/out /usr/share/nginx/html
COPY ./metrics/metrics /usr/share/nginx/html/metrics
COPY ./metrics/metrics.conf /etc/nginx/conf.d/metrics.conf
Expand Down
42 changes: 22 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,41 +1,43 @@
# Report-viewer
![](https://img.shields.io/github/package-json/v/th2-net/th2-rpt-viewer)
![](https://img.shields.io/github/workflow/status/th2-net/th2-rpt-viewer/build%20&%20publish%20release%20image%20to%20ghcr.io)

This is a web app that displays the stored test data (events and messages) using `report-data-provider`.
![](https://img.shields.io/github/package-json/v/th2-net/th2-rpt-viewer/version-5.1)
![](https://img.shields.io/github/actions/workflow/status/th2-net/th2-rpt-viewer/build-release.yml?branch=version-5.1)
This is a web app that displays the stored test data (events and messages) using `report-data-provider`.

# API

This app needs `report-data-provider 5.1.0 (or newer)` backend component to function. It should be accessible at `{rpt-viewer-path}/backend/*`

# Configuration

To include this component in your schema, a following yml file needs to be created

```
apiVersion: th2.exactpro.com/v1
apiVersion: th2.exactpro.com/v2
kind: Th2CoreBox
metadata:
name: report-data-viewer
name: rpt-data-viewer
spec:
image-name: ghcr.io/th2-net/th2-rpt-viewer
image-version: 3.0.0 // change this line if you want to use a newer version
imageName: ghcr.io/th2-net/th2-rpt-viewer
imageVersion: 5.1.19 // change this line if you want to use a newer version
type: th2-rpt-viewer
extended-settings:
chart-cfg:
ref: schema-stable
path: custom-component
service:
enabled: false
targetPort: 80
nodePort: '31276'
extendedSettings:
resources:
limits:
memory: 15Mi
cpu: 200m
cpu: 50m
memory: 50Mi
requests:
memory: 10Mi
cpu: 20m
cpu: 50m
memory: 50Mi
service:
enabled: true
clusterIP:
- name: gui
containerPort: 8080
port: 8080

```


# Screenshots

![picture](screenshot.png)
Loading
Loading