Giter Site home page Giter Site logo

acre's People

Contributors

iyfe avatar johneke avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

acre's Issues

Cancelling update to a ref field still sets the ref

  1. Open acre/admin
  2. Click on one document
  3. Look for a ref inside that document and click 'Edit'
  4. In the dialog that pops up, click cancel

Result:
The same ref which is already there gets POSTed to the server again

Expected:
Nothing should happen

Use template-literal instead of EJS

Template Literal is fastest, smallest and simplest template engine, because it use JS's literal template feature.

It's 55 times faster than EJS, and it also use less CPU and RAM ressources, so it may be a good idea to use it instead of EJS ๐Ÿ˜€

acre nested refs does not support any data having an apostrophe

Steps to reproduce, need 2 models where one is a ref on the other

  1. Go to model/create page and create an object for the model with no refs, and save
  2. Go to model/create page for second object which has a ref to the first

Result:
No form is visible for create (stack trace in console)

Expected:
Should see create form for second object

Need solution to ref problem

Proposition:

Drop support for auto populating refs on GET. For GET, send ref ids, and let clients request refs on demand

Full support for refs in admin portal for edit, and and

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.