Giter Club home page Giter Club logo

rezbuild-emperor-tamarin's People

Contributors

charlotte16 avatar dhmmasson avatar lea-estia avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

schaeferphilip

rezbuild-emperor-tamarin's Issues

Take into account criteria order

Is your feature request related to a problem? Please describe.
some criteria should be sorted in ascending order ( greater is better, rpm, capacity... ) some should be sorted in descending order ( lower is better comsumption, noise level ).

Describe the solution you'd like
Criteria in the database should indicate the order they should be sorted.

TODO :

  • Add in the criteria_type 2 types ascending and descending
  • Change criteria_get_all.sql to get type_name as type
  • Change Criterion.mjs constructor to add a param by name ( add type in the bracket l.35 ) and property type ( l.41 )
  • Change in Technology updateDominance l.67 so that the > is > when criteria is ascending < when criteria is descending

Describe alternatives you've considered
Normalizing data in the db, not flexible and should be done everytime new values are to be added...

Implement the sorting algorithm

Is your feature request related to a problem? Please describe.
Implement the sorting algorithm found in baboon

Describe the solution you'd like
Algorithm presented in the research paper

Describe alternatives you've considered
none

Additional context
none

Pug template middleware

Instead of generating the template.mjs on app start, have a similar process than the sass middleware. Provide a mjs on demand for each pug. Plus a template with all the runtime function

First UI

Create a basic User Interface :

  • Display the list of technologies sorted
  • Allows to modify weight and blur/granularity for every criteria

dotenv exemple

NODE_ENV=development
PORT=3005
mysqlHost=localhost
mysqlUser=user
mysqlPassword=password
mysqlDatabase=dbname

Drag cursors

Is your feature request related to a problem? Please describe.
The drag mouse icon is not always visible

Describe the solution you'd like
Having always the cursors

Updated maps in the sorter

Improve the technology and criterion map in the sorter, so that there use is transparent to the dev.

  •  Array access : mainly for of loop
  •  Map access : through the name of the technologie/Criteria
  •  Proxy the functions call to the right target ( sort to the array, add to the map/array )

[Bug] Criteria weight can be negative

It's possible to set a negative value to a criteria

Describe the solution you'd like
Prevent the criteria from accepting negative values

Describe alternatives you've considered
Always check for positive value when using criteria (which was done at most place...)

Load Ui State

Change the UI to reflect a given state ( local or server based )

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.