npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

mv-feedbackentes-ionic

v0.0.5

Published

## To build the library and link it locally

Downloads

2

Readme

ionic-feedbackentes

To build the library and link it locally

npm run packagr
cd dist
npm link

This will create a dist directory which can be linked locally in your project by

npm link mv-ionic-feedbackentes

To build the library and publish it on NPM

WARNING: Don't forget to update the version (in package.json) before publishing it

npm run publishr

This will create a npm package which can be installed in your project by

npm install mv-feedbackentes-ionic --save

Build documentation

npm run compodoc

Serve documentation

npm run compodoc-serve

documentation will be served on http://localhost:8080

TODO: Merge older readme

feedbackentes-ionic

This Ionic project hosts the ionic library for feedbackentes

It can be imported into any ionic project by following this readme.

Install feedbackentes in the app

  • [ ] install feedbackentes-common from npm a via a local link
  • [ ] add the ./directives folder into the ./src folder of the app
  • [ ] feedbackentes-common uses html2canvas that can be added be
npm install --save html2canvas
  • [ ] run npm install to check for dependencies (optionnal)
npm install

Import feedbackentes in the app

ionic-feedbackentes uses ionic 3 lazy loading system, where each page has its module. Explanations given may need adaptations to be useful on another ionic app architecture

in app.module.ts

  • [ ] import { MvFeedbackentesCommonModule } from 'mv-feedbackentes-common';
  • [ ] import { DirectivesModule } from '../directives/directives.module';

set the config, with the project's feedbackentes api key and its client version (in the example, those infos are read from a config file in the app)

  • [ ] import { config } from '../assets/config/env';
  • [ ] const feedbackentesConfig = { apiKey: config.feedbackentes.apiKey, clientVersion: config.app.version }

add to @NgModule({ imports: [

  • [ ] MvFeedbackentesCommonModule.forRoot(feedbackentesConfig),

  • [ ] DirectivesModule

    ],

    entryComponents: [

  • [ ] FeedbackModalComponent

    ],

in app.component.ts

Import feedlog service so logs can be intercepted ... ... and launch logs interception before any log is fired by configuring it at the very start of your app initialisation

constructor(

  • [ ] private feedlogService: FeedlogService

    ) {

  • [ ] this.feedlogService.configure();

get a grip on the app so you can use Feedbackentes directive anywhere in your app, even at the root of it (aka app.html)

  • [ ] import { NavController } from 'ionic-angular';

export class MyApp {

  • [ ] @ViewChild('myNav') navCtrl: NavController;

in EACH_PAGE_YOU_CHOOSED.module.ts

  • [ ] import { DirectivesModule } from '../directives/directives.module';

add to @NgModule({ imports: [

  • [ ] DirectivesModule

    ],

in EACH_PAGE_YOU_CHOOSED.ts

  • [ ] import { FeedbackService } from 'mv-feedbackentes-common';

    constructor(

  • [ ] private feedbackService: FeedbackService,

    )

in EACH_PAGE_YOU_CHOOSED.html just add the directive in inside any of your html or angular components that you want to make clickabled

mvFeedbackentes

By example : <button ion-button mvFeedbackentes> <ion-icon name="bug"></ion-icon> </button>

or : <ion-icon name="bug" mvFeedbackentes></ion-icon>