gentle-dream-157108/12/2022, 2:11 PM
only to get tons of unresolved modules when starting the new application with only the `shell`in it. It seems that the
is referencing components that have been moved out of the
and into `./pkg/rancher-components`that it is unable to resolve. For example:
Any idea how to get past these issues?
ERROR in ./node_modules/@rancher/shell/components/RelatedResources.vue?vue&type=script&lang=js& (./node_modules/cache-loader/dist/cjs.js??ref--6-0!./node_modules/thread-loader/dist/cjs.js??ref--6-1!./node_modules/babel-loader/lib??ref--6-2!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/@rancher/shell/components/RelatedResources.vue?vue&type=script&lang=js&) Module not found: Error: Can't resolve '@components/BadgeState' in '/Users/rpatrick/Projects/research/verrazzano-dashboard/node_modules/@rancher/shell/components'
stocky-account-6304608/14/2022, 1:17 PM
gentle-dream-157108/14/2022, 2:57 PM
stocky-account-6304608/14/2022, 4:35 PM
gentle-dream-157108/14/2022, 5:02 PM
In terms of customising the app marketplace and installed app pages, we don't have a direct way to do it but you might be able to replace the route via your plugin and show your custom pagesOriginally, we were hacking the binary data in the ConfigMap that stores the information about which charts should be hidden but that felt like it might be brittle since it didn't appear to be intended for public consumption. What we ended up doing was to simply create a JSON file with a list of plugins we wanted to hide and then inject a little code
file's `filterAndArrangeCharts`` function to return
if the chart was on our list. Maybe you could consider adding the ability for a plugin to supply a list of hidden charts that the main flow processes when deciding what to display?
stocky-account-6304608/16/2022, 4:57 PM
:`true` annotation. For your use case is this possible, are the charts managed by you?
gentle-dream-157108/16/2022, 5:00 PM
stocky-account-6304608/16/2022, 5:06 PM
which i think calculates charts on request. If you're curious about clusterrepo resources you can prod around them using
gentle-dream-157108/16/2022, 5:07 PM
stocky-account-6304608/16/2022, 5:08 PM
gentle-dream-157108/16/2022, 5:10 PM
stocky-account-6304608/16/2022, 5:17 PM
stocky-account-6304608/17/2022, 7:30 AM