-
Notifications
You must be signed in to change notification settings - Fork 37
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
Discussion about merging the two project? #36
Comments
Thanks! We can talk about it tomorrow since my Mac is currently not here
right now.
…On Sun, Jul 8, 2018 at 04:01 Yuan Fu ***@***.***> wrote:
I just saw your new branch, and it’s pretty cool! I’d happy to merge my
project to yours if we can agree on the code. I haven’t investigate every
line but already have some idea based on your README. 😄
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#36>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AP-U3gO-O7-Cu6rPlqV2D5d_QUig7eknks5uEROSgaJpZM4VGeYG>
.
|
Your update is quite complete and I don't think I can add too much to it, except this: (I'm guessing) ensure that the candidate always have enough space Here you can see that candidate "sssssssssssssssssssssssssssssssssssssssssssss" took space from the part following it. Also, I configure the length of each part by using a proportion to the max width instead of a fixed length. |
Thanks for the details. I'll take a look the implementation details of The candidate width issue is a bit annoying. In the older version of |
Also, thanks for mentioning |
What about the max width and format function? About width issue, to just provide some ideas, in my implementation I use "info-function"s to provide information. For example, My transformer will then first try to fit the longest string into a column; if it fails, it tries to use the next one. If the last one still doesn't fit, the transformer will simply truncate the string. Note that all this happens before the candidate eats up anyone's place.
I'm not sure if I understand you, because there is a |
Transforming a candidate to a list of candidate string for a transform function seems a bit complicate for users... 😅 I like the idea of However, this works not so well with file paths since if shortening is necessary, one would usually prefer |
How about making The idea is to separate responsibilities, format functions only provide raw information and the trimming and concatenation are done solely by the transformer. |
I agree with that. Another issue is that, some ivy commands are from |
I can think of two ways:
|
Just wanted to mention that invy-filthy-rich is not maintained anymore. So this issue is now basically "try to get as many good ideas as possible from ivy-filthy-rich". |
I just saw your new branch, and it’s pretty cool! I’d happy to merge my project to yours if we can agree on the code. I haven’t investigate every line but already have some idea based on your README. 😄
The text was updated successfully, but these errors were encountered: