Giter Club home page Giter Club logo

Comments (5)

artpar avatar artpar commented on May 28, 2024

Hi @JLKM

Appreciate that you took time to give this another try. Sadly the issues you are facing is not due to daptin but the new dashboard which I am building for it.

The dashboard has been moved to its own repo here: https://github.com/daptin/dadadash

  1. Question here: did you add the relations when creating the table or when editing the table ?
    1.1 The relationship would be fail to add if you don't mark them as nullable and table has existing data.

  2. Pushed a fix in daptin/dadadash@a6f93d9
    2.1 This should fix the "Table name already used" error on editing existing table

  3. "Become admin" now automatically triggers for the first user if you are using dadadash

The docs are sadly lagging behind on the UI front (hence the instructions for "Become admin" manually which was required in the dashboard classic https://github.com/daptin/dashboard-classic)

I'll go ahead and test out the points 1.1 and 2.2 once again when the build is complete, before marking this as resolved.

from daptin.

JLKM avatar JLKM commented on May 28, 2024

Thank you for your quick response.

Did you add the relations when creating the table or when editing the table?

Answer: Both. And the relations wouldn't stick either way after save. Yet, the error message Table name already used only showed up after editing the previously saved settings.

Possible explanation: My test included two has one relations (foreign keys). The two related fieldnames in the relations were set up as aliases. But I didn't mark the aliases as nullables.

I would very much like to take the project for another spin. But how do I most easily get a version with your updates - and also a working combination of the two libraries (API and dashboard). I guess there will be no executable available for this.

from daptin.

artpar avatar artpar commented on May 28, 2024

Hi

I was able to track down both the cause for both the issues and pushed a fix in dadadash.

For the other question as to the most easy way to follow update, until v1 I am not planning to add any major feature in daptin. All the minor fixes/commits which are pushed are automatically built and pushed as daptin/daptin:travis docker image, so that tag is bleeding edge. After testing I tag the stable images with the :latest tag. Also backward compatibility is one of the priorities.

Binaries are built for all commits and tagged releases will have the binaries for all platforms + docker image available. Plan is to embed the dashboard build in the static binary itself (which is not happening right now, only the docker image is carrying the dashboard).

I am not sure if that answers your last question. For the services I am using daptin, I pull the latest image/binary once in a while. Keeping up with the latest release is also not necessary unless there is a security issue or a patch you need.

from daptin.

JLKM avatar JLKM commented on May 28, 2024

Thank you for filling me in. However, I'm not familiar with docker or running :something. Guess I'll just wait for a new release with exe-file included.

from daptin.

artpar avatar artpar commented on May 28, 2024

Hi

Have created a new release. Tested the two issues you faced explicitly.

The dashboard is embedded in the binary executable so you can try it easily

https://github.com/daptin/daptin/releases/tag/v0.9.4

from daptin.

Related Issues (20)

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.