Git Product home page Git Product logo

nre-blog's People

Contributors

cloudtoad avatar jameskellynet avatar jnpr-raylam avatar jweidley avatar lara29 avatar mierdin avatar nlundquist avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

nre-blog's Issues

Use updated components for advisor, and add promoted lessons widget/shortcode

Thinking it might be useful to have the promoted lessons carousel on one of the main blog, kind of like the advisor widget.

In looking at this, I noticed the import for the advisor in https://github.com/nre-learning/nre-hugo-theme/blob/master/layouts/partials/scripts.html#L4 was using an older version of the antidote.js file while it was still in antidote-web, before being moved to antidote-ui-components. So I updated it, and also added a reference for the promoted lessons component.

Doing so made it so that neither component worked, because they couldn't get a handle on lit-html:

TypeError: Error resolving module specifier: lit-html

It turns out that the older version of antidote.js that's currently referenced in that repo uses an external, absolute URL for importing lit-html. However, the advisor.js and promotedlessons.js that are currently in master for antidote-ui-components are using it by name, which implies that it has some way of looking it up when running locally, but external web applications can't make use of this so they fail to find it.

Need to research how these imports actually work and how best to move forward. I was considering turning those imports in antidote-ui-components into relative imports but it felt wrong. Anyways I'm putting a hold on this until I have time to do more research.

This will require coordination across the antidote-ui-components, nre-hugo-theme, and this repo.

Mobile Styling Issue

I was browsing the new website and I noticed on mobile that the layout wasn't right on first page load. The mobile menu is visible and has horizontal scroll, this seems to be resolved if you open and close the menu.

I have attached a video of the issue.

ezgif-3-02d00d95d11b

Re-enable front-page advisor

In #60 I commented out the front-page advisor component, since it doesn't currently work. This gives a pretty bad first impression to new users, so I'd rather they not see it until it works properly.

#28 highlights that this component uses a very old version of the antidote.js script via a commit ID in antidote-web, and it's possible that in solving that issue, this may be solved as well.

There have been CORS issues for a long time. On chrome in incognito, it seems this was intermittent originally. However, in FF these days this seems more pronounced.

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://go.nrelabs.io/syringe/exp/lesson. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).

The other main issue is that this uses the old /syringe path, which is another artifact of using an old version of antidote-web.

Once #28 is fixed, we should re-enable this and ensure no CORS issues remain.

Additional community-related content/pages

  • Use cases page, with illustrations. What you can do, and what you could get out of it-
    Contribute to NRE Labs curriculum. We host your content for free.
  • logos on front page for involved companies (juniper, red hat, cumulus, extreme)
  • Need to build a video for prospective contributing companies. How NRE Labs or any of the subprojects could be useful to them. What they would get out of contributing.

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.