Giter Club home page Giter Club logo

katalog's Issues

Catalog Model - part2 - expand the model to the Search tab

Expand the catalog a model for the Search tab:

Display additional fields (correct display, type and sorting):

  • file name
  • file path
  • file size
  • file date (string, but store/displayed in ISO for correct sorting)

Features:

  • left click to open
  • context menu
  • files found counter
  • export results (list of absolute path only)

Search:

  • test/adapt existing features to the new model

Catalog Model - part1 - initiate with the Collection tab

Implement a model to manage files information (name, path, size, date, etc.)

  • create initial model
  • update cataloging method to also get file size and date
  • populate data model from a catalog file
  • update file view to use model

Fields (correct display, type and sorting):

  • file name
  • file path
  • file size
  • file date (string, but store/displayed in ISO for correct sorting)

Features:

  • left click to open
  • context menu

SEARCH: improve search performance (-70% time for re-run)

Until now, each Search request triggered a loop loading and going through each catalog file.
Better management of files listed in csv catalogs:

  • upon each search request, only load new/required catalogs into memory

  • enable faster search in catalogs already loaded

  • new catalog field to capture if/when it was loaded

  • file table to store full catalogs

  • a search request only load catalog file if never loaded or updated

  • rewrite search in catalogs

  • Hide loaded version value

Search: Catalog selection code

  • Replace this list of full catalog path by the catalog name only
  • generate the list from the catalog model
  • Adapt main Search
  • simplify the code for reload/refresh everywhere

Search: ComboBox for single choices

Replace the radio buttons by combobox:

  • let space in the windows and all in one line
  • easier maintenance and to get values for the search methods

Create: warning if catalog exists

an existing catalog file would be overwritten if the same name is used.
show a message for the user to choose to overwrite or cancel

Create: include hidden files

  • ui: checkbox under other options
  • change iterator accordingly
  • record in the catalog the choice so it can be use when updating the catalog
  • display in the catalog list

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.