Compare commits

..

1 Commits

Author SHA1 Message Date
Elias Schneider
adf0f8d57e release: 0.16.0 2023-07-09 17:15:26 +02:00
7 changed files with 21 additions and 16 deletions

View File

@@ -1,3 +1,11 @@
## [0.16.0](https://github.com/stonith404/pingvin-share/compare/v0.15.0...v0.16.0) (2023-07-09)
### Features
* Adding more informations on My Shares page (table and modal) ([#174](https://github.com/stonith404/pingvin-share/issues/174)) ([1466240](https://github.com/stonith404/pingvin-share/commit/14662404614f15bc25384d924d8cb0458ab06cd8))
* Adding the possibility of copying the link by clicking text and icons ([#171](https://github.com/stonith404/pingvin-share/issues/171)) ([348852c](https://github.com/stonith404/pingvin-share/commit/348852cfa4275f5c642669b43697f83c35333044))
## [0.15.0](https://github.com/stonith404/pingvin-share/compare/v0.14.1...v0.15.0) (2023-05-09) ## [0.15.0](https://github.com/stonith404/pingvin-share/compare/v0.14.1...v0.15.0) (2023-05-09)

View File

@@ -1,12 +1,12 @@
{ {
"name": "pingvin-share-backend", "name": "pingvin-share-backend",
"version": "0.15.0", "version": "0.16.0",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "pingvin-share-backend", "name": "pingvin-share-backend",
"version": "0.15.0", "version": "0.16.0",
"dependencies": { "dependencies": {
"@nestjs/common": "^9.3.9", "@nestjs/common": "^9.3.9",
"@nestjs/config": "^2.3.1", "@nestjs/config": "^2.3.1",

View File

@@ -1,6 +1,6 @@
{ {
"name": "pingvin-share-backend", "name": "pingvin-share-backend",
"version": "0.15.0", "version": "0.16.0",
"scripts": { "scripts": {
"build": "nest build", "build": "nest build",
"dev": "cross-env NODE_ENV=development nest start --watch", "dev": "cross-env NODE_ENV=development nest start --watch",

View File

@@ -1,12 +1,12 @@
{ {
"name": "pingvin-share-frontend", "name": "pingvin-share-frontend",
"version": "0.15.0", "version": "0.16.0",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "pingvin-share-frontend", "name": "pingvin-share-frontend",
"version": "0.15.0", "version": "0.16.0",
"dependencies": { "dependencies": {
"@emotion/react": "^11.10.6", "@emotion/react": "^11.10.6",
"@emotion/server": "^11.10.0", "@emotion/server": "^11.10.0",

View File

@@ -1,6 +1,6 @@
{ {
"name": "pingvin-share-frontend", "name": "pingvin-share-frontend",
"version": "0.15.0", "version": "0.16.0",
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev",
"build": "next build", "build": "next build",

View File

@@ -1,7 +1,6 @@
import { import {
Accordion, Accordion,
ActionIcon, ActionIcon,
Anchor,
Box, Box,
Button, Button,
Center, Center,
@@ -35,8 +34,6 @@ const MyShares = () => {
const [reverseShares, setReverseShares] = useState<MyReverseShare[]>(); const [reverseShares, setReverseShares] = useState<MyReverseShare[]>();
const appUrl = config.get("general.appUrl");
const getReverseShares = () => { const getReverseShares = () => {
shareService shareService
.getMyReverseShares() .getMyReverseShares()
@@ -122,11 +119,9 @@ const MyShares = () => {
<Accordion.Panel> <Accordion.Panel>
{reverseShare.shares.map((share) => ( {reverseShare.shares.map((share) => (
<Group key={share.id} mb={4}> <Group key={share.id} mb={4}>
<Anchor href={`${appUrl}/share/${share.id}`}>
<Text maw={120} truncate> <Text maw={120} truncate>
{share.id} {share.id}
</Text> </Text>
</Anchor>
<ActionIcon <ActionIcon
color="victoria" color="victoria"
variant="light" variant="light"
@@ -134,7 +129,9 @@ const MyShares = () => {
onClick={() => { onClick={() => {
if (window.isSecureContext) { if (window.isSecureContext) {
clipboard.copy( clipboard.copy(
`${appUrl}/share/${share.id}` `${config.get(
"general.appUrl"
)}/share/${share.id}`
); );
toast.success( toast.success(
"The share link was copied to the keyboard." "The share link was copied to the keyboard."

View File

@@ -1,6 +1,6 @@
{ {
"name": "pingvin-share", "name": "pingvin-share",
"version": "0.15.0", "version": "0.16.0",
"scripts": { "scripts": {
"format": "cd frontend && npm run format && cd ../backend && npm run format", "format": "cd frontend && npm run format && cd ../backend && npm run format",
"lint": "cd frontend && npm run lint && cd ../backend && npm run lint", "lint": "cd frontend && npm run lint && cd ../backend && npm run lint",