-
-
Notifications
You must be signed in to change notification settings - Fork 808
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
WIP: ✨ Add raw layout to gitmojis list #453
WIP: ✨ Add raw layout to gitmojis list #453
Conversation
Hey @carloscuesta, @vhoyer I wanted to have your opinion about this implementation of the feature before continuing. So I will love to have some feedback 😊 |
Tho, I'm quite bad at designing things ➖ 😅 |
@vhoyer Ok so make some updates concerning topics 1 and 2 which makes totally sense 👍 Not sure about topic 4, I prefer to have an icon that illustrate the layout since it's used by most of the interfaces (Google, Font-Awesome). But it's probably better to not have a toggle button and instead this type of UI like Font-Awesome has: What do you think about it? I agree with 3 but need for that to change aspect of |
I think you are right.
I think we can figure a way of doing it without being ugly :D, let's try, if you have trouble, let me know :D |
1db8b27
to
39c5b7f
Compare
Make some changes according to #453 (comment) What do you think about it @vhoyer, @carloscuesta? |
cfa15eb
to
a9fdea6
Compare
1653915
to
62f69eb
Compare
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/carloscuesta/gitmoji/5yfzzimls |
Hey @vhoyer 👋 Sorry for late answer 😅 Totally agree with point 1, 3, 4 I will fix it 👍 For point 2 I'm not sure of the design to implement 🤔 Having the icons a little bit in the center make the raw layout feel strange 🤔 Or maybe it's not so gross. What do you think? 😄 |
I would add another column to the layout since we have a lot of space! |
Sorry, what I meant was that the icons should follow the edge of the current display, so if on grid, should be a little bit centered, and if on list mode, it should be at the end of the list (right side) |
It could be, we could have more than just desktop/tablet/mobile breakpoints and have like mobile/tablet/desktop/larger-desktop (:sweat_smile:) so we can fit the third column since I think it would be better try avoiding cutting the text :smile: |
576bc36
to
ad12012
Compare
@vhoyer So I fixed points 1, 3 and 4. For point 2 the main problem of having the buttons following the edge of the current display is that it's not really user-friendly. I you toggle the layout then the buttons are going to move and the user will need to 'follow' the buttons to re-toggle the layout. @carloscuesta I don't see a layout where we can have 3 columns with all the descriptions. With 2 columns there are already some descriptions that overflow. |
Still about point 2: Ok, we should make some benchmarks to see what other players with this kinda behavior did: |
Co-authored-by: Felipe Lopes <7880548+felops@users.noreply.github.com>
Co-authored-by: Felipe Lopes <7880548+felops@users.noreply.github.com>
c186543
to
3405136
Compare
ahah, sorry for the obsession haha, but I'm not talking about the looks, I'm talking about the behavior of a toggle button, in this case we would end up with a toggle icon. This is mostly to handle focus management. If you want I can submit a PR to your branch with this suggestion of mine for you to see if you like the behavior :D |
@vhoyer Yeah sure show me your idea 🚀 |
probably a typo
This should make it easier for the user to change between layouts because the focus of the button don't change.
johannchopin#1 here this is what I meant with "a toggle button" :D |
Feature/raw mode of gitmojis list
I think we can integrate this now! Next to the search input, I can revamp the PR if you don't want to deal with all the conflicts and stuff @johannchopin |
I think it's a great ideia :D |
Cool cool I will have a look to the different conflicts asap 👍 |
Feel free, if you need help I can help you 😊 |
Hey @johannchopin I've got some free time today and I I think I can revamp this PR and deliver this feature to the website 😊 Are you ok with that? |
@carloscuesta hey sorry I had non time this week 😅 so yeah feel free to rewamp it 👍🎉 |
No problem! Cool thanks will send a PR today ❤️ |
Description
Feature where you can toggle the gitmojis list between a raw and grid layout. So something like that:
Closes #314.
Tests