Code Monkey home page Code Monkey logo

seed-starter-manager's People

Contributors

eustacio avatar

Forkers

ajaylogic

seed-starter-manager's Issues

Error label do not being restored to original position when using input date

The error label is not being restored to the original position when a input with the type="date" utilizes the appInputWithValidation directive.

When the input is clicked and then the cleared by pressing the 'CLEAR' button on the materialize css date selector, the error label is not resetting to the original position, being displayed where the input text is supposed to be displayed.

The expected behavior of the input after that the date selector is closed is:
expected-behavior

but the input is displayed like this:
wrong-behavior

Avoid displaying the seed starter form when has no materials

The seed initiator must be made of some material, so it does not make sense to add a new seed initiator when there is no material, which may leave the form in an inconsistent state. It's better to show a message to the user about this instead of show the form.

The logo can be clicked after the navbar ends

The link that contains the logo has a height greater than the navbar, causing the logo to be clickable after the navbar ends. This can be solved setting the link height to 100%.

MaxUploadSizeExceededException is not being properly handled

The exception org.springframework.web.multipart.MaxUploadSizeExceededException is being throwed when trying to use a image file that is larger than the maximum allowed in the application.properties file, and is not being correctly handled, like show a error in the form

Unable to run any JUnit 5 test method

Unable to run any JUnit 5 test method with the following message:
TestEngine with ID 'junit-jupiter' failed to discover tests - java.lang.NoSuchMethodError: org.junit.platform.commons.util.ClassUtils.isKotlinClass(Ljava/lang/Class;)Z

Avoid add a new row to the seed starter when has no variety

An row of the seed starter must have an seed variety, so it does not make sense leave the user adds a new row when has no at least one variety, which can leave the form in an inconsistent state and cause errors. It's better to show a message to the user about this instead of show this part of the the form.

Show a "loading" animation before load the entities

As user I want to see some "loading" animation on the features and seed-starter page when the application is fetching data from the API for the first time, instead of see a image indicating that we has no features or seed starters.

Change the services class hierarchy

Change the hierarchy of service classes to improve code quality while try to decrease the (almost) repeated code.

  • Design a new hierarchy for the service classes
  • Refactor the feature.service to the new hierarchy and change all your usages
  • Refactor the material-type.service to the new hierarchy and change all your usages
  • Refactor the seed-variety.service to the new hierarchy and change all your usages
  • Refactor the seed-starter.service to the new hierarchy and change all your usages

Cannot read property 'close' of undefined after delete a feature

After delete a feature and switch to another page and then go back, the following error is displayed:
ERROR TypeError: Cannot read property 'close' of undefined at FeatureComponent.onFeatureDeleted (feature.component.ts:192) at SafeSubscriber.eval [as _next] (feature.component.ts:137) at SafeSubscriber.__tryOrSetError (Subscriber.js:248) at SafeSubscriber.next (Subscriber.js:188) at Subscriber._next (Subscriber.js:127) at Subscriber.next (Subscriber.js:91) at TakeUntilSubscriber.Subscriber._next (Subscriber.js:127) at TakeUntilSubscriber.Subscriber.next (Subscriber.js:91) at BehaviorSubject._subscribe (BehaviorSubject.js:30) at BehaviorSubject.Observable._trySubscribe (Observable.js:172)

Unable to delete a seed starter

When the delete icon is clicked in some seed starter on the list, the edition page is opened instead of the deletion confirm dialog, making it impossible to delete the seed starter.

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.