sentier-dev / sentier_vocab

The data processing scripts and configuration to build the DdS vocabulary
MIT License
0 stars 1 forks source link

Copying name of entry in vocab.sentier.dev #8

Closed igt-misc closed 10 hours ago

igt-misc commented 21 hours ago

Describe the bug When I click the "copy preferred name" button on an arbitrary entry, it only copies the first number and not the readable name.

To Reproduce Steps to reproduce the behavior:

  1. Go to this entry for municipal waste
  2. Click on the copy button by the preferred name
  3. Paste it somewhere.
  4. Make sure you pick something with a leading number like "2711 Petroleum gases and other gaseous hydrocarbons" and not something that's entirely text like "Crude Oils"

Expected behavior The entire preferred name field is copied, or at least just the text part.

Desktop (please complete the following information):

cmutel commented 10 hours ago

This is the way that SKOSMOS works - it's possible to this can be changed in a config file:

But for the time being highlighting and copying is a reasonable workaround.