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/dataroom linktree #243

Open
wants to merge 49 commits into
base: main
Choose a base branch
from

Conversation

digant2482
Copy link
Contributor

#69. @mfts. I have disabled the ability to create hierarchical datarooms. Please let me know if any changes are needed.

@Aashish-Upadhyay-101
Copy link
Contributor

nice, @digant2482 ping me, after you are done cleaning up !

@digant2482
Copy link
Contributor Author

digant2482 commented Feb 10, 2024

nice, @digant2482 ping me, after you are done cleaning up !

Hey @Aashish-Upadhyay-101, all set for review, please let me know, you need any help

@Aashish-Upadhyay-101
Copy link
Contributor

awesome !

@digant2482
Copy link
Contributor Author

Hi @Aashish-Upadhyay-101, suggested changes are done

@Aashish-Upadhyay-101
Copy link
Contributor

I am half way through the PR already, I will keep you updated here !

@Aashish-Upadhyay-101
Copy link
Contributor

Aashish-Upadhyay-101 commented Feb 27, 2024

@digant2482 hey, did you scope the Dataroom by Teams?

@digant2482
Copy link
Contributor Author

@digant2482 hey, did you scope the Dataroom by Teams?

Yes

@Aashish-Upadhyay-101
Copy link
Contributor

I noticed that the dataroom endpoints are outside the team folder in the api,
and you are passing teamId via req.body
could you please put the dataroom inside team folder and get the team's id from req.query ?

@digant2482
Copy link
Contributor Author

I noticed that the dataroom endpoints are outside the team folder in the api, and you are passing teamId via req.body could you please put the dataroom inside team folder and get the team's id from req.query ?

Hi, Ashish, dataroom was not put inside teams folder because the end users also gets their datarooms from the same API (to avoid code duplication), now the end users won't have teamId, hence it is outside. Please let me know if you need more information

@Aashish-Upadhyay-101
Copy link
Contributor

I have almost reviewed your code, I just have one thing to ask,
you added a new verification system, could you explain me about why you add it and how you implemented it? email-authcode

@digant2482
Copy link
Contributor Author

digant2482 commented Feb 28, 2024

I have almost reviewed your code, I just have one thing to ask, you added a new verification system, could you explain me about why you add it and how you implemented it? email-authcode

The verification was implemented because of heirarchical datarooms, the things is: for heirarchical datarooms a separate URL was needed to be generated (for navigation purposes), since it was a separate URL it would bypass current verification system, that's was the reason for creation, but I will remove it since we don't need that.

@Aashish-Upadhyay-101
Copy link
Contributor

I have almost reviewed your code, I just have one thing to ask, you added a new verification system, could you explain me about why you add it and how you implemented it? email-authcode

The verification was implemented because of heirarchical datarooms, the things is: for heirarchical datarooms a separate URL was needed to be generated (for navigation purposes), since it was a separate URL it would bypass current verification system, that's was the reason for creation, but I will remove it since we don't need that.

yes please do it and resolve the conflicts !

@digant2482
Copy link
Contributor Author

Hi, @Aashish-Upadhyay-101, all requested changes are done.

However, regarding email-authcode I wanted ask @mfts that since email-verification to view document feature is for pro-users. Do we want to that for datarooms as well?
If yes, can you please finalize that email-verification PR #197.
Since you have made some changes to verification process, I will use the same for process for datarooms as well

@mfts
Copy link
Owner

mfts commented Feb 29, 2024

However, regarding email-authcode I wanted ask @mfts that since email-verification to view document feature is for pro-users. Do we want to that for datarooms as well?
If yes, can you please finalize that email-verification PR #197.

The email verification is already in production.
You can copy/reuse this function: https://github.com/mfts/papermark/blob/77699f3404c538a25e4450f9d94bc933378cbb9c/pages/api/links/%5Bid%5D/verify-email.ts

@digant2482
Copy link
Contributor Author

However, regarding email-authcode I wanted ask @mfts that since email-verification to view document feature is for pro-users. Do we want to that for datarooms as well?
If yes, can you please finalize that email-verification PR #197.

The email verification is already in production. You can copy/reuse this function: https://github.com/mfts/papermark/blob/77699f3404c538a25e4450f9d94bc933378cbb9c/pages/api/links/%5Bid%5D/verify-email.ts

@Aashish-Upadhyay-101, @mfts All set ready for review

@Aashish-Upadhyay-101
Copy link
Contributor

Aashish-Upadhyay-101 commented Mar 1, 2024

@mfts looks good to me.
I have reviewed the entire PR.

I would like @mfts to also go through this PR briefly ; )
and let me know !

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

Successfully merging this pull request may close these issues.

None yet

3 participants