GithubHelp home page GithubHelp logo

borz-client's People

Contributors

battlemage0231 avatar hillcrestpaul0719 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

borz-client's Issues

Add functionality to create threads

There is no way to create threads from the client right now. The server currently provides an API for doing so.

Creating a thread can just extend the threads widget with no messages. However, this will take some configuring and could potentially result in messy code. It's also acceptable to just create a new widget.

Config file doesn't work as expected on Windows

When making the config file on Windows, it will just map to a directory called "~" in the project folder. We should specifically detect Windows and save it in the AppData/Roaming directory instead.

Add unit tests

Unit tests should be added to relevant source files. Cargo has built-in support for them.

Speed things up using lazy token refresh

Currently, the client requests new tokens from the server every time a request needs to be made to simplify things. However, this can slow the application by a lot.

The measure that can be taken against this is just to request the information with the current token. The server would let us know that it is expired, and then we can request new tokens and then re-send the request.

This will speed things up in the general case, but make things worse in the worst case. The worst case is rare, however (waiting 5 minutes before making the next request), so this should be fine.

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.