Giter Club home page Giter Club logo

evolutility-ui-react's Introduction

evolutility-ui-react's People

Contributors

dependabot[bot] avatar evoluteur avatar hassankaz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

evolutility-ui-react's Issues

Model.collections does not need a list of fields

In any model collections is the specification of a child set. It is used on a browse screen to retrieve a list of child records displayed in master-detail format.

The fields information is redundant. It matches exactly the fields information in the child model, and can be retrieved as needed by accessing the child model (filtered presumably on inMany). For similar reasons the table and column attributes are also redundant.

Production server fails with file not found error

The error is:
Error: ENOENT: no such file or directory, stat 'D:\MyDocs\dev\Evolutility\evolutility-ui-react\src\public\index.html*.css'

Apparently caused by having moved the server.js. Changes required:

res.sendFile(path.join(__dirname, '../public', 'index.html'))

Also

app.use(express.static(path.join(__dirname, '../public')))

Browser history does not work with click sort

To reproduce,

  • click on Todo. Displays the list.
  • click on Title. Shows up arrow in the title bar.
  • click on Title. Shows down arrow in the title bar and sorts list in descending order.
  • click on back button. Display does not change (still descending). However, address bar now shows:
    http://localhost:8080/todo/list?order=title.asc
  • click on Refresh. Display now shows ascending order.

As a side note, the title bar arrow does not always show correctly.

Date fields get blank when Editing

Hi Olivier,

When clicking the Edit button I saw that the fields that contain dates get erased.
I have attached a printscreen for this below (create_date). The fields had values prior to clicking on the Edit button.

image

Do you know if there is a particular reason for this? Is it possible to change the logic so that the fields stay as is?

Thank you!
Costin V.

package-lock.json http: regressions

The new version 0.2.0 has a package-lock.json, for the first time AFAIK. It contains a mixture of http: and https:, which is undesirable in its own right, but also causes a heap of regressions when updating from an earlier version in which the file was locally generated.

My guess is that the simplest solution is not to include this file in the release.

Date format is US only

All dates displayed by Evolutility seem to be in US format (mm/dd/yyyy).
The culprit code appears to be this line in format.js:64.

return dateParts[1]+'/'+dateParts[2]+'/'+dateParts[0];

It really does need to format dates according to national preferences (mine are European dd/mm/yyyy).

hey

I just meet you ten minutes ago ,by node-red ant it's tab 'low-code' ,searched your project.
we are too many sames ,so i think you are a kindhearted man too ~ haha

Database in local storage

A local storage implementation is a really nice thing, both as a demo and for personal use. The steps I would take are:

  • refactor all references to axios into a separate function/object-based API
  • create a local storage based implementation of that API.

But maybe there is an easier way, reusing the backbone model from the jQuery project.

Threat from flat-map-stream

I have just been notified by my system that there is a known threat called Trojan:JS/CoinMiner that was introduced in the NodeJS flat-map-stream library.

More details here: hugeglass/flatmap-stream#2.

I would suggest that anyone with this module installed should delete it and reinstall.

Enable remote deployment

For deployment to node hosting such as Heroku etc I think a few things are needed, such as

  • ui-react SPA statically loadable from the public directory (port 80)
  • server-node port configurable
  • a better way to handle the uploads and pix paths.
    I'm sure there will be more.

Fetch models from server

Currently all models are compiled in. Assuming all the models are stored on the server it should be a simple change to:

  • retrieve a list of tables from the server to populate the top level menu (or just show a view on the table of tables)
  • retrieve a specified table with its model as required.

How to set this up

Olivier, I tried setting this up in my local machine, is there a document where I can setup this and point to a database and build the UI.

Thanks for your help.

Krishna

Missing country icons for comics

The cause is simple: no file(s) at the given path(s). The wine flags work, the comics flags don't.

Suggestion: put all the country icon files in their own directory, say 'country'. Then they can be shared.

script/build fails with file not found

The error is
Module not found: Error: Can't resolve 'widgets/PageNotFound.js' in ...

I think the alias in config\webpack.config.dev.js is missing from config\webpack.config.prod.js. I tried fixing that, but then there are more.

Info About group by data

Hi, I would like know if is there a simple way to use function like "group by" in evolutility-ui-react. for example I have a list of orders, I would like see the sum of orders by client.

Best regards.

LOV based on existing Entity returns no data

Trying to work backwards off of your template models to expand upon them. Looking at Winetasting.js and specifically the wine_id field:

{ id: 'wine_id', entity: 'winecellar', column: 'wine_id', type: 'lov', label: 'Wine', inMany: true, width: 62, required: true },

When I attempt to add a new winetasting record or edit an existing, the LOV drop down list does not populate with available Wines. Is this field type intended to work as such? Attempting to rejoin the normalized structure that is created through the use of the LOV field type is tricky.

CORS issue (Response for preflight is invalid)

Running into an issue working with the React-UI and Node-Server backed on the same localhost for seemingly "non-simple" requests meaning all of the base GET API calls to the backend work fine, but trying to use the edit views for PUT API calls are getting interrupted. The React-UI will throw a Network Error - and digging into the developer console its looking like a CORS-related issue.

http://localhost:2000/api/V1/winecellar/5: Response for preflight is invalid (redirect)

I'm curious if anyone else has encountered this issue while trying to stand up the base apps.

Issues attempting to Dockerize

Has anyone attempted to Dockerize this code base? When I go to run the app via docker I get the following error and just trying to troubleshoot where I've gone wrong as I've mirrored the same steps with a normal "local" install without any issues.

ERROR in ./src/components/views/many/Cards.js
Module not found: Error: Cannot resolve 'file' or 'directory' ../One/Card in /evolutility-ui-react/src/components/views/many
resolve file
/evolutility-ui-react/src/components/views/One/Card doesn't exist
/evolutility-ui-react/src/components/views/One/Card.webpack.js doesn't exist
/evolutility-ui-react/src/components/views/One/Card.web.js doesn't exist
/evolutility-ui-react/src/components/views/One/Card.js doesn't exist
/evolutility-ui-react/src/components/views/One/Card.json doesn't exist
resolve directory
/evolutility-ui-react/src/components/views/One/Card doesn't exist (directory default file)
/evolutility-ui-react/src/components/views/One/Card/package.json doesn't exist (directory description file)
[/evolutility-ui-react/src/components/views/One/Card]
[/evolutility-ui-react/src/components/views/One/Card.webpack.js]
[/evolutility-ui-react/src/components/views/One/Card.web.js]
[/evolutility-ui-react/src/components/views/One/Card.js]
[/evolutility-ui-react/src/components/views/One/Card.json]
@ ./src/components/views/many/Cards.js 25:12-34

Demo for evolutility-ui-react (not an issue)

Hello Oliver,

Really impressed by Evolutility so far, congrats!

I see that you have a Demo for the jquery version of the FrontEnd, do you plan to showcase one also for the React?

Looking forward to see it!

Many thanks,
Costin V.

Search function

Hi,

Thanks for your great app. I'm able to add new model with less effort.

I have some questions

  • Do you support search functionality?
    I can't find any example using search. I also find that the search flag is commented.
  • Since I'm very new to react, can you give me a guidance to add search to a specific model?
    I have one model only so we can accept hard approach.

Thanks,
Van

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.