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: Delete Device function #28

Merged
merged 6 commits into from
Aug 24, 2023
Merged

Conversation

fireblaze267
Copy link
Contributor

Hi! First time with this

Added

  • Button to delete devices
  • Delete device function
  • Modal to confirm delete
  • translations

* Added

- Button to delete devices
- Delete device function
- Modal to confirm delete
- translations
@willianrod willianrod linked an issue Aug 22, 2023 that may be closed by this pull request
@willianrod willianrod added the enhancement New feature or request label Aug 22, 2023
@willianrod
Copy link
Owner

@fireblaze267 Just a single comment, everything else seems great. I didn't have time to run it locally to verify the functionality yet, but I'll do it today

@fireblaze267
Copy link
Contributor Author

I uploaded a new version where I delete the pages and keys, thanks for the feedback

Copy link
Owner

@willianrod willianrod left a comment

Choose a reason for hiding this comment

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

Working fine, just some suggestions to make the code a little better

src/renderer/components/DeleteWarnModal/index.tsx Outdated Show resolved Hide resolved
src/renderer/components/DeleteWarnModal/index.tsx Outdated Show resolved Hide resolved
src/renderer/components/DeleteWarnModal/index.tsx Outdated Show resolved Hide resolved
src/renderer/i18n/locales/en-US/delete-warn.json Outdated Show resolved Hide resolved
src/renderer/i18n/locales/pt-BR/delete-warn.json Outdated Show resolved Hide resolved
- adding type in prop
- getting just the prop of the component
- translation fix
@fireblaze267
Copy link
Contributor Author

Thanks for the feedback, I've just uploaded a new version with the suggestions

Copy link
Owner

@willianrod willianrod left a comment

Choose a reason for hiding this comment

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

Just some details to fix but looking good

src/renderer/i18n/locales/en-US/index.ts Outdated Show resolved Hide resolved
src/renderer/i18n/locales/en-US/index.ts Outdated Show resolved Hide resolved
src/renderer/components/DeleteWarnModal/index.tsx Outdated Show resolved Hide resolved
@willianrod willianrod merged commit b9bc408 into willianrod:main Aug 24, 2023
@willianrod
Copy link
Owner

@fireblaze267 thanks for your contribution ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Delete device feature
2 participants