Giter Site home page Giter Site logo

Comments (25)

poteto avatar poteto commented on August 29, 2024 1

P.S. You can still submit a PR, master is updated

from ember-crumbly.

nem035 avatar nem035 commented on August 29, 2024

+1

from ember-crumbly.

sylwiaeb avatar sylwiaeb commented on August 29, 2024

Any chance to get this fix soon? Having the same issue.

from ember-crumbly.

danielspaniel avatar danielspaniel commented on August 29, 2024

In the meantime you could use my fork:
put this in package.json and run npm install
"ember-crumbly": "git+https://github.com/danielspaniel/ember-crumbly.git#a330602b51624297cea1f31e137bbacd15631d13"

yeah .. i wish whoever was maintaining this would give us a sign. I realize this whole addon needs rewriting and I am willing to rewrite it but there are too many dangling branches that keeps me tied down.

from ember-crumbly.

sylwiaeb avatar sylwiaeb commented on August 29, 2024

"ember-crumbly": "git+https://github.com/danielspaniel/ember-crumbly.git#a330602b51624297cea1f31e137bbacd15631d13"

👍

from ember-crumbly.

jameshoward avatar jameshoward commented on August 29, 2024

I'm seeing a problem where Ember is transitioning to a route such as index_loading. Although 16c8045 excludes loading, it won't exclude index_loading. Presumably this same problem would occur for other routes' loading routes e.g. edit_loading.

from ember-crumbly.

danielspaniel avatar danielspaniel commented on August 29, 2024

Since this addon in no longer being maintained ..
I take the installed addon code .. then I make my own breadcrumb component which overrides the one provided here.
And then change a few things like:

  _lookupRoute(routeName) {
    const container = getOwner(this);
    const route = container.lookup(`route:${routeName}`);
    // Dans fix for NOT matching loading or errorpages
    if (routeName.match(/loading|error/)) {
      return null;
    }
    return route;
  },

there might be a few other things I did .. but that is the basic idea .. and should get you started

from ember-crumbly.

jameshoward avatar jameshoward commented on August 29, 2024

Is it no longer maintained? Where did you see that? The last commit / release was only just over a month ago.

from ember-crumbly.

poteto avatar poteto commented on August 29, 2024

It is still being maintained, but admittedly very poorly. Feel free to use @danielspaniel's fork, I will be addressing these issues when I get the time to do so

from ember-crumbly.

alvinvogelzang avatar alvinvogelzang commented on August 29, 2024

@danielspaniel thanks the fix is working. I think it's a good thing to ignore these routes by default right? Only problem I see is that this fix will also ignore routes which are named with 'loading' or 'error' on purpose.

from ember-crumbly.

danielspaniel avatar danielspaniel commented on August 29, 2024

@poteto .. thanks for finally getting back on this. I would rather just help rewrite the whole thing since there is more to it than just this small fix. If you like I can work on it this weekend or next .. because this component needs a rewrite.
@alvinvogelzang: hmmm .. nice special case there .. but how to get around that is very tricky

from ember-crumbly.

poteto avatar poteto commented on August 29, 2024

@danielspaniel Yeah that'd be awesome, sorry I dropped the ball on this addon – I've taken on too many things haha. If you'd like, I can add you as a collaborator

from ember-crumbly.

danielspaniel avatar danielspaniel commented on August 29, 2024

@poteto .. I figured that was the case, and I know you have to make priorities for things, and this addon is way less important than composable helpers ( sorry in advance if that offends anyone .. )
so, yeah , if you want to add me I can just go to town, but would be funner to work together with someone, even if not you then if you can delegate an appropriate minion ( sorry if that offends anyone .. but that is a joke )

from ember-crumbly.

abhilashlr avatar abhilashlr commented on August 29, 2024

Daniel, let me know if you need help. I would love to contribute

from ember-crumbly.

danielspaniel avatar danielspaniel commented on August 29, 2024

@poteto .. can you make me collaborator then .. i will get started on this
@abhilashlr .. when can you start .. I can work on it this weekend or next.

from ember-crumbly.

abhilashlr avatar abhilashlr commented on August 29, 2024

It's a weekend already here 😂 we can start off immediately☺

from ember-crumbly.

danielspaniel avatar danielspaniel commented on August 29, 2024

@abhilashlr .. sorry for delay .. I was looking things over and seeing what needs to be done and whatnot.
you on SH?

from ember-crumbly.

abhilashlr avatar abhilashlr commented on August 29, 2024

Sorry what is SH?

from ember-crumbly.

danielspaniel avatar danielspaniel commented on August 29, 2024

screen hero

from ember-crumbly.

danielspaniel avatar danielspaniel commented on August 29, 2024

i just pushed my refactors to the danielspaniel fork of this repo .. so if you pull that you will see what I have started
what i think is needed is some more tests to show that the index or error or loading routes are not shown.
can you ponder how to do that .. and or let me know what else you want to touch up

from ember-crumbly.

danielspaniel avatar danielspaniel commented on August 29, 2024

actually .. i just tested on ember 1.11 and i broke the heck out this so let me ask if we can do version for ember 2 starting now?
@poteto .. you up for a version bump that requires ember 2 and up? I would vote yes since ember 2 has been out for about a year.

from ember-crumbly.

dguettler avatar dguettler commented on August 29, 2024

@danielspaniel Is this still an issue? If so is there a PR to fix this?

from ember-crumbly.

danielspaniel avatar danielspaniel commented on August 29, 2024

I think I did not make a PR because the previous maintainer was so flakey I never could get any feedback. But I can put it out there if you like.

from ember-crumbly.

dguettler avatar dguettler commented on August 29, 2024

@danielspaniel if you could give a quick example how to demonstrate the issue this would be helpful as a first step.

from ember-crumbly.

dguettler avatar dguettler commented on August 29, 2024

Closing this, if it's still an issue please give an example and I'll re-open

from ember-crumbly.

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.