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

Functionality to download your user data #1560

Open
julianguyen opened this issue Sep 27, 2019 · 20 comments
Open

Functionality to download your user data #1560

julianguyen opened this issue Sep 27, 2019 · 20 comments

Comments

@julianguyen
Copy link
Member

julianguyen commented Sep 27, 2019

Description

We want to give users the option of being able to download their account data. Let's include a button on the Account page (when a user is signed in) that allows the user to download their data.

A good starting point is downloading the data in a CSV file. We'll want to give them the ability to download data regarding:

  • Their Moments, Categories, Moods, Medications, and Strategies (and any comments in them)
  • Information on groups (and corresponding meetings and comments) that are a leader of
  • Other than comments from allies in their posts, a user should not have access to another user's data

Please assign yourself (via the Assignees dropdown), if you do want to work on this issue. Can't find yourself? You need to join our organization.

Check out our Picking Up Issues guide if you haven't already!

@Acollie
Copy link

Acollie commented Oct 1, 2019

Hey a little new to Open source, but I have experience with rails
I would gladly help out with this! 😄

@Acollie Acollie self-assigned this Oct 3, 2019
@james947
Copy link

Hey @Acollie still working on this? I'd love to give it a try cc: @julianguyen

@Acollie
Copy link

Acollie commented Nov 16, 2019

I have mostly done with the task. I just got a little busy, to fully finish the task.
Left todo

  • there is currently a bug with the export I wrote, which I didn't have time to try and fix but it should be fairly simple to fix.
  • Write a Test for the data export
    I have a branch which has all the code I wrote called 'data_export'

@james947
Copy link

This is well noted @Acollie. Good work 👍

@julianguyen
Copy link
Member Author

How's this going @Acollie? :)

@Acollie
Copy link

Acollie commented Feb 26, 2020

Hey @julianguyen , I really appreciate you checking up on me :)
I reached a bug which found it hard to fix. I also found it hard to write tests, for the feature.

Would it be possible if you or someone could try and give me a hand, since I am keen to finish this feature.

@julianguyen
Copy link
Member Author

No worries and thanks for the update @Acollie! I can help take a look, do you have an existing branch? :)

@Acollie
Copy link

Acollie commented Feb 26, 2020

I do the, 'data_export' should have my version but its quite out of date with the main branch.
@julianguyen
Also I use Slack is that is easier :)

@julianguyen julianguyen self-assigned this May 12, 2020
@julianguyen
Copy link
Member Author

I have some bandwidth to help finish this, starting sometime this week.

@Acollie
Copy link

Acollie commented May 12, 2020

@julianguyen I would like to try to finish as well. DM me on Slack and we can try and finish this!

@julianguyen julianguyen removed their assignment May 12, 2020
@chethanagopinath chethanagopinath self-assigned this May 31, 2020
@akp2603
Copy link
Contributor

akp2603 commented Sep 29, 2020

Hi! I would be really interested to work on this one.
Is this still open?
(Will be needing a little guidance, this is going to be my first open source contribution)

@chethanagopinath
Copy link

chethanagopinath commented Sep 29, 2020

Hey @akp2603, I was a bit lost on this one for a while, and I've been meaning to work on this forever, but yea you can pick this up if you want! I'll unassign myself. Also, @Acollie had created a branch for his work. Check it out here.

@chethanagopinath chethanagopinath removed their assignment Sep 29, 2020
@akp2603
Copy link
Contributor

akp2603 commented Sep 29, 2020

hi @julianguyen! Can you assign me the issue and can we discuss this over slack once?

@ghost
Copy link

ghost commented Sep 29, 2020 via email

@ghost
Copy link

ghost commented Sep 29, 2020 via email

@julianguyen julianguyen assigned akp2603 and unassigned Acollie Sep 29, 2020
@julianguyen
Copy link
Member Author

@akp2603 Just did! FYI, for future reference, you can assign yourself to issues :)

So @Acollie started work on this but never got a chance to finish https://github.com/ifmeorg/ifme/tree/data_export

So I recommend working off of the progress so far!

@akp2603
Copy link
Contributor

akp2603 commented Sep 30, 2020

@julianguyen Not sure, if I can add myself. I am not a member of the organisation. So it's not showing me any option to assign myself. Maybe I am missing something.
Also, needed a little more clarity regarding the feature. Can we connect on slack(Just sent a mail to join.ifme)?

@julianguyen
Copy link
Member Author

Looks like you are and I assigned you to the issue!

Yeah definitely reach out to me on Slack :D

@akp2603 akp2603 mentioned this issue Oct 10, 2020
@julianguyen
Copy link
Member Author

Thanks to @akp2603 we have an API for downloading user data to CSV files. This is the PR for those changes.

The next step is building a button for this on the /account page.

@malachaifrazier
Copy link

@Schen1822 looks like this can be closed because PR #1900 is merged, yes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants