-
-
Notifications
You must be signed in to change notification settings - Fork 261
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
core: add short_text support [wip] #1494
Conversation
Yeah this is something that has bugged me for a long time. This branch is a mess with lots of random commits which makes it hard to review - could you try to clean it up so that only your commits are visible. If you get stuck I'll try to help out. |
Yes will try to clean this one and continue on it. I will for sure need you help, will ask you ;) |
93d40c5
to
e712c09
Compare
@tobes branch cleaned ;) |
thanks I'll try to review it soon |
I don't think we should do anything in There are two different things going on.
I think we should just start with (1) and get that nice. Then we could think about (2) I'm not sure that 2 is such a good idea anyway. |
Ok @tobes will clean this PR to simplify it so and support short_text without magic thing for the moment. |
Plz resolve teh conflicts. Thx, mate. |
Hey, I have not only conflict but thing to remove in. I dont find time those weeks to work on. |
simple way to transform with settings a 'max_size' globally for all module or per module. short_text is used if returned text size is larger than monitor.
@lasers can you come on irc? |
6491cee
to
4f3059b
Compare
green but not working, hands up, will restart from scratch |
@cyrinux should I close it then and you start fresh? |
I'd like a simpler implementation that only has That keeps things much simpler as there is actually quite a lot of complication when you look at the details of possible outputs. For such a simple feature it is remarkably tricky and that is before we start asking difficult questions about some of our modules. This is actually one of the many features that I've implemented in the past but never made a PR |
Hi guys,
I started this branch few months ago, this is an @ultrabug request 😉
I prefer open the PR before forget the tasks.
I just rebased on master, fix travis complain.
The goal is to support the short text feature which shrink text when no more space is available.
When I done the branch, this was working, but it is very simple implementation.
What we have for the moment (if i remember correctly my work):
for eg, wwan module:
its config:
Now few questions, need help to progress.
As you see, short_text if defined in the module.
How to implement this for all module without pass on all? I can batch the edit of all module but is it the best way to do?
To be continued...
If you have advise before i continue (or not?).
edit: sorry I have noise if files changed (search "short" ^^)