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

Tooltips in env_cell.js, actions-overlay, edit, copy, remove #18

Open
allen-munsch opened this issue Nov 5, 2018 · 3 comments
Open

Comments

@allen-munsch
Copy link

allen-munsch commented Nov 5, 2018

I was scared to press any of the hoverable actions-overlay, because I had no idea what they did. Would it be possible to add a tooltip for these?

I was glad this is an electron application, as I was able to track down what I was looking at.

envkey-app/envkey-react/src/components/env_manager/env_cell/env_cell.js

_renderActions(){
    return h.div(".actions-overlay", this._actions().map(::this._renderAction))
  }

Rendered html:

<div class="actions-overlay">
    <span class="edit">
        <span class="img-bg-wrap"></span>
        <img src="assets/images/edit-circle-black.png">
    </span>
    <span class="copy">
        <span class="img-bg-wrap"></span>
        <img src="assets/images/copy-circle-black.png">
    </span>
    <span class="remove">
        <span class="img-bg-wrap"></span>
        <img src="assets/images/remove-circle-black.png">
    </span>
</div>
@danenania
Copy link
Contributor

danenania commented Nov 5, 2018 via email

@allen-munsch
Copy link
Author

@danenania Thanks! That'd be awesome.

One other nit, that I didn't dig into, but not sure if the span elements could be ordered left to right

  • copy, edit, remove

Although it might be more of "easier for a developer to read" type of change. It doesn't change the functionality at all.

@danenania
Copy link
Contributor

@allen-munsch I think that was to get things laying out correctly in conjunction with css floats, but will take another look.

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

2 participants