Oblivion-Inverse icon indicating copy to clipboard operation
Oblivion-Inverse copied to clipboard

Method to remove added entries from database

Open Dilshan-H opened this issue 2 years ago • 8 comments

Currently, users can't remove added tracking email entries within the front-end. Instead users have to access the database and delete records separately.

A 'cross' or 'bin' icon can be shown inside the cards as below. (within the 'tracking list' dashboard)

164166439-acf8f86a-9dbd-48f1-af14-a5d3e7828fde.png

When clicked, a confirmation prompt can be shown to the user. And then safely delete that record from the database and refresh the listing page.

Dilshan-H avatar Oct 15 '22 03:10 Dilshan-H

Hi @Dilshan-H, may I work on it?

Jaskaran2 avatar Oct 15 '22 06:10 Jaskaran2

Hi @Dilshan-H I would like to work on this project

YashPratap19 avatar Oct 15 '22 06:10 YashPratap19

Hi @Jaskaran2 👋 Sure! I'll assign it to you.

Dilshan-H avatar Oct 15 '22 06:10 Dilshan-H

Hi @Dilshan-H I would like to work on this project

@YashPratap19 I have assigned @Jaskaran2 for this issue. Feel free to find any bugs, issues or provide new features by opening a new issue 🤗

Dilshan-H avatar Oct 15 '22 06:10 Dilshan-H

Hi @Dilshan-H I would like to work on this project

@YashPratap19 I have assigned @Jaskaran2 for this issue. Feel free to find any bugs, issues or provide new features by opening a new issue 🤗

Thank you @Dilshan-H. I will try my best 😊.

Jaskaran2 avatar Oct 15 '22 07:10 Jaskaran2

Hi @Dilshan-H I would like to work on this project

@YashPratap19 I have assigned @Jaskaran2 for this issue. Feel free to find any bugs, issues or provide new features by opening a new issue 🤗

Sure, I've just completed school and hoping this project will be my first open source contribution 🤞

YashPratap19 avatar Oct 15 '22 07:10 YashPratap19

Hi @Jaskaran2 @Dilshan-H, I am new to flask and was doing changes locally(just for practice, I won't raise PR) and I had a doubt. While deleting the tracker from DB i also want to remove the hits from the link_hits table but doing so using a delete statement is throwing RecursionError: maximum recursion depth exceeded in __instancecheck__ are you also facing this issue? Maybe I am doing something wrong here. Below is the delete method that I have implemented: Screenshot 2022-10-15 at 3 01 53 PM

Tried StackOverflow and various stuff but still wasn't able to get what I am doing wrong so thought of asking you all in the channel. If you can help me out, I will really be grateful. Or you can tell me how you are planning on implementing this feature, it will really be a good learning opportunity for me.

saroshfarhan avatar Oct 15 '22 09:10 saroshfarhan

Hi @Jaskaran2 @Dilshan-H, I am new to flask and was doing changes locally(just for practice, I won't raise PR) and I had a doubt. While deleting the tracker from DB i also want to remove the hits from the link_hits table but doing so using a delete statement is throwing RecursionError: maximum recursion depth exceeded in __instancecheck__ are you also facing this issue? Maybe I am doing something wrong here. Below is the delete method that I have implemented: Screenshot 2022-10-15 at 3 01 53 PM

Tried StackOverflow and various stuff but still wasn't able to get what I am doing wrong so thought of asking you all in the channel. If you can help me out, I will really be grateful. Or you can tell me how you are planning on implementing this feature, it will really be a good learning opportunity for me.

Hi @saroshfarhan , I have used flask for the first time today 😅

Jaskaran2 avatar Oct 15 '22 11:10 Jaskaran2