papermark icon indicating copy to clipboard operation
papermark copied to clipboard

[đŸ•šī¸] Add the ability to archive a dataroom

Open mfts opened this issue 1 year ago â€ĸ 33 comments

What side quest or challenge are you solving?

From the dataroom settings, add the ability to archive a dataroom.

When a dataroom is archived:

  • all links to the dataroom should be disabled / archived as well
  • dataroom should be hidden from /datarooms overview
  • a dataroom can be reactivated from dataroom > settings

There should be a tab to select active and archived datarooms on the /datarooms overview to toggle between them.

Points

300 Points

Provide proof that you've completed the task

Open a PR with the code and explanation what you did to solve it. Add screenshot or video to visualize the changes

mfts avatar Oct 12 '24 05:10 mfts

/assign

RajuGangitla avatar Oct 12 '24 05:10 RajuGangitla

Assigned to @RajuGangitla! Please open a draft PR linking this issue within 48h âš ī¸ If we can't detect a PR from you linking this issue in 48h, you'll be unassigned automatically đŸ•šī¸ Excited to have you ship this 🚀

oss-gg[bot] avatar Oct 12 '24 05:10 oss-gg[bot]

/assign

Omvpatil avatar Oct 12 '24 08:10 Omvpatil

This issue is already assigned to another person. Please find more issues here.

oss-gg[bot] avatar Oct 12 '24 08:10 oss-gg[bot]

/assign

KSPanwar avatar Oct 12 '24 10:10 KSPanwar

Assigned to @KSPanwar! Please open a draft PR linking this issue within 48h âš ī¸ If we can't detect a PR from you linking this issue in 48h, you'll be unassigned automatically đŸ•šī¸ Excited to have you ship this 🚀

oss-gg[bot] avatar Oct 12 '24 10:10 oss-gg[bot]

/assign

sachinsiddhu112 avatar Oct 13 '24 09:10 sachinsiddhu112

Assigned to @sachinsiddhu112! Please open a draft PR linking this issue within 48h âš ī¸ If we can't detect a PR from you linking this issue in 48h, you'll be unassigned automatically đŸ•šī¸ Excited to have you ship this 🚀

oss-gg[bot] avatar Oct 13 '24 09:10 oss-gg[bot]

/unassign @sachinsiddhu112

sachinsiddhu112 avatar Oct 13 '24 10:10 sachinsiddhu112

/unassign

sachinsiddhu112 avatar Oct 13 '24 10:10 sachinsiddhu112

Issue unassigned.

oss-gg[bot] avatar Oct 13 '24 10:10 oss-gg[bot]

only someone subscribed one can work on it.Because the dataroom is accessible only to paid users.

sachinsiddhu112 avatar Oct 13 '24 10:10 sachinsiddhu112

/assign

sudarshana133 avatar Oct 13 '24 13:10 sudarshana133

Assigned to @sudarshana133! Please open a draft PR linking this issue within 48h âš ī¸ If we can't detect a PR from you linking this issue in 48h, you'll be unassigned automatically đŸ•šī¸ Excited to have you ship this 🚀

oss-gg[bot] avatar Oct 13 '24 13:10 oss-gg[bot]

/unassign

sudarshana133 avatar Oct 13 '24 15:10 sudarshana133

Issue unassigned.

oss-gg[bot] avatar Oct 13 '24 15:10 oss-gg[bot]

/assign

vishalmishraa avatar Oct 13 '24 17:10 vishalmishraa

Assigned to @vishalmishraa! Please open a draft PR linking this issue within 48h âš ī¸ If we can't detect a PR from you linking this issue in 48h, you'll be unassigned automatically đŸ•šī¸ Excited to have you ship this 🚀

oss-gg[bot] avatar Oct 13 '24 17:10 oss-gg[bot]

Issue unassigned.

oss-gg[bot] avatar Oct 15 '24 05:10 oss-gg[bot]

/unassign

vishalmishraa avatar Oct 15 '24 05:10 vishalmishraa

This issue is not assigned to anyone.

oss-gg[bot] avatar Oct 15 '24 05:10 oss-gg[bot]

/assign

Khaan25 avatar Oct 15 '24 06:10 Khaan25

Assigned to @Khaan25! Please open a draft PR linking this issue within 48h âš ī¸ If we can't detect a PR from you linking this issue in 48h, you'll be unassigned automatically đŸ•šī¸ Excited to have you ship this 🚀

oss-gg[bot] avatar Oct 15 '24 06:10 oss-gg[bot]

only someone subscribed one can work on it.Because the dataroom is accessible only to paid users.

@sachinsiddhu112 locally you can just change the plan to datarooms

mfts avatar Oct 16 '24 05:10 mfts

@mfts if we're hiding the datarooms from /datarooms page image

then we need to have a tabination to see the archived data rooms and active data room?

Khaan25 avatar Oct 16 '24 06:10 Khaan25

I'm thinking to create

  • isArchived field in prisma for Dataroom model
  • isDisabled to each link (OR) fetch the dataroom isArchived field on each link page

I believe fetching isArchived field would be better option. What are your thoughts?

Khaan25 avatar Oct 16 '24 06:10 Khaan25

@mfts, I've unassigned myself so I can work on #1049

I've already raised a PR #1051 for this issue, you can review that and merge :)

OR

You can assign me this one as well :)

Khaan25 avatar Oct 27 '24 16:10 Khaan25

/assign

attarzai avatar Oct 27 '24 16:10 attarzai

Assigned to @attarzai! Please open a draft PR linking this issue within 48h âš ī¸ If we can't detect a PR from you linking this issue in 48h, you'll be unassigned automatically đŸ•šī¸ Excited to have you ship this 🚀

oss-gg[bot] avatar Oct 27 '24 16:10 oss-gg[bot]

@attarzai, please open a draft PR linking this issue within 12 hours. If we can't detect a PR in 12 hours, you will be unassigned automatically.

oss-gg[bot] avatar Oct 29 '24 04:10 oss-gg[bot]