Giter VIP home page Giter VIP logo

hackernews7's Introduction

HackerNews7

Another Hacker News Reader powered by Framework7

About

This is a demo app to show how Framework7 makes it easy to develop hybrid apps.

Features

Framework7 v4 features demonstrate in component pages.

This demo is developped using Framework Command-Line Interface.

stories.html

storie.html

License

Licensed under the MIT License

PWA

LightHouse Score

Thanks

To all who contribute or want to contribute.

hackernews7's People

Contributors

guillaumebiton avatar nolimits4web avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hackernews7's Issues

F7 catches links

On item page, external links aren't open. they seem to be caught by Framework7 and process throw XHR.

ArtWork proposal

Hi,

This is an artwork proposal before sending HN7 to stores.

icone_hn7_01

icone_hn7_02

Feel free to choose your favorite one ? if you have a favorite ;)

Can't get the HackerNews7 demo to run

I've downloaded the HackerNews7 demo (v. 4.1.4, according to package.json), and am having trouble running it under CentOS 6.10 and npm like so:

{ npm: '3.10.10',
  ares: '1.10.1-DEV',
  http_parser: '2.8.0',
  icu: '58.2',
  modules: '48',
  napi: '3',
  node: '6.17.1',
  openssl: '1.0.2r',
  uv: '1.16.1',
  v8: '5.1.281.111',
  zlib: '1.2.11' }

"npm install" has a few complaints -- joi, too, and hoek are said to have new homes and the code should point to the new ones, and there are a couple of warnings at the very end:

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

In any case, I get the following by doing "npm run dev":

$ npm run dev

> [email protected] dev /var/www/html/example/HackerNews7
> cross-env NODE_ENV=development webpack-dev-server --config ./build/webpack.config.js

ℹ 「wds」: Project is running at http://localhost:8080/
ℹ 「wds」: webpack output is served from /
ℹ 「wds」: Content not from webpack is served from /www/
ℹ 「wdm」: wait until bundle finished: /
✖ 「wdm」: TypeError: Object.entries is not a function
    at generateMetadataForAssets (/var/www/html/example/HackerNews7/node_modules/workbox-webpack-plugin/build/lib/get-manifest-entries-from-compilation.js:174:22)
    at getManifestEntriesFromCompilation (/var/www/html/example/HackerNews7/node_modules/workbox-webpack-plugin/build/lib/get-manifest-entries-from-compilation.js:235:25)
    at /var/www/html/example/HackerNews7/node_modules/workbox-webpack-plugin/build/inject-manifest.js:96:21
    at next (native)
    at asyncGeneratorStep (/var/www/html/example/HackerNews7/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
    at _next (/var/www/html/example/HackerNews7/node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)

I've looked around inside the workbox/webpack code, but, tbh, get lost very quickly. Is there any advice about what might be wrong? (BTW, if this isn't the right way/place to check into this, please let me know.) Thanks!

large screen version, behavior to fix

I have tried to use split view. I think the behavior should be :

  • small screen ( < 640px) , index take all screen, item page get a back button. If nothing in main view history open index.
  • large screen ( > 640px ), split view with index on left, item page on main with a close button. If We click on new item index when item page is already in history. It should close current read and open the new one.

Lot of commits

I've just added a bunch of commits. It seems like app looks really awesome now :) Let me know what do you think about it

I've also changed a bit logic in JS, feel free to ask questions or discuss it

Unable to run this Example.

After installing all the dependencies using npm install When I'm trying to run the example, I'm getting the following output :

framework7 example error

Please help me to resolve it.

swipe left to action craches iOS 8.1 browser

Try to add a swipe left action on home page. To made direct access to the story link.

It works but it slows down the app and made it crash with dashboard reboot after 2 or 3 clicks.

Test is in swipe-to-action branch

UI

successfully builded in phoneGap but it take the same UI in both IOS and Android , should n't take Material in Android?

Issue when parsing domain

Just a quick check give a error on this line:

data.domain = data.url.split('/')[2];

Probably need to check is there data.url or check length of data.url.split('/') array

MacGap 2 Build

Ok MacGap2 is great.

I build a 1,6 Mo HackerNews7 app with it. Always some Artwork to do and I will need some help because I suck at it. :)

App became broken?

Seems to be that something goes wrong. If i open it on iOS the preloader "Loading top stories..." and percentage goes to 500% :) and then nothing happening

More functionality

As i see the official Hacker News API is pretty limited. What do you think, is it possible to improve app with following features?

  • Tab bar on the bottom with the following sections
    • Top stories (as current one)
    • New stories, just added
    • Ask HN
  • Search through HN news using API, not just through current top stories

Is panel opened?

Hello
how to check is panel opened (I mean on right (black) panel) or closed?
Thank you.

How to menu ?

Hi Vladimir,

I have a question over a menu (sort of general). I will try to explain. If we get a menu page before the stories page on the left. How could we get the responsive behavior. I ask you because I have try and I fails :(

I know that it could be done with tabs but I am working on another project that need a global menu.

Your suggestion ?

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.