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

Upgrade react to 16 to 18, with vite and turbo builder #345

Merged
merged 69 commits into from
Dec 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
818439d
fix: working with packages upgrade
jacovinus Jun 27, 2023
13bb6c6
fix: QueryPreview
jacovinus Jun 28, 2023
2159533
fix: store warnings
jacovinus Jun 28, 2023
68de130
fix: chart and logs view update
jacovinus Jun 28, 2023
711f84b
fix: build, manual chunks
jacovinus Jun 29, 2023
773de08
fix: packages update
jacovinus Jun 30, 2023
2640f10
fix: workflow
jacovinus Jul 3, 2023
9b24173
fix: workflow and build folder
jacovinus Jul 3, 2023
ce24f89
fix: rm devtools
jacovinus Jul 3, 2023
b8a7b3a
fix: release ci
jacovinus Jul 3, 2023
dab294d
Merge pull request #342 from metrico/341-upgrade-to-react-18-with-vit…
jacovinus Jul 3, 2023
2e58735
fix: build dir
jacovinus Jul 3, 2023
42c2cff
fix: release workflow
jacovinus Jul 3, 2023
85cbfe4
Merge pull request #344 from metrico/341-upgrade-to-react-18-with-vit…
jacovinus Jul 3, 2023
eb4e165
fix: slice avatar name
jacovinus Jul 4, 2023
aea9d17
Merge branch '341-upgrade-to-react-18-with-vite-builder' into dev
jacovinus Jul 4, 2023
f85e7f6
fix: Read config from the cookie
jacovinus Jul 12, 2023
87997c8
feat: #346 init
jacovinus Jul 12, 2023
5e7e022
feat: cardinality table
jacovinus Jul 13, 2023
1611849
fix: rquery and zustand init
jacovinus Jul 17, 2023
da3e8ae
fix: labels functionality
jacovinus Jul 20, 2023
06b64c7
fix: rm comments
jacovinus Jul 20, 2023
d862b8a
fix: sorting and reset
jacovinus Jul 21, 2023
d8be5a0
fix: #349 improve traces rendering
jacovinus Jul 24, 2023
4e0bb9e
Merge pull request #353 from metrico/349-improve-traces-rendering
jacovinus Jul 24, 2023
db9be74
feat: Day picker
jacovinus Aug 2, 2023
ffbb4f5
fix: vite config
jacovinus Aug 2, 2023
858bea3
fix: rm calendar
jacovinus Aug 2, 2023
5e8d5e4
Merge branch 'main' into dev
jacovinus Aug 2, 2023
b774544
Merge branch 'dev' into 346-labels-cardinality-feature
jacovinus Aug 2, 2023
d92c694
fix: configurator props
jacovinus Aug 2, 2023
c1ccb46
fix: match replace
jacovinus Aug 2, 2023
abadfac
fix: replace
jacovinus Aug 2, 2023
0475046
fix: qryn proxy for cardinality
jacovinus Aug 21, 2023
67e8cab
fix: timerange and fingerprints deletion
jacovinus Sep 7, 2023
397f543
fix: rm time range selector at cardinality
jacovinus Sep 8, 2023
e5c5d90
fix: cardinality execute query
jacovinus Sep 8, 2023
30c3362
fix: styles and add confirm dialog
jacovinus Sep 11, 2023
a8e0a69
fix: delete fingerprints request
jacovinus Sep 12, 2023
33f1887
fix: menu, diff, delete request
jacovinus Sep 13, 2023
cfa63e6
fix: click outside menu
jacovinus Sep 14, 2023
3b0f495
fix: requests amount
jacovinus Sep 14, 2023
22294ba
fix: delete day start, delete day end
jacovinus Sep 14, 2023
dd33b21
fix: time zone and share
jacovinus Sep 14, 2023
5457809
fix: delete at utc
jacovinus Sep 14, 2023
b8a227c
fix: current day
jacovinus Sep 14, 2023
ffe3244
fix: adjust to next day start time
jacovinus Sep 14, 2023
697ab2c
fix: alerts for deletion results
jacovinus Sep 15, 2023
b6bf53f
fix: deleting button state
jacovinus Sep 15, 2023
7458e1a
Merge pull request #356 from metrico/feat/cardinality_alerts_for_dele…
jacovinus Sep 15, 2023
e0fbe45
fix: custom queries and inputs history
jacovinus Sep 18, 2023
25ddfbf
Merge pull request #357 from metrico/feat/cardinality_alerts_for_dele…
jacovinus Sep 18, 2023
94f7aee
fix: requests management, history buttons
jacovinus Sep 22, 2023
e03407a
fix: charts and get delete endpoint init
jacovinus Sep 26, 2023
fc69e5c
fix: error messages for custom queries
jacovinus Sep 27, 2023
7e7936f
fix: undefined previous
jacovinus Sep 28, 2023
19ba144
fix: custom query delete
jacovinus Sep 28, 2023
af417d4
fix: custom fingerprint delete button
jacovinus Sep 29, 2023
dc24415
feat: split chart and table in charts
jacovinus Sep 29, 2023
a34651b
feat: breadcrumbs
jacovinus Nov 21, 2023
490eae4
fix: loader
jacovinus Nov 21, 2023
6d91e3c
fix: feature cardinality subcheck
jacovinus Nov 24, 2023
f55811d
fix: add download json datasource
jacovinus Nov 28, 2023
62b3997
fix: toggle plugin by API type
jacovinus Nov 29, 2023
d164f47
fix: totals plugin
jacovinus Nov 29, 2023
3eb7aac
fix: custom sanitize
jacovinus Dec 1, 2023
e1d7a56
fix: rm logs
jacovinus Dec 1, 2023
1055173
Merge pull request #354 from metrico/346-labels-cardinality-feature
jacovinus Dec 1, 2023
65158bb
Merge branch 'main' into dev
jacovinus Dec 1, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
27 changes: 0 additions & 27 deletions .babelrc

