Skip to content

Commit 25be69e

Browse files
heisbrotbraginini
andauthored
Add improvements to new networks features (#439)
* Fix wrong ui state for routing peer modal in networks * Add confirmation dialog when blocking users * Keep peer sort order when switching pages * Update sidebar navigation order and remove deprecation notice * Fix issue when hovering over truncated text in a group badge closes the multiple groups popover * Update group text in network resource modal * Update networks page text * Fix line height * Add search to resource table * Switch networks flow to create first resources and then add routers * Add enabled toggle to routing peers * Add enabled toggle to network resources * Add resource group modal and adjust tables * Clarify networks * Fix not properly aligned horizontal scroll bar * Add option to install netbird after creating a setup key * Fix text for install netbird modal * Show resources count in group settings * Fix "no results" and "no routing peers" text showing at the same time * Fix wording * Fix resource policy count * Hide resource count when selection source groups * Extend networks routing peer modal with option to create a setup key and install netbird * Add option for horizontal stepper * Generate setup key when installing netbird from routing peer modal * Add confirm dialog to let the user know a one-off setup-key will be created. This avoids accidental clicking and later confusion on the setup keys page --------- Co-authored-by: Misha Bragin <[email protected]>
1 parent 43e5d5c commit 25be69e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1629
-413
lines changed

package-lock.json

Lines changed: 347 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"@radix-ui/react-collapsible": "^1.0.3",
2020
"@radix-ui/react-dialog": "^1.0.5",
2121
"@radix-ui/react-dropdown-menu": "^2.0.6",
22+
"@radix-ui/react-hover-card": "^1.1.4",
2223
"@radix-ui/react-label": "^2.0.2",
2324
"@radix-ui/react-popover": "^1.0.7",
2425
"@radix-ui/react-radio-group": "^1.1.3",

src/app/(dashboard)/network-routes/page.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import PeersProvider from "@/contexts/PeersProvider";
1414
import RoutesProvider from "@/contexts/RoutesProvider";
1515
import { Route } from "@/interfaces/Route";
1616
import PageContainer from "@/layouts/PageContainer";
17-
import { NetworkRoutesDeprecationInfo } from "@/modules/networks/misc/NetworkRoutesDeprecationInfo";
1817
import useGroupedRoutes from "@/modules/route-group/useGroupedRoutes";
1918

2019
const NetworkRoutesTable = lazy(
@@ -40,9 +39,7 @@ export default function NetworkRoutes() {
4039
icon={<NetworkRoutesIcon size={13} />}
4140
/>
4241
</Breadcrumbs>
43-
<h1 ref={headingRef}>
44-
Network Routes <NetworkRoutesDeprecationInfo size={18} />
45-
</h1>
42+
<h1 ref={headingRef}>Network Routes</h1>
4643
<Paragraph>
4744
Network routes allow you to access other networks like LANs and
4845
VPCs without installing NetBird on every resource.

0 commit comments

Comments
 (0)