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

[Bug]: v6 BrowserRouter set basename, not match “/” #8427

Closed
lovewinders opened this issue Dec 2, 2021 · 19 comments
Closed

[Bug]: v6 BrowserRouter set basename, not match “/” #8427

lovewinders opened this issue Dec 2, 2021 · 19 comments
Labels

Comments

@lovewinders
Copy link

lovewinders commented Dec 2, 2021

What version of React Router are you using?

6.0.2

Steps to Reproduce

step 1:

import { Route, Routes, BrowserRouter, Navigate } from 'react-router-dom';

step 2:

// ...
const Login = () => {

    return (
        <div>
            login page
        </div>
    );

};
const Home = () => {

    return (
        <div>
            Home page
        </div>
    );

};
// ...
<BrowserRouter basename='fe'> // basename set a word,example: fe 
    <Routes>
        <Route path='/login' element={<Login />} />
        <Route path='/' element={<Navigate to='/login' replace={true} />} />
        <Route path='/home' element={<Home />} />
        {/* <Route path='*' element={<Login />} /> */}
    </Routes>
</BrowserRouter>

step 3:
Open the browser;
Enter the address URL:http://localhost:port is error, example step 4;(But v5 is ok)
But I must enter the full address URL: http://localhost:port/fe is ok;
step 4:
browser Console:<Router basename="/fe"> is not able to match the URL "/" because it does not start with the basename, so the <Router> won't render anything.

Expected Behavior

The user does not enter the complete URL containing the basename,
I hope that the browser can enter the root domain name, there is also a way to match Login

Actual Behavior

browser Console:<Router basename="/fe"> is not able to match the URL "/" because it does not start with the basename, so the <Router> won't render anything.

@lovewinders lovewinders added the bug label Dec 2, 2021
@timdorr
Copy link
Member

timdorr commented Dec 2, 2021

This is the expected behavior. You need to include the basename in the URL for the page itself for the Router to match anything.

@timdorr timdorr closed this as completed Dec 2, 2021
@AndyBoat
Copy link

AndyBoat commented Dec 16, 2021

