GithubHelp home page GithubHelp logo

meteoric124 / meteoric Goto Github PK

View Code? Open in Web Editor NEW

This project forked from meteoric/meteor-ionic

19.0 19.0 6.0 1.45 MB

Ionic components for Meteor. No Angular!

Home Page: http://meteoric-doc.com

License: MIT License

HTML 4.79% JavaScript 95.07% CSS 0.14%

meteoric's People

Contributors

b1rdex avatar bastire avatar benstr avatar cwohlman avatar cyclops24 avatar davidwoody avatar dcsan avatar digilord avatar eeandrew avatar elie222 avatar fpoirier1 avatar gwendall avatar jamielob avatar jorjordandan avatar koosmann avatar lalomartins avatar lucavandro avatar mzidian avatar pcavadas avatar rclai avatar rijk avatar sivli-embir avatar skirunman avatar spencercarli avatar tomwasd avatar vaqxin avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

meteoric's Issues

Initial Slide in of Content - Where is that from? Should it be there? Can I disable it?

Hi,

i'm trying to use this meteoric branch at the moment, and after getting around some other issues I'm working on, I noticed that the content always "slides in" from the right on the first load of any page, no matter if it's a subpage or the index page of the whole app.

See it here: http://jandres-ionic.meteor.com/ - just press reload and see the content slide in from the right.

I think that's probably to transition nicely between pages, but is it possible to disable this somehow for the first load?

A workaround would be fine for now, or maybe any information about where this is coming from in the code exactly.

Thanks and best wishes!

content not visible on mobile

Hi @JoeyAndres,
I dive in meteoric and try to create demo application based on your component to find bugs and report here and for more clear refer to codes. This is my demo app repository:
https://github.com/cyclops24/meteoric24-demo

My first issue that I find in meteoric is when I use simple collection each in template it's worked well and show in web mode but run on real android device (with android 4.2.1) show me a white view without side menu icon or template each result.
Show this issue in two image below.

Good result on web:
good each

Bad result on mobile device:
bad each

As you see in above images header title text and side menu and also each content not visible in mobile this is my template code:

