Improve document π "Action" tab
Fixes https://github.com/mfts/papermark/issues/677
- The user can create a data room using the "Action" tabs if they have the correct subscription; otherwise, an "Upgrade Plan" tab will be shown.
- Display a tooltip for "Upload a new version." (The problem is that if we wrap the button with a tooltip, the button event doesn't work.)
@AshishViradiya153 is attempting to deploy a commit to the mftsio Team on Vercel.
A member of the Team first needs to authorize it.
@mfts could you please review and let me know if thereβs anything further needed from my side?
@AshishViradiya153 I think we should hide the "add to dataroom" if the user is either on free or pro and not on trial
@mfts "Add to Dataroom" is always there, which I think is great. If the user doesn't have a Dataroom, it will be hidden. Additionally, users can create a new Dataroom using the "Create Dataroom" option if they have the right plan; otherwise, an upgrade popup will appear.
here its shows create dataroom and add to dataroom, if dont have a subscription than it wil show upgrad plan tab.
/documents
@mfts Recheck please
@AshishViradiya153 thanks. I still think it's confusing to have a "Create New Dataroom" on a document dropdown. It's out of context for most users.
- Let's remove the "Create New Dataroom" option from the dropdowns altogether.
- Hide the "Add to dataroom" when user doesn't have a dataroom
@mfts Please recheck, I have removed the "Create New Dataroom" option and also hidden "datarooms" if there aren't any.
Thank you.
The latest updates on your projects. Learn more about Vercel for Git βοΈ
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| papermark | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Oct 13, 2024 5:13am |
/award 150
@AshishViradiya153 i think something went wrong with the award. could you please open an issue referencing this PR and then I award you there