Code Monkey home page Code Monkey logo

fast-gys's People

Contributors

dribanez avatar forgge avatar velichechka avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fast-gys's Issues

Make sure all comments are in single doxygen style.

All doxygen comments must have unified style, e.g.:

    ///
    /// \brief Constructs parser using device with source data.
    /// \param[in] filePath A file which contains records.
    ///
    TextFileParser(QIODevice *device);

Methods and classes without comments should be supplied with Doxygen placeholders.

Implement sorting of table fields

When particular cell in header is clicked, table should be sorted by items inside this column.
Next clicks on this header will switch sort order.

GYS crashes if file was not selected

Steps to reproduce:

  1. Click 'load file', dialog window will pop-up.
  2. Without selecting a file, click 'Cancel'
  3. Observe a crash.

Log:

QMetaObject::connectSlotsByName: No matching signal for on_mainSitesTable_cellClicked(int,int)
Entered:  void MainWindow::on_btnLoadFile_clicked()
Entered:  TextFileParser::TextFileParser(QIODevice*)
Entered:  TextFileParser::TextFileParser()
QFSFileEngine::open: No file name specified
terminate called after throwing an instance of 'Exception'

Implement ignore list

GYS should be extended with the ignore list, that contains domains and\or emails that should not be present in main table.

Persistent storage for data retrieved from external sources

Once file new file opened, or data for any site got from external sources, new DB file should be created inside application directory, that contains that data.
Structure of a data inside:

  • site name (act as a key)
    • client data
      • date added
      • client ID (number)
    • rating data
      • world rating
      • region id ("US", "CA", etc.)
      • region rank
    • similar sites (array of links to other site names inside this file)

Every time program starts it should search and load such file

Improve database creation

Database should be created only if it doesn't exist. Error handing is a subject for improvement as well.

Disable buttons if action is in progress

When user clicks on button, corresponding action may take notable amount of time. While task is running, buttons should be disabled to prevent additional task with the same type to be started.

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.