myselfuser1 opened a new issue, #32160:
URL: https://github.com/apache/superset/issues/32160

   ### Bug description
   
   I need to create a custom chart in apache superset. I followed the below 
steps. I am using Docker
   
   1. `git clone https://github.com/apache/superset`
   2. `cd superset`
   3. `git checkout tags/4.1.1`
   4. `sudo npm i -g yo`
   5. `cd superset-frontend/packages/generator-superset`
   6. `npm i`
   7. `npm link`
   8. `mkdir /tmp/superset-plugin-chart-hello-world`
   9. `cd /tmp/superset-plugin-chart-hello-world`
   10. `yo @superset-ui/superset`
   11. `npm ci`
   12. `npm run build`
   13. `npm run dev`
   14. `npm i -S /tmp/superset-plugin-chart-hello-world`
   15. After this edit the 
`superset-frontend/src/visualizations/presets/MainPreset.js` and make the 
following changes:` import { SupersetPluginChartHelloWorld } from 
'superset-plugin-chart-hello-world';`
   16. import the viz plugin and add the following to the array that's passed 
to the plugins property: `new SupersetPluginChartHelloWorld().configure({ key: 
'ext-hello-world' }),`
   17. `docker compose -f docker-compose-image-tag.yml up`
   
   
   Now when i try to search for my chart i don't see it
   
   ### Screenshots/recordings
   
   <img width="1430" alt="Image" 
src="https://github.com/user-attachments/assets/face2021-a17b-4bc4-85bb-c7bd8c77cb2d";
 />
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.9
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [x] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [x] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [x] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


-- 
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: notifications-unsubscr...@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to