Compare commits

...

84 Commits

Author SHA1 Message Date
Alejandro Celaya
c75a3a4073 Merge pull request #1103 from shlinkio/develop
Release 4.1.0
2024-03-17 12:26:34 +01:00
Alejandro Celaya
16cd6442e6 Merge pull request #1102 from acelaya-forks/feature/server-menu-fix
Fix broken server dropdown menu when auto-connect is enabled
2024-03-17 12:24:19 +01:00
Alejandro Celaya
36e2ba59c9 Add test to cover server dropdown UI for auto-connect 2024-03-17 12:21:45 +01:00
Alejandro Celaya
3192aa6981 Fix broken server dropdown menu when auto-connect is enabled 2024-03-17 12:11:43 +01:00
Alejandro Celaya
479583281a Merge pull request #1101 from acelaya-forks/feature/shlink-web-client-0.6
Update to shlink-web-component 0.6.0
2024-03-17 11:04:19 +01:00
Alejandro Celaya
80b4d26f01 Update to shlink-web-component 0.6.0 2024-03-17 11:02:31 +01:00
Alejandro Celaya
1e547c2fa3 Merge pull request #1100 from shlinkio/dependabot/npm_and_yarn/date-fns-3.5.0
Bump date-fns from 3.3.1 to 3.5.0
2024-03-16 12:10:50 +01:00
Alejandro Celaya
6f098dd198 Merge pull request #1095 from shlinkio/dependabot/npm_and_yarn/vite-283c76df45
Bump the vite group with 1 update
2024-03-16 12:10:24 +01:00
Alejandro Celaya
0a037cb040 Merge pull request #1097 from shlinkio/dependabot/npm_and_yarn/adm-zip-0.5.12
Bump adm-zip from 0.5.10 to 0.5.12
2024-03-16 12:10:13 +01:00
dependabot[bot]
96b0956baf Bump date-fns from 3.3.1 to 3.5.0
Bumps [date-fns](https://github.com/date-fns/date-fns) from 3.3.1 to 3.5.0.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/main/CHANGELOG.md)
- [Commits](https://github.com/date-fns/date-fns/compare/v3.3.1...v3.5.0)

---
updated-dependencies:
- dependency-name: date-fns
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-16 11:09:09 +00:00
dependabot[bot]
487d466b13 Bump adm-zip from 0.5.10 to 0.5.12
Bumps [adm-zip](https://github.com/cthackers/adm-zip) from 0.5.10 to 0.5.12.
- [Release notes](https://github.com/cthackers/adm-zip/releases)
- [Changelog](https://github.com/cthackers/adm-zip/blob/master/history.md)
- [Commits](https://github.com/cthackers/adm-zip/compare/v0.5.10...v0.5.12)

---
updated-dependencies:
- dependency-name: adm-zip
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-16 11:08:35 +00:00
dependabot[bot]
9a390c7850 Bump the vite group with 1 update
Bumps the vite group with 1 update: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).


Updates `vite` from 5.1.5 to 5.1.6
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.1.6/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: vite
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-16 11:08:31 +00:00
Alejandro Celaya
fda1a00f21 Merge pull request #1094 from shlinkio/dependabot/npm_and_yarn/types-b1564c53c0
Bump the types group with 2 updates
2024-03-16 12:08:11 +01:00
Alejandro Celaya
f8c62bb9b5 Merge pull request #1096 from shlinkio/dependabot/npm_and_yarn/vitest-967dec0f79
Bump the vitest group with 2 updates
2024-03-16 12:08:00 +01:00
Alejandro Celaya
c32cbb4b48 Merge pull request #1098 from shlinkio/dependabot/npm_and_yarn/vite-plugin-pwa-0.19.4
Bump vite-plugin-pwa from 0.19.2 to 0.19.4
2024-03-16 12:07:52 +01:00
Alejandro Celaya
7dbe85b417 Merge pull request #1099 from shlinkio/dependabot/npm_and_yarn/sass-1.72.0
Bump sass from 1.71.1 to 1.72.0
2024-03-16 12:07:44 +01:00
dependabot[bot]
6cf64fb008 Bump sass from 1.71.1 to 1.72.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.71.1 to 1.72.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.71.1...1.72.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-16 08:41:09 +00:00
dependabot[bot]
c11cd31cfd Bump vite-plugin-pwa from 0.19.2 to 0.19.4
Bumps [vite-plugin-pwa](https://github.com/vite-pwa/vite-plugin-pwa) from 0.19.2 to 0.19.4.
- [Release notes](https://github.com/vite-pwa/vite-plugin-pwa/releases)
- [Commits](https://github.com/vite-pwa/vite-plugin-pwa/compare/v0.19.2...v0.19.4)

---
updated-dependencies:
- dependency-name: vite-plugin-pwa
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-16 08:40:51 +00:00
dependabot[bot]
fe33648f92 Bump the vitest group with 2 updates
Bumps the vitest group with 2 updates: [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) and [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest).


Updates `@vitest/coverage-v8` from 1.3.1 to 1.4.0
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v1.4.0/packages/coverage-v8)

Updates `vitest` from 1.3.1 to 1.4.0
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v1.4.0/packages/vitest)

---
updated-dependencies:
- dependency-name: "@vitest/coverage-v8"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: vitest
- dependency-name: vitest
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: vitest
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-16 08:40:32 +00:00
dependabot[bot]
58558f0437 Bump the types group with 2 updates
Bumps the types group with 2 updates: [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) and [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom).


Updates `@types/react` from 18.2.64 to 18.2.66
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `@types/react-dom` from 18.2.21 to 18.2.22
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: types
- dependency-name: "@types/react-dom"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: types
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-16 08:39:50 +00:00
Alejandro Celaya
5d4dd8fde0 Update Bug template 2024-03-12 09:03:03 +01:00
Alejandro Celaya
eb897b567b Merge pull request #1088 from shlinkio/dependabot/npm_and_yarn/vite-17ed345f1d
Bump the vite group with 1 update
2024-03-09 14:11:01 +01:00
Alejandro Celaya
836d6ba7c0 Merge pull request #1091 from shlinkio/dependabot/docker/node-21.7-alpine
Bump node from 21.6-alpine to 21.7-alpine
2024-03-09 14:08:22 +01:00
dependabot[bot]
bc573b8552 Bump the vite group with 1 update
Bumps the vite group with 1 update: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).


Updates `vite` from 5.1.4 to 5.1.5
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.1.5/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: vite
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-09 13:07:33 +00:00
Alejandro Celaya
d261fff273 Merge pull request #1089 from shlinkio/dependabot/npm_and_yarn/typescript-5.4.2
Bump typescript from 5.3.3 to 5.4.2
2024-03-09 14:07:04 +01:00
Alejandro Celaya
f5c784c153 Merge pull request #1087 from shlinkio/dependabot/npm_and_yarn/types-69c036a91a
Bump the types group with 2 updates
2024-03-09 14:06:46 +01:00
Alejandro Celaya
1545cd6c2e Merge pull request #1090 from shlinkio/dependabot/npm_and_yarn/react-router-dom-6.22.3
Bump react-router-dom from 6.22.2 to 6.22.3
2024-03-09 14:06:23 +01:00
dependabot[bot]
fbf3669c23 Bump node from 21.6-alpine to 21.7-alpine
Bumps node from 21.6-alpine to 21.7-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-09 08:53:49 +00:00
dependabot[bot]
0b90a042b1 Bump react-router-dom from 6.22.2 to 6.22.3
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.22.2 to 6.22.3.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.22.3/packages/react-router-dom)

---
updated-dependencies:
- dependency-name: react-router-dom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-09 08:16:18 +00:00
dependabot[bot]
45e49eca55 Bump typescript from 5.3.3 to 5.4.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.3.3 to 5.4.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.3.3...v5.4.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-09 08:16:06 +00:00
dependabot[bot]
0c7da43cbb Bump the types group with 2 updates
Bumps the types group with 2 updates: [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) and [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom).


Updates `@types/react` from 18.2.61 to 18.2.64
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `@types/react-dom` from 18.2.19 to 18.2.21
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: types
- dependency-name: "@types/react-dom"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: types
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-09 08:15:25 +00:00
Alejandro Celaya
e47dcb30b5 Merge pull request #1080 from shlinkio/dependabot/npm_and_yarn/types-1f9d2ad611
Bump the types group with 1 update
2024-03-02 11:29:23 +01:00
dependabot[bot]
9ac88a7fd7 Bump the types group with 1 update
Bumps the types group with 1 update: [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react).


Updates `@types/react` from 18.2.58 to 18.2.61
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: types
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-02 09:16:26 +00:00
Alejandro Celaya
f6baa7169d Merge pull request #1081 from shlinkio/dependabot/npm_and_yarn/vite-plugin-pwa-0.19.2
Bump vite-plugin-pwa from 0.19.0 to 0.19.2
2024-03-02 10:15:48 +01:00
Alejandro Celaya
675235f37e Merge pull request #1082 from shlinkio/dependabot/npm_and_yarn/react-router-dom-6.22.2
Bump react-router-dom from 6.22.1 to 6.22.2
2024-03-02 10:15:40 +01:00
Alejandro Celaya
0dc645b7b7 Merge pull request #1083 from shlinkio/dependabot/npm_and_yarn/total-typescript/shoehorn-0.1.2
Bump @total-typescript/shoehorn from 0.1.1 to 0.1.2
2024-03-02 10:15:29 +01:00
dependabot[bot]
64f5b9adf0 Bump @total-typescript/shoehorn from 0.1.1 to 0.1.2
Bumps [@total-typescript/shoehorn](https://github.com/total-typescript/shoehorn) from 0.1.1 to 0.1.2.
- [Release notes](https://github.com/total-typescript/shoehorn/releases)
- [Changelog](https://github.com/total-typescript/shoehorn/blob/main/CHANGELOG.md)
- [Commits](https://github.com/total-typescript/shoehorn/commits)

---
updated-dependencies:
- dependency-name: "@total-typescript/shoehorn"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-02 08:50:44 +00:00
dependabot[bot]
e03036ddbe Bump react-router-dom from 6.22.1 to 6.22.2
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.22.1 to 6.22.2.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.22.2/packages/react-router-dom)

---
updated-dependencies:
- dependency-name: react-router-dom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-02 08:50:29 +00:00
dependabot[bot]
d794c2150b Bump vite-plugin-pwa from 0.19.0 to 0.19.2
Bumps [vite-plugin-pwa](https://github.com/vite-pwa/vite-plugin-pwa) from 0.19.0 to 0.19.2.
- [Release notes](https://github.com/vite-pwa/vite-plugin-pwa/releases)
- [Commits](https://github.com/vite-pwa/vite-plugin-pwa/compare/v0.19.0...v0.19.2)

---
updated-dependencies:
- dependency-name: vite-plugin-pwa
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-02 08:49:57 +00:00
Alejandro Celaya
40db7b5ef4 Merge pull request #1077 from shlinkio/dependabot/npm_and_yarn/vite-plugin-pwa-0.19.0
Bump vite-plugin-pwa from 0.18.2 to 0.19.0
2024-02-24 10:57:04 +01:00
Alejandro Celaya
229fb03a9f Merge pull request #1076 from shlinkio/dependabot/npm_and_yarn/eslint-8.57.0
Bump eslint from 8.56.0 to 8.57.0
2024-02-24 10:56:57 +01:00
Alejandro Celaya
435a993ff0 Merge pull request #1072 from storrington/patch-1
Update README.md
2024-02-24 10:53:06 +01:00
dependabot[bot]
599e8e5256 Bump vite-plugin-pwa from 0.18.2 to 0.19.0
Bumps [vite-plugin-pwa](https://github.com/vite-pwa/vite-plugin-pwa) from 0.18.2 to 0.19.0.
- [Release notes](https://github.com/vite-pwa/vite-plugin-pwa/releases)
- [Commits](https://github.com/vite-pwa/vite-plugin-pwa/compare/v0.18.2...v0.19.0)

---
updated-dependencies:
- dependency-name: vite-plugin-pwa
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-24 09:51:19 +00:00
dependabot[bot]
11fb2f9db0 Bump eslint from 8.56.0 to 8.57.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.56.0 to 8.57.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.56.0...v8.57.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-24 09:51:11 +00:00
Alejandro Celaya
c4f0b82091 Merge pull request #1075 from shlinkio/dependabot/npm_and_yarn/vitest-962187cd9b
Bump the vitest group with 2 updates
2024-02-24 10:50:56 +01:00
Alejandro Celaya
19c00fd13e Merge pull request #1074 from shlinkio/dependabot/npm_and_yarn/vite-6b8ae8c3e2
Bump the vite group with 1 update
2024-02-24 10:50:40 +01:00
Alejandro Celaya
8427fd306e Merge pull request #1073 from shlinkio/dependabot/npm_and_yarn/types-4175361a06
Bump the types group with 1 update
2024-02-24 10:50:20 +01:00
Alejandro Celaya
83e490ae9c Merge pull request #1078 from shlinkio/dependabot/npm_and_yarn/sass-1.71.1
Bump sass from 1.71.0 to 1.71.1
2024-02-24 10:49:57 +01:00
dependabot[bot]
fe86a4e3cf Bump sass from 1.71.0 to 1.71.1
Bumps [sass](https://github.com/sass/dart-sass) from 1.71.0 to 1.71.1.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.71.0...1.71.1)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-24 08:27:45 +00:00
dependabot[bot]
76bf520026 Bump the vitest group with 2 updates
Bumps the vitest group with 2 updates: [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) and [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest).


Updates `@vitest/coverage-v8` from 1.3.0 to 1.3.1
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v1.3.1/packages/coverage-v8)

Updates `vitest` from 1.3.0 to 1.3.1
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v1.3.1/packages/vitest)

---
updated-dependencies:
- dependency-name: "@vitest/coverage-v8"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: vitest
- dependency-name: vitest
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: vitest
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-24 08:27:06 +00:00
dependabot[bot]
4a3786f3b7 Bump the vite group with 1 update
Bumps the vite group with 1 update: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).


Updates `vite` from 5.1.3 to 5.1.4
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.1.4/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: vite
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-24 08:26:45 +00:00
dependabot[bot]
11a5e9e724 Bump the types group with 1 update
Bumps the types group with 1 update: [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react).


Updates `@types/react` from 18.2.56 to 18.2.58
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: types
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-24 08:26:25 +00:00
Stephen Torrington
a8c798bf46 Update README.md
Should be port 8080 that it links to in the container.
2024-02-22 12:17:05 +00:00
Stephen Torrington
6acaf260e7 Update README.md
Should be port 8080 that it links to in the container.
2024-02-22 12:11:04 +00:00
Alejandro Celaya
3f60a5074a Merge pull request #1065 from shlinkio/dependabot/npm_and_yarn/vite-9935f34787
Bump the vite group with 1 update
2024-02-17 14:04:24 +01:00
Alejandro Celaya
f99b6a1d2a Merge pull request #1069 from shlinkio/dependabot/npm_and_yarn/reduxjs/toolkit-2.2.1
Bump @reduxjs/toolkit from 2.1.0 to 2.2.1
2024-02-17 14:04:16 +01:00
dependabot[bot]
6f4783b663 Bump @reduxjs/toolkit from 2.1.0 to 2.2.1
Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) from 2.1.0 to 2.2.1.
- [Release notes](https://github.com/reduxjs/redux-toolkit/releases)
- [Commits](https://github.com/reduxjs/redux-toolkit/compare/v2.1.0...v2.2.1)

---
updated-dependencies:
- dependency-name: "@reduxjs/toolkit"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-17 12:58:37 +00:00
dependabot[bot]
2d154ecb63 Bump the vite group with 1 update
Bumps the vite group with 1 update: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).


Updates `vite` from 5.1.1 to 5.1.3
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.1.3/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: vite
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-17 12:58:29 +00:00
Alejandro Celaya
285146a87f Merge pull request #1064 from shlinkio/dependabot/npm_and_yarn/types-c39ba2c969
Bump the types group with 1 update
2024-02-17 13:58:09 +01:00
Alejandro Celaya
62906b8cf9 Merge pull request #1066 from shlinkio/dependabot/npm_and_yarn/vitest-16fc268382
Bump the vitest group with 2 updates
2024-02-17 13:57:55 +01:00
Alejandro Celaya
3b8a2452cb Merge pull request #1067 from shlinkio/dependabot/npm_and_yarn/json2csv/plainjs-7.0.6
Bump @json2csv/plainjs from 7.0.5 to 7.0.6
2024-02-17 13:57:43 +01:00
Alejandro Celaya
da1290ae69 Merge pull request #1068 from shlinkio/dependabot/npm_and_yarn/react-router-dom-6.22.1
Bump react-router-dom from 6.22.0 to 6.22.1
2024-02-17 13:57:35 +01:00
Alejandro Celaya
b3182c1a5a Merge pull request #1070 from shlinkio/dependabot/npm_and_yarn/sass-1.71.0
Bump sass from 1.70.0 to 1.71.0
2024-02-17 13:57:28 +01:00
Alejandro Celaya
2f262c4f4f Merge pull request #1071 from shlinkio/dependabot/npm_and_yarn/vite-plugin-pwa-0.18.2
Bump vite-plugin-pwa from 0.17.5 to 0.18.2
2024-02-17 13:57:21 +01:00
dependabot[bot]
a47977b2f4 Bump vite-plugin-pwa from 0.17.5 to 0.18.2
Bumps [vite-plugin-pwa](https://github.com/vite-pwa/vite-plugin-pwa) from 0.17.5 to 0.18.2.
- [Release notes](https://github.com/vite-pwa/vite-plugin-pwa/releases)
- [Commits](https://github.com/vite-pwa/vite-plugin-pwa/compare/v0.17.5...v0.18.2)

---
updated-dependencies:
- dependency-name: vite-plugin-pwa
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-17 08:54:05 +00:00
dependabot[bot]
5d93fbe942 Bump sass from 1.70.0 to 1.71.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.70.0 to 1.71.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.70.0...1.71.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-17 08:53:53 +00:00
dependabot[bot]
9ae0ede2b5 Bump react-router-dom from 6.22.0 to 6.22.1
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.22.0 to 6.22.1.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/react-router-dom@6.22.1/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.22.1/packages/react-router-dom)

---
updated-dependencies:
- dependency-name: react-router-dom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-17 08:53:30 +00:00
dependabot[bot]
553095c7dc Bump @json2csv/plainjs from 7.0.5 to 7.0.6
Bumps [@json2csv/plainjs](https://github.com/juanjoDiaz/json2csv) from 7.0.5 to 7.0.6.
- [Release notes](https://github.com/juanjoDiaz/json2csv/releases)
- [Changelog](https://github.com/juanjoDiaz/json2csv/blob/main/CHANGELOG.md)
- [Commits](https://github.com/juanjoDiaz/json2csv/compare/v7.0.5...v7.0.6)

---
updated-dependencies:
- dependency-name: "@json2csv/plainjs"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-17 08:53:11 +00:00
dependabot[bot]
e465486486 Bump the vitest group with 2 updates
Bumps the vitest group with 2 updates: [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) and [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest).


Updates `@vitest/coverage-v8` from 1.2.2 to 1.3.0
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v1.3.0/packages/coverage-v8)

Updates `vitest` from 1.2.2 to 1.3.0
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v1.3.0/packages/vitest)

---
updated-dependencies:
- dependency-name: "@vitest/coverage-v8"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: vitest
- dependency-name: vitest
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: vitest
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-17 08:52:59 +00:00
dependabot[bot]
bc66db0caf Bump the types group with 1 update
Bumps the types group with 1 update: [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react).


Updates `@types/react` from 18.2.55 to 18.2.56
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: types
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-17 08:52:20 +00:00
Alejandro Celaya
95b8c9f016 Merge pull request #1059 from shlinkio/dependabot/npm_and_yarn/types-63a1ebd5ed
Bump the types group with 2 updates
2024-02-10 10:18:08 +01:00
Alejandro Celaya
cbd3d50263 Merge pull request #1060 from shlinkio/dependabot/npm_and_yarn/testing-13cf5ccc27
Bump the testing group with 1 update
2024-02-10 10:18:00 +01:00
Alejandro Celaya
c5cf0a3930 Merge pull request #1061 from shlinkio/dependabot/npm_and_yarn/vite-4a22c5162a
Bump the vite group with 1 update
2024-02-10 10:17:53 +01:00
Alejandro Celaya
ebe0ac9ce2 Merge pull request #1062 from shlinkio/dependabot/npm_and_yarn/axe-core-4.8.4
Bump axe-core from 4.8.3 to 4.8.4
2024-02-10 10:17:44 +01:00
dependabot[bot]
d0fe6d840d Bump axe-core from 4.8.3 to 4.8.4
Bumps [axe-core](https://github.com/dequelabs/axe-core) from 4.8.3 to 4.8.4.
- [Release notes](https://github.com/dequelabs/axe-core/releases)
- [Changelog](https://github.com/dequelabs/axe-core/blob/v4.8.4/CHANGELOG.md)
- [Commits](https://github.com/dequelabs/axe-core/compare/v4.8.3...v4.8.4)

---
updated-dependencies:
- dependency-name: axe-core
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-10 08:38:53 +00:00
dependabot[bot]
a92b428c3b Bump the vite group with 1 update
Bumps the vite group with 1 update: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).


Updates `vite` from 5.0.12 to 5.1.1
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.1.1/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: vite
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-10 08:38:25 +00:00
dependabot[bot]
23ea2bfa33 Bump the testing group with 1 update
Bumps the testing group with 1 update: [@testing-library/jest-dom](https://github.com/testing-library/jest-dom).


Updates `@testing-library/jest-dom` from 6.4.1 to 6.4.2
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.4.1...v6.4.2)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: testing
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-10 08:38:09 +00:00
dependabot[bot]
f67d5ae16f Bump the types group with 2 updates
Bumps the types group with 2 updates: [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) and [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom).


Updates `@types/react` from 18.2.52 to 18.2.55
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `@types/react-dom` from 18.2.18 to 18.2.19
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: types
- dependency-name: "@types/react-dom"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: types
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-10 08:37:53 +00:00
Alejandro Celaya
cdc5593617 Merge pull request #1054 from shlinkio/dependabot/npm_and_yarn/types-2ec473e36a
Bump the types group with 1 update
2024-02-03 15:48:19 +01:00
Alejandro Celaya
178973dee2 Merge pull request #1055 from shlinkio/dependabot/npm_and_yarn/testing-5449cf5d3e
Bump the testing group with 2 updates
2024-02-03 15:48:08 +01:00
Alejandro Celaya
e78fbdefdd Merge pull request #1056 from shlinkio/dependabot/npm_and_yarn/react-router-dom-6.22.0
Bump react-router-dom from 6.21.3 to 6.22.0
2024-02-03 15:47:59 +01:00
dependabot[bot]
20a0cfb01f Bump react-router-dom from 6.21.3 to 6.22.0
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.21.3 to 6.22.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.22.0/packages/react-router-dom)

---
updated-dependencies:
- dependency-name: react-router-dom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-03 08:39:23 +00:00
dependabot[bot]
083b603c2b Bump the testing group with 2 updates
Bumps the testing group with 2 updates: [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) and [@testing-library/react](https://github.com/testing-library/react-testing-library).


Updates `@testing-library/jest-dom` from 6.3.0 to 6.4.1
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.3.0...v6.4.1)

Updates `@testing-library/react` from 14.1.2 to 14.2.1
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v14.1.2...v14.2.1)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: testing
- dependency-name: "@testing-library/react"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: testing
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-03 08:38:49 +00:00
dependabot[bot]
2bcb5b1618 Bump the types group with 1 update
Bumps the types group with 1 update: [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react).


Updates `@types/react` from 18.2.48 to 18.2.52
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: types
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-03 08:37:51 +00:00
9 changed files with 981 additions and 603 deletions

View File

@@ -34,5 +34,10 @@ body:
validations:
required: true
attributes:
label: How to reproduce
value: '<!-- Provide steps to reproduce the bug. -->'
label: Minimum steps to reproduce
value: |
<!--
Emphasis in MINIMUM: What is the simplest way to reproduce the bug?
Avoid things like "Create a kubernetes cluster", or anything related with cloud providers, as that is rarely the root cause and the bug may be closed as "not reproducible".
If you can provide a simple docker compose config, that's even better.
-->

View File

@@ -4,6 +4,27 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org).
## [4.1.0] - 2024-03-17
### Added
* [#1079](https://github.com/shlinkio/shlink-web-client/issues/1079) Add support Shlink 4.0.0.
* [shlink-web-component#271](https://github.com/shlinkio/shlink-web-component/issues/271) Add support for redirect rules when consuming Shlink 4.0.0.
Now, if the server supports it, there will be a new item for every short URL dropdown, which will take you to a page where it will be possible to edit that short URL's redirect rules.
### Changed
* [shlink-web-component#249](https://github.com/shlinkio/shlink-web-component/issues/249) Replace `react-datepicker` with native `input[type="date"]` and `input[type="datetime-local"]` elements.
* Update dependencies.
### Deprecated
* *Nothing*
### Removed
* [shlink-web-component#276](https://github.com/shlinkio/shlink-web-component/issues/276) Drop support for Shlink older than 3.3.0
### Fixed
* [#1084](https://github.com/shlinkio/shlink-web-client/issues/1084) Fix broken server dropdown menu when auto-connect is enabled.
## [4.0.1] - 2024-02-01
### Added
* *Nothing*

View File

@@ -1,4 +1,4 @@
FROM node:21.6-alpine as node
FROM node:21.7-alpine as node
COPY . /shlink-web-client
ARG VERSION="latest"
ENV VERSION ${VERSION}

View File

@@ -75,7 +75,7 @@ If you are using the shlink-web-client docker image, you can mount the `servers.
Alternatively, you can mount a `conf.d` directory, which in turn contains the `servers.json` file, in a volume inside `/usr/share/nginx/html`. *(since shlink-web-client 3.2.0)*.
docker run --name shlink-web-client -p 8000:80 -v ${PWD}/my-config/:/usr/share/nginx/html/conf.d/ shlinkio/shlink-web-client
docker run --name shlink-web-client -p 8000:8080 -v ${PWD}/my-config/:/usr/share/nginx/html/conf.d/ shlinkio/shlink-web-client
If you want to pre-configure a single server, you can provide its config via env vars. When the container starts up, it will build the `servers.json` file dynamically based on them. *(since shlink-web-client 3.2.0)*.
@@ -86,7 +86,7 @@ If you want to pre-configure a single server, you can provide its config via env
```shell
docker run \
--name shlink-web-client \
-p 8000:80 \
-p 8000:8080 \
-e SHLINK_SERVER_URL=https://s.test \
-e SHLINK_SERVER_API_KEY=6aeb82c6-e275-4538-a747-31f9abfba63c \
shlinkio/shlink-web-client

1214
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -30,23 +30,23 @@
"@fortawesome/free-regular-svg-icons": "^6.5.1",
"@fortawesome/free-solid-svg-icons": "^6.5.1",
"@fortawesome/react-fontawesome": "^0.2.0",
"@json2csv/plainjs": "^7.0.5",
"@reduxjs/toolkit": "^2.1.0",
"@json2csv/plainjs": "^7.0.6",
"@reduxjs/toolkit": "^2.2.1",
"@shlinkio/data-manipulation": "^1.0.3",
"@shlinkio/shlink-frontend-kit": "^0.4.2",
"@shlinkio/shlink-js-sdk": "^0.2.2",
"@shlinkio/shlink-web-component": "^0.5.0",
"@shlinkio/shlink-frontend-kit": "^0.5.0",
"@shlinkio/shlink-js-sdk": "^1.0.0",
"@shlinkio/shlink-web-component": "^0.6.0",
"bootstrap": "5.2.3",
"bottlejs": "^2.0.1",
"clsx": "^2.1.0",
"compare-versions": "^6.1.0",
"csvtojson": "^2.0.10",
"date-fns": "^3.3.1",
"date-fns": "^3.5.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-external-link": "^2.2.0",
"react-redux": "^9.1.0",
"react-router-dom": "^6.21.3",
"react-router-dom": "^6.22.3",
"reactstrap": "^9.2.2",
"redux-localstorage-simple": "^2.5.1",
"uuid": "^9.0.1",
@@ -59,26 +59,26 @@
"devDependencies": {
"@shlinkio/eslint-config-js-coding-standard": "~2.3.0",
"@shlinkio/stylelint-config-css-coding-standard": "~1.1.1",
"@testing-library/jest-dom": "^6.3.0",
"@testing-library/react": "^14.1.2",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@testing-library/user-event": "^14.5.2",
"@total-typescript/shoehorn": "^0.1.1",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@total-typescript/shoehorn": "^0.1.2",
"@types/react": "^18.2.66",
"@types/react-dom": "^18.2.22",
"@types/uuid": "^9.0.8",
"@vitejs/plugin-react": "^4.2.1",
"@vitest/coverage-v8": "^1.2.2",
"adm-zip": "^0.5.10",
"axe-core": "^4.8.3",
"@vitest/coverage-v8": "^1.4.0",
"adm-zip": "^0.5.12",
"axe-core": "^4.8.4",
"chalk": "^5.3.0",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"history": "^5.3.0",
"jsdom": "^24.0.0",
"sass": "^1.70.0",
"sass": "^1.72.0",
"stylelint": "^15.11.0",
"typescript": "^5.3.3",
"vite": "^5.0.12",
"vite-plugin-pwa": "^0.17.5",
"typescript": "^5.4.2",
"vite": "^5.1.6",
"vite-plugin-pwa": "^0.19.4",
"vitest": "^1.2.2"
},
"browserslist": [

View File

@@ -37,7 +37,7 @@ const ManageServersRowDropdown: FCWithDeps<ManageServersRowDropdownConnectProps,
const autoConnectIcon = isAutoConnect ? toggleOffIcon : toggleOnIcon;
return (
<RowDropdownBtn minWidth={170}>
<RowDropdownBtn minWidth={isAutoConnect ? 210 : 170}>
<DropdownItem tag={Link} to={serverUrl}>
<FontAwesomeIcon icon={connectIcon} fixedWidth /> Connect
</DropdownItem>

View File

@@ -67,4 +67,9 @@ describe('<ManageServersRowDropdown />', () => {
expect(screen.getByText('DeleteServerModal [OPEN]')).toBeInTheDocument();
expect(screen.queryByText('DeleteServerModal [CLOSED]')).not.toBeInTheDocument();
});
it.each([[true], [false]])('renders expected size and icon', (autoConnect) => {
const { container } = setUp(autoConnect);
expect(container).toMatchSnapshot();
});
});

View File

@@ -0,0 +1,287 @@
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`<ManageServersRowDropdown /> > renders expected size and icon 1`] = `
<div>
<div
class="dropdown"
>
<button
aria-expanded="false"
aria-haspopup="true"
aria-label="Options"
class="dropdown-btn__toggle btn btn-primary btn-sm"
type="button"
>
<svg
aria-hidden="true"
class="svg-inline--fa fa-ellipsis-vertical px-1"
data-icon="ellipsis-vertical"
data-prefix="fas"
focusable="false"
role="img"
viewBox="0 0 128 512"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M64 360a56 56 0 1 0 0 112 56 56 0 1 0 0-112zm0-160a56 56 0 1 0 0 112 56 56 0 1 0 0-112zM120 96A56 56 0 1 0 8 96a56 56 0 1 0 112 0z"
fill="currentColor"
/>
</svg>
</button>
<div
aria-hidden="true"
class="w-100 dropdown-menu dropdown-menu-end"
data-bs-popper="static"
role="menu"
style="min-width: 210px;"
tabindex="-1"
>
<a
class="dropdown-item"
href="/server/abc123"
role="menuitem"
tabindex="0"
>
<svg
aria-hidden="true"
class="svg-inline--fa fa-plug fa-fw "
data-icon="plug"
data-prefix="fas"
focusable="false"
role="img"
viewBox="0 0 384 512"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M96 0C78.3 0 64 14.3 64 32v96h64V32c0-17.7-14.3-32-32-32zM288 0c-17.7 0-32 14.3-32 32v96h64V32c0-17.7-14.3-32-32-32zM32 160c-17.7 0-32 14.3-32 32s14.3 32 32 32v32c0 77.4 55 142 128 156.8V480c0 17.7 14.3 32 32 32s32-14.3 32-32V412.8C297 398 352 333.4 352 256V224c17.7 0 32-14.3 32-32s-14.3-32-32-32H32z"
fill="currentColor"
/>
</svg>
Connect
</a>
<a
class="dropdown-item"
href="/server/abc123/edit"
role="menuitem"
tabindex="0"
>
<svg
aria-hidden="true"
class="svg-inline--fa fa-pen-to-square fa-fw "
data-icon="pen-to-square"
data-prefix="fas"
focusable="false"
role="img"
viewBox="0 0 512 512"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0L362.3 51.7l97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7zm-299.2 220c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5L437.7 172.3 339.7 74.3 172.4 241.7zM96 64C43 64 0 107 0 160V416c0 53 43 96 96 96H352c53 0 96-43 96-96V320c0-17.7-14.3-32-32-32s-32 14.3-32 32v96c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H96z"
fill="currentColor"
/>
</svg>
Edit server
</a>
<button
class="dropdown-item"
role="menuitem"
tabindex="0"
type="button"
>
<svg
aria-hidden="true"
class="svg-inline--fa fa-ban fa-fw "
data-icon="ban"
data-prefix="fas"
focusable="false"
role="img"
viewBox="0 0 512 512"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M367.2 412.5L99.5 144.8C77.1 176.1 64 214.5 64 256c0 106 86 192 192 192c41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3C434.9 335.9 448 297.5 448 256c0-106-86-192-192-192c-41.5 0-79.9 13.1-111.2 35.5L412.5 367.2zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"
fill="currentColor"
/>
</svg>
Do not a
uto-connect
</button>
<hr
class="dropdown-divider"
tabindex="-1"
/>
<button
class="dropdown-item--danger dropdown-item"
role="menuitem"
tabindex="0"
type="button"
>
<svg
aria-hidden="true"
class="svg-inline--fa fa-circle-minus fa-fw "
data-icon="circle-minus"
data-prefix="fas"
focusable="false"
role="img"
viewBox="0 0 512 512"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM184 232H328c13.3 0 24 10.7 24 24s-10.7 24-24 24H184c-13.3 0-24-10.7-24-24s10.7-24 24-24z"
fill="currentColor"
/>
</svg>
Remove server
</button>
<span>
DeleteServerModal
[CLOSED]
</span>
</div>
</div>
</div>
`;
exports[`<ManageServersRowDropdown /> > renders expected size and icon 2`] = `
<div>
<div
class="dropdown"
>
<button
aria-expanded="false"
aria-haspopup="true"
aria-label="Options"
class="dropdown-btn__toggle btn btn-primary btn-sm"
type="button"
>
<svg
aria-hidden="true"
class="svg-inline--fa fa-ellipsis-vertical px-1"
data-icon="ellipsis-vertical"
data-prefix="fas"
focusable="false"
role="img"
viewBox="0 0 128 512"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M64 360a56 56 0 1 0 0 112 56 56 0 1 0 0-112zm0-160a56 56 0 1 0 0 112 56 56 0 1 0 0-112zM120 96A56 56 0 1 0 8 96a56 56 0 1 0 112 0z"
fill="currentColor"
/>
</svg>
</button>
<div
aria-hidden="true"
class="w-100 dropdown-menu dropdown-menu-end"
data-bs-popper="static"
role="menu"
style="min-width: 170px;"
tabindex="-1"
>
<a
class="dropdown-item"
href="/server/abc123"
role="menuitem"
tabindex="0"
>
<svg
aria-hidden="true"
class="svg-inline--fa fa-plug fa-fw "
data-icon="plug"
data-prefix="fas"
focusable="false"
role="img"
viewBox="0 0 384 512"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M96 0C78.3 0 64 14.3 64 32v96h64V32c0-17.7-14.3-32-32-32zM288 0c-17.7 0-32 14.3-32 32v96h64V32c0-17.7-14.3-32-32-32zM32 160c-17.7 0-32 14.3-32 32s14.3 32 32 32v32c0 77.4 55 142 128 156.8V480c0 17.7 14.3 32 32 32s32-14.3 32-32V412.8C297 398 352 333.4 352 256V224c17.7 0 32-14.3 32-32s-14.3-32-32-32H32z"
fill="currentColor"
/>
</svg>
Connect
</a>
<a
class="dropdown-item"
href="/server/abc123/edit"
role="menuitem"
tabindex="0"
>
<svg
aria-hidden="true"
class="svg-inline--fa fa-pen-to-square fa-fw "
data-icon="pen-to-square"
data-prefix="fas"
focusable="false"
role="img"
viewBox="0 0 512 512"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0L362.3 51.7l97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7zm-299.2 220c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5L437.7 172.3 339.7 74.3 172.4 241.7zM96 64C43 64 0 107 0 160V416c0 53 43 96 96 96H352c53 0 96-43 96-96V320c0-17.7-14.3-32-32-32s-32 14.3-32 32v96c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H96z"
fill="currentColor"
/>
</svg>
Edit server
</a>
<button
class="dropdown-item"
role="menuitem"
tabindex="0"
type="button"
>
<svg
aria-hidden="true"
class="svg-inline--fa fa-circle fa-fw "
data-icon="circle"
data-prefix="far"
focusable="false"
role="img"
viewBox="0 0 512 512"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"
fill="currentColor"
/>
</svg>
A
uto-connect
</button>
<hr
class="dropdown-divider"
tabindex="-1"
/>
<button
class="dropdown-item--danger dropdown-item"
role="menuitem"
tabindex="0"
type="button"
>
<svg
aria-hidden="true"
class="svg-inline--fa fa-circle-minus fa-fw "
data-icon="circle-minus"
data-prefix="fas"
focusable="false"
role="img"
viewBox="0 0 512 512"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM184 232H328c13.3 0 24 10.7 24 24s-10.7 24-24 24H184c-13.3 0-24-10.7-24-24s10.7-24 24-24z"
fill="currentColor"
/>
</svg>
Remove server
</button>
<span>
DeleteServerModal
[CLOSED]
</span>
</div>
</div>
</div>
`;