Skip to content

Assorted schematics improvements #10833

Closed

Description

@jelbourn

ng add

  • We should add a style to make the font Roboto in addition to adding the <link>
  • Need to add @angular/cdk at the same version of @angular/material if it is not present

Nav schematic

  • For large screens, the sidenav shouldn't have a shadow (I think that means it should be in a different mode)
  • "Application title" should be the project name
  • It's not clear where the "content" should go; there should be a comment marker for that
  • The toolbar scrolls with the content; it should stick to the top if the sidenav is going to stay present

Dashboard schematic

  • Grid-list should shrink number of columns based on screensize

Tree schematic

  • Switch to native table API

Misc

  • --name should be implied when I do ng g @angular/material:materialTable stat-block
  • Each schematic having material in the name is rather redundant, we should make it work with just e.g. @angular/material:table

Activity

  1. added
    P3
    on Apr 13, 2018
  2. cyrilletuzi commented on Apr 18, 2018

    @cyrilletuzi
    Contributor

    Other issues:

    • <link> tags in index.html are not inserted at the good place (<meta charset> and <title> should stay first)
    • indentation is not respected (2 spaces needed)
  3. tobi-or-not-tobi commented on Apr 20, 2018

    @tobi-or-not-tobi

    In addition to ignoring the "e2" projects when no project is given, you could also consider ignoring the applications of projectType "library".

  4. Splaktar commented on Sep 23, 2018

    @Splaktar
    Contributor

    Fixed in 6.3.0 via 6bd2775.

  5. angular-automatic-lock-bot commented on Sep 9, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  6. locked and limited conversation to collaborators on Sep 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions