Giter VIP home page Giter VIP logo

sedona-sbo's People

Contributors

bdemalglaive avatar gmeot avatar pasdeloup avatar scollado avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

gmeot

sedona-sbo's Issues

Duplicate code in generated datatable classes

Code is seen as duplication in the different generated classes

The next 45 lines appear in src/AppBundle/Datatables/AlbumDatatable.php:63, src/AppBundle/Datatables/ArtistDatatable.php:63 and src/AppBundle/Datatables/TrackDatatable.php:63.

The next 24 lines appear both in src/AppBundle/Datatables/AlbumTrackDatatable.php:45 and src/AppBundle/Datatables/TrackDatatable.php:39.

Code Factorisation should be done

Remove generated code comments

Based on the principle that removing code is easier than adding, the code generator generates a lot of code, and in doubt sometime generates commented code that can be activated by uncommenting it.

However, it can be seen as a bad practice and code quality checker raise warnings on it.

Those generated optional codes should have a custom syntax to be easily detected, and a new command line to automatically remove them should be added.

Test Generation

Behat Tests should be automatically generated at the same time than Controlers

Controllers have too many actions

Sensio Insights usually reports that our controllers have too many actions.

It's usually true for Entity having different relations with other entities: they have several actions for each relation to list/add/delete.

A fix could be to generate separate controllers for relations, but in this case, they should be grouped by Entities in folders or there will be too many files.

Multilanguage datepicker doesn't work

DateTime system only works for "en" projects.
Should be working for all languages.

  • Bug with front JS: localized version of Moment are not correctly loaded (fix in progress with #9 )
  • Symfony Type expects US date format, the format should be dynamic according to current locale

Generate REST Controlers

Using the same basic idea, it should be possible to generate REST controlers based on FOSRESTBundle
sbo:generate:api

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.