Giter Site home page Giter Site logo

hndesktop's People

Contributors

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

Watchers

 avatar  avatar  avatar  avatar

hndesktop's Issues

Use WebLAF

I kind of don't like the hackernews website design so i really could need a desktop client but HNDesktop ist really beautiful ;)
Maybe you could use a LAF that looks a bit nicer? A really good one is WebLAF: https://github.com/mgarin/weblaf

Use Firebase SDK

If I'm not mistaken we can retrieve data much more efficiently this way, and have a better mechanism than polling to get updates on changed content.

No side scroll from gesture

Doesn't seem to support side scrolling gesture from a touchpad. Up and down work perfectly fine.
Trying from Debian 3.16.43-2 and Gnome 3

Webview toggling breaks after one use

If you press the 'View page' button in the upper right corner, the first time it will successfully replace the comments panel with a webview component. But on all subsequent attempts, the webview component will not load the page.

Optimize comment rendering

Right now we use one JTextPane (which does HTML rendering [since the HN API gives back html for comments)] per comment, and showing a UI with tons of these can make things sluggish, especially on scrolling. Is there a more performant way of rendering comments?

Maven build fails due to missing javafx dependency

Fresh Linux Mint 18.2 (Ubuntu 16.04) install, with apt install maven followed by mvn package, yields a bunch of lines of output and then

[INFO] Compiling Kotlin sources from [/home/wchargin/git/HNDesktop/src/main/java]
[INFO] Module name is HNDesktop
[ERROR] /home/wchargin/git/HNDesktop/src/main/java/App.kt: (5, 8) Unresolved reference: javafx
[ERROR] /home/wchargin/git/HNDesktop/src/main/java/App.kt: (6, 8) Unresolved reference: javafx
[ERROR] /home/wchargin/git/HNDesktop/src/main/java/App.kt: (7, 8) Unresolved reference: javafx
[ERROR] /home/wchargin/git/HNDesktop/src/main/java/App.kt: (8, 8) Unresolved reference: javafx
[ERROR] /home/wchargin/git/HNDesktop/src/main/java/App.kt: (72, 20) Unresolved reference: JFXPanel
[ERROR] /home/wchargin/git/HNDesktop/src/main/java/App.kt: (223, 13) Unresolved reference: Platform
[ERROR] /home/wchargin/git/HNDesktop/src/main/java/App.kt: (224, 31) Unresolved reference: WebView
[ERROR] /home/wchargin/git/HNDesktop/src/main/java/App.kt: (225, 34) Unresolved reference: Scene

I haven't used JavaFX or Kotlin, but I see that it's not mentioned in the pom.xml anywhere. Perhaps you need to add a dependency?

Maven and Java versions:

$ mvn -version
Apache Maven 3.3.9
Maven home: /usr/share/maven
Java version: 1.8.0_131, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.10.0-32-generic", arch: "amd64", family: "unix"

Use System Look and Feel

Have you tried the native UI Look and Feel?

https://docs.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
Here is the code example I'm referring to

public static void main(String[] args) {
    try {
            // Set System L&F
        UIManager.setLookAndFeel(
            UIManager.getSystemLookAndFeelClassName());
    } 
    catch (UnsupportedLookAndFeelException e) {
       // handle exception
    }
    catch (ClassNotFoundException e) {
       // handle exception
    }
    catch (InstantiationException e) {
       // handle exception
    }
    catch (IllegalAccessException e) {
       // handle exception
    }

    new SwingApplication(); //Create and show the GUI.
}

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.