Well Yeah this is expected behavior , but maybe its better we could point it out in docs-v6-upgrading-v5 ?
To prevent anyone like me google and follow other issus up (like #7216 until this issue
Anyway, best regards

@craigmiller160
Copy link

Ok, this might be a bit mean, but I don't care. The expected behavior here is bad. In past versions, I had an easy way to set a basename and then automatically redirect to it from the router. Now I can't figure out how to redirect someone who comes to the page via / to go to /basename instead. In production this will be rare since this app is routed to via another one (hence the need for a /basename prefix), but in development its a PITA.

There should be some way to redirect a user who has come to / to go to /basename so the routing can work.

@ehpc
Copy link

ehpc commented Feb 2, 2022

So any ideas how to properly redirect user to '/basename' if he lands on '/'?

@brianespinosa
Copy link

@craigmiller160 as someone who has to combine multiple micro-applications that use different basenames, I absolutely do not want the basename to also redirect to that name automatically. If a redirect is needed from the root, that implementation should be handled separately.

@ehpc if you need to redirect people to the basename if they land on a root, you could do this in your server, which is likely the best option, depending on your stack. There is also the <Navigate /> component.

@alkismavridis
Copy link

alkismavridis commented Feb 12, 2022

@brianespinosa this should be configurable. react-router should provide an easy way to provide a fallback even if the basename does not match. Everybody can then configure this behaviour as they desire.

I understand that you do not wish to configure it this way, but I fall in the exact same situation like @craigmiller160. I now have to handle the situation manually, which is not very nice.

I hope react-router team takes note of this and adds an easy way to handle it.

@brianespinosa
Copy link

@alkismavridis the "fallback" is the extremely thoughtful and helpful console message that tells you the problem:

<Router basename="/fe"> is not able to match the URL "/" because it does not start with the basename, so the <Router> won't render anything.```

@alkismavridis
Copy link

alkismavridis commented Feb 17, 2022

@brianespinosa showing a white screen and a console message is no fallback of any use to my usecase.
I understand you do not need the feature we are requesting, and that's totally fine.
But for many of us, the ability to define our own fallback is a very useful feature and we would like to have it.

I will restate that I had to compensate the removal of this feature by manually implementing redirects. The result is neither clean nor intuitive.
This was no problem with previous versions. I only had to go through that trouble after I updated.
In my opinion, this is sub-optimal.

All that I ask for is an easy way to define my own fallback in case the basename does not match, as previous versions of this library were already doing. If some user is happy with the default fallback of white-screen + concole warning, then great for them. Different people have different needs. An easy way to configure that would make everyone happy.

@lovewinders
Copy link
Author

I have solved this problem, redirect from root file to fe with native method window.location

@brianespinosa
Copy link

@alkismavridis you can handle this on your own as of today. I am not a maintainer of RR and I am not the one who closed the ticket, so you can argue with me all you want.

I appreciate the maintainer's position to not bloat the API and to not include "magic" everywhere that not everyone might need and instead giving us an API that gives us the power to implement solutions for our own use cases.

@davoscript
Copy link

davoscript commented Mar 1, 2022

I came here looking for a solution to this problem within react-router; some "magic" somewhere, like @brianespinosa said. However, after reading a few comments I quickly realized that this is not an issue react-router should fix, as a matter of fact I was introducing the "unexpected behavior" from my server routing configuration by resolving "/" to my react client.

Server: NodeJS + ExpressJS

Before:

// Fallbacak to land in React
app.get(['/', `/${client_dir}`, `/${client_dir}/*`], (req, res) => {
  res.sendFile(__dirname + `/public/${client_dir}/index.html`);
});

After:

// Fallbacak to land in React
app.get([`/${client_dir}`, `/${client_dir}/*`], (req, res) => {
  res.sendFile(__dirname + `/public/${client_dir}/index.html`);
});

// Fallbacak to land in React. If user lands outside react, then get redirected to it.
app.get('/', (req, res) => {
  const theURL = new URL(req.url, base_url);
  res.redirect(`/${client_dir}${theURL.search}`);
});

Good luck, and thanks for everyone's contributions.

@bycaldr
Copy link

bycaldr commented Mar 2, 2022

I had to fix the missing redirect to basename during migration from v5 in client-only project and I've ended up with this solution:

index.jsx

import React from 'react';
import { render } from 'react-dom';

import './utils/ensure-basename';

render(
  <BrowserRouter basename={config.ROUTER_BASE_URL}>
    {/* ...routes */}
  </BrowserRouter>,
  document.getElementById('root')
);

utils/ensure-basename.js

import { config } from '../config';

if (!window.location.pathname.includes(config.ROUTER_BASE_URL)) {
  window.history.replaceState(
    '',
    '',
    config.ROUTER_BASE_URL + window.location.pathname
  );
}

Paulooze added a commit to FRINXio/frinx-frontend that referenced this issue Mar 29, 2022
soson pushed a commit to FRINXio/frinx-frontend that referenced this issue Mar 30, 2022
Paulooze added a commit to FRINXio/frinx-frontend that referenced this issue May 9, 2022
Paulooze added a commit to FRINXio/frinx-frontend that referenced this issue May 9, 2022
* Gamma project (#419)

* initiail project structure

* remove unused code

* vpn service form (#162)

* vpn service form added

* remove unused code

* change devServer port to 3001

* fix maximumRoutes options

* Main to gamma merge (#166)

* create edit device form & page (#152)

* create edit device form & page

* add edit button & change texting

* add cancel button

* remove onClick event from device name & edit device when uninstalled

* change styles of edit device form

* rename cancel function in edit page

* implement requested changes from comments

* change texting in toast

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* json jq task form added (#157)

* json jq task form added

* remove dependencies from useEffect

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* move query experssion to input params (#158)

* move query experssion to input params

* revert obsolete changes

* fix URLs in uniflow for wf scheduling (#159)

* fix URLs in uniflow for wf scheduling (#163)

* fix URLs in uniflow for wf scheduling

* update diagram lib

* create edit blueprint page (#160)

* create edit blueprint page

* change type of prop in edit blueprint form

* handle empty value from of using omitBy from lodash

* downgrade lodash version

Co-authored-by: Marco <51787428+MarcoMruz@users.noreply.github.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* edit and delete added to vpn service form (#170)

* implement feedback to edit vpn service form (#172)

* New autocomplete (#177)

* add new autocomplete component to gamma project

* update autocomplete - extract list to new component

* fix component types (FC => VoidFunctionComponent)

* update gh workflow to check gamma-projects PRs

* Gamma uniresource vpn service (#178)

* Connect vpn service with unistore for frinx-gamma

Signed-off-by: Tomas <thodor@frinx.io>

* lint fixing and refactoring

* read unistore bearer from config

* fix formatter

Co-authored-by: Tomas <thodor@frinx.io>

* Vpn site form (#175)

* vpn-site-form initial implementation

* add site devices form

* some refactoring

* yarn.lock updated

* lint fixes

* add server endpoints communication

* fix merge conflict ts bug

* Network access form create (#182)

* network access form create

* hide page info for now

* add missing fields (#184)

* network access form edit/delete (#185)

* Integrate gamma (#187)

* start gamma integration to FM UI

* finish gamma integration; cleanup gamma projects; fix types

* add gamma build cmd to GH Workflow (temp)

* update yarn.lock

* fix step in gh workflow

* fix webpack.config in gamma

* Form refactoring 1 (#186)

* form refactoring

* autocomplete string -> Item

* use qos profiles endpoint in site form

* add gamma-project for docker release

* add deployment for gamma

* fix production issue with gamma app (#191)

* fix wrong component (#189)

* fix edit site form autocomplete (#192)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* make devices and locations optional (#193)

* Vpn site form maximum routes (#194)

* move maximum routes from vpn service to vpn site form

* remove unused code

* make routing protocol types optional (#196)

* bgp profile added to site network access (#195)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* create item added to autocomplete (#197)

* preselect routing protocol type in site access network from (#198)

* services table implementation (#199)

* Sites table (#200)

* services table implementation

* sites table implementation

* network access table implementation (#204)

* Device validator (#203)

* more robust site device validator

* remove fake code

* make device management optional

* remove debugging response (#206)

* add custom default c vlan value (#207)

* disable bgp pic field in site form (#208)

* add vpn attachment field to network access form (#212)

* hide site network access type (#209)

* hide site network access type

* fix vpn attachment autocomplete

* routing protocols (possibility to add both bgp and static) (#215)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* add next hop to static protocol (#216)

* add next hop to static protocol

* linter fix

* bearer reference input added (#217)

* preserve ip connection in site network access (#219)

* device view implementation (#220)

* device view implementation

* show location info in device list

* add link to device list

* Add uniflow integration (#221)

* add first version of uniflow integration - add callback for executeWorkflow

* add workflow/task status modal for execution

* add workflow/task status modal for execution in sites; fix icons and small visual issues

* Add bearer list (#222)

* add bearer-list basics

* fix evc attachment validation and converter

* add basic bearer table; add callbacks; add commit to bearers

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* bearer backup fix (#224)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Bearer form (#223)

* bearer types and converter

* add bearer-list basics

* fix evc attachment validation and converter

* add basic bearer table; add callbacks; add commit to bearers

* client to api bearer converter

* basic create/edit/delete bearer functionality

Co-authored-by: Paulooze <paulooze@gmail.com>

* qos profile fix (#226)

* ipv4 ip connection fields (#225)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix requested type on edit (#228)

* fix requested type on edit

* linter fixes

* create site network access fix (#229)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* send only non empty routing protocols (#230)

* send only non empty routing protocols

* get only sites in config state

* hardcoded oam (#231)

* delete sna fix (#232)

* routing protocols fix (#233)

* Add locations page (#235)

* add locations page (with add and edit fn)

* remove location form from site form

* fix lint error in dashboard

* sync types and converters (#236)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* evc attachments view (#237)

* add missing fields to bearer form (#238)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* site-role added to site network access form (#239)

* site-role added to site network access form

* add missing siteRole

* remove unused import - fix eslint error

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* add proper values to bearer select boxes (#240)

* Bearer form nodes and carriers (#241)

* nodes autocomplete

* carriers autocomplete

* add vpn carrier form

* use spBearerReference as bearer id (#242)

* carriers edit and delete implementaion (#243)

* generate svlanId (will be provided by uniresource later) (#244)

* show config only data (#245)

* tpid display values changed (#246)

* use autocomplete for qos profiles (#247)

* node editing form added (#249)

* fix commit workflow (#254)

* spReferenceBearer disabled in edit mode (#250)

* renaming from feedback (#251)

* generate random vpn id base on feedback (#252)

* lock site management to provider-managed (#253)

* rename bearer form field (#256)

* change port id to select (#257)

* change port id to select

* remove old input

* remove customer name from evc form (#258)

* preselect auto as svlan assignment type (#259)

* Evc formik (#260)

* evc formik

* evc attachment formik validation

* mark required fields

* fix yup version

* bearer form validation (#263)

* service from validation (#264)

* device form validation (#265)

* location form validation (#266)

* site form validation (#267)

* site network access validation (#268)

* change node-id workflow (#270)

* add circuit reference regex validation (#269)

* use outline variant for input fields (#271)

* site role in site network form hardcoded to any-any (#272)

* send only bgp or static section for particular routing protocol (#274)

* execute bearer workflow fix (#276)

* disabled buttons in pristine forms (#277)

* icon tooltips added (#278)

* minor ui changes (#280)

* minor ui changes

* more verbose cvlan in service table list

* new circuit reference regex validation (#285)

* transaction-id added to api requests (#284)

* transaction-id added to api requests

* add missing files

* fix linters

* implement pr comments

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix bug where ipv4 field remove inserted values (#286)

* Add control page 1 (#287)

* add first version of control page

* fix api calls for counting items

* gamma pagination implementation (#288)

* location and network access pagination (#289)

* location pagination

* network access pagination

* filters added to service-list (#290)

* filters added to service-list

* service filter fixes

* filters added to site list (#291)

* filters added to site list

* linter fixes

* Bearer filter (#292)

* filters added to site list

* linter fixes

* filter added to bearer list

* remove device and location section from site form (#294)

* network access filter added (#293)

* network access filter added

* move filter functions to helper file

* remove obsolete code

* fix transaction id usage; use API call from unistore (#296)

* fix transaction id usage; use API call from unistore

* remove console.logs

* form options made configurable (#295)

* service form options added

* fix build

* add bearer, site, network-access options

* gamma options added to dashboard dev

* topology changed

* file renamed

* make application work without data

* service form submit error handling (#298)

* service form options added

* fix build

* add bearer, site, network-access options

* gamma options added to dashboard dev

* topology changed

* file renamed

* make application work without data

* create service submit error handling

* set submit error to null on submit

* make custom error message component

* add missign file

* submit error handling added (#300)

* add logs to api client (#303)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* add transaction id to commit workflows (#301)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* merge main branch (#304)

* merge main branch

* fix api client in gamma-app

* fix unistore types

* fix type errors in dashboard; fix type errors in uniflow api client; add dashboard typecheck to gh action pr check

* fix graphql in uniresource

* fix feather-icons-react d.ts file error in wf-builder

* fix type generation

* remove unused npm script for type generation

* fix import in gamma-app

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* fix docker build (#305)

* control panel button (#306)

* breadcrumbs added

* swtich to simple button

* get service id from workflow (#307)

* get service id from workflow

* poll workflow id

* prepare endpoints for content type parameter (#309)

* add clear button to forms (#311)

* render all fix (#314)

* lan tag field added to site network access form (#315)

* allocating ids from workflows (#308)

* Jsonb filters 3 (#312)

* service list - use array diffs to calc changes

* bearer list - use array diffs to calc changes

* site list - use array diffs to calc changes

* add new fields in bearer list (#313)

* make maximum routes optional (#317)

* create new transaction id on successful commit (#319)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* add unistore schema parameter (#320)

* add unistore schema parameter

* call PUT in create pages

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix validation message (#321)

* bearer commit workflow fix (#322)

* service network access filters (#323)

* service list - use array diffs to calc changes

* bearer list - use array diffs to calc changes

* site list - use array diffs to calc changes

* network access changes table

* add workflow result for uncommited changes (#325)

* collapsible detail added to list views (#324)

* collapsible detail added to list views

* detail added to location list view

* detail added to device list view

* detail added to service list view

* add icon and hover effect

* simplify code

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* more location and device details (#326)

* fix issue with graphql client reuse (same url for multiple graphql apis) (#328)

* filters added to location page (#327)

* filters added to bearer list (#329)

* Extract unistore api (#331)

* extract unistore api client for gamma

* update frinx-api

* add error message box for forbidden error (expired transaction)

* fix unistore api types

* remove forgotten file

* fix dep version (dedubcheck)

* fix unistore api callback types

* update unistore api for locations

* fix types for graphql client api

* remove forgotten file

* fix transaction error box show/hide

* update yarn.lock

* filters added to device page (#330)

* filters added to device page

* fix eslint

* fix types

* filters added to evc list page (#332)

* filters added to device page

* fix eslint

* fix types

* filters added to evc page

* fix eslint

* fix eslint

* filter fixes

* fix logout issue (not removing auth token stored in localstorage) (#333)

* add authority option to config for msal (#335)

* bearer filters (#337)

* site filteres (#339)

* bearer filters

* site filters

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Filter context (#340)

* add filter context

* add bearer filter

* lan tag validation (#341)

* discard changes implementation (#344)

* discard changes implementation

* add missing file

* dont strip bearer admin status prefix (#342)

* dont strip bearer admin status prefix

* fix page size

* add admin state dropdown to bearer form

* GAM-135 cometic changes

* remove cookie before getting new transaction id (#351)

* merge changes from main branch (#352)

* merge changes from main branch

* remove git conflict marker

* update graphql generated types

* fix errors in uniresource-app

* remove forgotten file

* add sb_bearer_reference to svlan allocation input (#354)

* FD-121 bearer site view fix (#356)

* fix bearer and site list without evc and sna

* add evc changes table

* fix evc-attachment type

* fix evc-attachment type 2

* fix evc validation message (#355)

* add mtu validation (#358)

* location/device changes (#357)

* add new columns to evc list (#359)

* Deallocate id from workflow (#318)

* allocating ids from workflows

* deallocate ids via workflows

* deallocate pools on discard

* add parameters to free allocation workflows

* changes in service view text labels (#361)

* change validation and form labels (#360)

* implement changes from gamma feedback (#363)

* add extranet column to service list (#365)

* implement changes from edit service feedback (#366)

* implement changes from edit service feedback

* make existing value check case insensitive

* fetching addresses and deallocate on unmount (#367)

* fetching addresses and deallocate on unmount

* run assign address workflow repeatedly fix

* Update control-page.tsx (#373)

* change menu (#374)

* service network form changes (#370)

* service network form changes

* static routes validation

* ip conneciton validation

* fix types

* use uuid instead of lodash uniqueId

* assign svlan onclick (#377)

* assign svlan onclick

* fix saved evc attachments list

* fix eslint

* remove obsolete code

* add missing evc filters (#372)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix optional unistore types (#379)

* fix optional unistore types

* fix more types

* fix types 2

* fix types 3

* fix types 4

* fix service types

* fix type 5

* remove unused code

* Gam 163 evc diff fix (#381)

* fix optional unistore types

* fix more types

* fix types 2

* fix types 3

* fix types 4

* fix service types

* fix evc diff list

* GAM-160 deleting sna fix (#382)

* fix optional unistore types

* fix more types

* fix types 2

* fix types 3

* fix types 4

* fix service types

* fix type 5

* remove unused code

* delete network access fix

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* handle no access error (#387)

* horizontal search implementation (#386)

* fix admin state in bearer form (#391)

* merge changes from main branch (#395)

* merge changes from main branch

* add generated graphql types

* handle type errors in uniresource

* remove forgotten file

Co-authored-by: Marco Mruz <marcomruz1@gmail.com>

* fix autocomplete direction (#393)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* merge changes from main branch 2 (#397)

* merge changes from main branch 2

* fix forgotten merge conflict

* fix merge conflicts

* remove uniconfig dependency from dashboard

* add updated yarn.lock

* add assign vpn id button to service form (#401)

* fix abort controller to be called only once on umount (#405)

* fix abort controller to be called only once on umount

* fix use abort controller

* Merge main branch 3 (#407)

* extract api clients/callbacks; improve types (#299)

* extract api clients/callbacks; improve types

* fix eslint

* add build scrip for api clients; fix gh workflow

* fix ts errors in wf-builder

* extract graphql api clients

* fix eslint errors in frinx api; add checks for frinx api; update gh workflow with new checks for api package

* remove unused dashboard api; fix some types in workflow builder

* fix auth error display show/hide after login

* Create pool detail (#310)

* add pool detail page redirect from pool table

* add claim and free resource mutation

* create claim and free resource modal

* handle on change event for claim resource modal form

* move modals to folder and create separate component for allocated res

* remove modals

* add and handle claiming of resource from ipv4 prefix pool

* create modal for vlan alloc

* rename alloc modal of ipv4 prefix

* rename modal to layout

* use claim resource modal layout

* use one abstract modal with variant to render modal by resource type

* use string instead of type in variant prop

* create use notification hook and unwrap helper

* move unwrap to src folder

* create toast notification

* implement logic to toast notification component

* add notification context provider

* rename notification context

* add uuid package

* implement use notification to pool detail page and to root file of uniresource

* change default value

* implement feedback for user when creating resource pool

* create allocating modal or vlan range

* implement vlan range modal and move free resource button per allocated resource row

* refactor pool detail table and way of claiming/freeing resources from pool

* move logic to separate functions

* refactor if statement

* add authority option to config for msal (#334)

* fix bugs - favorites btn; missing icon; labels dedup (#343)

* fix disabled reexecute btn (#345)

* fix name search in executed workflows list (#346)

* fix dashboard prod build (#347)

* fix resume workflow (#348)

* fix pagination on executed workflow list (#349)

* revert pagination behaviour; fix redirect after workflow retry (#350)

* fix logout issue (not removing auth token stored in localstorage) (#353)

* Bump follow-redirects from 1.14.2 to 1.14.7 (#362)

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.2 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.2...v1.14.7)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix graphql api client in main branch (#364)

* Bump nanoid from 3.1.25 to 3.2.0 (#368)

Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.25 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.25...3.2.0)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update uniresource (#369)

* update validation process in uniresource create pool

* filter resource type by parent

* handle claim and free resources to be interactive

* rerender allocated resources after claim or free when is empty array

* filter what resource types can be allocating

* handle validation of pool forms in resource pool of type set and singleton

* handle pool property types change event

* handle validation of individual form input

* handle which resource types can be allocating

* rename modal component from vlan to ipv6_prefix

* add ipv6_prefix modal for claiming addresses from resource pool

* show description on hover using title prop

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Add transaction inventory (#371)

* add transaction id to config screen in inventory ui

* fix transaction id after reload; introduce new hook for it

* fix typo; fix calc diff query (add transactionId)

* fix transaction close after commit (#376)

* disable inventory playground when auth_enabled=true (#375)

* fix json editor behaviour (handle invalid JSON inside editor) (#378)

* fix json editor behaviour (handle invalid JSON inside editor)

* fix onChange behaviour for non-JSON code in Editor component

* Fix pagination uniflow exec wf (#380)

* fix problem with hierarchical pagination of exec workflows

* handle fetching with pagination instead of state

* improve device config screen - delete snapshot, calcdiff output, layo… (#384)

* improve device config screen - delete snapshot, calcdiff output, layout changes

* refactor transactionId hook; improve transactionId close behaviour

* add dry run config output modal

* Fix create new task modal (#385)

* fix problem with hierarchical pagination of exec workflows

* handle fetching with pagination instead of state

* convert add task modal to typescript

* fix problem with creating new task in uniflow ui

* convert constants to TS

* add formik to uniflow

* move add task modal to separate folder

* rename add task modal

* add add task modal form

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Fix bulk operations uniflow (#388)

* fix number of selected workflows

* handle bad calling of bulk operations

* remove not functional children column in executed workflows list

* Fix filtering exec workflows (#389)

* reset current page to 1 when filtering executed workflows

* convert pagination hook to typescript

* Fix add new task (#390)

* fix problem with adding new task in uniflow

* create file for task table

* add task table component to task list

* convert task list to typescript

* convert task config modal to typescript

* implement new task config modal to task list

* handle searching of tasks using minisearch

* handle parse of description

* Bump follow-redirects from 1.14.7 to 1.14.8 (#394)

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* add delete blueprint feature (#392)

* fix diff output api result type (udpdated-data object keys changes) (#396)

* add transaction expiration handling in device config screen (#398)

* Bump url-parse from 1.5.3 to 1.5.7 (#399)

Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.3 to 1.5.7.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.7)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* handle pagination max pages (#402)

* fix workflow id on terminate action (#403)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* abort controller fix (#406)

* fix merge conflict

* fix merge conflict

* fix types in uniresource

* fix types in uniresource

* fix types in uniresource

Co-authored-by: Marco <51787428+MarcoMruz@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* merge main (#417)

* merge main

* add copy plugin

* remove unuse copy plugin

* fix copy gamma-options

* fix gh workflow merge conflict

* remove unused file

Co-authored-by: Pavol Porubsky <paulooze@gmail.com>

* umount free resources fix (#410) (#418)

* dont trigger free resources on form umount

* fix lint

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* fix collapse row in diff tables (#413)

* umount free resources fix (#410)

* dont trigger free resources on form umount

* fix lint

* fix collapse row in diff tables

* add pr check

* fix lint

* fix merge conflict

* remove unused file

* update yarn.lock

Co-authored-by: Martin Sottnik <msottnik@gmail.com>
Co-authored-by: Marco <51787428+MarcoMruz@users.noreply.github.com>
Co-authored-by: Tomas <thodor@frinx.io>
Co-authored-by: Marco Mruz <marcomruz1@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Azure scheme (#422)

* Build authRedirectURL from scheme and domain envs

* fix url parsing for AUTH_REDIRECT_DOMAIN and AUTH_REDIRECT_SCHEME

Co-authored-by: Jozef Volak <jvolak@frinx.io>

* make blueprint textarea bigger (#425)

* make body min-height 100vh (#424)

* Story workflow builder (#427)

* install and use react-flow

* initiial transformation

* implement more node handles and deep tree

* fork task transformation

* fork join node transformation

* flow to api transformation (simple and fork)

* flow to api transformation (decission node)

* flow api transformation (nested decision node)

* small refactoring

* fix nested decision tasks transformation

* add add/delete node; add basic styling; remove old library

* transformation tests added (#400)

* start/end node, base node added

* fix workflow with decision node ending (#420)

* merge main (#423)

* Expand workflow (#426)

* add expand workflow implementation

* fix long name in node; add save/export/edit functionality

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* fix config value for auth_redirect_url

* fix type error in wf-builder

* remove old/unused types

* fix remove/delete/edit task; fix render issue in expanded wf; make edges updatable

* Delete edge (#428)

* custom delete button edge

* fix remove edge funcionality

Co-authored-by: Paulooze <paulooze@gmail.com>

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* add button to new edge (#430)

* move error message to proper place (#429)

* move error message to proper place

* fix lint

* Add nested pools (#431)

* add function to handle omit of null values and also handle types

* add nested pools table to pool detail page

* handle resource id logic when creating nested pool

* fix problem with creation of nested pool

* handle errors when freeing resources

* handle claiming resource with required description for set and singleton types

* merge ipv4 and ipv6 prefix modals into one and add simple error handling to modals

* remove redundant pool forms

* handle removed form pages

* remove / character from import

* add visual improvements to tables in detail pool page

* add button to create nested pool directly from detail page

* dont show create item when onCreateItem is not defined (#432)

* dont show create item when onCreateItem is not defined

* revert dependenies

* nested decision node without adjacent node fix (#433)

* update eslint (#434)

* update eslint

* fix formatter

* fix context lint rules

* Add renovate.json (#435)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update pr-check.yml (#440)

* Pin dependencies (#436)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Pin dependencies (#437)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Pin dependency graphql-tag to v (#441)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @types/file-saver to v2.0.5 (#442)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* delete notification toast added (#439)

* delete notification toast added

* fix notification message

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @types/lodash to v4.14.180 (#443)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency fp-ts to v2.11.9 (#445)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency immer to v9.0.12 (#446)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency react-flow-renderer to v9.7.4 (#447)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @fortawesome/react-fontawesome to v0.1.17 (#456)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency chakra-ui-autocomplete to v1.4.5 (#455)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @urql/exchange-retry to v0.3.2 (#453)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency http-proxy-middleware to v2.0.4 (#460)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency match-sorter to v6.3.1 (#462)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency pino to v7.8.1 (#463)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* submit filter on enter (#458)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* make port id configurable (#465)

* fix location form country code (#451)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @types/react-dom to v17.0.13 (#449)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @types/react-router to v5.1.18 (#450)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @fortawesome/react-fontawesome to v0.1.18 (#467)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency webpack-dev-server to v3.11.3 (#468)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency yup to v0.32.11 (#469)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @types/uuid to v8.3.4 (#452)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update babel monorepo (#471)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update graphqlcodegenerator monorepo (#470)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency ace-builds to v1.4.14 (#454)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @azure/msal-browser to v2.22.1 (#473)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @azure/msal-common to v5.2.0 (#474)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @azure/msal-react to v1.3.1 (#475)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @webpack-cli/serve to v1.6.1 (#478)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency eslint-plugin-react to v7.29.4 (#457)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency graphql-tag to v2.12.6 (#459)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency jsdoc to v3.6.10 (#461)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency date-fns to v2.28.0 (#479)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency esbuild to v0.14.27 (#481)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency date-fns-tz to v1.3.0 (#480)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency pino-pretty to v7.5.4 (#464)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency sass-loader to v10.2.1 (#466)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @types/node to v14.18.12 (#476)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @types/react-router-dom to v5.3.3 (#477)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency eslint-import-resolver-typescript to v2.5.0 (#482)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency eslint-plugin-flowtype to v5.10.0 (#483)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency flow-bin to v0.173.0 (#485)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency feather-icons-react to v0.5.0 (#484)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Fix gamma env bool validation (#488)

Co-authored-by: Jozef Volak <jvolak@frinx.io>

* Update dependency flow-remove-types to v2.174.0 (#486)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency graphql to v15.8.0 (#490)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* FD-179 workflow UI search fix (#491)

* task list search fix

* type fix

* Update dependency prettier to v2.6.0 (#496)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency react-ace to v9.5.0 (#497)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency rollup to v2.70.1 (#500)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency rollup-plugin-esbuild to v4.8.2 (#502)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency react-router-dom to v5.3.0 (#499)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* Update dependency pino to v7.9.1 (#495)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* Update dependency urql to v2.2.0 (#504)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* Update dependency webpack to v5.70.0 (#506)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* revert deps updates - fix build process (#508)

* revert deps updates - fix build process

* update @types/react - fix typegen error

* Update dependency fuse.js to v6.5.3 (#487)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency html-webpack-plugin to v5.5.0 (#492)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @babel/core to v7.17.8 (#510)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update emotion monorepo (#514)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* notifications added to workflow import (#516)

* notifications added to workflow import

* remove unused code

* Update typescript-eslint monorepo to v5.16.0 (#515)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency vitest to v0.7.7 (#505)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* new option added to bearer tpid (#519)

* Update dependency json-templates to v4.2.0 (#493)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update chakra-ui monorepo (#520)

* Update chakra-ui monorepo

* update node version in gh workflow

* add 'resolutions' to package.json - fix type error in chakra-ui; fix button component props

* fix wrong button prop in uniresource

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Paulooze <paulooze@gmail.com>

* Update dependency pino to v7.9.2 (#523)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency babel-loader to v8.2.4 (#522)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency minisearch to v3.3.0 (#494)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* Update actions/checkout action to v3 (#525)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @azure/msal-common to v6 (#526)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @types/react-dom to v17.0.14 (#511)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency typescript to v4.6.2 (#503)

* Update dependency typescript to v4.6.2

* remove unused types from dashboard

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* update docker-alpine in docker (#528)

* Update dependency rollup-plugin-dts to v4.2.0 (#501)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update Node.js to v17 (#521)

* Update Node.js to v17

* update engines field in package.json files (node v17)

* update node in nvmrc and gh workflow

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Paulooze <paulooze@gmail.com>

* Update Font Awesome to v6 (#517)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* revert node version to LTS (16) (#531)

* revert node version to LTS (16)

* update engines field in package.json files (node v16)

* Update dependency @types/node to v16 (#529)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency eslint-config-airbnb to v19 (#534)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency framer-motion to v6 (#537)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency vitest to v0.7.8 (#542)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency eslint-plugin-flowtype to v8 (#536)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* update yarn to latest (#532)

* update yarn to latest

* update @types/react - fix typegen error

* Update dependency eslint-import-resolver-typescript to v2.7.0 (#548)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency vitest to v0.7.9 (#547)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency sass-loader to v12 (#546)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency react-organizational-chart to v2 (#544)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* executed workflows search persistence via query params added (#549)

* executed workflows search persistence via query params added

* add missing file

* Update pool table (#448)

* add new informations about pool to table

* use detail item

* remove useless react fragment

* handle eslint errors

* add requested changes

* remove pool detail from pools table

* handle errors from deletion of component

* add nested page to show hierarchical structure

* add nested page component

* add children column and disable click when no nested pools

* optimalization of calculating

* show zero when no nested pools exist

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* replace --frozen-lockfile with --immutable - fix build (#558)

* make modal height flexible (#556)

* Fix free resource button (#561)

* rename from free to deallocate

* add description to resources table and claim button to set singleton table

* handle recache on claim or deallocate action

* move nested pools table to the bottom of the page

* Update dependency url-join to v5 (#557)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency react-router-dom to v6 (#559)

* Update dependency react-router-dom to v6

* update uniflow app to use new react-router (v6) (#560)

* update inventory app to use new react-router (v6) (#563)

* update uniresource app to use new react-router (v6) (#564)

* gamma app router added (#566)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* fix react-router => react-router-dom usage; remove old @types dep

* Gamma app router 2 (#567)

* move from callbacks to react router

* linter fixes

* fix types error

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* hide address allocation type in sna form (#569)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency minisearch to v4 (#540)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* fix auto redirect to basename in new react router (#573)

* fix service links (#574)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* make address fields disabled (#571)

* Pin dependency react-router-dom to 6.2.2 (#570)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix Navigate component placemenet (#575)

* Update dependency date-fns-tz to v1.3.1 (#576)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency esbuild to v0.14.28 (#577)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* make location form state field optional (#580)

* use clan list from service from on sna form (#579)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency typescript to v4.6.3 (#583)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update chakra-ui monorepo (#572)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* remove Navigate for basename (#581)

It doesn't work, see https://github.com/remix-run/react-router/issues/8427

* remove Allocate_CustomerAddresss workflow from sna form (#568)

* dont call customer address (obsolete) on sna form load

* fix lint

* fix types

* add native browser redirect to basename (#587)

* Update dependency esbuild to v0.14.29 (#586)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency eslint-plugin-react-hooks to v4.4.0 (#585)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency eslint to v8.12.0 (#584)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update typescript-eslint monorepo to v5.17.0 (#589)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency prettier to v2.6.1 (#578)

* Update dependency prettier to v2.6.1

* fix formatting

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @types/lodash to v4.14.181 (#582)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency vitest to v0.8.0 (#553)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* use new allocation workflows (#591)

* fix routing protocols (#593)

* fix routing protocols

* fix pr-check

* fix crate workflow (#594)

* Update dependency vitest to v0.8.1 (#592)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update react monorepo to v18 (major) (#590)

* Update react monorepo to v18

* remove ReactDOM.render and replace with createRoot (React v18 change)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency webpack-dev-server to v4 (#554)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency react-router-dom to v6.3.0 (#598)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency pino-pretty to v7.6.0 (#562)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @ajna/pagination to v1.4.17 (#599)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency date-fns-tz to v1.3.2 (#595)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix breaking changes in webpack dev server (#603)

* refresh state after successful discard commit (#602)

* refresh state after successful discard commit

* fix linter

* remove <StrictMode/> to fix wf-builder (outdated lib dep) (#609)

* unified discard button added (#610)

* Update dependency eslint-import-resolver-typescript to v2.7.1 (#608)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @azure/msal-react to v1.3.2 (#612)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency prettier to v2.6.2 (#607)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency esbuild to v0.14.32 (#606)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency vitest to v0.9.0 (#605)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @azure/msal-browser to v2.23.0 (#615)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency webpack to v5.71.0 (#604)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* revert framer motion version to v5 (#619)

* Revert "Update dependency webpack to v5.71.0 (#604)" (#620)

This reverts commit 094bef1b4dba7abf16bf2f8ea976c9fd13aac139.

* Revert "revert framer motion version to v5 (#619)" (#621)

This reverts commit 4dca61b315fd626cc73f020f4a5cfc2746368d3b.

* fix async generator fn for polling executed workflow data; fix subwf … (#622)

* fix async generator fn for polling executed workflow data; fix subwf render issue

* remove unused (commented) code; fix imported stuff

* fix hierachical execution request (#624)

* Post method for bult/terminate (#611)

Co-authored-by: Jozef Volak <jvolak@frinx.io>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* Uniflow routing refactor (#625)

* rename definition modal by guidelines

* update imports

* refactor definition modal

* handle typescript types

* rename diagram modal

* refactor diagram modal

* move types to helpers and use @frinx path instead of ../../../

* move workflow definition modal to common

* fix imports and remove unused component

* use chakra styling

* rename component by guidelines

* refactor dependency modal

* use Link from react router v6

* remove workflow list view modal

* add types from swagger uniflow docs api

* move schedule workflow modal to modals folder

* refactor schedule workflow modal

* use react router v6 to attr in input modal

* fix problem with scheduling workflow from modal

* remove on click redirect handlers

* Revert "remove on click redirect handlers"

This reverts commit c079e6370249245b7ecaef67fec664f413c1b825.

* use Link in executed workflow detail

* use Link in uniflow builder instead of redirect handlers

* use nested routes instead of absolute format

* use disclosure hook for input modal

* use Link component in executed workflow pages (#629)

* Update dependency @emotion/react to v11.9.0 (#618)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update chakra-ui monorepo (#633)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency esbuild to v0.14.36 (#616)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* gamma feedback (excel rows 35-39) (#637)

* add clear button to all filters (#640)

* add clear button to all filters

* add clear button to advanced search page

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* lock site management type (co-managed default) (#641)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Gamma feedback all (#646)

* add clear button to all filters

* add clear button to advanced search page

* lock site management type (co-managed default)

* FD-259 default BGP ASN set to 650000

* rename BGP ASN label

* FD-262, FD-263 - bfd profile

* FD-264 make prefix length 31 default

* FD-247 label uppercased

* FD-251 site id in format: <user_input>_<gnerateed_random>

* FD-252 custom location id

* vpn-nodes from changes (FD-243, FD-244, FD-245)

* make termination-role default and disabled

* fix dashboard type:check

* disable delete site/bearer if there are sna/evc inside

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fork task workflow fix (#647)

* update COMMIT_HASH handling - move to server and window.__CONFIG__ (#648)

* delay poll requests (#649)

* fix COMMIT_HASH env in production (#652)

* fix COMMIT_HASH env in production

* fix COMMIT_HASH env in production

* fix COMMIT_HASH env in production (#654)

* autocomplete fixes (#651)

* autocomplete fixes

* fix lint

* add fuzzy search to autocomplete (#653)

* submit filters on enter click (#655)

* fix COMMIT_HASH env in production (#658)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* change devices icon and label (#656)

* add diff table to location list (#661)

* hub spoke disjoint value fixed (#657)

* Pass git hash to docker image (#662)

Co-authored-by: Jozef Volak <jvolak@frinx.io>

* replace icon buttons with clear action menus; replace  with <Link/> components (#666)

* fix redirect from edit device form (#668)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* add carrier reference column to vpn bearer table (#667)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* fix loading handling after pool delete mutation firing (#665)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* change task search term limit from 3 to 1 (#664)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* fix site-network-access form validation behaviour (#663)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* remove gamma

Co-authored-by: Martin Sottnik <msottnik@gmail.com>
Co-authored-by: Marco <51787428+MarcoMruz@users.noreply.github.com>
Co-authored-by: Tomas <thodor@frinx.io>
Co-authored-by: Marco Mruz <marcomruz1@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jozef Volak <jvolak@frinx.io>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jozefiel <jozefvolak@gmail.com>
Paulooze added a commit to FRINXio/frinx-frontend that referenced this issue May 9, 2022
* Gamma project (#419)

* initiail project structure

* remove unused code

* vpn service form (#162)

* vpn service form added

* remove unused code

* change devServer port to 3001

* fix maximumRoutes options

* Main to gamma merge (#166)

* create edit device form & page (#152)

* create edit device form & page

* add edit button & change texting

* add cancel button

* remove onClick event from device name & edit device when uninstalled

* change styles of edit device form

* rename cancel function in edit page

* implement requested changes from comments

* change texting in toast

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* json jq task form added (#157)

* json jq task form added

* remove dependencies from useEffect

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* move query experssion to input params (#158)

* move query experssion to input params

* revert obsolete changes

* fix URLs in uniflow for wf scheduling (#159)

* fix URLs in uniflow for wf scheduling (#163)

* fix URLs in uniflow for wf scheduling

* update diagram lib

* create edit blueprint page (#160)

* create edit blueprint page

* change type of prop in edit blueprint form

* handle empty value from of using omitBy from lodash

* downgrade lodash version

Co-authored-by: Marco <51787428+MarcoMruz@users.noreply.github.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* edit and delete added to vpn service form (#170)

* implement feedback to edit vpn service form (#172)

* New autocomplete (#177)

* add new autocomplete component to gamma project

* update autocomplete - extract list to new component

* fix component types (FC => VoidFunctionComponent)

* update gh workflow to check gamma-projects PRs

* Gamma uniresource vpn service (#178)

* Connect vpn service with unistore for frinx-gamma

Signed-off-by: Tomas <thodor@frinx.io>

* lint fixing and refactoring

* read unistore bearer from config

* fix formatter

Co-authored-by: Tomas <thodor@frinx.io>

* Vpn site form (#175)

* vpn-site-form initial implementation

* add site devices form

* some refactoring

* yarn.lock updated

* lint fixes

* add server endpoints communication

* fix merge conflict ts bug

* Network access form create (#182)

* network access form create

* hide page info for now

* add missing fields (#184)

* network access form edit/delete (#185)

* Integrate gamma (#187)

* start gamma integration to FM UI

* finish gamma integration; cleanup gamma projects; fix types

* add gamma build cmd to GH Workflow (temp)

* update yarn.lock

* fix step in gh workflow

* fix webpack.config in gamma

* Form refactoring 1 (#186)

* form refactoring

* autocomplete string -> Item

* use qos profiles endpoint in site form

* add gamma-project for docker release

* add deployment for gamma

* fix production issue with gamma app (#191)

* fix wrong component (#189)

* fix edit site form autocomplete (#192)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* make devices and locations optional (#193)

* Vpn site form maximum routes (#194)

* move maximum routes from vpn service to vpn site form

* remove unused code

* make routing protocol types optional (#196)

* bgp profile added to site network access (#195)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* create item added to autocomplete (#197)

* preselect routing protocol type in site access network from (#198)

* services table implementation (#199)

* Sites table (#200)

* services table implementation

* sites table implementation

* network access table implementation (#204)

* Device validator (#203)

* more robust site device validator

* remove fake code

* make device management optional

* remove debugging response (#206)

* add custom default c vlan value (#207)

* disable bgp pic field in site form (#208)

* add vpn attachment field to network access form (#212)

* hide site network access type (#209)

* hide site network access type

* fix vpn attachment autocomplete

* routing protocols (possibility to add both bgp and static) (#215)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* add next hop to static protocol (#216)

* add next hop to static protocol

* linter fix

* bearer reference input added (#217)

* preserve ip connection in site network access (#219)

* device view implementation (#220)

* device view implementation

* show location info in device list

* add link to device list

* Add uniflow integration (#221)

* add first version of uniflow integration - add callback for executeWorkflow

* add workflow/task status modal for execution

* add workflow/task status modal for execution in sites; fix icons and small visual issues

* Add bearer list (#222)

* add bearer-list basics

* fix evc attachment validation and converter

* add basic bearer table; add callbacks; add commit to bearers

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* bearer backup fix (#224)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Bearer form (#223)

* bearer types and converter

* add bearer-list basics

* fix evc attachment validation and converter

* add basic bearer table; add callbacks; add commit to bearers

* client to api bearer converter

* basic create/edit/delete bearer functionality

Co-authored-by: Paulooze <paulooze@gmail.com>

* qos profile fix (#226)

* ipv4 ip connection fields (#225)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix requested type on edit (#228)

* fix requested type on edit

* linter fixes

* create site network access fix (#229)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* send only non empty routing protocols (#230)

* send only non empty routing protocols

* get only sites in config state

* hardcoded oam (#231)

* delete sna fix (#232)

* routing protocols fix (#233)

* Add locations page (#235)

* add locations page (with add and edit fn)

* remove location form from site form

* fix lint error in dashboard

* sync types and converters (#236)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* evc attachments view (#237)

* add missing fields to bearer form (#238)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* site-role added to site network access form (#239)

* site-role added to site network access form

* add missing siteRole

* remove unused import - fix eslint error

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* add proper values to bearer select boxes (#240)

* Bearer form nodes and carriers (#241)

* nodes autocomplete

* carriers autocomplete

* add vpn carrier form

* use spBearerReference as bearer id (#242)

* carriers edit and delete implementaion (#243)

* generate svlanId (will be provided by uniresource later) (#244)

* show config only data (#245)

* tpid display values changed (#246)

* use autocomplete for qos profiles (#247)

* node editing form added (#249)

* fix commit workflow (#254)

* spReferenceBearer disabled in edit mode (#250)

* renaming from feedback (#251)

* generate random vpn id base on feedback (#252)

* lock site management to provider-managed (#253)

* rename bearer form field (#256)

* change port id to select (#257)

* change port id to select

* remove old input

* remove customer name from evc form (#258)

* preselect auto as svlan assignment type (#259)

* Evc formik (#260)

* evc formik

* evc attachment formik validation

* mark required fields

* fix yup version

* bearer form validation (#263)

* service from validation (#264)

* device form validation (#265)

* location form validation (#266)

* site form validation (#267)

* site network access validation (#268)

* change node-id workflow (#270)

* add circuit reference regex validation (#269)

* use outline variant for input fields (#271)

* site role in site network form hardcoded to any-any (#272)

* send only bgp or static section for particular routing protocol (#274)

* execute bearer workflow fix (#276)

* disabled buttons in pristine forms (#277)

* icon tooltips added (#278)

* minor ui changes (#280)

* minor ui changes

* more verbose cvlan in service table list

* new circuit reference regex validation (#285)

* transaction-id added to api requests (#284)

* transaction-id added to api requests

* add missing files

* fix linters

* implement pr comments

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix bug where ipv4 field remove inserted values (#286)

* Add control page 1 (#287)

* add first version of control page

* fix api calls for counting items

* gamma pagination implementation (#288)

* location and network access pagination (#289)

* location pagination

* network access pagination

* filters added to service-list (#290)

* filters added to service-list

* service filter fixes

* filters added to site list (#291)

* filters added to site list

* linter fixes

* Bearer filter (#292)

* filters added to site list

* linter fixes

* filter added to bearer list

* remove device and location section from site form (#294)

* network access filter added (#293)

* network access filter added

* move filter functions to helper file

* remove obsolete code

* fix transaction id usage; use API call from unistore (#296)

* fix transaction id usage; use API call from unistore

* remove console.logs

* form options made configurable (#295)

* service form options added

* fix build

* add bearer, site, network-access options

* gamma options added to dashboard dev

* topology changed

* file renamed

* make application work without data

* service form submit error handling (#298)

* service form options added

* fix build

* add bearer, site, network-access options

* gamma options added to dashboard dev

* topology changed

* file renamed

* make application work without data

* create service submit error handling

* set submit error to null on submit

* make custom error message component

* add missign file

* submit error handling added (#300)

* add logs to api client (#303)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* add transaction id to commit workflows (#301)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* merge main branch (#304)

* merge main branch

* fix api client in gamma-app

* fix unistore types

* fix type errors in dashboard; fix type errors in uniflow api client; add dashboard typecheck to gh action pr check

* fix graphql in uniresource

* fix feather-icons-react d.ts file error in wf-builder

* fix type generation

* remove unused npm script for type generation

* fix import in gamma-app

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* fix docker build (#305)

* control panel button (#306)

* breadcrumbs added

* swtich to simple button

* get service id from workflow (#307)

* get service id from workflow

* poll workflow id

* prepare endpoints for content type parameter (#309)

* add clear button to forms (#311)

* render all fix (#314)

* lan tag field added to site network access form (#315)

* allocating ids from workflows (#308)

* Jsonb filters 3 (#312)

* service list - use array diffs to calc changes

* bearer list - use array diffs to calc changes

* site list - use array diffs to calc changes

* add new fields in bearer list (#313)

* make maximum routes optional (#317)

* create new transaction id on successful commit (#319)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* add unistore schema parameter (#320)

* add unistore schema parameter

* call PUT in create pages

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix validation message (#321)

* bearer commit workflow fix (#322)

* service network access filters (#323)

* service list - use array diffs to calc changes

* bearer list - use array diffs to calc changes

* site list - use array diffs to calc changes

* network access changes table

* add workflow result for uncommited changes (#325)

* collapsible detail added to list views (#324)

* collapsible detail added to list views

* detail added to location list view

* detail added to device list view

* detail added to service list view

* add icon and hover effect

* simplify code

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* more location and device details (#326)

* fix issue with graphql client reuse (same url for multiple graphql apis) (#328)

* filters added to location page (#327)

* filters added to bearer list (#329)

* Extract unistore api (#331)

* extract unistore api client for gamma

* update frinx-api

* add error message box for forbidden error (expired transaction)

* fix unistore api types

* remove forgotten file

* fix dep version (dedubcheck)

* fix unistore api callback types

* update unistore api for locations

* fix types for graphql client api

* remove forgotten file

* fix transaction error box show/hide

* update yarn.lock

* filters added to device page (#330)

* filters added to device page

* fix eslint

* fix types

* filters added to evc list page (#332)

* filters added to device page

* fix eslint

* fix types

* filters added to evc page

* fix eslint

* fix eslint

* filter fixes

* fix logout issue (not removing auth token stored in localstorage) (#333)

* add authority option to config for msal (#335)

* bearer filters (#337)

* site filteres (#339)

* bearer filters

* site filters

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Filter context (#340)

* add filter context

* add bearer filter

* lan tag validation (#341)

* discard changes implementation (#344)

* discard changes implementation

* add missing file

* dont strip bearer admin status prefix (#342)

* dont strip bearer admin status prefix

* fix page size

* add admin state dropdown to bearer form

* GAM-135 cometic changes

* remove cookie before getting new transaction id (#351)

* merge changes from main branch (#352)

* merge changes from main branch

* remove git conflict marker

* update graphql generated types

* fix errors in uniresource-app

* remove forgotten file

* add sb_bearer_reference to svlan allocation input (#354)

* FD-121 bearer site view fix (#356)

* fix bearer and site list without evc and sna

* add evc changes table

* fix evc-attachment type

* fix evc-attachment type 2

* fix evc validation message (#355)

* add mtu validation (#358)

* location/device changes (#357)

* add new columns to evc list (#359)

* Deallocate id from workflow (#318)

* allocating ids from workflows

* deallocate ids via workflows

* deallocate pools on discard

* add parameters to free allocation workflows

* changes in service view text labels (#361)

* change validation and form labels (#360)

* implement changes from gamma feedback (#363)

* add extranet column to service list (#365)

* implement changes from edit service feedback (#366)

* implement changes from edit service feedback

* make existing value check case insensitive

* fetching addresses and deallocate on unmount (#367)

* fetching addresses and deallocate on unmount

* run assign address workflow repeatedly fix

* Update control-page.tsx (#373)

* change menu (#374)

* service network form changes (#370)

* service network form changes

* static routes validation

* ip conneciton validation

* fix types

* use uuid instead of lodash uniqueId

* assign svlan onclick (#377)

* assign svlan onclick

* fix saved evc attachments list

* fix eslint

* remove obsolete code

* add missing evc filters (#372)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix optional unistore types (#379)

* fix optional unistore types

* fix more types

* fix types 2

* fix types 3

* fix types 4

* fix service types

* fix type 5

* remove unused code

* Gam 163 evc diff fix (#381)

* fix optional unistore types

* fix more types

* fix types 2

* fix types 3

* fix types 4

* fix service types

* fix evc diff list

* GAM-160 deleting sna fix (#382)

* fix optional unistore types

* fix more types

* fix types 2

* fix types 3

* fix types 4

* fix service types

* fix type 5

* remove unused code

* delete network access fix

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* handle no access error (#387)

* horizontal search implementation (#386)

* fix admin state in bearer form (#391)

* merge changes from main branch (#395)

* merge changes from main branch

* add generated graphql types

* handle type errors in uniresource

* remove forgotten file

Co-authored-by: Marco Mruz <marcomruz1@gmail.com>

* fix autocomplete direction (#393)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* merge changes from main branch 2 (#397)

* merge changes from main branch 2

* fix forgotten merge conflict

* fix merge conflicts

* remove uniconfig dependency from dashboard

* add updated yarn.lock

* add assign vpn id button to service form (#401)

* fix abort controller to be called only once on umount (#405)

* fix abort controller to be called only once on umount

* fix use abort controller

* Merge main branch 3 (#407)

* extract api clients/callbacks; improve types (#299)

* extract api clients/callbacks; improve types

* fix eslint

* add build scrip for api clients; fix gh workflow

* fix ts errors in wf-builder

* extract graphql api clients

* fix eslint errors in frinx api; add checks for frinx api; update gh workflow with new checks for api package

* remove unused dashboard api; fix some types in workflow builder

* fix auth error display show/hide after login

* Create pool detail (#310)

* add pool detail page redirect from pool table

* add claim and free resource mutation

* create claim and free resource modal

* handle on change event for claim resource modal form

* move modals to folder and create separate component for allocated res

* remove modals

* add and handle claiming of resource from ipv4 prefix pool

* create modal for vlan alloc

* rename alloc modal of ipv4 prefix

* rename modal to layout

* use claim resource modal layout

* use one abstract modal with variant to render modal by resource type

* use string instead of type in variant prop

* create use notification hook and unwrap helper

* move unwrap to src folder

* create toast notification

* implement logic to toast notification component

* add notification context provider

* rename notification context

* add uuid package

* implement use notification to pool detail page and to root file of uniresource

* change default value

* implement feedback for user when creating resource pool

* create allocating modal or vlan range

* implement vlan range modal and move free resource button per allocated resource row

* refactor pool detail table and way of claiming/freeing resources from pool

* move logic to separate functions

* refactor if statement

* add authority option to config for msal (#334)

* fix bugs - favorites btn; missing icon; labels dedup (#343)

* fix disabled reexecute btn (#345)

* fix name search in executed workflows list (#346)

* fix dashboard prod build (#347)

* fix resume workflow (#348)

* fix pagination on executed workflow list (#349)

* revert pagination behaviour; fix redirect after workflow retry (#350)

* fix logout issue (not removing auth token stored in localstorage) (#353)

* Bump follow-redirects from 1.14.2 to 1.14.7 (#362)

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.2 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.2...v1.14.7)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix graphql api client in main branch (#364)

* Bump nanoid from 3.1.25 to 3.2.0 (#368)

Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.25 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.25...3.2.0)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update uniresource (#369)

* update validation process in uniresource create pool

* filter resource type by parent

* handle claim and free resources to be interactive

* rerender allocated resources after claim or free when is empty array

* filter what resource types can be allocating

* handle validation of pool forms in resource pool of type set and singleton

* handle pool property types change event

* handle validation of individual form input

* handle which resource types can be allocating

* rename modal component from vlan to ipv6_prefix

* add ipv6_prefix modal for claiming addresses from resource pool

* show description on hover using title prop

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Add transaction inventory (#371)

* add transaction id to config screen in inventory ui

* fix transaction id after reload; introduce new hook for it

* fix typo; fix calc diff query (add transactionId)

* fix transaction close after commit (#376)

* disable inventory playground when auth_enabled=true (#375)

* fix json editor behaviour (handle invalid JSON inside editor) (#378)

* fix json editor behaviour (handle invalid JSON inside editor)

* fix onChange behaviour for non-JSON code in Editor component

* Fix pagination uniflow exec wf (#380)

* fix problem with hierarchical pagination of exec workflows

* handle fetching with pagination instead of state

* improve device config screen - delete snapshot, calcdiff output, layo… (#384)

* improve device config screen - delete snapshot, calcdiff output, layout changes

* refactor transactionId hook; improve transactionId close behaviour

* add dry run config output modal

* Fix create new task modal (#385)

* fix problem with hierarchical pagination of exec workflows

* handle fetching with pagination instead of state

* convert add task modal to typescript

* fix problem with creating new task in uniflow ui

* convert constants to TS

* add formik to uniflow

* move add task modal to separate folder

* rename add task modal

* add add task modal form

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Fix bulk operations uniflow (#388)

* fix number of selected workflows

* handle bad calling of bulk operations

* remove not functional children column in executed workflows list

* Fix filtering exec workflows (#389)

* reset current page to 1 when filtering executed workflows

* convert pagination hook to typescript

* Fix add new task (#390)

* fix problem with adding new task in uniflow

* create file for task table

* add task table component to task list

* convert task list to typescript

* convert task config modal to typescript

* implement new task config modal to task list

* handle searching of tasks using minisearch

* handle parse of description

* Bump follow-redirects from 1.14.7 to 1.14.8 (#394)

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* add delete blueprint feature (#392)

* fix diff output api result type (udpdated-data object keys changes) (#396)

* add transaction expiration handling in device config screen (#398)

* Bump url-parse from 1.5.3 to 1.5.7 (#399)

Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.3 to 1.5.7.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.7)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* handle pagination max pages (#402)

* fix workflow id on terminate action (#403)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* abort controller fix (#406)

* fix merge conflict

* fix merge conflict

* fix types in uniresource

* fix types in uniresource

* fix types in uniresource

Co-authored-by: Marco <51787428+MarcoMruz@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* merge main (#417)

* merge main

* add copy plugin

* remove unuse copy plugin

* fix copy gamma-options

* fix gh workflow merge conflict

* remove unused file

Co-authored-by: Pavol Porubsky <paulooze@gmail.com>

* umount free resources fix (#410) (#418)

* dont trigger free resources on form umount

* fix lint

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* fix collapse row in diff tables (#413)

* umount free resources fix (#410)

* dont trigger free resources on form umount

* fix lint

* fix collapse row in diff tables

* add pr check

* fix lint

* fix merge conflict

* remove unused file

* update yarn.lock

Co-authored-by: Martin Sottnik <msottnik@gmail.com>
Co-authored-by: Marco <51787428+MarcoMruz@users.noreply.github.com>
Co-authored-by: Tomas <thodor@frinx.io>
Co-authored-by: Marco Mruz <marcomruz1@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Azure scheme (#422)

* Build authRedirectURL from scheme and domain envs

* fix url parsing for AUTH_REDIRECT_DOMAIN and AUTH_REDIRECT_SCHEME

Co-authored-by: Jozef Volak <jvolak@frinx.io>

* make blueprint textarea bigger (#425)

* make body min-height 100vh (#424)

* Story workflow builder (#427)

* install and use react-flow

* initiial transformation

* implement more node handles and deep tree

* fork task transformation

* fork join node transformation

* flow to api transformation (simple and fork)

* flow to api transformation (decission node)

* flow api transformation (nested decision node)

* small refactoring

* fix nested decision tasks transformation

* add add/delete node; add basic styling; remove old library

* transformation tests added (#400)

* start/end node, base node added

* fix workflow with decision node ending (#420)

* merge main (#423)

* Expand workflow (#426)

* add expand workflow implementation

* fix long name in node; add save/export/edit functionality

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* fix config value for auth_redirect_url

* fix type error in wf-builder

* remove old/unused types

* fix remove/delete/edit task; fix render issue in expanded wf; make edges updatable

* Delete edge (#428)

* custom delete button edge

* fix remove edge funcionality

Co-authored-by: Paulooze <paulooze@gmail.com>

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* add button to new edge (#430)

* move error message to proper place (#429)

* move error message to proper place

* fix lint

* Add nested pools (#431)

* add function to handle omit of null values and also handle types

* add nested pools table to pool detail page

* handle resource id logic when creating nested pool

* fix problem with creation of nested pool

* handle errors when freeing resources

* handle claiming resource with required description for set and singleton types

* merge ipv4 and ipv6 prefix modals into one and add simple error handling to modals

* remove redundant pool forms

* handle removed form pages

* remove / character from import

* add visual improvements to tables in detail pool page

* add button to create nested pool directly from detail page

* dont show create item when onCreateItem is not defined (#432)

* dont show create item when onCreateItem is not defined

* revert dependenies

* nested decision node without adjacent node fix (#433)

* update eslint (#434)

* update eslint

* fix formatter

* fix context lint rules

* Add renovate.json (#435)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update pr-check.yml (#440)

* Pin dependencies (#436)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Pin dependencies (#437)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Pin dependency graphql-tag to v (#441)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @types/file-saver to v2.0.5 (#442)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* delete notification toast added (#439)

* delete notification toast added

* fix notification message

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @types/lodash to v4.14.180 (#443)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency fp-ts to v2.11.9 (#445)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency immer to v9.0.12 (#446)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency react-flow-renderer to v9.7.4 (#447)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @fortawesome/react-fontawesome to v0.1.17 (#456)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency chakra-ui-autocomplete to v1.4.5 (#455)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @urql/exchange-retry to v0.3.2 (#453)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency http-proxy-middleware to v2.0.4 (#460)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency match-sorter to v6.3.1 (#462)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency pino to v7.8.1 (#463)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* submit filter on enter (#458)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* make port id configurable (#465)

* fix location form country code (#451)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @types/react-dom to v17.0.13 (#449)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @types/react-router to v5.1.18 (#450)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @fortawesome/react-fontawesome to v0.1.18 (#467)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency webpack-dev-server to v3.11.3 (#468)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency yup to v0.32.11 (#469)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @types/uuid to v8.3.4 (#452)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update babel monorepo (#471)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update graphqlcodegenerator monorepo (#470)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency ace-builds to v1.4.14 (#454)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @azure/msal-browser to v2.22.1 (#473)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @azure/msal-common to v5.2.0 (#474)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @azure/msal-react to v1.3.1 (#475)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @webpack-cli/serve to v1.6.1 (#478)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency eslint-plugin-react to v7.29.4 (#457)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency graphql-tag to v2.12.6 (#459)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency jsdoc to v3.6.10 (#461)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency date-fns to v2.28.0 (#479)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency esbuild to v0.14.27 (#481)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency date-fns-tz to v1.3.0 (#480)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency pino-pretty to v7.5.4 (#464)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency sass-loader to v10.2.1 (#466)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @types/node to v14.18.12 (#476)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @types/react-router-dom to v5.3.3 (#477)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency eslint-import-resolver-typescript to v2.5.0 (#482)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency eslint-plugin-flowtype to v5.10.0 (#483)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency flow-bin to v0.173.0 (#485)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency feather-icons-react to v0.5.0 (#484)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Fix gamma env bool validation (#488)

Co-authored-by: Jozef Volak <jvolak@frinx.io>

* Update dependency flow-remove-types to v2.174.0 (#486)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency graphql to v15.8.0 (#490)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* FD-179 workflow UI search fix (#491)

* task list search fix

* type fix

* Update dependency prettier to v2.6.0 (#496)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency react-ace to v9.5.0 (#497)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency rollup to v2.70.1 (#500)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency rollup-plugin-esbuild to v4.8.2 (#502)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency react-router-dom to v5.3.0 (#499)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* Update dependency pino to v7.9.1 (#495)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* Update dependency urql to v2.2.0 (#504)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* Update dependency webpack to v5.70.0 (#506)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* revert deps updates - fix build process (#508)

* revert deps updates - fix build process

* update @types/react - fix typegen error

* Update dependency fuse.js to v6.5.3 (#487)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency html-webpack-plugin to v5.5.0 (#492)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @babel/core to v7.17.8 (#510)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update emotion monorepo (#514)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* notifications added to workflow import (#516)

* notifications added to workflow import

* remove unused code

* Update typescript-eslint monorepo to v5.16.0 (#515)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency vitest to v0.7.7 (#505)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* new option added to bearer tpid (#519)

* Update dependency json-templates to v4.2.0 (#493)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update chakra-ui monorepo (#520)

* Update chakra-ui monorepo

* update node version in gh workflow

* add 'resolutions' to package.json - fix type error in chakra-ui; fix button component props

* fix wrong button prop in uniresource

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Paulooze <paulooze@gmail.com>

* Update dependency pino to v7.9.2 (#523)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency babel-loader to v8.2.4 (#522)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency minisearch to v3.3.0 (#494)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* Update actions/checkout action to v3 (#525)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @azure/msal-common to v6 (#526)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @types/react-dom to v17.0.14 (#511)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency typescript to v4.6.2 (#503)

* Update dependency typescript to v4.6.2

* remove unused types from dashboard

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* update docker-alpine in docker (#528)

* Update dependency rollup-plugin-dts to v4.2.0 (#501)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update Node.js to v17 (#521)

* Update Node.js to v17

* update engines field in package.json files (node v17)

* update node in nvmrc and gh workflow

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Paulooze <paulooze@gmail.com>

* Update Font Awesome to v6 (#517)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* revert node version to LTS (16) (#531)

* revert node version to LTS (16)

* update engines field in package.json files (node v16)

* Update dependency @types/node to v16 (#529)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency eslint-config-airbnb to v19 (#534)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency framer-motion to v6 (#537)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency vitest to v0.7.8 (#542)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency eslint-plugin-flowtype to v8 (#536)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* update yarn to latest (#532)

* update yarn to latest

* update @types/react - fix typegen error

* Update dependency eslint-import-resolver-typescript to v2.7.0 (#548)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency vitest to v0.7.9 (#547)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency sass-loader to v12 (#546)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency react-organizational-chart to v2 (#544)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* executed workflows search persistence via query params added (#549)

* executed workflows search persistence via query params added

* add missing file

* Update pool table (#448)

* add new informations about pool to table

* use detail item

* remove useless react fragment

* handle eslint errors

* add requested changes

* remove pool detail from pools table

* handle errors from deletion of component

* add nested page to show hierarchical structure

* add nested page component

* add children column and disable click when no nested pools

* optimalization of calculating

* show zero when no nested pools exist

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* replace --frozen-lockfile with --immutable - fix build (#558)

* make modal height flexible (#556)

* Fix free resource button (#561)

* rename from free to deallocate

* add description to resources table and claim button to set singleton table

* handle recache on claim or deallocate action

* move nested pools table to the bottom of the page

* Update dependency url-join to v5 (#557)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency react-router-dom to v6 (#559)

* Update dependency react-router-dom to v6

* update uniflow app to use new react-router (v6) (#560)

* update inventory app to use new react-router (v6) (#563)

* update uniresource app to use new react-router (v6) (#564)

* gamma app router added (#566)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* fix react-router => react-router-dom usage; remove old @types dep

* Gamma app router 2 (#567)

* move from callbacks to react router

* linter fixes

* fix types error

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* hide address allocation type in sna form (#569)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency minisearch to v4 (#540)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* fix auto redirect to basename in new react router (#573)

* fix service links (#574)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* make address fields disabled (#571)

* Pin dependency react-router-dom to 6.2.2 (#570)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix Navigate component placemenet (#575)

* Update dependency date-fns-tz to v1.3.1 (#576)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency esbuild to v0.14.28 (#577)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* make location form state field optional (#580)

* use clan list from service from on sna form (#579)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency typescript to v4.6.3 (#583)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update chakra-ui monorepo (#572)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* remove Navigate for basename (#581)

It doesn't work, see https://github.com/remix-run/react-router/issues/8427

* remove Allocate_CustomerAddresss workflow from sna form (#568)

* dont call customer address (obsolete) on sna form load

* fix lint

* fix types

* add native browser redirect to basename (#587)

* Update dependency esbuild to v0.14.29 (#586)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency eslint-plugin-react-hooks to v4.4.0 (#585)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency eslint to v8.12.0 (#584)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update typescript-eslint monorepo to v5.17.0 (#589)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency prettier to v2.6.1 (#578)

* Update dependency prettier to v2.6.1

* fix formatting

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @types/lodash to v4.14.181 (#582)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency vitest to v0.8.0 (#553)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* use new allocation workflows (#591)

* fix routing protocols (#593)

* fix routing protocols

* fix pr-check

* fix crate workflow (#594)

* Update dependency vitest to v0.8.1 (#592)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update react monorepo to v18 (major) (#590)

* Update react monorepo to v18

* remove ReactDOM.render and replace with createRoot (React v18 change)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency webpack-dev-server to v4 (#554)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency react-router-dom to v6.3.0 (#598)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency pino-pretty to v7.6.0 (#562)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @ajna/pagination to v1.4.17 (#599)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency date-fns-tz to v1.3.2 (#595)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix breaking changes in webpack dev server (#603)

* refresh state after successful discard commit (#602)

* refresh state after successful discard commit

* fix linter

* remove <StrictMode/> to fix wf-builder (outdated lib dep) (#609)

* unified discard button added (#610)

* Update dependency eslint-import-resolver-typescript to v2.7.1 (#608)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @azure/msal-react to v1.3.2 (#612)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency prettier to v2.6.2 (#607)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency esbuild to v0.14.32 (#606)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency vitest to v0.9.0 (#605)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @azure/msal-browser to v2.23.0 (#615)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency webpack to v5.71.0 (#604)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* revert framer motion version to v5 (#619)

* Revert "Update dependency webpack to v5.71.0 (#604)" (#620)

This reverts commit 094bef1b4dba7abf16bf2f8ea976c9fd13aac139.

* Revert "revert framer motion version to v5 (#619)" (#621)

This reverts commit 4dca61b315fd626cc73f020f4a5cfc2746368d3b.

* fix async generator fn for polling executed workflow data; fix subwf … (#622)

* fix async generator fn for polling executed workflow data; fix subwf render issue

* remove unused (commented) code; fix imported stuff

* fix hierachical execution request (#624)

* Post method for bult/terminate (#611)

Co-authored-by: Jozef Volak <jvolak@frinx.io>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* Uniflow routing refactor (#625)

* rename definition modal by guidelines

* update imports

* refactor definition modal

* handle typescript types

* rename diagram modal

* refactor diagram modal

* move types to helpers and use @frinx path instead of ../../../

* move workflow definition modal to common

* fix imports and remove unused component

* use chakra styling

* rename component by guidelines

* refactor dependency modal

* use Link from react router v6

* remove workflow list view modal

* add types from swagger uniflow docs api

* move schedule workflow modal to modals folder

* refactor schedule workflow modal

* use react router v6 to attr in input modal

* fix problem with scheduling workflow from modal

* remove on click redirect handlers

* Revert "remove on click redirect handlers"

This reverts commit c079e6370249245b7ecaef67fec664f413c1b825.

* use Link in executed workflow detail

* use Link in uniflow builder instead of redirect handlers

* use nested routes instead of absolute format

* use disclosure hook for input modal

* use Link component in executed workflow pages (#629)

* Update dependency @emotion/react to v11.9.0 (#618)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update chakra-ui monorepo (#633)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency esbuild to v0.14.36 (#616)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* gamma feedback (excel rows 35-39) (#637)

* add clear button to all filters (#640)

* add clear button to all filters

* add clear button to advanced search page

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* lock site management type (co-managed default) (#641)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Gamma feedback all (#646)

* add clear button to all filters

* add clear button to advanced search page

* lock site management type (co-managed default)

* FD-259 default BGP ASN set to 650000

* rename BGP ASN label

* FD-262, FD-263 - bfd profile

* FD-264 make prefix length 31 default

* FD-247 label uppercased

* FD-251 site id in format: <user_input>_<gnerateed_random>

* FD-252 custom location id

* vpn-nodes from changes (FD-243, FD-244, FD-245)

* make termination-role default and disabled

* fix dashboard type:check

* disable delete site/bearer if there are sna/evc inside

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fork task workflow fix (#647)

* update COMMIT_HASH handling - move to server and window.__CONFIG__ (#648)

* delay poll requests (#649)

* fix COMMIT_HASH env in production (#652)

* fix COMMIT_HASH env in production

* fix COMMIT_HASH env in production

* fix COMMIT_HASH env in production (#654)

* autocomplete fixes (#651)

* autocomplete fixes

* fix lint

* add fuzzy search to autocomplete (#653)

* submit filters on enter click (#655)

* fix COMMIT_HASH env in production (#658)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* change devices icon and label (#656)

* add diff table to location list (#661)

* hub spoke disjoint value fixed (#657)

* Pass git hash to docker image (#662)

Co-authored-by: Jozef Volak <jvolak@frinx.io>

* replace icon buttons with clear action menus; replace  with <Link/> components (#666)

* fix redirect from edit device form (#668)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* add carrier reference column to vpn bearer table (#667)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* fix loading handling after pool delete mutation firing (#665)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* change task search term limit from 3 to 1 (#664)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* fix site-network-access form validation behaviour (#663)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* remove gamma

Co-authored-by: Martin Sottnik <msottnik@gmail.com>
Co-authored-by: Marco <51787428+MarcoMruz@users.noreply.github.com>
Co-authored-by: Tomas <thodor@frinx.io>
Co-authored-by: Marco Mruz <marcomruz1@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jozef Volak <jvolak@frinx.io>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jozefiel <jozefvolak@gmail.com>
Paulooze added a commit to FRINXio/frinx-frontend that referenced this issue May 9, 2022
* Gamma project (#419)

* initiail project structure

* remove unused code

* vpn service form (#162)

* vpn service form added

* remove unused code

* change devServer port to 3001

* fix maximumRoutes options

* Main to gamma merge (#166)

* create edit device form & page (#152)

* create edit device form & page

* add edit button & change texting

* add cancel button

* remove onClick event from device name & edit device when uninstalled

* change styles of edit device form

* rename cancel function in edit page

* implement requested changes from comments

* change texting in toast

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* json jq task form added (#157)

* json jq task form added

* remove dependencies from useEffect

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* move query experssion to input params (#158)

* move query experssion to input params

* revert obsolete changes

* fix URLs in uniflow for wf scheduling (#159)

* fix URLs in uniflow for wf scheduling (#163)

* fix URLs in uniflow for wf scheduling

* update diagram lib

* create edit blueprint page (#160)

* create edit blueprint page

* change type of prop in edit blueprint form

* handle empty value from of using omitBy from lodash

* downgrade lodash version

Co-authored-by: Marco <51787428+MarcoMruz@users.noreply.github.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* edit and delete added to vpn service form (#170)

* implement feedback to edit vpn service form (#172)

* New autocomplete (#177)

* add new autocomplete component to gamma project

* update autocomplete - extract list to new component

* fix component types (FC => VoidFunctionComponent)

* update gh workflow to check gamma-projects PRs

* Gamma uniresource vpn service (#178)

* Connect vpn service with unistore for frinx-gamma

Signed-off-by: Tomas <thodor@frinx.io>

* lint fixing and refactoring

* read unistore bearer from config

* fix formatter

Co-authored-by: Tomas <thodor@frinx.io>

* Vpn site form (#175)

* vpn-site-form initial implementation

* add site devices form

* some refactoring

* yarn.lock updated

* lint fixes

* add server endpoints communication

* fix merge conflict ts bug

* Network access form create (#182)

* network access form create

* hide page info for now

* add missing fields (#184)

* network access form edit/delete (#185)

* Integrate gamma (#187)

* start gamma integration to FM UI

* finish gamma integration; cleanup gamma projects; fix types

* add gamma build cmd to GH Workflow (temp)

* update yarn.lock

* fix step in gh workflow

* fix webpack.config in gamma

* Form refactoring 1 (#186)

* form refactoring

* autocomplete string -> Item

* use qos profiles endpoint in site form

* add gamma-project for docker release

* add deployment for gamma

* fix production issue with gamma app (#191)

* fix wrong component (#189)

* fix edit site form autocomplete (#192)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* make devices and locations optional (#193)

* Vpn site form maximum routes (#194)

* move maximum routes from vpn service to vpn site form

* remove unused code

* make routing protocol types optional (#196)

* bgp profile added to site network access (#195)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* create item added to autocomplete (#197)

* preselect routing protocol type in site access network from (#198)

* services table implementation (#199)

* Sites table (#200)

* services table implementation

* sites table implementation

* network access table implementation (#204)

* Device validator (#203)

* more robust site device validator

* remove fake code

* make device management optional

* remove debugging response (#206)

* add custom default c vlan value (#207)

* disable bgp pic field in site form (#208)

* add vpn attachment field to network access form (#212)

* hide site network access type (#209)

* hide site network access type

* fix vpn attachment autocomplete

* routing protocols (possibility to add both bgp and static) (#215)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* add next hop to static protocol (#216)

* add next hop to static protocol

* linter fix

* bearer reference input added (#217)

* preserve ip connection in site network access (#219)

* device view implementation (#220)

* device view implementation

* show location info in device list

* add link to device list

* Add uniflow integration (#221)

* add first version of uniflow integration - add callback for executeWorkflow

* add workflow/task status modal for execution

* add workflow/task status modal for execution in sites; fix icons and small visual issues

* Add bearer list (#222)

* add bearer-list basics

* fix evc attachment validation and converter

* add basic bearer table; add callbacks; add commit to bearers

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* bearer backup fix (#224)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Bearer form (#223)

* bearer types and converter

* add bearer-list basics

* fix evc attachment validation and converter

* add basic bearer table; add callbacks; add commit to bearers

* client to api bearer converter

* basic create/edit/delete bearer functionality

Co-authored-by: Paulooze <paulooze@gmail.com>

* qos profile fix (#226)

* ipv4 ip connection fields (#225)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix requested type on edit (#228)

* fix requested type on edit

* linter fixes

* create site network access fix (#229)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* send only non empty routing protocols (#230)

* send only non empty routing protocols

* get only sites in config state

* hardcoded oam (#231)

* delete sna fix (#232)

* routing protocols fix (#233)

* Add locations page (#235)

* add locations page (with add and edit fn)

* remove location form from site form

* fix lint error in dashboard

* sync types and converters (#236)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* evc attachments view (#237)

* add missing fields to bearer form (#238)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* site-role added to site network access form (#239)

* site-role added to site network access form

* add missing siteRole

* remove unused import - fix eslint error

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* add proper values to bearer select boxes (#240)

* Bearer form nodes and carriers (#241)

* nodes autocomplete

* carriers autocomplete

* add vpn carrier form

* use spBearerReference as bearer id (#242)

* carriers edit and delete implementaion (#243)

* generate svlanId (will be provided by uniresource later) (#244)

* show config only data (#245)

* tpid display values changed (#246)

* use autocomplete for qos profiles (#247)

* node editing form added (#249)

* fix commit workflow (#254)

* spReferenceBearer disabled in edit mode (#250)

* renaming from feedback (#251)

* generate random vpn id base on feedback (#252)

* lock site management to provider-managed (#253)

* rename bearer form field (#256)

* change port id to select (#257)

* change port id to select

* remove old input

* remove customer name from evc form (#258)

* preselect auto as svlan assignment type (#259)

* Evc formik (#260)

* evc formik

* evc attachment formik validation

* mark required fields

* fix yup version

* bearer form validation (#263)

* service from validation (#264)

* device form validation (#265)

* location form validation (#266)

* site form validation (#267)

* site network access validation (#268)

* change node-id workflow (#270)

* add circuit reference regex validation (#269)

* use outline variant for input fields (#271)

* site role in site network form hardcoded to any-any (#272)

* send only bgp or static section for particular routing protocol (#274)

* execute bearer workflow fix (#276)

* disabled buttons in pristine forms (#277)

* icon tooltips added (#278)

* minor ui changes (#280)

* minor ui changes

* more verbose cvlan in service table list

* new circuit reference regex validation (#285)

* transaction-id added to api requests (#284)

* transaction-id added to api requests

* add missing files

* fix linters

* implement pr comments

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix bug where ipv4 field remove inserted values (#286)

* Add control page 1 (#287)

* add first version of control page

* fix api calls for counting items

* gamma pagination implementation (#288)

* location and network access pagination (#289)

* location pagination

* network access pagination

* filters added to service-list (#290)

* filters added to service-list

* service filter fixes

* filters added to site list (#291)

* filters added to site list

* linter fixes

* Bearer filter (#292)

* filters added to site list

* linter fixes

* filter added to bearer list

* remove device and location section from site form (#294)

* network access filter added (#293)

* network access filter added

* move filter functions to helper file

* remove obsolete code

* fix transaction id usage; use API call from unistore (#296)

* fix transaction id usage; use API call from unistore

* remove console.logs

* form options made configurable (#295)

* service form options added

* fix build

* add bearer, site, network-access options

* gamma options added to dashboard dev

* topology changed

* file renamed

* make application work without data

* service form submit error handling (#298)

* service form options added

* fix build

* add bearer, site, network-access options

* gamma options added to dashboard dev

* topology changed

* file renamed

* make application work without data

* create service submit error handling

* set submit error to null on submit

* make custom error message component

* add missign file

* submit error handling added (#300)

* add logs to api client (#303)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* add transaction id to commit workflows (#301)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* merge main branch (#304)

* merge main branch

* fix api client in gamma-app

* fix unistore types

* fix type errors in dashboard; fix type errors in uniflow api client; add dashboard typecheck to gh action pr check

* fix graphql in uniresource

* fix feather-icons-react d.ts file error in wf-builder

* fix type generation

* remove unused npm script for type generation

* fix import in gamma-app

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* fix docker build (#305)

* control panel button (#306)

* breadcrumbs added

* swtich to simple button

* get service id from workflow (#307)

* get service id from workflow

* poll workflow id

* prepare endpoints for content type parameter (#309)

* add clear button to forms (#311)

* render all fix (#314)

* lan tag field added to site network access form (#315)

* allocating ids from workflows (#308)

* Jsonb filters 3 (#312)

* service list - use array diffs to calc changes

* bearer list - use array diffs to calc changes

* site list - use array diffs to calc changes

* add new fields in bearer list (#313)

* make maximum routes optional (#317)

* create new transaction id on successful commit (#319)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* add unistore schema parameter (#320)

* add unistore schema parameter

* call PUT in create pages

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix validation message (#321)

* bearer commit workflow fix (#322)

* service network access filters (#323)

* service list - use array diffs to calc changes

* bearer list - use array diffs to calc changes

* site list - use array diffs to calc changes

* network access changes table

* add workflow result for uncommited changes (#325)

* collapsible detail added to list views (#324)

* collapsible detail added to list views

* detail added to location list view

* detail added to device list view

* detail added to service list view

* add icon and hover effect

* simplify code

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* more location and device details (#326)

* fix issue with graphql client reuse (same url for multiple graphql apis) (#328)

* filters added to location page (#327)

* filters added to bearer list (#329)

* Extract unistore api (#331)

* extract unistore api client for gamma

* update frinx-api

* add error message box for forbidden error (expired transaction)

* fix unistore api types

* remove forgotten file

* fix dep version (dedubcheck)

* fix unistore api callback types

* update unistore api for locations

* fix types for graphql client api

* remove forgotten file

* fix transaction error box show/hide

* update yarn.lock

* filters added to device page (#330)

* filters added to device page

* fix eslint

* fix types

* filters added to evc list page (#332)

* filters added to device page

* fix eslint

* fix types

* filters added to evc page

* fix eslint

* fix eslint

* filter fixes

* fix logout issue (not removing auth token stored in localstorage) (#333)

* add authority option to config for msal (#335)

* bearer filters (#337)

* site filteres (#339)

* bearer filters

* site filters

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Filter context (#340)

* add filter context

* add bearer filter

* lan tag validation (#341)

* discard changes implementation (#344)

* discard changes implementation

* add missing file

* dont strip bearer admin status prefix (#342)

* dont strip bearer admin status prefix

* fix page size

* add admin state dropdown to bearer form

* GAM-135 cometic changes

* remove cookie before getting new transaction id (#351)

* merge changes from main branch (#352)

* merge changes from main branch

* remove git conflict marker

* update graphql generated types

* fix errors in uniresource-app

* remove forgotten file

* add sb_bearer_reference to svlan allocation input (#354)

* FD-121 bearer site view fix (#356)

* fix bearer and site list without evc and sna

* add evc changes table

* fix evc-attachment type

* fix evc-attachment type 2

* fix evc validation message (#355)

* add mtu validation (#358)

* location/device changes (#357)

* add new columns to evc list (#359)

* Deallocate id from workflow (#318)

* allocating ids from workflows

* deallocate ids via workflows

* deallocate pools on discard

* add parameters to free allocation workflows

* changes in service view text labels (#361)

* change validation and form labels (#360)

* implement changes from gamma feedback (#363)

* add extranet column to service list (#365)

* implement changes from edit service feedback (#366)

* implement changes from edit service feedback

* make existing value check case insensitive

* fetching addresses and deallocate on unmount (#367)

* fetching addresses and deallocate on unmount

* run assign address workflow repeatedly fix

* Update control-page.tsx (#373)

* change menu (#374)

* service network form changes (#370)

* service network form changes

* static routes validation

* ip conneciton validation

* fix types

* use uuid instead of lodash uniqueId

* assign svlan onclick (#377)

* assign svlan onclick

* fix saved evc attachments list

* fix eslint

* remove obsolete code

* add missing evc filters (#372)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix optional unistore types (#379)

* fix optional unistore types

* fix more types

* fix types 2

* fix types 3

* fix types 4

* fix service types

* fix type 5

* remove unused code

* Gam 163 evc diff fix (#381)

* fix optional unistore types

* fix more types

* fix types 2

* fix types 3

* fix types 4

* fix service types

* fix evc diff list

* GAM-160 deleting sna fix (#382)

* fix optional unistore types

* fix more types

* fix types 2

* fix types 3

* fix types 4

* fix service types

* fix type 5

* remove unused code

* delete network access fix

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* handle no access error (#387)

* horizontal search implementation (#386)

* fix admin state in bearer form (#391)

* merge changes from main branch (#395)

* merge changes from main branch

* add generated graphql types

* handle type errors in uniresource

* remove forgotten file

Co-authored-by: Marco Mruz <marcomruz1@gmail.com>

* fix autocomplete direction (#393)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* merge changes from main branch 2 (#397)

* merge changes from main branch 2

* fix forgotten merge conflict

* fix merge conflicts

* remove uniconfig dependency from dashboard

* add updated yarn.lock

* add assign vpn id button to service form (#401)

* fix abort controller to be called only once on umount (#405)

* fix abort controller to be called only once on umount

* fix use abort controller

* Merge main branch 3 (#407)

* extract api clients/callbacks; improve types (#299)

* extract api clients/callbacks; improve types

* fix eslint

* add build scrip for api clients; fix gh workflow

* fix ts errors in wf-builder

* extract graphql api clients

* fix eslint errors in frinx api; add checks for frinx api; update gh workflow with new checks for api package

* remove unused dashboard api; fix some types in workflow builder

* fix auth error display show/hide after login

* Create pool detail (#310)

* add pool detail page redirect from pool table

* add claim and free resource mutation

* create claim and free resource modal

* handle on change event for claim resource modal form

* move modals to folder and create separate component for allocated res

* remove modals

* add and handle claiming of resource from ipv4 prefix pool

* create modal for vlan alloc

* rename alloc modal of ipv4 prefix

* rename modal to layout

* use claim resource modal layout

* use one abstract modal with variant to render modal by resource type

* use string instead of type in variant prop

* create use notification hook and unwrap helper

* move unwrap to src folder

* create toast notification

* implement logic to toast notification component

* add notification context provider

* rename notification context

* add uuid package

* implement use notification to pool detail page and to root file of uniresource

* change default value

* implement feedback for user when creating resource pool

* create allocating modal or vlan range

* implement vlan range modal and move free resource button per allocated resource row

* refactor pool detail table and way of claiming/freeing resources from pool

* move logic to separate functions

* refactor if statement

* add authority option to config for msal (#334)

* fix bugs - favorites btn; missing icon; labels dedup (#343)

* fix disabled reexecute btn (#345)

* fix name search in executed workflows list (#346)

* fix dashboard prod build (#347)

* fix resume workflow (#348)

* fix pagination on executed workflow list (#349)

* revert pagination behaviour; fix redirect after workflow retry (#350)

* fix logout issue (not removing auth token stored in localstorage) (#353)

* Bump follow-redirects from 1.14.2 to 1.14.7 (#362)

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.2 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.2...v1.14.7)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix graphql api client in main branch (#364)

* Bump nanoid from 3.1.25 to 3.2.0 (#368)

Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.25 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.25...3.2.0)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update uniresource (#369)

* update validation process in uniresource create pool

* filter resource type by parent

* handle claim and free resources to be interactive

* rerender allocated resources after claim or free when is empty array

* filter what resource types can be allocating

* handle validation of pool forms in resource pool of type set and singleton

* handle pool property types change event

* handle validation of individual form input

* handle which resource types can be allocating

* rename modal component from vlan to ipv6_prefix

* add ipv6_prefix modal for claiming addresses from resource pool

* show description on hover using title prop

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Add transaction inventory (#371)

* add transaction id to config screen in inventory ui

* fix transaction id after reload; introduce new hook for it

* fix typo; fix calc diff query (add transactionId)

* fix transaction close after commit (#376)

* disable inventory playground when auth_enabled=true (#375)

* fix json editor behaviour (handle invalid JSON inside editor) (#378)

* fix json editor behaviour (handle invalid JSON inside editor)

* fix onChange behaviour for non-JSON code in Editor component

* Fix pagination uniflow exec wf (#380)

* fix problem with hierarchical pagination of exec workflows

* handle fetching with pagination instead of state

* improve device config screen - delete snapshot, calcdiff output, layo… (#384)

* improve device config screen - delete snapshot, calcdiff output, layout changes

* refactor transactionId hook; improve transactionId close behaviour

* add dry run config output modal

* Fix create new task modal (#385)

* fix problem with hierarchical pagination of exec workflows

* handle fetching with pagination instead of state

* convert add task modal to typescript

* fix problem with creating new task in uniflow ui

* convert constants to TS

* add formik to uniflow

* move add task modal to separate folder

* rename add task modal

* add add task modal form

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Fix bulk operations uniflow (#388)

* fix number of selected workflows

* handle bad calling of bulk operations

* remove not functional children column in executed workflows list

* Fix filtering exec workflows (#389)

* reset current page to 1 when filtering executed workflows

* convert pagination hook to typescript

* Fix add new task (#390)

* fix problem with adding new task in uniflow

* create file for task table

* add task table component to task list

* convert task list to typescript

* convert task config modal to typescript

* implement new task config modal to task list

* handle searching of tasks using minisearch

* handle parse of description

* Bump follow-redirects from 1.14.7 to 1.14.8 (#394)

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* add delete blueprint feature (#392)

* fix diff output api result type (udpdated-data object keys changes) (#396)

* add transaction expiration handling in device config screen (#398)

* Bump url-parse from 1.5.3 to 1.5.7 (#399)

Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.3 to 1.5.7.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.7)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* handle pagination max pages (#402)

* fix workflow id on terminate action (#403)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* abort controller fix (#406)

* fix merge conflict

* fix merge conflict

* fix types in uniresource

* fix types in uniresource

* fix types in uniresource

Co-authored-by: Marco <51787428+MarcoMruz@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* merge main (#417)

* merge main

* add copy plugin

* remove unuse copy plugin

* fix copy gamma-options

* fix gh workflow merge conflict

* remove unused file

Co-authored-by: Pavol Porubsky <paulooze@gmail.com>

* umount free resources fix (#410) (#418)

* dont trigger free resources on form umount

* fix lint

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* fix collapse row in diff tables (#413)

* umount free resources fix (#410)

* dont trigger free resources on form umount

* fix lint

* fix collapse row in diff tables

* add pr check

* fix lint

* fix merge conflict

* remove unused file

* update yarn.lock

Co-authored-by: Martin Sottnik <msottnik@gmail.com>
Co-authored-by: Marco <51787428+MarcoMruz@users.noreply.github.com>
Co-authored-by: Tomas <thodor@frinx.io>
Co-authored-by: Marco Mruz <marcomruz1@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Azure scheme (#422)

* Build authRedirectURL from scheme and domain envs

* fix url parsing for AUTH_REDIRECT_DOMAIN and AUTH_REDIRECT_SCHEME

Co-authored-by: Jozef Volak <jvolak@frinx.io>

* make blueprint textarea bigger (#425)

* make body min-height 100vh (#424)

* Story workflow builder (#427)

* install and use react-flow

* initiial transformation

* implement more node handles and deep tree

* fork task transformation

* fork join node transformation

* flow to api transformation (simple and fork)

* flow to api transformation (decission node)

* flow api transformation (nested decision node)

* small refactoring

* fix nested decision tasks transformation

* add add/delete node; add basic styling; remove old library

* transformation tests added (#400)

* start/end node, base node added

* fix workflow with decision node ending (#420)

* merge main (#423)

* Expand workflow (#426)

* add expand workflow implementation

* fix long name in node; add save/export/edit functionality

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* fix config value for auth_redirect_url

* fix type error in wf-builder

* remove old/unused types

* fix remove/delete/edit task; fix render issue in expanded wf; make edges updatable

* Delete edge (#428)

* custom delete button edge

* fix remove edge funcionality

Co-authored-by: Paulooze <paulooze@gmail.com>

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* add button to new edge (#430)

* move error message to proper place (#429)

* move error message to proper place

* fix lint

* Add nested pools (#431)

* add function to handle omit of null values and also handle types

* add nested pools table to pool detail page

* handle resource id logic when creating nested pool

* fix problem with creation of nested pool

* handle errors when freeing resources

* handle claiming resource with required description for set and singleton types

* merge ipv4 and ipv6 prefix modals into one and add simple error handling to modals

* remove redundant pool forms

* handle removed form pages

* remove / character from import

* add visual improvements to tables in detail pool page

* add button to create nested pool directly from detail page

* dont show create item when onCreateItem is not defined (#432)

* dont show create item when onCreateItem is not defined

* revert dependenies

* nested decision node without adjacent node fix (#433)

* update eslint (#434)

* update eslint

* fix formatter

* fix context lint rules

* Add renovate.json (#435)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update pr-check.yml (#440)

* Pin dependencies (#436)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Pin dependencies (#437)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Pin dependency graphql-tag to v (#441)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @types/file-saver to v2.0.5 (#442)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* delete notification toast added (#439)

* delete notification toast added

* fix notification message

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @types/lodash to v4.14.180 (#443)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency fp-ts to v2.11.9 (#445)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency immer to v9.0.12 (#446)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency react-flow-renderer to v9.7.4 (#447)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @fortawesome/react-fontawesome to v0.1.17 (#456)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency chakra-ui-autocomplete to v1.4.5 (#455)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @urql/exchange-retry to v0.3.2 (#453)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency http-proxy-middleware to v2.0.4 (#460)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency match-sorter to v6.3.1 (#462)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency pino to v7.8.1 (#463)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* submit filter on enter (#458)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* make port id configurable (#465)

* fix location form country code (#451)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @types/react-dom to v17.0.13 (#449)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @types/react-router to v5.1.18 (#450)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @fortawesome/react-fontawesome to v0.1.18 (#467)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency webpack-dev-server to v3.11.3 (#468)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency yup to v0.32.11 (#469)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @types/uuid to v8.3.4 (#452)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update babel monorepo (#471)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update graphqlcodegenerator monorepo (#470)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency ace-builds to v1.4.14 (#454)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @azure/msal-browser to v2.22.1 (#473)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @azure/msal-common to v5.2.0 (#474)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @azure/msal-react to v1.3.1 (#475)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @webpack-cli/serve to v1.6.1 (#478)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency eslint-plugin-react to v7.29.4 (#457)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency graphql-tag to v2.12.6 (#459)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency jsdoc to v3.6.10 (#461)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency date-fns to v2.28.0 (#479)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency esbuild to v0.14.27 (#481)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency date-fns-tz to v1.3.0 (#480)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency pino-pretty to v7.5.4 (#464)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency sass-loader to v10.2.1 (#466)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @types/node to v14.18.12 (#476)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @types/react-router-dom to v5.3.3 (#477)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency eslint-import-resolver-typescript to v2.5.0 (#482)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency eslint-plugin-flowtype to v5.10.0 (#483)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency flow-bin to v0.173.0 (#485)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency feather-icons-react to v0.5.0 (#484)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Fix gamma env bool validation (#488)

Co-authored-by: Jozef Volak <jvolak@frinx.io>

* Update dependency flow-remove-types to v2.174.0 (#486)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency graphql to v15.8.0 (#490)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* FD-179 workflow UI search fix (#491)

* task list search fix

* type fix

* Update dependency prettier to v2.6.0 (#496)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency react-ace to v9.5.0 (#497)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency rollup to v2.70.1 (#500)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency rollup-plugin-esbuild to v4.8.2 (#502)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency react-router-dom to v5.3.0 (#499)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* Update dependency pino to v7.9.1 (#495)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* Update dependency urql to v2.2.0 (#504)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* Update dependency webpack to v5.70.0 (#506)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* revert deps updates - fix build process (#508)

* revert deps updates - fix build process

* update @types/react - fix typegen error

* Update dependency fuse.js to v6.5.3 (#487)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency html-webpack-plugin to v5.5.0 (#492)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @babel/core to v7.17.8 (#510)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update emotion monorepo (#514)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* notifications added to workflow import (#516)

* notifications added to workflow import

* remove unused code

* Update typescript-eslint monorepo to v5.16.0 (#515)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency vitest to v0.7.7 (#505)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* new option added to bearer tpid (#519)

* Update dependency json-templates to v4.2.0 (#493)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update chakra-ui monorepo (#520)

* Update chakra-ui monorepo

* update node version in gh workflow

* add 'resolutions' to package.json - fix type error in chakra-ui; fix button component props

* fix wrong button prop in uniresource

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Paulooze <paulooze@gmail.com>

* Update dependency pino to v7.9.2 (#523)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency babel-loader to v8.2.4 (#522)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency minisearch to v3.3.0 (#494)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* Update actions/checkout action to v3 (#525)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @azure/msal-common to v6 (#526)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @types/react-dom to v17.0.14 (#511)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency typescript to v4.6.2 (#503)

* Update dependency typescript to v4.6.2

* remove unused types from dashboard

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* update docker-alpine in docker (#528)

* Update dependency rollup-plugin-dts to v4.2.0 (#501)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update Node.js to v17 (#521)

* Update Node.js to v17

* update engines field in package.json files (node v17)

* update node in nvmrc and gh workflow

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Paulooze <paulooze@gmail.com>

* Update Font Awesome to v6 (#517)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* revert node version to LTS (16) (#531)

* revert node version to LTS (16)

* update engines field in package.json files (node v16)

* Update dependency @types/node to v16 (#529)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency eslint-config-airbnb to v19 (#534)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency framer-motion to v6 (#537)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency vitest to v0.7.8 (#542)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency eslint-plugin-flowtype to v8 (#536)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* update yarn to latest (#532)

* update yarn to latest

* update @types/react - fix typegen error

* Update dependency eslint-import-resolver-typescript to v2.7.0 (#548)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency vitest to v0.7.9 (#547)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency sass-loader to v12 (#546)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency react-organizational-chart to v2 (#544)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* executed workflows search persistence via query params added (#549)

* executed workflows search persistence via query params added

* add missing file

* Update pool table (#448)

* add new informations about pool to table

* use detail item

* remove useless react fragment

* handle eslint errors

* add requested changes

* remove pool detail from pools table

* handle errors from deletion of component

* add nested page to show hierarchical structure

* add nested page component

* add children column and disable click when no nested pools

* optimalization of calculating

* show zero when no nested pools exist

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* replace --frozen-lockfile with --immutable - fix build (#558)

* make modal height flexible (#556)

* Fix free resource button (#561)

* rename from free to deallocate

* add description to resources table and claim button to set singleton table

* handle recache on claim or deallocate action

* move nested pools table to the bottom of the page

* Update dependency url-join to v5 (#557)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency react-router-dom to v6 (#559)

* Update dependency react-router-dom to v6

* update uniflow app to use new react-router (v6) (#560)

* update inventory app to use new react-router (v6) (#563)

* update uniresource app to use new react-router (v6) (#564)

* gamma app router added (#566)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* fix react-router => react-router-dom usage; remove old @types dep

* Gamma app router 2 (#567)

* move from callbacks to react router

* linter fixes

* fix types error

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* hide address allocation type in sna form (#569)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency minisearch to v4 (#540)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* fix auto redirect to basename in new react router (#573)

* fix service links (#574)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* make address fields disabled (#571)

* Pin dependency react-router-dom to 6.2.2 (#570)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix Navigate component placemenet (#575)

* Update dependency date-fns-tz to v1.3.1 (#576)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency esbuild to v0.14.28 (#577)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* make location form state field optional (#580)

* use clan list from service from on sna form (#579)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency typescript to v4.6.3 (#583)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update chakra-ui monorepo (#572)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* remove Navigate for basename (#581)

It doesn't work, see https://github.com/remix-run/react-router/issues/8427

* remove Allocate_CustomerAddresss workflow from sna form (#568)

* dont call customer address (obsolete) on sna form load

* fix lint

* fix types

* add native browser redirect to basename (#587)

* Update dependency esbuild to v0.14.29 (#586)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency eslint-plugin-react-hooks to v4.4.0 (#585)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency eslint to v8.12.0 (#584)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update typescript-eslint monorepo to v5.17.0 (#589)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency prettier to v2.6.1 (#578)

* Update dependency prettier to v2.6.1

* fix formatting

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @types/lodash to v4.14.181 (#582)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency vitest to v0.8.0 (#553)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* use new allocation workflows (#591)

* fix routing protocols (#593)

* fix routing protocols

* fix pr-check

* fix crate workflow (#594)

* Update dependency vitest to v0.8.1 (#592)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update react monorepo to v18 (major) (#590)

* Update react monorepo to v18

* remove ReactDOM.render and replace with createRoot (React v18 change)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency webpack-dev-server to v4 (#554)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency react-router-dom to v6.3.0 (#598)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency pino-pretty to v7.6.0 (#562)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @ajna/pagination to v1.4.17 (#599)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency date-fns-tz to v1.3.2 (#595)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix breaking changes in webpack dev server (#603)

* refresh state after successful discard commit (#602)

* refresh state after successful discard commit

* fix linter

* remove <StrictMode/> to fix wf-builder (outdated lib dep) (#609)

* unified discard button added (#610)

* Update dependency eslint-import-resolver-typescript to v2.7.1 (#608)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @azure/msal-react to v1.3.2 (#612)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency prettier to v2.6.2 (#607)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency esbuild to v0.14.32 (#606)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency vitest to v0.9.0 (#605)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @azure/msal-browser to v2.23.0 (#615)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency webpack to v5.71.0 (#604)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* revert framer motion version to v5 (#619)

* Revert "Update dependency webpack to v5.71.0 (#604)" (#620)

This reverts commit 094bef1b4dba7abf16bf2f8ea976c9fd13aac139.

* Revert "revert framer motion version to v5 (#619)" (#621)

This reverts commit 4dca61b315fd626cc73f020f4a5cfc2746368d3b.

* fix async generator fn for polling executed workflow data; fix subwf … (#622)

* fix async generator fn for polling executed workflow data; fix subwf render issue

* remove unused (commented) code; fix imported stuff

* fix hierachical execution request (#624)

* Post method for bult/terminate (#611)

Co-authored-by: Jozef Volak <jvolak@frinx.io>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* Uniflow routing refactor (#625)

* rename definition modal by guidelines

* update imports

* refactor definition modal

* handle typescript types

* rename diagram modal

* refactor diagram modal

* move types to helpers and use @frinx path instead of ../../../

* move workflow definition modal to common

* fix imports and remove unused component

* use chakra styling

* rename component by guidelines

* refactor dependency modal

* use Link from react router v6

* remove workflow list view modal

* add types from swagger uniflow docs api

* move schedule workflow modal to modals folder

* refactor schedule workflow modal

* use react router v6 to attr in input modal

* fix problem with scheduling workflow from modal

* remove on click redirect handlers

* Revert "remove on click redirect handlers"

This reverts commit ec341afd3b3d8de6a34eeae284299d74cbf300df.

* use Link in executed workflow detail

* use Link in uniflow builder instead of redirect handlers

* use nested routes instead of absolute format

* use disclosure hook for input modal

* use Link component in executed workflow pages (#629)

* Update dependency @emotion/react to v11.9.0 (#618)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update chakra-ui monorepo (#633)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency esbuild to v0.14.36 (#616)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* gamma feedback (excel rows 35-39) (#637)

* add clear button to all filters (#640)

* add clear button to all filters

* add clear button to advanced search page

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* lock site management type (co-managed default) (#641)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Gamma feedback all (#646)

* add clear button to all filters

* add clear button to advanced search page

* lock site management type (co-managed default)

* FD-259 default BGP ASN set to 650000

* rename BGP ASN label

* FD-262, FD-263 - bfd profile

* FD-264 make prefix length 31 default

* FD-247 label uppercased

* FD-251 site id in format: <user_input>_<gnerateed_random>

* FD-252 custom location id

* vpn-nodes from changes (FD-243, FD-244, FD-245)

* make termination-role default and disabled

* fix dashboard type:check

* disable delete site/bearer if there are sna/evc inside

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fork task workflow fix (#647)

* update COMMIT_HASH handling - move to server and window.__CONFIG__ (#648)

* delay poll requests (#649)

* fix COMMIT_HASH env in production (#652)

* fix COMMIT_HASH env in production

* fix COMMIT_HASH env in production

* fix COMMIT_HASH env in production (#654)

* autocomplete fixes (#651)

* autocomplete fixes

* fix lint

* add fuzzy search to autocomplete (#653)

* submit filters on enter click (#655)

* fix COMMIT_HASH env in production (#658)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* change devices icon and label (#656)

* add diff table to location list (#661)

* hub spoke disjoint value fixed (#657)

* Pass git hash to docker image (#662)

Co-authored-by: Jozef Volak <jvolak@frinx.io>

* replace icon buttons with clear action menus; replace  with <Link/> components (#666)

* fix redirect from edit device form (#668)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* add carrier reference column to vpn bearer table (#667)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* fix loading handling after pool delete mutation firing (#665)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* change task search term limit from 3 to 1 (#664)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* fix site-network-access form validation behaviour (#663)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* Remove gamma (#669)

* Gamma project (#419)

* initiail project structure

* remove unused code

* vpn service form (#162)

* vpn service form added

* remove unused code

* change devServer port to 3001

* fix maximumRoutes options

* Main to gamma merge (#166)

* create edit device form & page (#152)

* create edit device form & page

* add edit button & change texting

* add cancel button

* remove onClick event from device name & edit device when uninstalled

* change styles of edit device form

* rename cancel function in edit page

* implement requested changes from comments

* change texting in toast

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* json jq task form added (#157)

* json jq task form added

* remove dependencies from useEffect

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* move query experssion to input params (#158)

* move query experssion to input params

* revert obsolete changes

* fix URLs in uniflow for wf scheduling (#159)

* fix URLs in uniflow for wf scheduling (#163)

* fix URLs in uniflow for wf scheduling

* update diagram lib

* create edit blueprint page (#160)

* create edit blueprint page

* change type of prop in edit blueprint form

* handle empty value from of using omitBy from lodash

* downgrade lodash version

Co-authored-by: Marco <51787428+MarcoMruz@users.noreply.github.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* edit and delete added to vpn service form (#170)

* implement feedback to edit vpn service form (#172)

* New autocomplete (#177)

* add new autocomplete component to gamma project

* update autocomplete - extract list to new component

* fix component types (FC => VoidFunctionComponent)

* update gh workflow to check gamma-projects PRs

* Gamma uniresource vpn service (#178)

* Connect vpn service with unistore for frinx-gamma

Signed-off-by: Tomas <thodor@frinx.io>

* lint fixing and refactoring

* read unistore bearer from config

* fix formatter

Co-authored-by: Tomas <thodor@frinx.io>

* Vpn site form (#175)

* vpn-site-form initial implementation

* add site devices form

* some refactoring

* yarn.lock updated

* lint fixes

* add server endpoints communication

* fix merge conflict ts bug

* Network access form create (#182)

* network access form create

* hide page info for now

* add missing fields (#184)

* network access form edit/delete (#185)

* Integrate gamma (#187)

* start gamma integration to FM UI

* finish gamma integration; cleanup gamma projects; fix types

* add gamma build cmd to GH Workflow (temp)

* update yarn.lock

* fix step in gh workflow

* fix webpack.config in gamma

* Form refactoring 1 (#186)

* form refactoring

* autocomplete string -> Item

* use qos profiles endpoint in site form

* add gamma-project for docker release

* add deployment for gamma

* fix production issue with gamma app (#191)

* fix wrong component (#189)

* fix edit site form autocomplete (#192)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* make devices and locations optional (#193)

* Vpn site form maximum routes (#194)

* move maximum routes from vpn service to vpn site form

* remove unused code

* make routing protocol types optional (#196)

* bgp profile added to site network access (#195)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* create item added to autocomplete (#197)

* preselect routing protocol type in site access network from (#198)

* services table implementation (#199)

* Sites table (#200)

* services table implementation

* sites table implementation

* network access table implementation (#204)

* Device validator (#203)

* more robust site device validator

* remove fake code

* make device management optional

* remove debugging response (#206)

* add custom default c vlan value (#207)

* disable bgp pic field in site form (#208)

* add vpn attachment field to network access form (#212)

* hide site network access type (#209)

* hide site network access type

* fix vpn attachment autocomplete

* routing protocols (possibility to add both bgp and static) (#215)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* add next hop to static protocol (#216)

* add next hop to static protocol

* linter fix

* bearer reference input added (#217)

* preserve ip connection in site network access (#219)

* device view implementation (#220)

* device view implementation

* show location info in device list

* add link to device list

* Add uniflow integration (#221)

* add first version of uniflow integration - add callback for executeWorkflow

* add workflow/task status modal for execution

* add workflow/task status modal for execution in sites; fix icons and small visual issues

* Add bearer list (#222)

* add bearer-list basics

* fix evc attachment validation and converter

* add basic bearer table; add callbacks; add commit to bearers

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* bearer backup fix (#224)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Bearer form (#223)

* bearer types and converter

* add bearer-list basics

* fix evc attachment validation and converter

* add basic bearer table; add callbacks; add commit to bearers

* client to api bearer converter

* basic create/edit/delete bearer functionality

Co-authored-by: Paulooze <paulooze@gmail.com>

* qos profile fix (#226)

* ipv4 ip connection fields (#225)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix requested type on edit (#228)

* fix requested type on edit

* linter fixes

* create site network access fix (#229)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* send only non empty routing protocols (#230)

* send only non empty routing protocols

* get only sites in config state

* hardcoded oam (#231)

* delete sna fix (#232)

* routing protocols fix (#233)

* Add locations page (#235)

* add locations page (with add and edit fn)

* remove location form from site form

* fix lint error in dashboard

* sync types and converters (#236)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* evc attachments view (#237)

* add missing fields to bearer form (#238)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* site-role added to site network access form (#239)

* site-role added to site network access form

* add missing siteRole

* remove unused import - fix eslint error

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* add proper values to bearer select boxes (#240)

* Bearer form nodes and carriers (#241)

* nodes autocomplete

* carriers autocomplete

* add vpn carrier form

* use spBearerReference as bearer id (#242)

* carriers edit and delete implementaion (#243)

* generate svlanId (will be provided by uniresource later) (#244)

* show config only data (#245)

* tpid display values changed (#246)

* use autocomplete for qos profiles (#247)

* node editing form added (#249)

* fix commit workflow (#254)

* spReferenceBearer disabled in edit mode (#250)

* renaming from feedback (#251)

* generate random vpn id base on feedback (#252)

* lock site management to provider-managed (#253)

* rename bearer form field (#256)

* change port id to select (#257)

* change port id to select

* remove old input

* remove customer name from evc form (#258)

* preselect auto as svlan assignment type (#259)

* Evc formik (#260)

* evc formik

* evc attachment formik validation

* mark required fields

* fix yup version

* bearer form validation (#263)

* service from validation (#264)

* device form validation (#265)

* location form validation (#266)

* site form validation (#267)

* site network access validation (#268)

* change node-id workflow (#270)

* add circuit reference regex validation (#269)

* use outline variant for input fields (#271)

* site role in site network form hardcoded to any-any (#272)

* send only bgp or static section for particular routing protocol (#274)

* execute bearer workflow fix (#276)

* disabled buttons in pristine forms (#277)

* icon tooltips added (#278)

* minor ui changes (#280)

* minor ui changes

* more verbose cvlan in service table list

* new circuit reference regex validation (#285)

* transaction-id added to api requests (#284)

* transaction-id added to api requests

* add missing files

* fix linters

* implement pr comments

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix bug where ipv4 field remove inserted values (#286)

* Add control page 1 (#287)

* add first version of control page

* fix api calls for counting items

* gamma pagination implementation (#288)

* location and network access pagination (#289)

* location pagination

* network access pagination

* filters added to service-list (#290)

* filters added to service-list

* service filter fixes

* filters added to site list (#291)

* filters added to site list

* linter fixes

* Bearer filter (#292)

* filters added to site list

* linter fixes

* filter added to bearer list

* remove device and location section from site form (#294)

* network access filter added (#293)

* network access filter added

* move filter functions to helper file

* remove obsolete code

* fix transaction id usage; use API call from unistore (#296)

* fix transaction id usage; use API call from unistore

* remove console.logs

* form options made configurable (#295)

* service form options added

* fix build

* add bearer, site, network-access options

* gamma options added to dashboard dev

* topology changed

* file renamed

* make application work without data

* service form submit error handling (#298)

* service form options added

* fix build

* add bearer, site, network-access options

* gamma options added to dashboard dev

* topology changed

* file renamed

* make application work without data

* create service submit error handling

* set submit error to null on submit

* make custom error message component

* add missign file

* submit error handling added (#300)

* add logs to api client (#303)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* add transaction id to commit workflows (#301)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* merge main branch (#304)

* merge main branch

* fix api client in gamma-app

* fix unistore types

* fix type errors in dashboard; fix type errors in uniflow api client; add dashboard typecheck to gh action pr check

* fix graphql in uniresource

* fix feather-icons-react d.ts file error in wf-builder

* fix type generation

* remove unused npm script for type generation

* fix import in gamma-app

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* fix docker build (#305)

* control panel button (#306)

* breadcrumbs added

* swtich to simple button

* get service id from workflow (#307)

* get service id from workflow

* poll workflow id

* prepare endpoints for content type parameter (#309)

* add clear button to forms (#311)

* render all fix (#314)

* lan tag field added to site network access form (#315)

* allocating ids from workflows (#308)

* Jsonb filters 3 (#312)

* service list - use array diffs to calc changes

* bearer list - use array diffs to calc changes

* site list - use array diffs to calc changes

* add new fields in bearer list (#313)

* make maximum routes optional (#317)

* create new transaction id on successful commit (#319)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* add unistore schema parameter (#320)

* add unistore schema parameter

* call PUT in create pages

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix validation message (#321)

* bearer commit workflow fix (#322)

* service network access filters (#323)

* service list - use array diffs to calc changes

* bearer list - use array diffs to calc changes

* site list - use array diffs to calc changes

* network access changes table

* add workflow result for uncommited changes (#325)

* collapsible detail added to list views (#324)

* collapsible detail added to list views

* detail added to location list view

* detail added to device list view

* detail added to service list view

* add icon and hover effect

…
Paulooze added a commit to FRINXio/frinx-frontend that referenced this issue May 9, 2022
* Gamma project (#419)

* initiail project structure

* remove unused code

* vpn service form (#162)

* vpn service form added

* remove unused code

* change devServer port to 3001

* fix maximumRoutes options

* Main to gamma merge (#166)

* create edit device form & page (#152)

* create edit device form & page

* add edit button & change texting

* add cancel button

* remove onClick event from device name & edit device when uninstalled

* change styles of edit device form

* rename cancel function in edit page

* implement requested changes from comments

* change texting in toast

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* json jq task form added (#157)

* json jq task form added

* remove dependencies from useEffect

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* move query experssion to input params (#158)

* move query experssion to input params

* revert obsolete changes

* fix URLs in uniflow for wf scheduling (#159)

* fix URLs in uniflow for wf scheduling (#163)

* fix URLs in uniflow for wf scheduling

* update diagram lib

* create edit blueprint page (#160)

* create edit blueprint page

* change type of prop in edit blueprint form

* handle empty value from of using omitBy from lodash

* downgrade lodash version

Co-authored-by: Marco <51787428+MarcoMruz@users.noreply.github.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* edit and delete added to vpn service form (#170)

* implement feedback to edit vpn service form (#172)

* New autocomplete (#177)

* add new autocomplete component to gamma project

* update autocomplete - extract list to new component

* fix component types (FC => VoidFunctionComponent)

* update gh workflow to check gamma-projects PRs

* Gamma uniresource vpn service (#178)

* Connect vpn service with unistore for frinx-gamma

Signed-off-by: Tomas <thodor@frinx.io>

* lint fixing and refactoring

* read unistore bearer from config

* fix formatter

Co-authored-by: Tomas <thodor@frinx.io>

* Vpn site form (#175)

* vpn-site-form initial implementation

* add site devices form

* some refactoring

* yarn.lock updated

* lint fixes

* add server endpoints communication

* fix merge conflict ts bug

* Network access form create (#182)

* network access form create

* hide page info for now

* add missing fields (#184)

* network access form edit/delete (#185)

* Integrate gamma (#187)

* start gamma integration to FM UI

* finish gamma integration; cleanup gamma projects; fix types

* add gamma build cmd to GH Workflow (temp)

* update yarn.lock

* fix step in gh workflow

* fix webpack.config in gamma

* Form refactoring 1 (#186)

* form refactoring

* autocomplete string -> Item

* use qos profiles endpoint in site form

* add gamma-project for docker release

* add deployment for gamma

* fix production issue with gamma app (#191)

* fix wrong component (#189)

* fix edit site form autocomplete (#192)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* make devices and locations optional (#193)

* Vpn site form maximum routes (#194)

* move maximum routes from vpn service to vpn site form

* remove unused code

* make routing protocol types optional (#196)

* bgp profile added to site network access (#195)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* create item added to autocomplete (#197)

* preselect routing protocol type in site access network from (#198)

* services table implementation (#199)

* Sites table (#200)

* services table implementation

* sites table implementation

* network access table implementation (#204)

* Device validator (#203)

* more robust site device validator

* remove fake code

* make device management optional

* remove debugging response (#206)

* add custom default c vlan value (#207)

* disable bgp pic field in site form (#208)

* add vpn attachment field to network access form (#212)

* hide site network access type (#209)

* hide site network access type

* fix vpn attachment autocomplete

* routing protocols (possibility to add both bgp and static) (#215)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* add next hop to static protocol (#216)

* add next hop to static protocol

* linter fix

* bearer reference input added (#217)

* preserve ip connection in site network access (#219)

* device view implementation (#220)

* device view implementation

* show location info in device list

* add link to device list

* Add uniflow integration (#221)

* add first version of uniflow integration - add callback for executeWorkflow

* add workflow/task status modal for execution

* add workflow/task status modal for execution in sites; fix icons and small visual issues

* Add bearer list (#222)

* add bearer-list basics

* fix evc attachment validation and converter

* add basic bearer table; add callbacks; add commit to bearers

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* bearer backup fix (#224)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Bearer form (#223)

* bearer types and converter

* add bearer-list basics

* fix evc attachment validation and converter

* add basic bearer table; add callbacks; add commit to bearers

* client to api bearer converter

* basic create/edit/delete bearer functionality

Co-authored-by: Paulooze <paulooze@gmail.com>

* qos profile fix (#226)

* ipv4 ip connection fields (#225)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix requested type on edit (#228)

* fix requested type on edit

* linter fixes

* create site network access fix (#229)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* send only non empty routing protocols (#230)

* send only non empty routing protocols

* get only sites in config state

* hardcoded oam (#231)

* delete sna fix (#232)

* routing protocols fix (#233)

* Add locations page (#235)

* add locations page (with add and edit fn)

* remove location form from site form

* fix lint error in dashboard

* sync types and converters (#236)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* evc attachments view (#237)

* add missing fields to bearer form (#238)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* site-role added to site network access form (#239)

* site-role added to site network access form

* add missing siteRole

* remove unused import - fix eslint error

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* add proper values to bearer select boxes (#240)

* Bearer form nodes and carriers (#241)

* nodes autocomplete

* carriers autocomplete

* add vpn carrier form

* use spBearerReference as bearer id (#242)

* carriers edit and delete implementaion (#243)

* generate svlanId (will be provided by uniresource later) (#244)

* show config only data (#245)

* tpid display values changed (#246)

* use autocomplete for qos profiles (#247)

* node editing form added (#249)

* fix commit workflow (#254)

* spReferenceBearer disabled in edit mode (#250)

* renaming from feedback (#251)

* generate random vpn id base on feedback (#252)

* lock site management to provider-managed (#253)

* rename bearer form field (#256)

* change port id to select (#257)

* change port id to select

* remove old input

* remove customer name from evc form (#258)

* preselect auto as svlan assignment type (#259)

* Evc formik (#260)

* evc formik

* evc attachment formik validation

* mark required fields

* fix yup version

* bearer form validation (#263)

* service from validation (#264)

* device form validation (#265)

* location form validation (#266)

* site form validation (#267)

* site network access validation (#268)

* change node-id workflow (#270)

* add circuit reference regex validation (#269)

* use outline variant for input fields (#271)

* site role in site network form hardcoded to any-any (#272)

* send only bgp or static section for particular routing protocol (#274)

* execute bearer workflow fix (#276)

* disabled buttons in pristine forms (#277)

* icon tooltips added (#278)

* minor ui changes (#280)

* minor ui changes

* more verbose cvlan in service table list

* new circuit reference regex validation (#285)

* transaction-id added to api requests (#284)

* transaction-id added to api requests

* add missing files

* fix linters

* implement pr comments

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix bug where ipv4 field remove inserted values (#286)

* Add control page 1 (#287)

* add first version of control page

* fix api calls for counting items

* gamma pagination implementation (#288)

* location and network access pagination (#289)

* location pagination

* network access pagination

* filters added to service-list (#290)

* filters added to service-list

* service filter fixes

* filters added to site list (#291)

* filters added to site list

* linter fixes

* Bearer filter (#292)

* filters added to site list

* linter fixes

* filter added to bearer list

* remove device and location section from site form (#294)

* network access filter added (#293)

* network access filter added

* move filter functions to helper file

* remove obsolete code

* fix transaction id usage; use API call from unistore (#296)

* fix transaction id usage; use API call from unistore

* remove console.logs

* form options made configurable (#295)

* service form options added

* fix build

* add bearer, site, network-access options

* gamma options added to dashboard dev

* topology changed

* file renamed

* make application work without data

* service form submit error handling (#298)

* service form options added

* fix build

* add bearer, site, network-access options

* gamma options added to dashboard dev

* topology changed

* file renamed

* make application work without data

* create service submit error handling

* set submit error to null on submit

* make custom error message component

* add missign file

* submit error handling added (#300)

* add logs to api client (#303)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* add transaction id to commit workflows (#301)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* merge main branch (#304)

* merge main branch

* fix api client in gamma-app

* fix unistore types

* fix type errors in dashboard; fix type errors in uniflow api client; add dashboard typecheck to gh action pr check

* fix graphql in uniresource

* fix feather-icons-react d.ts file error in wf-builder

* fix type generation

* remove unused npm script for type generation

* fix import in gamma-app

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* fix docker build (#305)

* control panel button (#306)

* breadcrumbs added

* swtich to simple button

* get service id from workflow (#307)

* get service id from workflow

* poll workflow id

* prepare endpoints for content type parameter (#309)

* add clear button to forms (#311)

* render all fix (#314)

* lan tag field added to site network access form (#315)

* allocating ids from workflows (#308)

* Jsonb filters 3 (#312)

* service list - use array diffs to calc changes

* bearer list - use array diffs to calc changes

* site list - use array diffs to calc changes

* add new fields in bearer list (#313)

* make maximum routes optional (#317)

* create new transaction id on successful commit (#319)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* add unistore schema parameter (#320)

* add unistore schema parameter

* call PUT in create pages

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix validation message (#321)

* bearer commit workflow fix (#322)

* service network access filters (#323)

* service list - use array diffs to calc changes

* bearer list - use array diffs to calc changes

* site list - use array diffs to calc changes

* network access changes table

* add workflow result for uncommited changes (#325)

* collapsible detail added to list views (#324)

* collapsible detail added to list views

* detail added to location list view

* detail added to device list view

* detail added to service list view

* add icon and hover effect

* simplify code

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* more location and device details (#326)

* fix issue with graphql client reuse (same url for multiple graphql apis) (#328)

* filters added to location page (#327)

* filters added to bearer list (#329)

* Extract unistore api (#331)

* extract unistore api client for gamma

* update frinx-api

* add error message box for forbidden error (expired transaction)

* fix unistore api types

* remove forgotten file

* fix dep version (dedubcheck)

* fix unistore api callback types

* update unistore api for locations

* fix types for graphql client api

* remove forgotten file

* fix transaction error box show/hide

* update yarn.lock

* filters added to device page (#330)

* filters added to device page

* fix eslint

* fix types

* filters added to evc list page (#332)

* filters added to device page

* fix eslint

* fix types

* filters added to evc page

* fix eslint

* fix eslint

* filter fixes

* fix logout issue (not removing auth token stored in localstorage) (#333)

* add authority option to config for msal (#335)

* bearer filters (#337)

* site filteres (#339)

* bearer filters

* site filters

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Filter context (#340)

* add filter context

* add bearer filter

* lan tag validation (#341)

* discard changes implementation (#344)

* discard changes implementation

* add missing file

* dont strip bearer admin status prefix (#342)

* dont strip bearer admin status prefix

* fix page size

* add admin state dropdown to bearer form

* GAM-135 cometic changes

* remove cookie before getting new transaction id (#351)

* merge changes from main branch (#352)

* merge changes from main branch

* remove git conflict marker

* update graphql generated types

* fix errors in uniresource-app

* remove forgotten file

* add sb_bearer_reference to svlan allocation input (#354)

* FD-121 bearer site view fix (#356)

* fix bearer and site list without evc and sna

* add evc changes table

* fix evc-attachment type

* fix evc-attachment type 2

* fix evc validation message (#355)

* add mtu validation (#358)

* location/device changes (#357)

* add new columns to evc list (#359)

* Deallocate id from workflow (#318)

* allocating ids from workflows

* deallocate ids via workflows

* deallocate pools on discard

* add parameters to free allocation workflows

* changes in service view text labels (#361)

* change validation and form labels (#360)

* implement changes from gamma feedback (#363)

* add extranet column to service list (#365)

* implement changes from edit service feedback (#366)

* implement changes from edit service feedback

* make existing value check case insensitive

* fetching addresses and deallocate on unmount (#367)

* fetching addresses and deallocate on unmount

* run assign address workflow repeatedly fix

* Update control-page.tsx (#373)

* change menu (#374)

* service network form changes (#370)

* service network form changes

* static routes validation

* ip conneciton validation

* fix types

* use uuid instead of lodash uniqueId

* assign svlan onclick (#377)

* assign svlan onclick

* fix saved evc attachments list

* fix eslint

* remove obsolete code

* add missing evc filters (#372)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix optional unistore types (#379)

* fix optional unistore types

* fix more types

* fix types 2

* fix types 3

* fix types 4

* fix service types

* fix type 5

* remove unused code

* Gam 163 evc diff fix (#381)

* fix optional unistore types

* fix more types

* fix types 2

* fix types 3

* fix types 4

* fix service types

* fix evc diff list

* GAM-160 deleting sna fix (#382)

* fix optional unistore types

* fix more types

* fix types 2

* fix types 3

* fix types 4

* fix service types

* fix type 5

* remove unused code

* delete network access fix

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* handle no access error (#387)

* horizontal search implementation (#386)

* fix admin state in bearer form (#391)

* merge changes from main branch (#395)

* merge changes from main branch

* add generated graphql types

* handle type errors in uniresource

* remove forgotten file

Co-authored-by: Marco Mruz <marcomruz1@gmail.com>

* fix autocomplete direction (#393)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* merge changes from main branch 2 (#397)

* merge changes from main branch 2

* fix forgotten merge conflict

* fix merge conflicts

* remove uniconfig dependency from dashboard

* add updated yarn.lock

* add assign vpn id button to service form (#401)

* fix abort controller to be called only once on umount (#405)

* fix abort controller to be called only once on umount

* fix use abort controller

* Merge main branch 3 (#407)

* extract api clients/callbacks; improve types (#299)

* extract api clients/callbacks; improve types

* fix eslint

* add build scrip for api clients; fix gh workflow

* fix ts errors in wf-builder

* extract graphql api clients

* fix eslint errors in frinx api; add checks for frinx api; update gh workflow with new checks for api package

* remove unused dashboard api; fix some types in workflow builder

* fix auth error display show/hide after login

* Create pool detail (#310)

* add pool detail page redirect from pool table

* add claim and free resource mutation

* create claim and free resource modal

* handle on change event for claim resource modal form

* move modals to folder and create separate component for allocated res

* remove modals

* add and handle claiming of resource from ipv4 prefix pool

* create modal for vlan alloc

* rename alloc modal of ipv4 prefix

* rename modal to layout

* use claim resource modal layout

* use one abstract modal with variant to render modal by resource type

* use string instead of type in variant prop

* create use notification hook and unwrap helper

* move unwrap to src folder

* create toast notification

* implement logic to toast notification component

* add notification context provider

* rename notification context

* add uuid package

* implement use notification to pool detail page and to root file of uniresource

* change default value

* implement feedback for user when creating resource pool

* create allocating modal or vlan range

* implement vlan range modal and move free resource button per allocated resource row

* refactor pool detail table and way of claiming/freeing resources from pool

* move logic to separate functions

* refactor if statement

* add authority option to config for msal (#334)

* fix bugs - favorites btn; missing icon; labels dedup (#343)

* fix disabled reexecute btn (#345)

* fix name search in executed workflows list (#346)

* fix dashboard prod build (#347)

* fix resume workflow (#348)

* fix pagination on executed workflow list (#349)

* revert pagination behaviour; fix redirect after workflow retry (#350)

* fix logout issue (not removing auth token stored in localstorage) (#353)

* Bump follow-redirects from 1.14.2 to 1.14.7 (#362)

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.2 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.2...v1.14.7)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix graphql api client in main branch (#364)

* Bump nanoid from 3.1.25 to 3.2.0 (#368)

Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.25 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.25...3.2.0)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update uniresource (#369)

* update validation process in uniresource create pool

* filter resource type by parent

* handle claim and free resources to be interactive

* rerender allocated resources after claim or free when is empty array

* filter what resource types can be allocating

* handle validation of pool forms in resource pool of type set and singleton

* handle pool property types change event

* handle validation of individual form input

* handle which resource types can be allocating

* rename modal component from vlan to ipv6_prefix

* add ipv6_prefix modal for claiming addresses from resource pool

* show description on hover using title prop

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Add transaction inventory (#371)

* add transaction id to config screen in inventory ui

* fix transaction id after reload; introduce new hook for it

* fix typo; fix calc diff query (add transactionId)

* fix transaction close after commit (#376)

* disable inventory playground when auth_enabled=true (#375)

* fix json editor behaviour (handle invalid JSON inside editor) (#378)

* fix json editor behaviour (handle invalid JSON inside editor)

* fix onChange behaviour for non-JSON code in Editor component

* Fix pagination uniflow exec wf (#380)

* fix problem with hierarchical pagination of exec workflows

* handle fetching with pagination instead of state

* improve device config screen - delete snapshot, calcdiff output, layo… (#384)

* improve device config screen - delete snapshot, calcdiff output, layout changes

* refactor transactionId hook; improve transactionId close behaviour

* add dry run config output modal

* Fix create new task modal (#385)

* fix problem with hierarchical pagination of exec workflows

* handle fetching with pagination instead of state

* convert add task modal to typescript

* fix problem with creating new task in uniflow ui

* convert constants to TS

* add formik to uniflow

* move add task modal to separate folder

* rename add task modal

* add add task modal form

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Fix bulk operations uniflow (#388)

* fix number of selected workflows

* handle bad calling of bulk operations

* remove not functional children column in executed workflows list

* Fix filtering exec workflows (#389)

* reset current page to 1 when filtering executed workflows

* convert pagination hook to typescript

* Fix add new task (#390)

* fix problem with adding new task in uniflow

* create file for task table

* add task table component to task list

* convert task list to typescript

* convert task config modal to typescript

* implement new task config modal to task list

* handle searching of tasks using minisearch

* handle parse of description

* Bump follow-redirects from 1.14.7 to 1.14.8 (#394)

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* add delete blueprint feature (#392)

* fix diff output api result type (udpdated-data object keys changes) (#396)

* add transaction expiration handling in device config screen (#398)

* Bump url-parse from 1.5.3 to 1.5.7 (#399)

Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.3 to 1.5.7.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.7)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* handle pagination max pages (#402)

* fix workflow id on terminate action (#403)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* abort controller fix (#406)

* fix merge conflict

* fix merge conflict

* fix types in uniresource

* fix types in uniresource

* fix types in uniresource

Co-authored-by: Marco <51787428+MarcoMruz@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* merge main (#417)

* merge main

* add copy plugin

* remove unuse copy plugin

* fix copy gamma-options

* fix gh workflow merge conflict

* remove unused file

Co-authored-by: Pavol Porubsky <paulooze@gmail.com>

* umount free resources fix (#410) (#418)

* dont trigger free resources on form umount

* fix lint

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* fix collapse row in diff tables (#413)

* umount free resources fix (#410)

* dont trigger free resources on form umount

* fix lint

* fix collapse row in diff tables

* add pr check

* fix lint

* fix merge conflict

* remove unused file

* update yarn.lock

Co-authored-by: Martin Sottnik <msottnik@gmail.com>
Co-authored-by: Marco <51787428+MarcoMruz@users.noreply.github.com>
Co-authored-by: Tomas <thodor@frinx.io>
Co-authored-by: Marco Mruz <marcomruz1@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Azure scheme (#422)

* Build authRedirectURL from scheme and domain envs

* fix url parsing for AUTH_REDIRECT_DOMAIN and AUTH_REDIRECT_SCHEME

Co-authored-by: Jozef Volak <jvolak@frinx.io>

* make blueprint textarea bigger (#425)

* make body min-height 100vh (#424)

* Story workflow builder (#427)

* install and use react-flow

* initiial transformation

* implement more node handles and deep tree

* fork task transformation

* fork join node transformation

* flow to api transformation (simple and fork)

* flow to api transformation (decission node)

* flow api transformation (nested decision node)

* small refactoring

* fix nested decision tasks transformation

* add add/delete node; add basic styling; remove old library

* transformation tests added (#400)

* start/end node, base node added

* fix workflow with decision node ending (#420)

* merge main (#423)

* Expand workflow (#426)

* add expand workflow implementation

* fix long name in node; add save/export/edit functionality

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* fix config value for auth_redirect_url

* fix type error in wf-builder

* remove old/unused types

* fix remove/delete/edit task; fix render issue in expanded wf; make edges updatable

* Delete edge (#428)

* custom delete button edge

* fix remove edge funcionality

Co-authored-by: Paulooze <paulooze@gmail.com>

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* add button to new edge (#430)

* move error message to proper place (#429)

* move error message to proper place

* fix lint

* Add nested pools (#431)

* add function to handle omit of null values and also handle types

* add nested pools table to pool detail page

* handle resource id logic when creating nested pool

* fix problem with creation of nested pool

* handle errors when freeing resources

* handle claiming resource with required description for set and singleton types

* merge ipv4 and ipv6 prefix modals into one and add simple error handling to modals

* remove redundant pool forms

* handle removed form pages

* remove / character from import

* add visual improvements to tables in detail pool page

* add button to create nested pool directly from detail page

* dont show create item when onCreateItem is not defined (#432)

* dont show create item when onCreateItem is not defined

* revert dependenies

* nested decision node without adjacent node fix (#433)

* update eslint (#434)

* update eslint

* fix formatter

* fix context lint rules

* Add renovate.json (#435)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update pr-check.yml (#440)

* Pin dependencies (#436)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Pin dependencies (#437)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Pin dependency graphql-tag to v (#441)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @types/file-saver to v2.0.5 (#442)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* delete notification toast added (#439)

* delete notification toast added

* fix notification message

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @types/lodash to v4.14.180 (#443)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency fp-ts to v2.11.9 (#445)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency immer to v9.0.12 (#446)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency react-flow-renderer to v9.7.4 (#447)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @fortawesome/react-fontawesome to v0.1.17 (#456)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency chakra-ui-autocomplete to v1.4.5 (#455)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @urql/exchange-retry to v0.3.2 (#453)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency http-proxy-middleware to v2.0.4 (#460)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency match-sorter to v6.3.1 (#462)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency pino to v7.8.1 (#463)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* submit filter on enter (#458)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* make port id configurable (#465)

* fix location form country code (#451)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @types/react-dom to v17.0.13 (#449)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @types/react-router to v5.1.18 (#450)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @fortawesome/react-fontawesome to v0.1.18 (#467)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency webpack-dev-server to v3.11.3 (#468)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency yup to v0.32.11 (#469)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @types/uuid to v8.3.4 (#452)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update babel monorepo (#471)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update graphqlcodegenerator monorepo (#470)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency ace-builds to v1.4.14 (#454)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @azure/msal-browser to v2.22.1 (#473)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @azure/msal-common to v5.2.0 (#474)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @azure/msal-react to v1.3.1 (#475)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @webpack-cli/serve to v1.6.1 (#478)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency eslint-plugin-react to v7.29.4 (#457)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency graphql-tag to v2.12.6 (#459)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency jsdoc to v3.6.10 (#461)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency date-fns to v2.28.0 (#479)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency esbuild to v0.14.27 (#481)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency date-fns-tz to v1.3.0 (#480)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency pino-pretty to v7.5.4 (#464)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency sass-loader to v10.2.1 (#466)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @types/node to v14.18.12 (#476)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @types/react-router-dom to v5.3.3 (#477)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency eslint-import-resolver-typescript to v2.5.0 (#482)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency eslint-plugin-flowtype to v5.10.0 (#483)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency flow-bin to v0.173.0 (#485)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency feather-icons-react to v0.5.0 (#484)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Fix gamma env bool validation (#488)

Co-authored-by: Jozef Volak <jvolak@frinx.io>

* Update dependency flow-remove-types to v2.174.0 (#486)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency graphql to v15.8.0 (#490)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* FD-179 workflow UI search fix (#491)

* task list search fix

* type fix

* Update dependency prettier to v2.6.0 (#496)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency react-ace to v9.5.0 (#497)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency rollup to v2.70.1 (#500)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency rollup-plugin-esbuild to v4.8.2 (#502)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency react-router-dom to v5.3.0 (#499)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* Update dependency pino to v7.9.1 (#495)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* Update dependency urql to v2.2.0 (#504)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* Update dependency webpack to v5.70.0 (#506)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* revert deps updates - fix build process (#508)

* revert deps updates - fix build process

* update @types/react - fix typegen error

* Update dependency fuse.js to v6.5.3 (#487)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency html-webpack-plugin to v5.5.0 (#492)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @babel/core to v7.17.8 (#510)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update emotion monorepo (#514)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* notifications added to workflow import (#516)

* notifications added to workflow import

* remove unused code

* Update typescript-eslint monorepo to v5.16.0 (#515)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency vitest to v0.7.7 (#505)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* new option added to bearer tpid (#519)

* Update dependency json-templates to v4.2.0 (#493)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update chakra-ui monorepo (#520)

* Update chakra-ui monorepo

* update node version in gh workflow

* add 'resolutions' to package.json - fix type error in chakra-ui; fix button component props

* fix wrong button prop in uniresource

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Paulooze <paulooze@gmail.com>

* Update dependency pino to v7.9.2 (#523)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency babel-loader to v8.2.4 (#522)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency minisearch to v3.3.0 (#494)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* Update actions/checkout action to v3 (#525)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @azure/msal-common to v6 (#526)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @types/react-dom to v17.0.14 (#511)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency typescript to v4.6.2 (#503)

* Update dependency typescript to v4.6.2

* remove unused types from dashboard

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* update docker-alpine in docker (#528)

* Update dependency rollup-plugin-dts to v4.2.0 (#501)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update Node.js to v17 (#521)

* Update Node.js to v17

* update engines field in package.json files (node v17)

* update node in nvmrc and gh workflow

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Paulooze <paulooze@gmail.com>

* Update Font Awesome to v6 (#517)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* revert node version to LTS (16) (#531)

* revert node version to LTS (16)

* update engines field in package.json files (node v16)

* Update dependency @types/node to v16 (#529)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency eslint-config-airbnb to v19 (#534)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency framer-motion to v6 (#537)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency vitest to v0.7.8 (#542)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency eslint-plugin-flowtype to v8 (#536)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* update yarn to latest (#532)

* update yarn to latest

* update @types/react - fix typegen error

* Update dependency eslint-import-resolver-typescript to v2.7.0 (#548)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency vitest to v0.7.9 (#547)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency sass-loader to v12 (#546)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency react-organizational-chart to v2 (#544)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* executed workflows search persistence via query params added (#549)

* executed workflows search persistence via query params added

* add missing file

* Update pool table (#448)

* add new informations about pool to table

* use detail item

* remove useless react fragment

* handle eslint errors

* add requested changes

* remove pool detail from pools table

* handle errors from deletion of component

* add nested page to show hierarchical structure

* add nested page component

* add children column and disable click when no nested pools

* optimalization of calculating

* show zero when no nested pools exist

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* replace --frozen-lockfile with --immutable - fix build (#558)

* make modal height flexible (#556)

* Fix free resource button (#561)

* rename from free to deallocate

* add description to resources table and claim button to set singleton table

* handle recache on claim or deallocate action

* move nested pools table to the bottom of the page

* Update dependency url-join to v5 (#557)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency react-router-dom to v6 (#559)

* Update dependency react-router-dom to v6

* update uniflow app to use new react-router (v6) (#560)

* update inventory app to use new react-router (v6) (#563)

* update uniresource app to use new react-router (v6) (#564)

* gamma app router added (#566)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* fix react-router => react-router-dom usage; remove old @types dep

* Gamma app router 2 (#567)

* move from callbacks to react router

* linter fixes

* fix types error

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* hide address allocation type in sna form (#569)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency minisearch to v4 (#540)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* fix auto redirect to basename in new react router (#573)

* fix service links (#574)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* make address fields disabled (#571)

* Pin dependency react-router-dom to 6.2.2 (#570)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix Navigate component placemenet (#575)

* Update dependency date-fns-tz to v1.3.1 (#576)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency esbuild to v0.14.28 (#577)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* make location form state field optional (#580)

* use clan list from service from on sna form (#579)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency typescript to v4.6.3 (#583)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update chakra-ui monorepo (#572)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* remove Navigate for basename (#581)

It doesn't work, see https://github.com/remix-run/react-router/issues/8427

* remove Allocate_CustomerAddresss workflow from sna form (#568)

* dont call customer address (obsolete) on sna form load

* fix lint

* fix types

* add native browser redirect to basename (#587)

* Update dependency esbuild to v0.14.29 (#586)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency eslint-plugin-react-hooks to v4.4.0 (#585)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency eslint to v8.12.0 (#584)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update typescript-eslint monorepo to v5.17.0 (#589)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency prettier to v2.6.1 (#578)

* Update dependency prettier to v2.6.1

* fix formatting

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @types/lodash to v4.14.181 (#582)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency vitest to v0.8.0 (#553)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* use new allocation workflows (#591)

* fix routing protocols (#593)

* fix routing protocols

* fix pr-check

* fix crate workflow (#594)

* Update dependency vitest to v0.8.1 (#592)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update react monorepo to v18 (major) (#590)

* Update react monorepo to v18

* remove ReactDOM.render and replace with createRoot (React v18 change)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency webpack-dev-server to v4 (#554)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency react-router-dom to v6.3.0 (#598)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency pino-pretty to v7.6.0 (#562)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @ajna/pagination to v1.4.17 (#599)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency date-fns-tz to v1.3.2 (#595)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix breaking changes in webpack dev server (#603)

* refresh state after successful discard commit (#602)

* refresh state after successful discard commit

* fix linter

* remove <StrictMode/> to fix wf-builder (outdated lib dep) (#609)

* unified discard button added (#610)

* Update dependency eslint-import-resolver-typescript to v2.7.1 (#608)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @azure/msal-react to v1.3.2 (#612)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency prettier to v2.6.2 (#607)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency esbuild to v0.14.32 (#606)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency vitest to v0.9.0 (#605)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @azure/msal-browser to v2.23.0 (#615)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency webpack to v5.71.0 (#604)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* revert framer motion version to v5 (#619)

* Revert "Update dependency webpack to v5.71.0 (#604)" (#620)

This reverts commit 094bef1b4dba7abf16bf2f8ea976c9fd13aac139.

* Revert "revert framer motion version to v5 (#619)" (#621)

This reverts commit 4dca61b315fd626cc73f020f4a5cfc2746368d3b.

* fix async generator fn for polling executed workflow data; fix subwf … (#622)

* fix async generator fn for polling executed workflow data; fix subwf render issue

* remove unused (commented) code; fix imported stuff

* fix hierachical execution request (#624)

* Post method for bult/terminate (#611)

Co-authored-by: Jozef Volak <jvolak@frinx.io>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* Uniflow routing refactor (#625)

* rename definition modal by guidelines

* update imports

* refactor definition modal

* handle typescript types

* rename diagram modal

* refactor diagram modal

* move types to helpers and use @frinx path instead of ../../../

* move workflow definition modal to common

* fix imports and remove unused component

* use chakra styling

* rename component by guidelines

* refactor dependency modal

* use Link from react router v6

* remove workflow list view modal

* add types from swagger uniflow docs api

* move schedule workflow modal to modals folder

* refactor schedule workflow modal

* use react router v6 to attr in input modal

* fix problem with scheduling workflow from modal

* remove on click redirect handlers

* Revert "remove on click redirect handlers"

This reverts commit c079e6370249245b7ecaef67fec664f413c1b825.

* use Link in executed workflow detail

* use Link in uniflow builder instead of redirect handlers

* use nested routes instead of absolute format

* use disclosure hook for input modal

* use Link component in executed workflow pages (#629)

* Update dependency @emotion/react to v11.9.0 (#618)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update chakra-ui monorepo (#633)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency esbuild to v0.14.36 (#616)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* gamma feedback (excel rows 35-39) (#637)

* add clear button to all filters (#640)

* add clear button to all filters

* add clear button to advanced search page

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* lock site management type (co-managed default) (#641)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Gamma feedback all (#646)

* add clear button to all filters

* add clear button to advanced search page

* lock site management type (co-managed default)

* FD-259 default BGP ASN set to 650000

* rename BGP ASN label

* FD-262, FD-263 - bfd profile

* FD-264 make prefix length 31 default

* FD-247 label uppercased

* FD-251 site id in format: <user_input>_<gnerateed_random>

* FD-252 custom location id

* vpn-nodes from changes (FD-243, FD-244, FD-245)

* make termination-role default and disabled

* fix dashboard type:check

* disable delete site/bearer if there are sna/evc inside

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fork task workflow fix (#647)

* update COMMIT_HASH handling - move to server and window.__CONFIG__ (#648)

* delay poll requests (#649)

* fix COMMIT_HASH env in production (#652)

* fix COMMIT_HASH env in production

* fix COMMIT_HASH env in production

* fix COMMIT_HASH env in production (#654)

* autocomplete fixes (#651)

* autocomplete fixes

* fix lint

* add fuzzy search to autocomplete (#653)

* submit filters on enter click (#655)

* fix COMMIT_HASH env in production (#658)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* change devices icon and label (#656)

* add diff table to location list (#661)

* hub spoke disjoint value fixed (#657)

* Pass git hash to docker image (#662)

Co-authored-by: Jozef Volak <jvolak@frinx.io>

* replace icon buttons with clear action menus; replace  with <Link/> components (#666)

* fix redirect from edit device form (#668)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* add carrier reference column to vpn bearer table (#667)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* fix loading handling after pool delete mutation firing (#665)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* change task search term limit from 3 to 1 (#664)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* fix site-network-access form validation behaviour (#663)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* remove gamma

Co-authored-by: Martin Sottnik <msottnik@gmail.com>
Co-authored-by: Marco <51787428+MarcoMruz@users.noreply.github.com>
Co-authored-by: Tomas <thodor@frinx.io>
Co-authored-by: Marco Mruz <marcomruz1@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jozef Volak <jvolak@frinx.io>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jozefiel <jozefvolak@gmail.com>
Paulooze added a commit to FRINXio/frinx-frontend that referenced this issue May 9, 2022
* Gamma project (#419)

* initiail project structure

* remove unused code

* vpn service form (#162)

* vpn service form added

* remove unused code

* change devServer port to 3001

* fix maximumRoutes options

* Main to gamma merge (#166)

* create edit device form & page (#152)

* create edit device form & page

* add edit button & change texting

* add cancel button

* remove onClick event from device name & edit device when uninstalled

* change styles of edit device form

* rename cancel function in edit page

* implement requested changes from comments

* change texting in toast

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* json jq task form added (#157)

* json jq task form added

* remove dependencies from useEffect

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* move query experssion to input params (#158)

* move query experssion to input params

* revert obsolete changes

* fix URLs in uniflow for wf scheduling (#159)

* fix URLs in uniflow for wf scheduling (#163)

* fix URLs in uniflow for wf scheduling

* update diagram lib

* create edit blueprint page (#160)

* create edit blueprint page

* change type of prop in edit blueprint form

* handle empty value from of using omitBy from lodash

* downgrade lodash version

Co-authored-by: Marco <51787428+MarcoMruz@users.noreply.github.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* edit and delete added to vpn service form (#170)

* implement feedback to edit vpn service form (#172)

* New autocomplete (#177)

* add new autocomplete component to gamma project

* update autocomplete - extract list to new component

* fix component types (FC => VoidFunctionComponent)

* update gh workflow to check gamma-projects PRs

* Gamma uniresource vpn service (#178)

* Connect vpn service with unistore for frinx-gamma

Signed-off-by: Tomas <thodor@frinx.io>

* lint fixing and refactoring

* read unistore bearer from config

* fix formatter

Co-authored-by: Tomas <thodor@frinx.io>

* Vpn site form (#175)

* vpn-site-form initial implementation

* add site devices form

* some refactoring

* yarn.lock updated

* lint fixes

* add server endpoints communication

* fix merge conflict ts bug

* Network access form create (#182)

* network access form create

* hide page info for now

* add missing fields (#184)

* network access form edit/delete (#185)

* Integrate gamma (#187)

* start gamma integration to FM UI

* finish gamma integration; cleanup gamma projects; fix types

* add gamma build cmd to GH Workflow (temp)

* update yarn.lock

* fix step in gh workflow

* fix webpack.config in gamma

* Form refactoring 1 (#186)

* form refactoring

* autocomplete string -> Item

* use qos profiles endpoint in site form

* add gamma-project for docker release

* add deployment for gamma

* fix production issue with gamma app (#191)

* fix wrong component (#189)

* fix edit site form autocomplete (#192)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* make devices and locations optional (#193)

* Vpn site form maximum routes (#194)

* move maximum routes from vpn service to vpn site form

* remove unused code

* make routing protocol types optional (#196)

* bgp profile added to site network access (#195)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* create item added to autocomplete (#197)

* preselect routing protocol type in site access network from (#198)

* services table implementation (#199)

* Sites table (#200)

* services table implementation

* sites table implementation

* network access table implementation (#204)

* Device validator (#203)

* more robust site device validator

* remove fake code

* make device management optional

* remove debugging response (#206)

* add custom default c vlan value (#207)

* disable bgp pic field in site form (#208)

* add vpn attachment field to network access form (#212)

* hide site network access type (#209)

* hide site network access type

* fix vpn attachment autocomplete

* routing protocols (possibility to add both bgp and static) (#215)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* add next hop to static protocol (#216)

* add next hop to static protocol

* linter fix

* bearer reference input added (#217)

* preserve ip connection in site network access (#219)

* device view implementation (#220)

* device view implementation

* show location info in device list

* add link to device list

* Add uniflow integration (#221)

* add first version of uniflow integration - add callback for executeWorkflow

* add workflow/task status modal for execution

* add workflow/task status modal for execution in sites; fix icons and small visual issues

* Add bearer list (#222)

* add bearer-list basics

* fix evc attachment validation and converter

* add basic bearer table; add callbacks; add commit to bearers

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* bearer backup fix (#224)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Bearer form (#223)

* bearer types and converter

* add bearer-list basics

* fix evc attachment validation and converter

* add basic bearer table; add callbacks; add commit to bearers

* client to api bearer converter

* basic create/edit/delete bearer functionality

Co-authored-by: Paulooze <paulooze@gmail.com>

* qos profile fix (#226)

* ipv4 ip connection fields (#225)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix requested type on edit (#228)

* fix requested type on edit

* linter fixes

* create site network access fix (#229)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* send only non empty routing protocols (#230)

* send only non empty routing protocols

* get only sites in config state

* hardcoded oam (#231)

* delete sna fix (#232)

* routing protocols fix (#233)

* Add locations page (#235)

* add locations page (with add and edit fn)

* remove location form from site form

* fix lint error in dashboard

* sync types and converters (#236)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* evc attachments view (#237)

* add missing fields to bearer form (#238)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* site-role added to site network access form (#239)

* site-role added to site network access form

* add missing siteRole

* remove unused import - fix eslint error

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* add proper values to bearer select boxes (#240)

* Bearer form nodes and carriers (#241)

* nodes autocomplete

* carriers autocomplete

* add vpn carrier form

* use spBearerReference as bearer id (#242)

* carriers edit and delete implementaion (#243)

* generate svlanId (will be provided by uniresource later) (#244)

* show config only data (#245)

* tpid display values changed (#246)

* use autocomplete for qos profiles (#247)

* node editing form added (#249)

* fix commit workflow (#254)

* spReferenceBearer disabled in edit mode (#250)

* renaming from feedback (#251)

* generate random vpn id base on feedback (#252)

* lock site management to provider-managed (#253)

* rename bearer form field (#256)

* change port id to select (#257)

* change port id to select

* remove old input

* remove customer name from evc form (#258)

* preselect auto as svlan assignment type (#259)

* Evc formik (#260)

* evc formik

* evc attachment formik validation

* mark required fields

* fix yup version

* bearer form validation (#263)

* service from validation (#264)

* device form validation (#265)

* location form validation (#266)

* site form validation (#267)

* site network access validation (#268)

* change node-id workflow (#270)

* add circuit reference regex validation (#269)

* use outline variant for input fields (#271)

* site role in site network form hardcoded to any-any (#272)

* send only bgp or static section for particular routing protocol (#274)

* execute bearer workflow fix (#276)

* disabled buttons in pristine forms (#277)

* icon tooltips added (#278)

* minor ui changes (#280)

* minor ui changes

* more verbose cvlan in service table list

* new circuit reference regex validation (#285)

* transaction-id added to api requests (#284)

* transaction-id added to api requests

* add missing files

* fix linters

* implement pr comments

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix bug where ipv4 field remove inserted values (#286)

* Add control page 1 (#287)

* add first version of control page

* fix api calls for counting items

* gamma pagination implementation (#288)

* location and network access pagination (#289)

* location pagination

* network access pagination

* filters added to service-list (#290)

* filters added to service-list

* service filter fixes

* filters added to site list (#291)

* filters added to site list

* linter fixes

* Bearer filter (#292)

* filters added to site list

* linter fixes

* filter added to bearer list

* remove device and location section from site form (#294)

* network access filter added (#293)

* network access filter added

* move filter functions to helper file

* remove obsolete code

* fix transaction id usage; use API call from unistore (#296)

* fix transaction id usage; use API call from unistore

* remove console.logs

* form options made configurable (#295)

* service form options added

* fix build

* add bearer, site, network-access options

* gamma options added to dashboard dev

* topology changed

* file renamed

* make application work without data

* service form submit error handling (#298)

* service form options added

* fix build

* add bearer, site, network-access options

* gamma options added to dashboard dev

* topology changed

* file renamed

* make application work without data

* create service submit error handling

* set submit error to null on submit

* make custom error message component

* add missign file

* submit error handling added (#300)

* add logs to api client (#303)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* add transaction id to commit workflows (#301)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* merge main branch (#304)

* merge main branch

* fix api client in gamma-app

* fix unistore types

* fix type errors in dashboard; fix type errors in uniflow api client; add dashboard typecheck to gh action pr check

* fix graphql in uniresource

* fix feather-icons-react d.ts file error in wf-builder

* fix type generation

* remove unused npm script for type generation

* fix import in gamma-app

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* fix docker build (#305)

* control panel button (#306)

* breadcrumbs added

* swtich to simple button

* get service id from workflow (#307)

* get service id from workflow

* poll workflow id

* prepare endpoints for content type parameter (#309)

* add clear button to forms (#311)

* render all fix (#314)

* lan tag field added to site network access form (#315)

* allocating ids from workflows (#308)

* Jsonb filters 3 (#312)

* service list - use array diffs to calc changes

* bearer list - use array diffs to calc changes

* site list - use array diffs to calc changes

* add new fields in bearer list (#313)

* make maximum routes optional (#317)

* create new transaction id on successful commit (#319)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* add unistore schema parameter (#320)

* add unistore schema parameter

* call PUT in create pages

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix validation message (#321)

* bearer commit workflow fix (#322)

* service network access filters (#323)

* service list - use array diffs to calc changes

* bearer list - use array diffs to calc changes

* site list - use array diffs to calc changes

* network access changes table

* add workflow result for uncommited changes (#325)

* collapsible detail added to list views (#324)

* collapsible detail added to list views

* detail added to location list view

* detail added to device list view

* detail added to service list view

* add icon and hover effect

* simplify code

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* more location and device details (#326)

* fix issue with graphql client reuse (same url for multiple graphql apis) (#328)

* filters added to location page (#327)

* filters added to bearer list (#329)

* Extract unistore api (#331)

* extract unistore api client for gamma

* update frinx-api

* add error message box for forbidden error (expired transaction)

* fix unistore api types

* remove forgotten file

* fix dep version (dedubcheck)

* fix unistore api callback types

* update unistore api for locations

* fix types for graphql client api

* remove forgotten file

* fix transaction error box show/hide

* update yarn.lock

* filters added to device page (#330)

* filters added to device page

* fix eslint

* fix types

* filters added to evc list page (#332)

* filters added to device page

* fix eslint

* fix types

* filters added to evc page

* fix eslint

* fix eslint

* filter fixes

* fix logout issue (not removing auth token stored in localstorage) (#333)

* add authority option to config for msal (#335)

* bearer filters (#337)

* site filteres (#339)

* bearer filters

* site filters

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Filter context (#340)

* add filter context

* add bearer filter

* lan tag validation (#341)

* discard changes implementation (#344)

* discard changes implementation

* add missing file

* dont strip bearer admin status prefix (#342)

* dont strip bearer admin status prefix

* fix page size

* add admin state dropdown to bearer form

* GAM-135 cometic changes

* remove cookie before getting new transaction id (#351)

* merge changes from main branch (#352)

* merge changes from main branch

* remove git conflict marker

* update graphql generated types

* fix errors in uniresource-app

* remove forgotten file

* add sb_bearer_reference to svlan allocation input (#354)

* FD-121 bearer site view fix (#356)

* fix bearer and site list without evc and sna

* add evc changes table

* fix evc-attachment type

* fix evc-attachment type 2

* fix evc validation message (#355)

* add mtu validation (#358)

* location/device changes (#357)

* add new columns to evc list (#359)

* Deallocate id from workflow (#318)

* allocating ids from workflows

* deallocate ids via workflows

* deallocate pools on discard

* add parameters to free allocation workflows

* changes in service view text labels (#361)

* change validation and form labels (#360)

* implement changes from gamma feedback (#363)

* add extranet column to service list (#365)

* implement changes from edit service feedback (#366)

* implement changes from edit service feedback

* make existing value check case insensitive

* fetching addresses and deallocate on unmount (#367)

* fetching addresses and deallocate on unmount

* run assign address workflow repeatedly fix

* Update control-page.tsx (#373)

* change menu (#374)

* service network form changes (#370)

* service network form changes

* static routes validation

* ip conneciton validation

* fix types

* use uuid instead of lodash uniqueId

* assign svlan onclick (#377)

* assign svlan onclick

* fix saved evc attachments list

* fix eslint

* remove obsolete code

* add missing evc filters (#372)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix optional unistore types (#379)

* fix optional unistore types

* fix more types

* fix types 2

* fix types 3

* fix types 4

* fix service types

* fix type 5

* remove unused code

* Gam 163 evc diff fix (#381)

* fix optional unistore types

* fix more types

* fix types 2

* fix types 3

* fix types 4

* fix service types

* fix evc diff list

* GAM-160 deleting sna fix (#382)

* fix optional unistore types

* fix more types

* fix types 2

* fix types 3

* fix types 4

* fix service types

* fix type 5

* remove unused code

* delete network access fix

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* handle no access error (#387)

* horizontal search implementation (#386)

* fix admin state in bearer form (#391)

* merge changes from main branch (#395)

* merge changes from main branch

* add generated graphql types

* handle type errors in uniresource

* remove forgotten file

Co-authored-by: Marco Mruz <marcomruz1@gmail.com>

* fix autocomplete direction (#393)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* merge changes from main branch 2 (#397)

* merge changes from main branch 2

* fix forgotten merge conflict

* fix merge conflicts

* remove uniconfig dependency from dashboard

* add updated yarn.lock

* add assign vpn id button to service form (#401)

* fix abort controller to be called only once on umount (#405)

* fix abort controller to be called only once on umount

* fix use abort controller

* Merge main branch 3 (#407)

* extract api clients/callbacks; improve types (#299)

* extract api clients/callbacks; improve types

* fix eslint

* add build scrip for api clients; fix gh workflow

* fix ts errors in wf-builder

* extract graphql api clients

* fix eslint errors in frinx api; add checks for frinx api; update gh workflow with new checks for api package

* remove unused dashboard api; fix some types in workflow builder

* fix auth error display show/hide after login

* Create pool detail (#310)

* add pool detail page redirect from pool table

* add claim and free resource mutation

* create claim and free resource modal

* handle on change event for claim resource modal form

* move modals to folder and create separate component for allocated res

* remove modals

* add and handle claiming of resource from ipv4 prefix pool

* create modal for vlan alloc

* rename alloc modal of ipv4 prefix

* rename modal to layout

* use claim resource modal layout

* use one abstract modal with variant to render modal by resource type

* use string instead of type in variant prop

* create use notification hook and unwrap helper

* move unwrap to src folder

* create toast notification

* implement logic to toast notification component

* add notification context provider

* rename notification context

* add uuid package

* implement use notification to pool detail page and to root file of uniresource

* change default value

* implement feedback for user when creating resource pool

* create allocating modal or vlan range

* implement vlan range modal and move free resource button per allocated resource row

* refactor pool detail table and way of claiming/freeing resources from pool

* move logic to separate functions

* refactor if statement

* add authority option to config for msal (#334)

* fix bugs - favorites btn; missing icon; labels dedup (#343)

* fix disabled reexecute btn (#345)

* fix name search in executed workflows list (#346)

* fix dashboard prod build (#347)

* fix resume workflow (#348)

* fix pagination on executed workflow list (#349)

* revert pagination behaviour; fix redirect after workflow retry (#350)

* fix logout issue (not removing auth token stored in localstorage) (#353)

* Bump follow-redirects from 1.14.2 to 1.14.7 (#362)

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.2 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.2...v1.14.7)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix graphql api client in main branch (#364)

* Bump nanoid from 3.1.25 to 3.2.0 (#368)

Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.25 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.25...3.2.0)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update uniresource (#369)

* update validation process in uniresource create pool

* filter resource type by parent

* handle claim and free resources to be interactive

* rerender allocated resources after claim or free when is empty array

* filter what resource types can be allocating

* handle validation of pool forms in resource pool of type set and singleton

* handle pool property types change event

* handle validation of individual form input

* handle which resource types can be allocating

* rename modal component from vlan to ipv6_prefix

* add ipv6_prefix modal for claiming addresses from resource pool

* show description on hover using title prop

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Add transaction inventory (#371)

* add transaction id to config screen in inventory ui

* fix transaction id after reload; introduce new hook for it

* fix typo; fix calc diff query (add transactionId)

* fix transaction close after commit (#376)

* disable inventory playground when auth_enabled=true (#375)

* fix json editor behaviour (handle invalid JSON inside editor) (#378)

* fix json editor behaviour (handle invalid JSON inside editor)

* fix onChange behaviour for non-JSON code in Editor component

* Fix pagination uniflow exec wf (#380)

* fix problem with hierarchical pagination of exec workflows

* handle fetching with pagination instead of state

* improve device config screen - delete snapshot, calcdiff output, layo… (#384)

* improve device config screen - delete snapshot, calcdiff output, layout changes

* refactor transactionId hook; improve transactionId close behaviour

* add dry run config output modal

* Fix create new task modal (#385)

* fix problem with hierarchical pagination of exec workflows

* handle fetching with pagination instead of state

* convert add task modal to typescript

* fix problem with creating new task in uniflow ui

* convert constants to TS

* add formik to uniflow

* move add task modal to separate folder

* rename add task modal

* add add task modal form

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Fix bulk operations uniflow (#388)

* fix number of selected workflows

* handle bad calling of bulk operations

* remove not functional children column in executed workflows list

* Fix filtering exec workflows (#389)

* reset current page to 1 when filtering executed workflows

* convert pagination hook to typescript

* Fix add new task (#390)

* fix problem with adding new task in uniflow

* create file for task table

* add task table component to task list

* convert task list to typescript

* convert task config modal to typescript

* implement new task config modal to task list

* handle searching of tasks using minisearch

* handle parse of description

* Bump follow-redirects from 1.14.7 to 1.14.8 (#394)

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* add delete blueprint feature (#392)

* fix diff output api result type (udpdated-data object keys changes) (#396)

* add transaction expiration handling in device config screen (#398)

* Bump url-parse from 1.5.3 to 1.5.7 (#399)

Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.3 to 1.5.7.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.7)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* handle pagination max pages (#402)

* fix workflow id on terminate action (#403)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* abort controller fix (#406)

* fix merge conflict

* fix merge conflict

* fix types in uniresource

* fix types in uniresource

* fix types in uniresource

Co-authored-by: Marco <51787428+MarcoMruz@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* merge main (#417)

* merge main

* add copy plugin

* remove unuse copy plugin

* fix copy gamma-options

* fix gh workflow merge conflict

* remove unused file

Co-authored-by: Pavol Porubsky <paulooze@gmail.com>

* umount free resources fix (#410) (#418)

* dont trigger free resources on form umount

* fix lint

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* fix collapse row in diff tables (#413)

* umount free resources fix (#410)

* dont trigger free resources on form umount

* fix lint

* fix collapse row in diff tables

* add pr check

* fix lint

* fix merge conflict

* remove unused file

* update yarn.lock

Co-authored-by: Martin Sottnik <msottnik@gmail.com>
Co-authored-by: Marco <51787428+MarcoMruz@users.noreply.github.com>
Co-authored-by: Tomas <thodor@frinx.io>
Co-authored-by: Marco Mruz <marcomruz1@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Azure scheme (#422)

* Build authRedirectURL from scheme and domain envs

* fix url parsing for AUTH_REDIRECT_DOMAIN and AUTH_REDIRECT_SCHEME

Co-authored-by: Jozef Volak <jvolak@frinx.io>

* make blueprint textarea bigger (#425)

* make body min-height 100vh (#424)

* Story workflow builder (#427)

* install and use react-flow

* initiial transformation

* implement more node handles and deep tree

* fork task transformation

* fork join node transformation

* flow to api transformation (simple and fork)

* flow to api transformation (decission node)

* flow api transformation (nested decision node)

* small refactoring

* fix nested decision tasks transformation

* add add/delete node; add basic styling; remove old library

* transformation tests added (#400)

* start/end node, base node added

* fix workflow with decision node ending (#420)

* merge main (#423)

* Expand workflow (#426)

* add expand workflow implementation

* fix long name in node; add save/export/edit functionality

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* fix config value for auth_redirect_url

* fix type error in wf-builder

* remove old/unused types

* fix remove/delete/edit task; fix render issue in expanded wf; make edges updatable

* Delete edge (#428)

* custom delete button edge

* fix remove edge funcionality

Co-authored-by: Paulooze <paulooze@gmail.com>

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* add button to new edge (#430)

* move error message to proper place (#429)

* move error message to proper place

* fix lint

* Add nested pools (#431)

* add function to handle omit of null values and also handle types

* add nested pools table to pool detail page

* handle resource id logic when creating nested pool

* fix problem with creation of nested pool

* handle errors when freeing resources

* handle claiming resource with required description for set and singleton types

* merge ipv4 and ipv6 prefix modals into one and add simple error handling to modals

* remove redundant pool forms

* handle removed form pages

* remove / character from import

* add visual improvements to tables in detail pool page

* add button to create nested pool directly from detail page

* dont show create item when onCreateItem is not defined (#432)

* dont show create item when onCreateItem is not defined

* revert dependenies

* nested decision node without adjacent node fix (#433)

* update eslint (#434)

* update eslint

* fix formatter

* fix context lint rules

* Add renovate.json (#435)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update pr-check.yml (#440)

* Pin dependencies (#436)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Pin dependencies (#437)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Pin dependency graphql-tag to v (#441)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @types/file-saver to v2.0.5 (#442)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* delete notification toast added (#439)

* delete notification toast added

* fix notification message

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @types/lodash to v4.14.180 (#443)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency fp-ts to v2.11.9 (#445)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency immer to v9.0.12 (#446)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency react-flow-renderer to v9.7.4 (#447)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @fortawesome/react-fontawesome to v0.1.17 (#456)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency chakra-ui-autocomplete to v1.4.5 (#455)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @urql/exchange-retry to v0.3.2 (#453)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency http-proxy-middleware to v2.0.4 (#460)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency match-sorter to v6.3.1 (#462)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency pino to v7.8.1 (#463)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* submit filter on enter (#458)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* make port id configurable (#465)

* fix location form country code (#451)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @types/react-dom to v17.0.13 (#449)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @types/react-router to v5.1.18 (#450)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @fortawesome/react-fontawesome to v0.1.18 (#467)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency webpack-dev-server to v3.11.3 (#468)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency yup to v0.32.11 (#469)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @types/uuid to v8.3.4 (#452)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update babel monorepo (#471)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update graphqlcodegenerator monorepo (#470)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency ace-builds to v1.4.14 (#454)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @azure/msal-browser to v2.22.1 (#473)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @azure/msal-common to v5.2.0 (#474)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @azure/msal-react to v1.3.1 (#475)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @webpack-cli/serve to v1.6.1 (#478)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency eslint-plugin-react to v7.29.4 (#457)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency graphql-tag to v2.12.6 (#459)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency jsdoc to v3.6.10 (#461)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency date-fns to v2.28.0 (#479)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency esbuild to v0.14.27 (#481)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency date-fns-tz to v1.3.0 (#480)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency pino-pretty to v7.5.4 (#464)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency sass-loader to v10.2.1 (#466)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @types/node to v14.18.12 (#476)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @types/react-router-dom to v5.3.3 (#477)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency eslint-import-resolver-typescript to v2.5.0 (#482)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency eslint-plugin-flowtype to v5.10.0 (#483)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency flow-bin to v0.173.0 (#485)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency feather-icons-react to v0.5.0 (#484)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Fix gamma env bool validation (#488)

Co-authored-by: Jozef Volak <jvolak@frinx.io>

* Update dependency flow-remove-types to v2.174.0 (#486)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency graphql to v15.8.0 (#490)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* FD-179 workflow UI search fix (#491)

* task list search fix

* type fix

* Update dependency prettier to v2.6.0 (#496)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency react-ace to v9.5.0 (#497)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency rollup to v2.70.1 (#500)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency rollup-plugin-esbuild to v4.8.2 (#502)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency react-router-dom to v5.3.0 (#499)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* Update dependency pino to v7.9.1 (#495)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* Update dependency urql to v2.2.0 (#504)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* Update dependency webpack to v5.70.0 (#506)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* revert deps updates - fix build process (#508)

* revert deps updates - fix build process

* update @types/react - fix typegen error

* Update dependency fuse.js to v6.5.3 (#487)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency html-webpack-plugin to v5.5.0 (#492)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @babel/core to v7.17.8 (#510)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update emotion monorepo (#514)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* notifications added to workflow import (#516)

* notifications added to workflow import

* remove unused code

* Update typescript-eslint monorepo to v5.16.0 (#515)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency vitest to v0.7.7 (#505)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* new option added to bearer tpid (#519)

* Update dependency json-templates to v4.2.0 (#493)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update chakra-ui monorepo (#520)

* Update chakra-ui monorepo

* update node version in gh workflow

* add 'resolutions' to package.json - fix type error in chakra-ui; fix button component props

* fix wrong button prop in uniresource

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Paulooze <paulooze@gmail.com>

* Update dependency pino to v7.9.2 (#523)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency babel-loader to v8.2.4 (#522)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency minisearch to v3.3.0 (#494)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* Update actions/checkout action to v3 (#525)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @azure/msal-common to v6 (#526)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @types/react-dom to v17.0.14 (#511)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency typescript to v4.6.2 (#503)

* Update dependency typescript to v4.6.2

* remove unused types from dashboard

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* update docker-alpine in docker (#528)

* Update dependency rollup-plugin-dts to v4.2.0 (#501)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update Node.js to v17 (#521)

* Update Node.js to v17

* update engines field in package.json files (node v17)

* update node in nvmrc and gh workflow

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Paulooze <paulooze@gmail.com>

* Update Font Awesome to v6 (#517)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* revert node version to LTS (16) (#531)

* revert node version to LTS (16)

* update engines field in package.json files (node v16)

* Update dependency @types/node to v16 (#529)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency eslint-config-airbnb to v19 (#534)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency framer-motion to v6 (#537)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency vitest to v0.7.8 (#542)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency eslint-plugin-flowtype to v8 (#536)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* update yarn to latest (#532)

* update yarn to latest

* update @types/react - fix typegen error

* Update dependency eslint-import-resolver-typescript to v2.7.0 (#548)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency vitest to v0.7.9 (#547)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency sass-loader to v12 (#546)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency react-organizational-chart to v2 (#544)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* executed workflows search persistence via query params added (#549)

* executed workflows search persistence via query params added

* add missing file

* Update pool table (#448)

* add new informations about pool to table

* use detail item

* remove useless react fragment

* handle eslint errors

* add requested changes

* remove pool detail from pools table

* handle errors from deletion of component

* add nested page to show hierarchical structure

* add nested page component

* add children column and disable click when no nested pools

* optimalization of calculating

* show zero when no nested pools exist

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* replace --frozen-lockfile with --immutable - fix build (#558)

* make modal height flexible (#556)

* Fix free resource button (#561)

* rename from free to deallocate

* add description to resources table and claim button to set singleton table

* handle recache on claim or deallocate action

* move nested pools table to the bottom of the page

* Update dependency url-join to v5 (#557)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency react-router-dom to v6 (#559)

* Update dependency react-router-dom to v6

* update uniflow app to use new react-router (v6) (#560)

* update inventory app to use new react-router (v6) (#563)

* update uniresource app to use new react-router (v6) (#564)

* gamma app router added (#566)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* fix react-router => react-router-dom usage; remove old @types dep

* Gamma app router 2 (#567)

* move from callbacks to react router

* linter fixes

* fix types error

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* hide address allocation type in sna form (#569)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency minisearch to v4 (#540)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* fix auto redirect to basename in new react router (#573)

* fix service links (#574)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* make address fields disabled (#571)

* Pin dependency react-router-dom to 6.2.2 (#570)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix Navigate component placemenet (#575)

* Update dependency date-fns-tz to v1.3.1 (#576)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency esbuild to v0.14.28 (#577)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* make location form state field optional (#580)

* use clan list from service from on sna form (#579)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency typescript to v4.6.3 (#583)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update chakra-ui monorepo (#572)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* remove Navigate for basename (#581)

It doesn't work, see https://github.com/remix-run/react-router/issues/8427

* remove Allocate_CustomerAddresss workflow from sna form (#568)

* dont call customer address (obsolete) on sna form load

* fix lint

* fix types

* add native browser redirect to basename (#587)

* Update dependency esbuild to v0.14.29 (#586)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency eslint-plugin-react-hooks to v4.4.0 (#585)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency eslint to v8.12.0 (#584)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update typescript-eslint monorepo to v5.17.0 (#589)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency prettier to v2.6.1 (#578)

* Update dependency prettier to v2.6.1

* fix formatting

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @types/lodash to v4.14.181 (#582)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency vitest to v0.8.0 (#553)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* use new allocation workflows (#591)

* fix routing protocols (#593)

* fix routing protocols

* fix pr-check

* fix crate workflow (#594)

* Update dependency vitest to v0.8.1 (#592)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update react monorepo to v18 (major) (#590)

* Update react monorepo to v18

* remove ReactDOM.render and replace with createRoot (React v18 change)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency webpack-dev-server to v4 (#554)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency react-router-dom to v6.3.0 (#598)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency pino-pretty to v7.6.0 (#562)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency @ajna/pagination to v1.4.17 (#599)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency date-fns-tz to v1.3.2 (#595)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix breaking changes in webpack dev server (#603)

* refresh state after successful discard commit (#602)

* refresh state after successful discard commit

* fix linter

* remove <StrictMode/> to fix wf-builder (outdated lib dep) (#609)

* unified discard button added (#610)

* Update dependency eslint-import-resolver-typescript to v2.7.1 (#608)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @azure/msal-react to v1.3.2 (#612)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency prettier to v2.6.2 (#607)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency esbuild to v0.14.32 (#606)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency vitest to v0.9.0 (#605)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @azure/msal-browser to v2.23.0 (#615)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Update dependency webpack to v5.71.0 (#604)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* revert framer motion version to v5 (#619)

* Revert "Update dependency webpack to v5.71.0 (#604)" (#620)

This reverts commit 094bef1b4dba7abf16bf2f8ea976c9fd13aac139.

* Revert "revert framer motion version to v5 (#619)" (#621)

This reverts commit 4dca61b315fd626cc73f020f4a5cfc2746368d3b.

* fix async generator fn for polling executed workflow data; fix subwf … (#622)

* fix async generator fn for polling executed workflow data; fix subwf render issue

* remove unused (commented) code; fix imported stuff

* fix hierachical execution request (#624)

* Post method for bult/terminate (#611)

Co-authored-by: Jozef Volak <jvolak@frinx.io>
Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* Uniflow routing refactor (#625)

* rename definition modal by guidelines

* update imports

* refactor definition modal

* handle typescript types

* rename diagram modal

* refactor diagram modal

* move types to helpers and use @frinx path instead of ../../../

* move workflow definition modal to common

* fix imports and remove unused component

* use chakra styling

* rename component by guidelines

* refactor dependency modal

* use Link from react router v6

* remove workflow list view modal

* add types from swagger uniflow docs api

* move schedule workflow modal to modals folder

* refactor schedule workflow modal

* use react router v6 to attr in input modal

* fix problem with scheduling workflow from modal

* remove on click redirect handlers

* Revert "remove on click redirect handlers"

This reverts commit ec341afd3b3d8de6a34eeae284299d74cbf300df.

* use Link in executed workflow detail

* use Link in uniflow builder instead of redirect handlers

* use nested routes instead of absolute format

* use disclosure hook for input modal

* use Link component in executed workflow pages (#629)

* Update dependency @emotion/react to v11.9.0 (#618)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update chakra-ui monorepo (#633)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency esbuild to v0.14.36 (#616)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* gamma feedback (excel rows 35-39) (#637)

* add clear button to all filters (#640)

* add clear button to all filters

* add clear button to advanced search page

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* lock site management type (co-managed default) (#641)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Gamma feedback all (#646)

* add clear button to all filters

* add clear button to advanced search page

* lock site management type (co-managed default)

* FD-259 default BGP ASN set to 650000

* rename BGP ASN label

* FD-262, FD-263 - bfd profile

* FD-264 make prefix length 31 default

* FD-247 label uppercased

* FD-251 site id in format: <user_input>_<gnerateed_random>

* FD-252 custom location id

* vpn-nodes from changes (FD-243, FD-244, FD-245)

* make termination-role default and disabled

* fix dashboard type:check

* disable delete site/bearer if there are sna/evc inside

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fork task workflow fix (#647)

* update COMMIT_HASH handling - move to server and window.__CONFIG__ (#648)

* delay poll requests (#649)

* fix COMMIT_HASH env in production (#652)

* fix COMMIT_HASH env in production

* fix COMMIT_HASH env in production

* fix COMMIT_HASH env in production (#654)

* autocomplete fixes (#651)

* autocomplete fixes

* fix lint

* add fuzzy search to autocomplete (#653)

* submit filters on enter click (#655)

* fix COMMIT_HASH env in production (#658)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* change devices icon and label (#656)

* add diff table to location list (#661)

* hub spoke disjoint value fixed (#657)

* Pass git hash to docker image (#662)

Co-authored-by: Jozef Volak <jvolak@frinx.io>

* replace icon buttons with clear action menus; replace  with <Link/> components (#666)

* fix redirect from edit device form (#668)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* add carrier reference column to vpn bearer table (#667)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* fix loading handling after pool delete mutation firing (#665)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* change task search term limit from 3 to 1 (#664)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* fix site-network-access form validation behaviour (#663)

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* Remove gamma (#669)

* Gamma project (#419)

* initiail project structure

* remove unused code

* vpn service form (#162)

* vpn service form added

* remove unused code

* change devServer port to 3001

* fix maximumRoutes options

* Main to gamma merge (#166)

* create edit device form & page (#152)

* create edit device form & page

* add edit button & change texting

* add cancel button

* remove onClick event from device name & edit device when uninstalled

* change styles of edit device form

* rename cancel function in edit page

* implement requested changes from comments

* change texting in toast

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* json jq task form added (#157)

* json jq task form added

* remove dependencies from useEffect

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* move query experssion to input params (#158)

* move query experssion to input params

* revert obsolete changes

* fix URLs in uniflow for wf scheduling (#159)

* fix URLs in uniflow for wf scheduling (#163)

* fix URLs in uniflow for wf scheduling

* update diagram lib

* create edit blueprint page (#160)

* create edit blueprint page

* change type of prop in edit blueprint form

* handle empty value from of using omitBy from lodash

* downgrade lodash version

Co-authored-by: Marco <51787428+MarcoMruz@users.noreply.github.com>
Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* edit and delete added to vpn service form (#170)

* implement feedback to edit vpn service form (#172)

* New autocomplete (#177)

* add new autocomplete component to gamma project

* update autocomplete - extract list to new component

* fix component types (FC => VoidFunctionComponent)

* update gh workflow to check gamma-projects PRs

* Gamma uniresource vpn service (#178)

* Connect vpn service with unistore for frinx-gamma

Signed-off-by: Tomas <thodor@frinx.io>

* lint fixing and refactoring

* read unistore bearer from config

* fix formatter

Co-authored-by: Tomas <thodor@frinx.io>

* Vpn site form (#175)

* vpn-site-form initial implementation

* add site devices form

* some refactoring

* yarn.lock updated

* lint fixes

* add server endpoints communication

* fix merge conflict ts bug

* Network access form create (#182)

* network access form create

* hide page info for now

* add missing fields (#184)

* network access form edit/delete (#185)

* Integrate gamma (#187)

* start gamma integration to FM UI

* finish gamma integration; cleanup gamma projects; fix types

* add gamma build cmd to GH Workflow (temp)

* update yarn.lock

* fix step in gh workflow

* fix webpack.config in gamma

* Form refactoring 1 (#186)

* form refactoring

* autocomplete string -> Item

* use qos profiles endpoint in site form

* add gamma-project for docker release

* add deployment for gamma

* fix production issue with gamma app (#191)

* fix wrong component (#189)

* fix edit site form autocomplete (#192)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* make devices and locations optional (#193)

* Vpn site form maximum routes (#194)

* move maximum routes from vpn service to vpn site form

* remove unused code

* make routing protocol types optional (#196)

* bgp profile added to site network access (#195)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* create item added to autocomplete (#197)

* preselect routing protocol type in site access network from (#198)

* services table implementation (#199)

* Sites table (#200)

* services table implementation

* sites table implementation

* network access table implementation (#204)

* Device validator (#203)

* more robust site device validator

* remove fake code

* make device management optional

* remove debugging response (#206)

* add custom default c vlan value (#207)

* disable bgp pic field in site form (#208)

* add vpn attachment field to network access form (#212)

* hide site network access type (#209)

* hide site network access type

* fix vpn attachment autocomplete

* routing protocols (possibility to add both bgp and static) (#215)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* add next hop to static protocol (#216)

* add next hop to static protocol

* linter fix

* bearer reference input added (#217)

* preserve ip connection in site network access (#219)

* device view implementation (#220)

* device view implementation

* show location info in device list

* add link to device list

* Add uniflow integration (#221)

* add first version of uniflow integration - add callback for executeWorkflow

* add workflow/task status modal for execution

* add workflow/task status modal for execution in sites; fix icons and small visual issues

* Add bearer list (#222)

* add bearer-list basics

* fix evc attachment validation and converter

* add basic bearer table; add callbacks; add commit to bearers

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* bearer backup fix (#224)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* Bearer form (#223)

* bearer types and converter

* add bearer-list basics

* fix evc attachment validation and converter

* add basic bearer table; add callbacks; add commit to bearers

* client to api bearer converter

* basic create/edit/delete bearer functionality

Co-authored-by: Paulooze <paulooze@gmail.com>

* qos profile fix (#226)

* ipv4 ip connection fields (#225)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix requested type on edit (#228)

* fix requested type on edit

* linter fixes

* create site network access fix (#229)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* send only non empty routing protocols (#230)

* send only non empty routing protocols

* get only sites in config state

* hardcoded oam (#231)

* delete sna fix (#232)

* routing protocols fix (#233)

* Add locations page (#235)

* add locations page (with add and edit fn)

* remove location form from site form

* fix lint error in dashboard

* sync types and converters (#236)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* evc attachments view (#237)

* add missing fields to bearer form (#238)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* site-role added to site network access form (#239)

* site-role added to site network access form

* add missing siteRole

* remove unused import - fix eslint error

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* add proper values to bearer select boxes (#240)

* Bearer form nodes and carriers (#241)

* nodes autocomplete

* carriers autocomplete

* add vpn carrier form

* use spBearerReference as bearer id (#242)

* carriers edit and delete implementaion (#243)

* generate svlanId (will be provided by uniresource later) (#244)

* show config only data (#245)

* tpid display values changed (#246)

* use autocomplete for qos profiles (#247)

* node editing form added (#249)

* fix commit workflow (#254)

* spReferenceBearer disabled in edit mode (#250)

* renaming from feedback (#251)

* generate random vpn id base on feedback (#252)

* lock site management to provider-managed (#253)

* rename bearer form field (#256)

* change port id to select (#257)

* change port id to select

* remove old input

* remove customer name from evc form (#258)

* preselect auto as svlan assignment type (#259)

* Evc formik (#260)

* evc formik

* evc attachment formik validation

* mark required fields

* fix yup version

* bearer form validation (#263)

* service from validation (#264)

* device form validation (#265)

* location form validation (#266)

* site form validation (#267)

* site network access validation (#268)

* change node-id workflow (#270)

* add circuit reference regex validation (#269)

* use outline variant for input fields (#271)

* site role in site network form hardcoded to any-any (#272)

* send only bgp or static section for particular routing protocol (#274)

* execute bearer workflow fix (#276)

* disabled buttons in pristine forms (#277)

* icon tooltips added (#278)

* minor ui changes (#280)

* minor ui changes

* more verbose cvlan in service table list

* new circuit reference regex validation (#285)

* transaction-id added to api requests (#284)

* transaction-id added to api requests

* add missing files

* fix linters

* implement pr comments

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix bug where ipv4 field remove inserted values (#286)

* Add control page 1 (#287)

* add first version of control page

* fix api calls for counting items

* gamma pagination implementation (#288)

* location and network access pagination (#289)

* location pagination

* network access pagination

* filters added to service-list (#290)

* filters added to service-list

* service filter fixes

* filters added to site list (#291)

* filters added to site list

* linter fixes

* Bearer filter (#292)

* filters added to site list

* linter fixes

* filter added to bearer list

* remove device and location section from site form (#294)

* network access filter added (#293)

* network access filter added

* move filter functions to helper file

* remove obsolete code

* fix transaction id usage; use API call from unistore (#296)

* fix transaction id usage; use API call from unistore

* remove console.logs

* form options made configurable (#295)

* service form options added

* fix build

* add bearer, site, network-access options

* gamma options added to dashboard dev

* topology changed

* file renamed

* make application work without data

* service form submit error handling (#298)

* service form options added

* fix build

* add bearer, site, network-access options

* gamma options added to dashboard dev

* topology changed

* file renamed

* make application work without data

* create service submit error handling

* set submit error to null on submit

* make custom error message component

* add missign file

* submit error handling added (#300)

* add logs to api client (#303)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* add transaction id to commit workflows (#301)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* merge main branch (#304)

* merge main branch

* fix api client in gamma-app

* fix unistore types

* fix type errors in dashboard; fix type errors in uniflow api client; add dashboard typecheck to gh action pr check

* fix graphql in uniresource

* fix feather-icons-react d.ts file error in wf-builder

* fix type generation

* remove unused npm script for type generation

* fix import in gamma-app

Co-authored-by: Martin Sottnik <msottnik@gmail.com>

* fix docker build (#305)

* control panel button (#306)

* breadcrumbs added

* swtich to simple button

* get service id from workflow (#307)

* get service id from workflow

* poll workflow id

* prepare endpoints for content type parameter (#309)

* add clear button to forms (#311)

* render all fix (#314)

* lan tag field added to site network access form (#315)

* allocating ids from workflows (#308)

* Jsonb filters 3 (#312)

* service list - use array diffs to calc changes

* bearer list - use array diffs to calc changes

* site list - use array diffs to calc changes

* add new fields in bearer list (#313)

* make maximum routes optional (#317)

* create new transaction id on successful commit (#319)

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* add unistore schema parameter (#320)

* add unistore schema parameter

* call PUT in create pages

Co-authored-by: Pavol Porubský <paulooze@gmail.com>

* fix validation message (#321)

* bearer commit workflow fix (#322)

* service network access filters (#323)

* service list - use array diffs to calc changes

* bearer list - use array diffs to calc changes

* site list - use array diffs to calc changes

* network access changes table

* add workflow result for uncommited changes (#325)

* collapsible detail added to list views (#324)

* collapsible detail added to list views

* detail added to location list view

* detail added to device list view

* detail added to service list view

* add icon and hover effect

…
@Aboeabd
Copy link

Aboeabd commented Jun 16, 2022

best soultion that worked for me is adding this as basename

basename={document.baseURI.substring(document.baseURI.indexOf(window.location.origin) + window.location.origin.length, document.baseURI.lastIndexOf('/'))}

@cgxdd

This comment was marked as off-topic.

@kasparsiricenko
Copy link

kasparsiricenko commented Mar 13, 2023

I am going back to v5. Nothing about it is said in the v6 upgrade guide. It caught me by surprise. We are using Single SPA, and the whole app just got broken after this upgrade with messages:
<Router basename="apps/#/lab-app"> is not able to match the URL "/" because it does not start with the basename, so the <Router> won't render anything
<Router basename="apps/#/dashboard-app"> is not able to match the URL "/" because it does not start with the basename, so the <Router> won't render anything
<Router basename="apps/#/settings-app"> is not able to match the URL "/" because it does not start with the basename, so the <Router> won't render anything

@abraj
Copy link

abraj commented May 12, 2023

If you basename is /fe,

<BrowserRouter basename="/fe">
  <App />
</BrowserRouter>

then, you can add a tiny script in the root HTML file:

<script>
  if (window.location.pathname === '/') {
    window.location.assign('/fe');
  }
</script>

@satya4satyanm
Copy link

How do I show an error message if the basename is missing in the url entered by the user

@abraj
Copy link

abraj commented May 17, 2023

<script>
  const { pathname } = window.location;
  if (pathname !== '/fe' && !pathname.startsWith('/fe/')) {
    console.error('The URL must have a basename: /fe');
  }
</script>

@The-Poe
Copy link

The-Poe commented Jun 28, 2023

thanks @abraj
I put it in index.tsx

if (process.env.NODE_ENV === 'development') {
  if (window.location.pathname === '/') {
    window.location.assign('/admin');
  }
}

things work fine so far!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests