Code Monkey home page Code Monkey logo

Comments (1)

bwanders avatar bwanders commented on June 12, 2024

There is currently no way to restrict any input. The philosophy behind Strata is that users are allowed to input whatever they want, and can come back later to fix things.

This does mean that you get some data pollution (as you nicely call it). This would be best fixed by having a UI that does suggestions. As we currently do not have that, there are three options to provide some kind of insight or restriction:

  • You could implement a custom data type that limits the number of options. In my opinion this is the least desirable solution.
  • I have seen people make a simple "Currently used values" query that can be consulted to see what values are currently already used. This way everyone can quickly see if something they want to use is available as a synonym
  • The cleanest solution I have seen in use is to make the restricted fields a [ref] type. That would mean that users get red-links if they use terms that do not link to an explanation page. For example, you could make pages for Soprano, Alto, etc. and then have a Voice part [ref] field that refers to them.

Hope that helps!

from dokuwiki-strata.

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.