This file was deleted.

1 change: 0 additions & 1 deletion .env

This file was deleted.

44 changes: 44 additions & 0 deletions .github/workflows/ci-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: CI-DEV

on:
push:
branches: ["dev"]
paths-ignore:
- "**/README.md"
- "**/workflows/*.yml"
pull_request:
types: [opened, synchronize]
paths-ignore:
- "**/README.md"
- "**/workflows/*.yml"

jobs:
build:
name: Build and Test
timeout-minutes: 15
runs-on: ubuntu-latest

steps:
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 2

- uses: pnpm/[email protected]
with:
version: 6.32.2

- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 18
cache: "pnpm"

- name: Install dependencies
run: pnpm install

- name: Build
run: pnpm build

- name: Test
run: pnpm test
106 changes: 106 additions & 0 deletions .github/workflows/ci-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
name: CI-RELEASE

on:
push:
branches: ["main"]
paths-ignore:
- "**/README.md"
- "**/workflows/*.yml"
pull_request:
branches: [main]
types: [opened, synchronize]
paths-ignore:
- "**/README.md"
- "**/workflows/*.yml"

jobs:
release:
name: Qryn-View Release
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- uses: pnpm/[email protected]
with:
version: 6.32.2


- name: "Automated Version Bump"
if: github.event_name != 'pull_request'
id: version
uses: "phips28/gh-action-bump-version@master"
with:
tag-prefix: "v"
skip-tag: true

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: "version check"
if: github.event_name != 'pull_request'
run: echo ${{steps.version.outputs.newTag}}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"

- name: Install dependencies
run: pnpm install

- name: Build
run: pnpm build

- name: Test
run: pnpm test

- uses: vimtor/action-zip@v1
if: github.event_name != 'pull_request'
with:
files: packages/main/dist/ README.md
dest: dist.zip
- name: Upload release binaries
if: github.event_name != 'pull_request'
uses: boxpositron/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
release_config: |
dist.zip
tag_name: ${{steps.version.outputs.newTag}}
release_name: qryn-view-${{steps.version.outputs.newTag}}
draft: false
prerelease: false
overwrite: true
- name: Prepare for Mothership
if: github.event_name != 'pull_request'
uses: GuillaumeFalourd/create-other-repo-branch-action@v1
with:
repository_owner: metrico
repository_name: qryn
new_branch_name: view_${{steps.version.outputs.newTag}}
new_branch_ref: master
access_token: ${{ secrets.GH_PUSH }}
- name: Push to Mothership
if: github.event_name != 'pull_request'
uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.GH_PUSH }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
source-directory: "packages/main/dist"
target-directory: "view"
target-branch: view_${{steps.version.outputs.newTag}}
destination-github-username: "metrico"
destination-repository-name: "qryn"
user-email: [email protected]
commit-message: Upgrade view to ${{steps.version.outputs.newTag}}
- name: Deploy to gh-pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: packages/main/dist
2 changes: 1 addition & 1 deletion .github/workflows/codeql-scanner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
branches: [ main, dev ]
schedule:
- cron: '27 18 * * 6'

Expand Down
94 changes: 0 additions & 94 deletions .github/workflows/npm_build_test.yml

This file was deleted.

32 changes: 2 additions & 30 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,30 +1,2 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
.nvimrc
.vscode
.vscode/*
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# certs (ssl)
cert.pem
key.pem
src/setupProxy.js
src/setupProxy.ts
/node_modules/*
dist
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,18 @@ Clone Repo
```bash
git clone https://github.com/metrico/qryn-view
```

Install packages
```bash
npm install
pnpm install
```
---

**Local Build:**

Build local clone
```bash
npm run build
pnpm run build
```
Install Serve (npm serve)
```bash
Expand Down
Loading
Loading