-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
Can't see and add tags #32150
Comments
Hey @Maksim252-c! I'm here to help you with any bugs, questions, or contributions you have. Just let me know how I can assist you! The issue you're experiencing with the tags not being visible in Superset, despite setting Here's a relevant code snippet that shows this conditional logic: {
Cell: ({
row: {
original: { tags = [] },
},
}: any) => (
// Only show custom type tags
<TagsList tags={tags.filter((tag: Tag) => tag.type === 1)} />
),
Header: t('Tags'),
accessor: 'tags',
disableSortBy: true,
hidden: !isFeatureEnabled(FeatureFlag.TaggingSystem),
}, The To resolve this, ensure that the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
@dosu |
Ensure that the feature flags are correctly initialized in your Superset setup. The feature flags are typically initialized in the Additionally, verify that the frontend components responsible for displaying tags are not encountering any issues. The file If the problem persists, check the network requests in your browser's developer tools to ensure that the API endpoints for fetching tags are being called correctly and returning the expected data. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
@dosu export function initFeatureFlags(featureFlags?: FeatureFlagMap) { And index.tsx in the /src/pages/Tags looks like this: import { isFeatureEnabled, FeatureFlag, t } from '@superset-ui/core'; |
To ensure that the
By ensuring that the feature flags are correctly set up and initialized, you should be able to resolve the issue with the tags not being visible. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
A solution has been found. The problem with tag visibility was that in the configuration file TAGGING_SYSTEM it was written in lowcase letters. |
Bug description
I can't find the reason why the tags are not visible. There are no sections with tags, it is impossible to add tags.
I added TAGGING_SYSTEM=True and ENABLE_TAGS = True to the configuration file, but the tags are still not visible.
In addition, it is worth mentioning that folders with tags are present in the project directory.
Screenshots/recordings
Superset version
4.1.1
Python version
3.10
Node version
18 or greater
Browser
Chrome
Additional context
I also note that the project is deployed via WSL.
Checklist
The text was updated successfully, but these errors were encountered: