Giter Site home page Giter Site logo

Comments (11)

ahbarrios avatar ahbarrios commented on August 21, 2024 1

Wow I'm impress and I like what I see. I'm working on Angular 1 project and my integrations already done for this project. I agree with you in this so many improvement that could be added to this feature. I will work on it. I'm really like to become this feature in one of my personal projects. Thanks again, I'm count on me for improve this feature and continuing making change and integration.


Let's started with the top one issues of your TODO list:

  1. Unit Test and Coverage must be supported
  2. The absence of AMD, RequireJS spec

Also, the TravisCI, CodeCov, mocha and istanbul is a great thing, some of which even know it (CodeCov & istanbul). I could help with this dev tasks and I be glad to collaborate with you!

Thanks a lot and wait for future pull requests ;) @KennethanCeyer

PD: If you want to share any thoughts, this is my google account adrian2monk too, send me an invitation on hangouts 👍

from pg-calendar.

KennethanCeyer avatar KennethanCeyer commented on August 21, 2024 1

v1.4.7 version are support AMD, CommonJS module type.

This version has changed many source structures.

We are not using vender folder anymore.

$.fn.pignseCalendar gives function style.

like follows:

var someElement = ...;
var pignoseCalendar = require('dist/js/pignose.calendar.js'); // CommonJS style.
pignoseCalendar(someElement, {
    // Options
});

or

var someElement = ...;
define(['src/js/main', function(pignoseCalendar) {
// AMD style.
    pignoseCalendar(someElement, {
        // Options
    });
});

This patterns help to make unit test.

(CommonJS style * NodeJS factory are built to window, document mocked by jsdom.


Webpack v1~2.x also support (Tested)

from pg-calendar.

KennethanCeyer avatar KennethanCeyer commented on August 21, 2024

Hi @adrian2monk again!

I'm checking changes source code between origin and this branch.

I will reply soon.

Thank you 😄

from pg-calendar.

KennethanCeyer avatar KennethanCeyer commented on August 21, 2024

Oh your contribution activity is so nice.

I think navigation arrow icon is trouble things.

You give a solution to use icon fonts 👍

But this solution isn't seem the ultimate solution (Ultimately, user can use this library only import CSS, JS files.)

We will must find better solution 🚨


I think you effort to change this plugin to better so much.

I think i can merge your commit to origin master branch, But few source code needs a trim.

Thank you for your working @adrian2monk

from pg-calendar.

KennethanCeyer avatar KennethanCeyer commented on August 21, 2024

I was fetch new version v1.4.4.

And this version are merge your buggy's features. (Theme, Bower Settings, Events calendar etc.)

Thank you again for your contributing, It was very helpful 👍

from pg-calendar.

KennethanCeyer avatar KennethanCeyer commented on August 21, 2024

If you have any question just comment on this issue.

But this issue will be close after 3 days, If no have any questions.

from pg-calendar.

ahbarrios avatar ahbarrios commented on August 21, 2024

Thanks for your quick response and feedback! I think that yours comments are appreciate, if you want, I can create a new branch that restore the icons source to its previous version, if this is an issue or not a better solution.

One of the things that I think could be a problem, was related with this icons loaded as background and either one way or another still having to import and find the correct path on css for image folder or fonts. For this reason, I think that svg and the other formats could be great for rendering and color change in other theme creation that will came in the future. Also, I added some new tasks in the Gruntfile for coping the fonts to dist folder and css rewrite previous to minifying the final build. In addition to this, I tweak a little the bower.json file to expose this main files when the component are pulled with bower.

I appreciate any comment about this topic, to the best of my knowledge this is what I think could be an improvement. I be glad if I can help to grow this feature and, as a side effect, I learn and meet people that help me to make myself a better js programmer.

Please, just post me what are the directive to follow to find a better improvement for this feature and I'll do it, count on it!

Best regards guys!!

from pg-calendar.

KennethanCeyer avatar KennethanCeyer commented on August 21, 2024

First of all, Changing navigation image to font icon is good think and i like it.


I was checking your updates on lunch time and surprised what you did.

Your buggy branch have many changes from origin.

Expected updates spec like this.

  • Bower settings modified
  • Grunt task added
  • Core javascript changes (Bugs solved, Events feature added, Version and Modifier update)
  • CSS Changes (font-size, SVG icon font, new theme)
  • Doc Changes (Events, Theme docs)

In my opinion you did your best,

This plugin's core javascript is a complex and some difficult,

I'm sorry about i don't make any documents and wiki for contributors.


By the way

Honestly, This plugin has many weeknesses by comparison with other modern plugins.

  1. Unit Test and Coverage must be supported.

In my plan, I will give TravisCI and CodeCov for automation testing and code safety.

Test code will be made by mocha and use istanbul coverage tool.

  1. The absence of AMD, RequireJS spec.

Many javascript developer uses bundling like(Webpack, Rollup.js, SystemJS) and many modern library follows AMD and RequireJS module spec, This plugin must support AMD, RequireJS sepc.

  1. Input datepicker

Yes, This plugin support Input type datepicker, But only modal.

Many business services are still using inline type datepicker.

This plugin must gives inline type datepicker(below of the input).

  1. Timepicker

There are not many datepicker plugins that support timepicker.

I hope to support it as well.

  1. Documentation

When this plugin is growing,

Supporting documentation must be needed.

I will give general usage document/wiki to GitBook.

And reference guide will be gave by JSDoc.

As you see, My native language is not English.

So the grammar of a document can be another issue.

  1. Integration

AngularJS 1-2, ReactJS, VueJS are famous frameworks.

After long future, Integration with those frameworks is necessary.

  1. Asynchronous Dynamic Creation.

If you using Asynchronous and You must make this plugin in dynamic environment.

This plugin must give dynamic helper method like update, fecth, change, destroy, reset.


And finally this plugin will collaboration with Homeworks frameworks.

from pg-calendar.

KennethanCeyer avatar KennethanCeyer commented on August 21, 2024

I'm very glad to hear for your motivation.

From now on, I have a time to improve this project. 📆

And @adrian2monk, I think you have an enough skills to contribute this project.


So, firstly we need to set a Milestone to approach our goal.

I will arrange orders by priority of the tasks:
(Few tasks are added)

  1. Documentation * Continuous task

  2. Sass or Less support

  3. Unit Test and Coverage

  4. Asynchronous Dynamic Creation

  5. The absence of AMD, RequireJS spec

  6. Input datepicker

  7. Timepicker

  8. Integration


We will use GitHub Project for management of this project.

I list upped those task on here


PS / This is good to hear that you can use AngularJS 1,

I think you can make Directive for usability using the plugin 👍

from pg-calendar.

ahbarrios avatar ahbarrios commented on August 21, 2024

I think that we already can close this issue and keep working on this tasks. By the way, I start with sass support on this weekend. Maybe my Angular 1.x directive helps to start integrate some frameworks too. I will catch up on gitter

from pg-calendar.

KennethanCeyer avatar KennethanCeyer commented on August 21, 2024

Okay thank you @adrian2monk!!

I can handle ReactJS, AngularJS 2's @directive.

I will get in touch by hangout soon

from pg-calendar.

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.