Skip to content

Reset dashboard after tenant selection#222

Merged
mariobalca merged 2 commits intomainfrom
bug/c-98-reset-dashboard-after-tenant-selection
Nov 16, 2022
Merged

Reset dashboard after tenant selection#222
mariobalca merged 2 commits intomainfrom
bug/c-98-reset-dashboard-after-tenant-selection

Conversation

@mariobalca
Copy link
Copy Markdown
Contributor

Changes proposed ✍️

  • Reset dashboard after tenant selection

Checklist ✅

  • Label appropriately with type:feature 🚀, type:enhancement ✨, type:bug 🐞, or type:documentation 📜.
  • Tests are passing.
  • New backend functionality has been unit-tested.
  • Environment variables have been updated
    • Front-end: frontend/.env.dist
    • Backend: backend/.env.dist, backend/.env.dist.staging, backend/.env.dist.staging.
    • Configuration docs have been updated.
    • Team members only: update environment variables in Password manager and update the team
  • API documentation has been updated (if necessary) (see docs on API documentation).
  • Quality standards are met.
  • All changes have been tested in a staging site.
  • All changes are working locally running crowd.dev's Docker local environment.

@mariobalca mariobalca self-assigned this Nov 16, 2022
@netlify
Copy link
Copy Markdown

netlify Bot commented Nov 16, 2022

Deploy Preview for open-crowd-prod failed.

Name Link
🔨 Latest commit 016af29
🔍 Latest deploy log https://app.netlify.com/sites/open-crowd-prod/deploys/637502bd33f1c70008f015a0

@netlify
Copy link
Copy Markdown

netlify Bot commented Nov 16, 2022

Deploy Preview for open-devfounders failed.

Name Link
🔨 Latest commit 016af29
🔍 Latest deploy log https://app.netlify.com/sites/open-devfounders/deploys/637502bdb24367000838a61b

Comment thread frontend/src/modules/dashboard/store/actions.js Outdated
@@ -202,6 +202,10 @@ const taskCreatePermission = computed(
)

const storeUnsubscribe = store.subscribeAction((action) => {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry if I'm lacking context but should the tasks store be handled the same way as integrations? What I mean is that integrations are fetched from the start of the application regardless of opening the Integrations page. Once the tenant switches, the integrations are reset. Shouldn't it be the same for tasks?

Nonetheless, I think I found an issue with this approach which is the number of uncompleted tasks next to the "Tasks" menu item. After switching tenant, that value is only shown once you access the Tasks page. Could you please confirm if it's an issue? 🙏

@mariobalca mariobalca merged commit fd4213c into main Nov 16, 2022
@mariobalca mariobalca deleted the bug/c-98-reset-dashboard-after-tenant-selection branch November 16, 2022 16:52
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.

2 participants