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

[Budget][FE][BE] Shared Budgets (RFC) #31

Open
8 tasks
duongdev opened this issue Jun 8, 2024 · 0 comments
Open
8 tasks

[Budget][FE][BE] Shared Budgets (RFC) #31

duongdev opened this issue Jun 8, 2024 · 0 comments
Labels

Comments

@duongdev
Copy link
Member

duongdev commented Jun 8, 2024

How it works

Share methods

1. Via join link

  • Generate an invite link and send to others. Links expire in 15 minutes.
  • Join link looks like: https://lets.get6pm.com/invite/A1B2C3.
    • If app is not installed, ?
      • Show links to download
      • Show join instruction using invite code instead
    • If app is install, open app with deep link, let user review the invite in-app then join by click a button or ignore.

2. Via invite code

  • Join budget in Settings tab.
  • Enter join code
  • Preview budget
  • Join now

Shared budget settings/policies

canMembersCreateTransactions      Boolean @default(true)
canMembersViewOtherTransactions   Boolean @default(false)
canMembersUpdateOtherTransactions Boolean @default(false)
canMembersDeleteOtherTransactions Boolean @default(false)

Checklist

Backend

  • As budget owner, I want to create an invite link to share to others
  • As budget owner, I want to remove a member from my budget
  • As budget owner, I want to update my budget settings
  • Restrict budget permissions on shared budget based on budget settings
  • Restrict transaction permissions on shared budget based on budget settings

Frontend

  • Update useTransactionList to remove the removed/unshared transactions from store
  • Restrict budget permissions on shared budget based on budget settings
  • Restrict transaction permissions on shared budget based on budget settings

Questions

  1. How to handle categories display across users?
  2. How to optimize Prisma transaction queries based on budget settings?
  3. How the budget view differs between budget owners and members?
@duongdev duongdev added this to 6pm Jun 6, 2024
@duongdev duongdev converted this from a draft issue Jun 8, 2024
@duongdev duongdev added this to the v1.1 - Shared Budgets milestone Sep 23, 2024
@duongdev duongdev changed the title [Budget][FE] Share budget [Budget][FE][BE] Share budget Sep 23, 2024
@duongdev duongdev changed the title [Budget][FE][BE] Share budget [Budget][FE][BE] Share budget (RFC) Sep 23, 2024
@duongdev duongdev changed the title [Budget][FE][BE] Share budget (RFC) [Budget][FE][BE] Shared Budgets (RFC) Sep 23, 2024
@duongdev duongdev moved this to Backlog in 6pm Sep 23, 2024
@duongdev duongdev added enhancement New feature or request frontend backend labels Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

1 participant