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

Person Switcher Broken on Tasks List Page #6007

Open
Bonapara opened this issue Jun 24, 2024 · 5 comments
Open

Person Switcher Broken on Tasks List Page #6007

Bonapara opened this issue Jun 24, 2024 · 5 comments
Assignees
Labels
good first issue Good for newcomers scope: front Issues that are affecting the frontend side only type: bug Something isn't working

Comments

@Bonapara
Copy link
Member

Bug Description

The "Person switcher" on the tasks list page is broken:

CleanShot.2024-06-24.at.16.46.10.mp4

A React context must be missing

@Bonapara Bonapara added type: bug Something isn't working good first issue Good for newcomers scope: front Issues that are affecting the frontend side only labels Jun 24, 2024
Copy link

greptile-apps bot commented Jun 24, 2024

To fix the 'Person switcher' on the tasks list page, ensure that the TasksRecoilScopeContext is provided in Tasks.tsx. Locate the Tasks.tsx file and wrap the relevant component with TasksRecoilScopeContext.Provider. Example:

import { TasksRecoilScopeContext } from 'path/to/context';

const Tasks = () => {
  return (
    <TasksRecoilScopeContext.Provider value={/* appropriate value */}>
      {/* existing component code */}
    </TasksRecoilScopeContext.Provider>
  );
};

Ensure the context value is correctly set.

References

@srikary12
Copy link

Can I work on this?

@Bonapara
Copy link
Member Author

Sure @srikary12, thanks for contributing!

@srikary12
Copy link

I've identified the issue,

In ObjectFilterDropdownRecordSelect.tsx
const { removeCombinedViewFilter } = useCombinedViewFilters();

is failing, we need to provide viewBarComponentId.

Not sure how to proceed

@srikary12
Copy link

The context is not received properly by the child components

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers scope: front Issues that are affecting the frontend side only type: bug Something isn't working
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants