dosubot[bot] commented on issue #32150:
URL: https://github.com/apache/superset/issues/32150#issuecomment-2639104706
<!-- Answer -->
To ensure that the `TaggingSystem` feature flag is correctly initialized and
used in your Superset setup, follow these steps:
1. **Verify Backend Configuration**: Ensure that your `superset_config.py`
file includes the correct feature flag configuration:
```python
FEATURE_FLAGS = {
"TaggingSystem": True,
# Add other feature flags as needed
}
```
2. **Frontend Initialization**: The `initFeatureFlags()` function in
`featureFlags.ts` should be called with the feature flags from the backend.
This typically happens during the application bootstrap process. Ensure that
the `bootstrapData.common.feature_flags` object is correctly populated and
passed to `initFeatureFlags()`.
3. **Check Frontend Code**: In your `index.tsx` file for the Tags page,
ensure that the `isFeatureEnabled(FeatureFlag.TaggingSystem)` is used to
control the visibility of tags. If the feature flag is not enabled, the tags
will not be displayed.
4. **Debugging**: Use the browser's developer tools to check if the
`window.featureFlags` object contains the `TaggingSystem` flag set to `true`.
You can do this by running `console.log(window.featureFlags)` in the browser
console.
5. **Network Requests**: Verify that the API requests related to tags are
being made and returning the expected data. Check the network tab in the
developer tools for any failed requests or errors.
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.
<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
---
<sup>Help Dosu learn! Give it feedback: [Great
Response](https://app.dosu.dev/response-feedback/96a40988-e559-4c1e-b56c-707914389c8b?feedback_type=great_response)
| [Irrelevant
Answer](https://app.dosu.dev/response-feedback/96a40988-e559-4c1e-b56c-707914389c8b?feedback_type=irrelevant_answer)
| [Incorrect
Sources](https://app.dosu.dev/response-feedback/96a40988-e559-4c1e-b56c-707914389c8b?feedback_type=incorrect_sources)
| [Too
Verbose](https://app.dosu.dev/response-feedback/96a40988-e559-4c1e-b56c-707914389c8b?feedback_type=too_verbose)
|
[Hallucination](https://app.dosu.dev/response-feedback/96a40988-e559-4c1e-b56c-707914389c8b?feedback_type=hallucination)
|
[Other](https://app.dosu.dev/response-feedback/96a40988-e559-4c1e-b56c-707914389c8b?feedback_type=other)</sup>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]