Coder Social home page Coder Social logo

Make usage of 'category depth' input field a bit clearer by greying out (until category is entered) and perhaps by integrating a counter about commonsextension HOT 3 CLOSED

openrefine avatar openrefine commented on June 18, 2024
Make usage of 'category depth' input field a bit clearer by greying out (until category is entered) and perhaps by integrating a counter

from commonsextension.

Comments (3)

wetneb avatar wetneb commented on June 18, 2024 1

I think the simplest and cleanest implementation of this would simply be to set the <input> field to have type="number", which then uses the browser's native widget to let users input numbers.

from commonsextension.

trnstlntk avatar trnstlntk commented on June 18, 2024

I think we can safely encourage/nudge users to go to a maximum depth of 6-ish categories - deeper will make the retrieval of files very slow I think? But what if a user wants to indeed enter a higher number (eg 11)?

from commonsextension.

lozanaross avatar lozanaross commented on June 18, 2024

If we implement a counter, maybe the counter only goes up to 6 (I like the idea of starting from 0, but that is still in a greyed out box until the category is picked, then the background becomes white and the user can increase the count up or down (with 6 as max value).

By counter I imagine something like this: https://i.stack.imgur.com/QAzfp.gif
(gif source is this page: https://stackoverflow.com/a/63332217 - don't know if script is actually good, just like the looks of the UI)

from commonsextension.

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.