-
Notifications
You must be signed in to change notification settings - Fork 33
feat: Relates to #128. Add feedback button that links to Fether Github new issue #319
Conversation
Simple but nice, either it's my screen or the black of the icon is more black than other icon (such as the +)? |
Nice! As per #158, we're trying to move to Semantic UI. Could you maybe use one of the icons from https://react.semantic-ui.com/elements/icon/, if they are nice enough? |
@amaurymartiny I've used Semantic UI icons before somewhere. I just tried replacing the existing icons with them as follows but I can't get anything to appear so far:
Also tried the Semantic-UI tooltip https://semantic-ui.com/modules/popup.html suggested by @Tbaut and wrapping the contents of the Feedback component as follows, but can't get the tooltip to display above the account cards (tried changing z-index and so forth unsuccessfully so far)
|
@Tbaut Great idea, much better than an icon that may have people guessing as to what it means |
@Tbaut I've pushed a commit with the changes. Screenshot: |
packages/fether-react/src/Accounts/AccountsList/AccountsList.js
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good :)
@amaurymartiny I've pushed commits that address your latest review comments |
}; | ||
|
||
export const Feedback = () => ( | ||
<div className='feedback' onClick={openFeedbackLink}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could actually be<a href="" target="_blank" />
, just to remove the cursor:pointer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@amaurymartiny i've pushed a commit that changes it to use <a href...
instead. i've also removed the hand pointer and replaced with default arrow
I just tested on mac, and it shows a padding below the feedback button. @ltfschoen Can you try on yours? Apart from this nit I'm ready to merge the PR. |
@amaurymartiny that's strange, it doesn't have the padding on mine (see screenshot below), so i'll have to look into that. if i go into Developer Tools and add i'm using Electron Version 2.0.3 (2.0.3) and Chrome 71.0.3578.80 (Official Build) (64-bit) |
@amaurymartiny i have to add i'm using the latest Chrome Version 71.0.3578.98 (Official Build) (64-bit) and Electron Version 2.0.3 (2.0.3) |
After some quick testing, I think it only happens when you have only 1 account (and related to the min-height property on .window). It doesn't bother me that much actually, so I'll just let @Tbaut have a last look if he's okay with this, if yes, we can merge. Note: what actually bothers me a little bit more is the |
@amaurymartiny Sorry, I misinterpreted the following previous comment. I'll change back to default behaviour
|
@amaurymartiny Yes you're correct, I temporarily changed it to just show one account in AccountList.js (i.e. |
That'd be great to fix this little offset to keep the screen consistent. |
…nt list length is 0 or 1
@amaurymartiny @Tbaut I've pushed some commits that fixes the offset that occurs when the account list length is undefined, 0 or 1 |
The hack works, I'm good with how it looks if @amaurymartiny is fine with the hack :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not my favorite hack, but it's alright. It should be cleaner once we switch to styled-components.
Usage: Click the feedback icon shown in the bottom right corner of the Accounts page and it'll open the Fether Github new issue page
SVG icon used: https://www.svgrepo.com/svg/27566/message
Screenshot: