Add validations to disallow inviting members to a personal workspace
Fix view for validation errors
Disallow teams tab for personal workspaces
change billing tab URL to /account/billing and tab order in account page
update meta title for Members tab
only owners and admins should see the billing tab
Revert "change billing tab URL to /account/billing and tab order in account page"
enforce access control on workspace billing
Revert "Revert "change billing tab URL to /account/billing and tab order in account page""
fix accidental bug from conflict resolution
Add workspace to published run
fix can_edit_published_run access control for workspaces
feat: show history belonging to uid ✖️ current workspace
feat: show (and create) API keys belonging to workspace
feat: fix view for saved tab to filter by workspace
feat: add current balance & plan to members tab
feat: fix URLs for team & personal workspaces in account settings
feat: allow published runs to be created with workspace
fix routes in account
fix: register workspace when duplicating published run
render workspace as the owner on published runs
fix rendering of validationerror messages
Refactor workspace_selector with current_tab for clarity
Add workspace selector to 'Save'/'Update' menu
Q/A checklist
[ ] If you add new dependencies, did you update the lock file?
poetry lock --no-update
[ ] Run tests
ulimit -n unlimited && ./scripts/run-tests.sh
[ ] Do a self code review of the changes - Read the diff at least twice.
[ ] Carefully think about the stuff that might break because of this change - this sounds obvious but it's easy to forget to do "Go to references" on each function you're changing and see if it's used in a way you didn't expect.
[ ] The relevant pages still run when you press submit
[ ] The API for those pages still work (API tab)
[ ] The public API interface doesn't change if you didn't want it to (check API tab > docs page)
[ ] Do your UI changes (if applicable) look acceptable on mobile?
[ ] Ensure you have not regressed the import time unless you have a good reason to do so.
You can visualize this using tuna:
Executed in 1.15 secs fish external
usr time 2.22 secs 86.00 micros 2.22 secs
sys time 0.72 secs 613.00 micros 0.72 secs
To reduce import times, import libraries that take a long time inside the functions that use them instead of at the top of the file:
```python
def my_function():
import pandas as pd
...
Legal Boilerplate
Look, I get it. The entity doing business as “Gooey.AI” and/or “Dara.network” was incorporated in the State of Delaware in 2020 as Dara Network Inc. and is gonna need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Dara Network Inc can use, modify, copy, and redistribute my contributions, under its choice of terms.
Q/A checklist
To measure import time for a specific library:
Executed in 1.15 secs fish external usr time 2.22 secs 86.00 micros 2.22 secs sys time 0.72 secs 613.00 micros 0.72 secs
Legal Boilerplate
Look, I get it. The entity doing business as “Gooey.AI” and/or “Dara.network” was incorporated in the State of Delaware in 2020 as Dara Network Inc. and is gonna need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Dara Network Inc can use, modify, copy, and redistribute my contributions, under its choice of terms.