Skip to content

Conversation

@szporwolik
Copy link
Contributor

@szporwolik szporwolik commented Dec 2, 2025

Problem:

There are three places offering copy-to-clipboard functionality:

  • api page
  • debug page
  • cron page

When working on non-https connection (usually installation / debug / some local instanced) - the copy to clipboard function was not working.

#2524 fixed the code for api page, but still debug was not fixed.

Solution:

This PR introduces shared function to common.js and updates are places to use the common function. This will eliminate redundant code and make the common approach.

@szporwolik szporwolik marked this pull request as ready for review December 2, 2025 22:34
@HB9HIL
Copy link
Contributor

HB9HIL commented Dec 3, 2025

That's not working on https is a security feature by the browser. Not sure if we should override that. Just hide the copy fields on non https if you want to improve UX

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants