Giter Club home page Giter Club logo

Comments (4)

christophe-f avatar christophe-f commented on September 28, 2024 3

@invincibleJai I don't have an exact date but in the next few weeks. The implementation is currently happening.

from backstage-showcase.

divyanshiGupta avatar divyanshiGupta commented on September 28, 2024

Based on my exploration following are the observations:

  • Menu items icon can be changed to any MUI icon that is required by the design.
import CatalogIcon from '@material-ui/icons/CategoryOutlined';

<SidebarItem icon={CatalogIcon} to="catalog" text="Catalog" />

  • Buttons can be added to the sidebar.
<SidebarGroup label="Create" icon={<CreateComponentIcon />} to="create">
     <Button
        color="primary"
        variant="contained"
        startIcon={<CreateComponentIcon />}
        href="create"
        style={{
          marginLeft: '27px',
          marginRight: '27px',
          width: '168px',
          }}
        >
          Create
      </Button>
 </SidebarGroup>

Currently adding buttons as menu item with icons will not work the same way as the SidebarMenuItems works with expand collapse functionality ie showing only the icons when collapsed.

<SidebarItem icon={PluginsIcon} text="Plugins">
    <SidebarSubmenu title="Plugins">
           <SidebarSubmenuItem
               icon={ExtensionIcon}
               to="openshift-image-registry"
               title="Image Registry"
             />
      </SidebarSubmenu>
  </SidebarItem>
Screenshot 2023-08-28 at 8 19 19 PM
Screen.Recording.2023-08-28.at.8.23.13.PM.mov

@invincibleJai @gashcrumb @debsmita1 @jerolimov Let me know if I need to look at anything else here.

from backstage-showcase.

christophe-f avatar christophe-f commented on September 28, 2024

The configuration will come from the dynamic plugins. backstage/backstage#18372

from backstage-showcase.

invincibleJai avatar invincibleJai commented on September 28, 2024

Thanks @christophe-f for the input. Do you have insights on when this change will be available in Janus?

Thanks @divyanshiGupta , as we discussed good to understand with Configuration can we load any custom components and if there is some default set of components.

from backstage-showcase.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.