<template name="index">

    {{#contentFor "headerTitle"}}
        <h1 class="title">App Title</h1>
        <button class="button button-clear pull-right" data-ion-menu-toggle="right">
            {{> ionIcon icon='navicon'}}
        </button>
    {{/contentFor}}

    {{#ionView}}
        {{#ionContent}}
            <div class="padding">
                <ul>
                    {{# each messages }}
                        <li>{{title}}</li>
                    {{/each}}
                </ul>
            </div>
        {{/ionContent}}
    {{/ionView}}

</template>

(full source available in my demo repository)

ionSlideBox is broken

Due to the removal of all non-ionic controllers, ionSlideBox was broken. Utilize the ionic controllers and make this work again.

Integrate ionic's controller/utils/views libraries

Integrate ionic's controllers/utils/views libraries. utils/views are framework independent (they don't care if you are in angular), controller's on the other hand need some code change. All of these are essential so we only have to reinvent the platform dependent parts. #32

Upgrade ionSideMenu

Current side menu is too primitive. Although snapper js was modified to be more consistent, there are still many unimplemented features. Especially wrt to 1.2.4

allow ionNavBackButton without text (only icon)

Hi @JoeyAndres,
I try to use {{>ionNavBackButton}} with empty text and try to use like this:
{{>ionNavBackButton text=""}}
But this component add default value for text property (Back) but I think it's not good because many times I need back button without text (only icon).
I found and see this default value set on this file I come here to suggest this to you.

Side Menu not working

Hi @JoeyAndres ,
I test your demo all things worked well but Side Menu not working for me. (Side Menu worked well for me on meteoric demo version)
I try using firefox and chromium.

setRefresher

See scrollController.js in v1.2.4 tag of ionic repo. It contains _setRefresher which is called when pulling the top of the list. Would be nice to implement this.

Do investigation in what context this is used.

please update GUIDE.md

Hi,
First thanks for maintaining this awesome package and continue mobile development with blaze.
I want to switch to your version but saw that you are using another version of ionic-scss package.
I suggest that update GUIDE.md and add new notes about your version setup.

Thanks again @JoeyAndres.

Add support for FlowRouter

FlowRouter is now the recommended router by MDG and IronRouter has limited support going forward. Therefore, it would be awesome if you could integrate in support for FlowRouter. It looks like there is already a port to FlowRouter https://github.com/txs/meteor-wecare-ionic-flow/ and this was previously discussed meteoric#199

I'd be willing to donate a small $ amount to make it happen and have you support it going forward. You could probably combine efforts with @txs.

Pass route parameter to ionItem

Hi @JoeyAndres,
I success to pass _id through route parameter for below route:

this.route('category', {path: '/category/:_id', controller: 'CategoryController'});

This is my html:

{{#each categories}}
                {{#ionItem path="category" class="item-icon-left item-icon-right" }}
                    {{#ionItemContent}}
                        {{> ionIcon icon="ios-arrow-left"}}
                        {{../title}}
                        <p>{{../description}}</p>
                        {{> ionIcon icon="ios-checkmark" class="balanced"}}
                        <span class="badge badge-assertive">0</span>
                    {{/ionItemContent}}
                {{/ionItem}}
            {{/each}}

But who to pass title parameter for below route:

this.route('category', {path: '/category/:_id/:title', controller: 'CategoryController'});

I guess now meteoric only support _id (this specific name) because I didn't say in ionItem (I specify only path {{#ionItem path="category"}}) but meteoric automatically pass _id to route, but how we can pass other route parameter. Is it possible with ionItem?

Cucumber helper.js

A bunch of helper function for Cucumber so that developers can implement their own "acceptance testing" faster.

noop UTILITY

I find myself using () => {} for a noop function. This should be abstracted away to reduce thinking time, especially for new developers.

upgrade to ionic2

Hi,
Do you have any plan to upgrade meteor-ionic to ionic2 ?
ionic 2 has beautiful material design and many other new things.

Why no more "ionIcon"?

Hi, sorry, but i'm curious: Why did you get rid of "ionIcon"? Is there an alternative we should be using?

SideMenu extra white space on tap and pull from each side

Hi @JoeyAndres ,
I used Side Menu in all of my project one other issue that exist in meteoric version (and ok on ionic version) is when you tap and pull page to a side and pull more than side menu width an extra space occur between content and side menu and a small horizontal scroll shown below side menu. See below image for more info:
screenshot from 2016-02-06 16 53 08

TypeError: IonSideMenu.snapper is null on page without SideMenu

Hi @JoeyAndres ,
1- Please go to this page: http://jandres-ionic.meteor.com/tabs/one from demo index.
2- Then back
3- This causes below error: (on firebug or developer console)

Exception from Tracker afterFlush function:
d7eb804a9c0226fcaecc891d990c8f7533514e97.js?meteor_js_resource=true:5 TypeError: Cannot read property 'enable' of null
    at Object.R.enable (d7eb804a9c0226fcaecc891d990c8f7533514e97.js?meteor_js_resource=true:193)
    at null.<anonymous> (d7eb804a9c0226fcaecc891d990c8f7533514e97.js?meteor_js_resource=true:191)
    at d7eb804a9c0226fcaecc891d990c8f7533514e97.js?meteor_js_resource=true:93
    at Function.e._withTemplateInstanceFunc (d7eb804a9c0226fcaecc891d990c8f7533514e97.js?meteor_js_resource=true:94)
    at d7eb804a9c0226fcaecc891d990c8f7533514e97.js?meteor_js_resource=true:93
    at Object.d._withCurrentView (d7eb804a9c0226fcaecc891d990c8f7533514e97.js?meteor_js_resource=true:93)
    at l (d7eb804a9c0226fcaecc891d990c8f7533514e97.js?meteor_js_resource=true:93)
    at t.Computation._compute (d7eb804a9c0226fcaecc891d990c8f7533514e97.js?meteor_js_resource=true:33)
    at new t.Computation (d7eb804a9c0226fcaecc891d990c8f7533514e97.js?meteor_js_resource=true:33)
    at Object.t.autorun (d7eb804a9c0226fcaecc891d990c8f7533514e97.js?meteor_js_resource=true:33)

I test another code and if layout doesn't have sideMenu this error happens. For example with a layout like this:

<template name="simpleLayout">
    {{#ionBody}}
        {{#ionView}}
            {{> yield}}
        {{/ionView}}
    {{/ionBody}}
</template>

events.js in Meteoric

ionic have events.js. By a quick glance it seems to coalesce all events in one place, making it easier to utilize by other developers. Investigate and implement this.

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.