Giter VIP home page Giter VIP logo

kinto-admin's Introduction

kinto-admin's People

Contributors

alexcottner avatar ayusharma avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar drfaustie avatar dstaley avatar glasserc avatar grahamalama avatar greenkeeper[bot] avatar joshfindit avatar k88hudson avatar leplatrem avatar magopian avatar matt-boris avatar n1k0 avatar natim avatar slafon51 avatar stloma avatar vanillajonathan avatar yatinmaan 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

kinto-admin's Issues

Improve the styles of forms wrt action button sizes

Spawned from the comments in #65.

In the collection create form, «Add» is bigger than «Submit». I was tempted to click «add», which adds a display field instead of the submit button on the left. — idea: replace «Add» by «+» and move submit to the right

devServer.js should support a -c argument

This would make it easier to develop kinto-admin against a local kinto (although this sort of situation would probably be rare).

I tried implementing this but I wanted to share the check function for the -c argument from bin/kinto-admin and I couldn't figure out how to do it. One ugly way is to have devServer.js require("./bin/kinto-admin"), but I couldn't bring myself to commit this. I couldn't figure out how to have bin/kinto-admin able to require stuff from scripts when it was run directly and from node_modules when the user had npm install'd kinto-admin.

Error with definition and bulk creation

I tried to upgrade the amo-blocklist-ui repo with the 0.12.4 version.

Some errors are thrown when going to bulk creation:
Uncaught Error: Could not find a definition for #/definitions/minVersion.

Whereas the single record creation seems to work fine.

(did not investigate yet)

Allow using deep object property names in displayFields

We should be able to target a given object schema property for selecting it to be displayed:

{
  "fooCollection": {
    "displayFields": ["level1.level2"],
    "schema": {
      "properties": {
        "level1": {
          "type": "object",
          "properties": {
            "level2": {
              "type": "object",
              "properties": {}
            }
          }
        }
      }
    }
  }
}

Add ability to scan a bucket?

Hello,

our project uses generated names of collections on an oauth application's bucket, therefore we cannot predict collection or bucket names. Being able to "scan" a bucket for collections within the kinto admin would be amazing, and before we have this ability, it doesn't make sense to integrate kinto-admin into our growing suite of tools.

Thanks for all your hard work on this project, and I hope that you include this feature in the future! I'll keep an eye out.

Only expose buttons for actions the user is allowed to perform

For example, it makes no sense to render a Create collection button to people not allowed to do so in a given bucket.

Alternatively to hiding action buttons entirely, we could mark them as disabled, and/or add a lock icon next to their label. Thoughts?

Note: This will need Kinto/kinto#600 (comment)

Todo

  • Hide Add/Bulk add buttons if we don't have the permission to create records in a collection (#135)
  • Hide Create collection sidebar menu entry if we don't have the permission to create collections in a listed bucket
  • Hide Create bucket button if no permission to do so (refs #401)

Buckets and collections labels

not an emergency

Currently the object id is used as the label AFAIK.

The use-case would be to have a collection with id addons but shown as Add-ons in the menu.
It could read a label the name attribute in the collection metadata for example.

mozilla-services/amo2kinto#13

Error on startup

Given action "COLLECTIONS_LIST_RECEIVED", reducer "collections" returned undefined. To ignore an action, you must explicitly return the previous state.

capture d ecran de 2016-04-27 14-53-01

Reintroduce the conflict resolution view for race conditions

Now #65 has landed and the conflict resolution stuff has been partially kept in the codebase, we should reintroduce a way to handle a conflict when posting a resource which has been updated on the server since we started editing it on the client.

This is a much less critical issue than before when we used to synchronize a full local replication of the server database, where these happened very frequently.

Actually, maybe what we want here is to simply render a notification that a race condition occurred, which is what github does when editing a same comment on two different instances concurrently.

little notification "cross" is in position: fixed

This little cross (see screenshot below, its css class is close) is set as position: fixed, and will thus stay exactly in the same position when scrolling.

It's also not properly aligned with the notification box title.

screen shot 2016-03-22 at 10 48 29

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.