alkem-io / server

Core server in the Alkemio platform, offering a GraphQL api for interacting with the logical domain model.
http://alkem.io
European Union Public License 1.2
25 stars 4 forks source link

references to configuration for server #840

Closed techsmyth closed 3 years ago

techsmyth commented 3 years ago

Description

As a deployer of Cherrytwist I want to be able to customise key links within the application

Acceptance criteria

image.png

Additional Context

valentinyanakiev commented 3 years ago

I have pushed an easy quick fix, but we need to know the following in order to make a good design:

There is also the issue where I couldn't find a link to terms-of-use - currently dev has them on https://dev.cherrytwist.org/terms-of-use.html. This should be a link to 3rd party URL. What is the URL.

There is a draft pushed, easy-to-amend at the moment, but I don't believe it's ready to be merged.

techsmyth commented 3 years ago

I have pushed an easy quick fix, but we need to know the following in order to make a good design:

  • Do we get the entities from the database through a service?

    • If not, I need to either create a new DTO for the return Reference object excluding the ID, or to 'fake' the IDs to values I know are not perent in the DB
    • If yes, we need to design this separately and get the config from the DB.

There is also the issue where I couldn't find a link to terms-of-use - currently dev has them on https://dev.cherrytwist.org/terms-of-use.html. This should be a link to 3rd party URL. What is the URL.

There is a draft pushed, easy-to-amend at the moment, but I don't believe it's ready to be merged.

Lets take an hour on Monday to brainstorm the configuration path forward.

Just had a look at the branch + a couple of first reaction comments:

The contents of the default files does need work - will pick up with Rene next week.

{ "references": [ { "id": -3, "name": "feedback", "description": "Default user feedback location for a Cherrytwist instance", "uri": "https://cherrytwist.org/ecoverse/feedback" }, { "id": -2, "name": "terms-of-use", "description": "Default Terms of Use for a Cherrytwist instance", "uri": "https://cherrytwist.org/ecoverse//terms-of-use" }, { "id": -1, "name": "privacy-policy", "description": "Default Privacy Policy for a Cherrytwist instance", "uri": "https://cherrytwist.org/ecoverse/privacy" } ] }

@ReneHonig good to also involve you in this setup discussion...