Giter Site home page Giter Site logo

vaadin / bookstore-starter-flow Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 11.0 3.02 MB

[DEPRECATED* A simple example web application built with Vaadin 10 using Java. Replaced with https://github.com/vaadin/bookstore-example

Home Page: https://vaadin.com/start

Java 94.50% JavaScript 1.79% CSS 3.72%

bookstore-starter-flow's Introduction

bookstore-starter-flow's People

Contributors

alvarezguille avatar amahdy avatar artur- avatar benwilsoni avatar bogdanudrescu avatar caalador avatar dependabot[bot] avatar legioth avatar manolo avatar mehdi-vaadin avatar mikotin avatar pekam avatar pleku avatar someonetoignore avatar ujoni avatar vaadin-bot avatar zhesun88 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bookstore-starter-flow's Issues

Application is broken

  • Build and run application as readme says
  • open http://localhost:8080/

Result: you are redirected immediately to http://localhost:8080/Inventory/ without asking login first.
Since there is no auth info the page shows nothing except a need to login.

Navigating with empty parameter should close the form

When saving a new product, the url is updated to /inventory/, but the editor form is left open.
The situation is the same when clicking the cancel-button when adding a new product. This makes it really hard to exit the form when creating a new product.

Jetty?

mvn jetty:run

No plugin found for prefix 'jetty'

Consider changing the project to single module

The FW7/FW8 version was a multi module project to be able to handle the widget set properly if memory serves me right. In this version there is no widget set and no need for a separate production module so having a multi module project with the complexity that comes with it seems unnecessary.

App works very slowly in MS Edge

On Win10, MS Edge 42 (Microsoft EdgeHTML 17.17134)

Using eg. master branch and V12 snapshot,

  • the Grid on the Inventory view opens very slowly, in two steps

    • first N rows, you see white space for a while, then rest of the rows are loaded
    • Is there some size miscalculation happening ?
  • Scrolling the grid is so slow it is basically broken

  • the Grid is quite unresponsive for clicks after loading it the first time

    • opening the editor first time or after navigating to the inventory page from /about page
    • after opening the editor it becomes a lot faster

Remove the button from the menu tabs

We shound't have the button there just to be able to place the icon on the left of the text - the menu doesn't have to look 1-1 with the older version.

Zip packaging doesn't work in the website

Since the project is split into multiple modules, the zip packaging for the start page download is not working. It should be fixed so that it can also work with multimodule Maven projects.

Technically it can either detect multimodule projects automatically, or there can be some additional metadata for this.

Reset the repository to be ready for migration

  • Reset the master branch to be empty (no code commits, just .gitignore)
  • Make the master branch protected, add validation build
  • Make a PR for adding the whole FW 8 version of the starter
  • Make the repository public

Make the menu responsive

The menubar should be responsive and the app should look nice.
The theming variants for the components have already been added in previous step.

Step five: migrate the product form

For the checkbox-group, the unofficial add-on for V10 can be used, BUT there should be comments in the code (pom.xml, java) that there will be an official version of this in V11.

The form is migrated to as a polymer template, but it should be mentioned (comment in code & documentation) that it can be also achieved with Java only.

Step one for migration

  • Add V10 dependency
  • Change the UI to use Flow version
    • remove Navigator stuff
  • Add a temporary route mapped for "" url to be able to verify that the V10 part works

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.