Comments (6)
- The hover effect does not work correctly, because when the cursor moves on the copy button, the hover effect from the text area gets removed and copy button display becomes none.
- Sometimes copy button is barely visible as it overlaps with the text (Maybe it needs a background color)
CEL.Playground.-.Google.Chrome.2023-10-25.22-14-22.mp4
from cel-playground.
@monuelo I would like to work on this.
from cel-playground.
Hi @pateldivyesh1323 !
Thanks for your interest in working on this issue.
That figma already has this copy button: https://www.figma.com/file/pasjtGKiZws9pkiVK9Gzp3/Playground?type=design&node-id=0-1&mode=design
The expected behavior is for the copy button to appear when hovering over the text area.
from cel-playground.
PS: you can interact with the figma prototype here: https://www.figma.com/proto/pasjtGKiZws9pkiVK9Gzp3/Playground?type=design&node-id=29-836&scaling=min-zoom&page-id=0%3A1&starting-point-node-id=29%3A836&hide-ui=1
from cel-playground.
Hi @pateldivyesh1323, are you using the display
property to make the copy button visible, right? Maybe if you use the visibility
property that could work as expected. Also, our UX/UI designer is going to update the prototype adding the background-color
in the copy button as you suggested.
from cel-playground.
-
Hello @joaovictor3g
Using
visibility
property didn't worked. I wrapped text editor and copy button inside a div and appliedhover
event listener on it, so it started treating them as a single entity. -
I opened a pull request, can you please review it.
from cel-playground.
Related Issues (15)
- FR: save input and expression as a share link HOT 3
- Integrate tree-sitter-cel for highlighting HOT 4
- Dropdown not showing all options for minor resolutions
- Support full suite of cel-go extensions HOT 1
- Dark mode HOT 10
- Direct links for existing examples
- Add reference links for cel-go and Language definition overview. HOT 4
- Group examples by category
- Add Istio example HOT 4
- Integrated with CEL cost system as in Kubernetes HOT 2
- Expand Kubernetes examples for multiple categories of CEL use HOT 2
- Top-level List as data is not supported HOT 2
- Output without error feedback
- Support CEL optional values. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cel-playground.