Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option to copy and paste widget configuration settings #58971

Open
11 tasks
ponceta opened this issue Oct 4, 2024 · 7 comments
Open
11 tasks

Add an option to copy and paste widget configuration settings #58971

ponceta opened this issue Oct 4, 2024 · 7 comments

Comments

@ponceta
Copy link

ponceta commented Oct 4, 2024

Feature description

Inspired by --- copy / paste symbol --- copy / paste style :

  • Add an option to copy and paste widget configuration settings

image

Scope :

  • widget type
  • constraints
  • default values
  • strategy
  • editable
  • reuse last value
  • display
  • more?

Avoid :

  • Alias

Exceptions :

  • Field does not accept such widget / configuration

Additional context

Widget configurations are valued with more and more options, we should ease the maintenance of these configuration via copy paste tools like we did a few years ago with copy paste style.

Uses cases

  1. Between similar fields configuration (dates, value lists, Not NULL values, ...)
    (2. Between projects)
@ponceta
Copy link
Author

ponceta commented Oct 4, 2024

@3nids does it sounds like a good idea? Feasible or with a huge complexity?

@andreasneumann
Copy link
Member

@ponceta - are you thinking about all widgets together for the whole layer (I think this is already possible) or one or more selected individual widgets?

Probably the latter?

@ponceta
Copy link
Author

ponceta commented Oct 4, 2024

My particular exemple is that one widget configuration is the same for several fields and I have to make exactly the same clics and configuration so my widgets looks the same. It is then easy to miss a click and it is very time consuming.

Here i have fk_dataowner, fk_provider, fk_owner, fk_operator all referincing an organisation table and having exactly the same widget configuration. And this is replicated to some other layers.

@andreasneumann
Copy link
Member

So you want to copy widget configurations within the same layer - not to another layer - right?

@ponceta
Copy link
Author

ponceta commented Oct 4, 2024

So you want to copy widget configurations within the same layer - not to another layer - right?

Yes! (but if it is in your clipboard you could be able to paste it on any other field (including a field in another layer or in another project))

@3nids
Copy link
Member

3nids commented Oct 4, 2024

You can already to this by selecting the editor widget category from copy/paste style. This would reuse what is possible (fields with the same names)

@andreasneumann
Copy link
Member

You can already to this by selecting the editor widget category from copy/paste style. This would reuse what is possible (fields with the same names)

@3nids - I believe this is a different thing. This would be to copy widget configs from one layer to another, but if I understand it correctly, @ponceta wants to copy widget configuration from one field to another within the same layer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants