igniteui-angular icon indicating copy to clipboard operation
igniteui-angular copied to clipboard

Getting Started Update

Open SDinev opened this issue 9 years ago • 16 comments

The Getting Started Page needs to be updated with more information.

  • [x] Mention importing HammerJS and @Types/HammerJS
  • [x] Explain modifying the angular-cli.json file to include the styling for Ignite UI for Angular
  • [x] Change the navbar with another component ( for example: datepicker with some additional design)
  • [x] Clear unnecessary imports

SDinev avatar Nov 23 '17 15:11 SDinev

Changes are available on staging.

hanastasov avatar Nov 24 '17 15:11 hanastasov

Adding the staging link here: https://staging.infragistics.local/products/ignite-ui-angular/getting-started

Any time frame of when this will go live?

As an aside, while this documenting the need to npm install @types\hammerjs does resolve the issue. I have to ask, if we are configured correctly, shouldn't npm be handling that automatically for us?

MikeTechSpeak avatar Nov 28 '17 17:11 MikeTechSpeak

<h1/> causes an issue. It should be </h1>.

Note also that the template for app.component.html appears twice.

jVanZwieten avatar Nov 29 '17 04:11 jVanZwieten

In Usage section Ignite ui needs to be capitalized.

hanastasov avatar Nov 29 '17 07:11 hanastasov

The fixes are applied: https://staging.infragistics.local/products/ignite-ui-angular/getting-started

dianj avatar Nov 29 '17 09:11 dianj

Two things:

  • [x] Add a screenshot for the expected final result, so people know if they've done the steps right - Spasimir
  • [x] figure out a way to avoid this: <img width="300" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTAgMjUwIj4KICAgIDxwYXRoIGZpbGw9IiNERDAwMzEiIGQ9Ik0xMjUgMzBMMzEuOSA2My4ybDE0LjIgMTIzLjFMMTI1IDIzMGw3OC45LTQzLjcgMTQuMi0xMjMuMXoiIC8+CiAgICA8cGF0aCBmaWxsPSIjQzMwMDJGIiBkPSJNMTI1IDMwdjIyLjItLjFWMjMwbDc4LjktNDMuNyAxNC4yLTEyMy4xTDEyNSAzMHoiIC8+CiAgICA8cGF0aCAgZmlsbD0iI0ZGRkZGRiIgZD0iTTEyNSA1Mi4xTDY2LjggMTgyLjZoMjEuN2wxMS43LTI5LjJoNDkuNGwxMS43IDI5LjJIMTgzTDEyNSA1Mi4xem0xNyA4My4zaC0zNGwxNy00MC45IDE3IDQwLjl6IiAvPgogIDwvc3ZnPg=="> Replace it with a link to an image, for brevity and improved legibility

SDinev avatar Nov 30 '17 12:11 SDinev

I totally skipped this point "please make sure that HammerJS and @Types/hammerJS are also installed in your app" and after coming back to it I installed them in my projects folder but apparently it should be done in the folder of the particular project. I think the initial paragraphs have to be restructured because there is critical information in them.

  • [ ] Add color coding to the code snippets to make them more readable

StefanIvanov avatar Nov 30 '17 12:11 StefanIvanov

Restructure the paragraphs in what ways ?

hanastasov avatar Nov 30 '17 14:11 hanastasov

Bullet list the two "dependencies" as they are the initial steps for example with a font treatment to make them stand out more e.g. bold or larger font size

StefanIvanov avatar Nov 30 '17 14:11 StefanIvanov

Can we get either the embedded plunkr, link to plunkr or JSFiddle back in. Being able to modify a live sample is a very easy way to learn, as well as to demo to customers. It was in the pre-release, and it was yanked out. Was there a reason for it being yanked?

MikeTechSpeak avatar Dec 01 '17 15:12 MikeTechSpeak

@MikeTechSpeak Marketing requested that we remove plunkr.

kdinev avatar Dec 01 '17 15:12 kdinev

Fair enough, but who and why? Because the embedded code is extremely useful. I believe plukr looked a little off because I think they had embedded ads. Which if that is why that is a valid reason. But can't we still use jsFiddle instead then?

MikeTechSpeak avatar Dec 01 '17 15:12 MikeTechSpeak

We can still have both. Our samples will live both on plunkr and on our server. We will just provide a sample link to plunkr where people can play around with it.

simeonoff avatar Dec 04 '17 08:12 simeonoff

Please close this issue and create a new one, so we can put it in planning. Also link the two for information tracking.

kdinev avatar Dec 04 '17 09:12 kdinev

@MikeTechSpeak @dianj Please abstain from posting links in the public issues that are not publicly accessible.

kdinev avatar Dec 04 '17 13:12 kdinev

Alright. Arguably, we'll have an updated Getting Started with our CLI. Until then, let's have some final quick fixes to the current version and update the website.

  • [x] create a separate code box afte the npm install igniteui-js-blocks for the hammerjs and @types/hammerjs dependencies. Include a //comment in the box explaining that these are dependencies.
  • [x] Bold or otherwise single out names of files from the rest of the text - like "angular-cli.json". This will increase visibility as well as overall legibility
  • [x] in the codebox for angular-cli.json, add "scripts": ["../node_modules/hammerjs/hammer.min.js"], without this line, the code from the getting started does not execute properly
  • [x] in all codeboxes, include comments to annotate where we're adding on top of the Angular CLI. Include color coding if possible, to be consistent with the documentation code boxes.
  • [x] include a screenshot for the expected end result at the end of the article (preview in image): preview-getting-started
  • [x] change Angular logo with Infragistics logo
  • [x] change app title from "app" to "Ignite UI for Angular" including ig logo and images:

InfragisticsLogo.zip

ignite-screen-2

ignite_screen-1

SDinev avatar Dec 14 '17 12:12 SDinev