Giter Site home page Giter Site logo

leifermendez / ngx-copilot Goto Github PK

View Code? Open in Web Editor NEW
80.0 3.0 6.0 84 KB

๐Ÿ† The most expected has arrived, a package for Angular that facilitates us to improve the experience of our users when guiding them in our interface

Home Page: https://ngx-copilot.stackblitz.io/

License: Apache License 2.0

JavaScript 5.72% TypeScript 81.91% CSS 10.23% HTML 2.15%
angular copilot ngx-tour ngx-copilot angular-stepper stepper ux-design ui-design nodejs pwa

ngx-copilot's Introduction

Blog: Codigoencasa.comย (read) Articles for beginners

LinkedIn @LeiferMendezย (connect) On the LinkedIn profile y'all

Sponsor Awais

โฏโฏ Some of my recent contributions โ†“

ngx-copilot's People

Contributors

leifermendez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ngx-copilot's Issues

Angular 10.1: Copilot leaves "style" on "body" element

I'm using ngx-copilot with Angular 10.1. I use it to show two steps. After the last step, my code calls removeWrapper(). Still, ngx-copilot leaves some style code behind on my <html> element that wasn't there before the steps:

style="overflow: auto; --zoneY:179.375px; --zoneX:495.625px; --zoneColor: rgba(0, 0, 0, 0.7) ; --zoneSize:96.4063px;"

This code leads to a scrollbar appearing. Once I remove the style code, the scrollbar disappears. See below for a sample.

Is there a way for ngx-copilot to automatically remove the style code on my <html> element?

Style on body left behind

Angular 10.1: Step doesn't activate

In my tour, the third step (the "Home" bread crumb) doesn't get activated. It's the step with the ID 11100. I can see that this.coPilot.next('11100') is being called, but it just doesn't light up. Now it's in a separate Angular component, but that works in another case.

I can also see the body which has the ngx-copilot-active-step-10200 class (which is the second step) then doesn't have the ngx-copilot-active-step-11100 class. See the animated GIF below for details.

How can I find out why my step isn't being found?

Step does not light up

Rmember fix Safari

-webkit-radial-gradient(var(--zoneY) var(--zoneX), circle, transparent var(--zoneSize), var(--zoneColor) var(--zoneOver));

Agregar documentacion

  constructor(private  copilot: NgxCopilotService) {
    copilot.done.subscribe(res => {
      console.log(res)
    })
  }

Angular 10.1: Step not placed correctly, highlight too small

Hi,

I'm using the library with Angular 10.1. Two issues:

  • When I'm wrapping a heading/paragraph with a step, the step window is squished to the very right.
  • The "spotlight" has just the default size and doesn't cover the described element.

Here's a short video of both issues:

Copilot is off

Here's the first step:

<h5 [copilot-step]="1" [copilot-template]="step1" copilot>
  <fa-icon icon="syringe" size="lg"></fa-icon>&nbsp;
  <span jhiTranslate="clean.home.vets.title"></span>
</h5>

And here's the second:

<a [copilot-step]="2" [copilot-template]="step2" [routerLink]="navigationPathCustomer" class="btn bg-primary btn-white y-link-as-button card-link" copilot>
  <fa-icon icon="table" size="lg"></fa-icon>&nbsp;
  <span class="font-weight-bold" jhiTranslate="clean.home.customers.manage"></span>
</a>

What am I doing wrong?

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.