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

Feat/share-button #168

Merged
merged 14 commits into from
Jul 31, 2023
Merged

Feat/share-button #168

merged 14 commits into from
Jul 31, 2023

Conversation

jandsonrj
Copy link
Member

@jandsonrj jandsonrj commented Jun 26, 2023

#105
Added support for sharing download links in 'user_products'. A new column has been introduced providing an option to share file links. When clicking on the "Share" icon, a pop-up opens, displaying a dialog box with the file download link and the option to copy it. When clicking "Copy", the link is saved in the clipboard and a success alert (Snackbar-Success) is displayed with the message "Link copied successfully".

In addition, a share icon (Share-icon) was added in' product' with the same previously mentioned functionality. Users can now share the download link in 'user_products' and 'product'.

Here there is a video to show the implementation above.


Adicionado suporte para compartilhar o link de download em 'user_products'. Agora, uma nova coluna foi introduzida, fornecendo a opção de compartilhar o link do arquivo. Ao clicar no ícone "Compartilhar", um pop-up é aberto, exibindo uma caixa de diálogo com o link de download do arquivo e a opção de copiá-lo. Ao clicar em "Copiar", o link é salvo na área de transferência e exibido um alerta de sucesso (Snackbar-Success) com a mensagem "Link copiado com sucesso".

Além disso, em 'product', também foi adicionado um ícone de compartilhar (Share-icon) com a mesma funcionalidade mencionada anteriormente. Agora os usuários podem compartilhar o link de download tanto em 'user_products' quanto em 'product'.

Aqui está um breve vídeo mostrando o funcionamento da implementação acima.

@jandsonrj jandsonrj added the new feature New feature or request label Jun 26, 2023
@jandsonrj jandsonrj self-assigned this Jun 26, 2023
@gschwend
Copy link
Member

Testing locally...
@glaubervila do you know why the build docker image test failed?
I can't open the page using the dev container from VS Code. Now trying to run docker-compose using a proper conda environment.

@glaubervila
Copy link
Contributor

@gschwend O build falhou por causa do lint, já passei para o @jandsonrj como resolver.
Sobre seu dev container não sei o que pode ser, acabei de fazer uma instalação nova e funcionou corretamente.
confere fora do vscode usando os comando do docker-compose up se vc não está tendo algum problema de permissão ou coisa do tipo.

@codecov
Copy link

codecov bot commented Jun 27, 2023

Codecov Report

Merging #168 (b2dc556) into main (e1b40a4) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #168   +/-   ##
=======================================
  Coverage   72.40%   72.40%           
=======================================
  Files          24       24           
  Lines         808      808           
=======================================
  Hits          585      585           
  Misses        223      223           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Member

@gschwend gschwend left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on localhost:

  • Dark mode: approved
  • Share button: approved

This was linked to issues Jul 6, 2023
@gschwend gschwend merged commit 9525d69 into main Jul 31, 2023
@gschwend gschwend deleted the feat/share-button branch July 31, 2023 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dark theme Add share button to download page
4 participants