-
Notifications
You must be signed in to change notification settings - Fork 709
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
Replace TextTruncator by TextTruncatorCss #8532
Comments
@MisRob I am interested to contribute over this issue. |
@nucleogenesis can I start to solve this . |
Hello @Mohit1345, thank you for your interest in contributing. Yes, you're welcome to take this on. Please have a look at our developer documentation if you haven't seen it already. It'd be helpful if you posted a comment here as soon as you start working on it so that we know it's in progress and I will also assign you on that opportunity. |
Hi @MisRob , I am interested in working on this issue. Could you please assign me |
Hello @Pursottam6003, I'm assigning you, however, if you prefer to work on some other issues you volunteered for, please post here. |
Sure @MisRob I would be very happy if you could assign me to the following issue currently I noticed it requires minor changes but those changes are required so I created the following issues and awaiting to be assigned
Thanking You |
Alright @Pursottam6003, I'm unassigning you from this one and assigning you one of the issues you referenced |
Hii @MisRob as of now, I am only left with one assigned task which I will complete soon But I was having a little doubt; from the issue, i had noticed that we used both so could you please tell me where I need to replace |
Hello @Pursottam6003, some time ago we decided to get rid of However, I wouldn't recommend doing it all in one huge pull request. If you could open smaller pull requests, that'd be welcome. It will be reviewed faster and we can clarify issues more easily if you encounter some before you refactor it all. You could, for example, refactor one page or a plugin, depending on the number of |
Hii @MisRob whenever you are free kindly check the PR it's having minor changes if it needs certain modification kindly do let me know :) Thank You |
The PR #10518 removes |
Fixed Update #8532 Replace TextTruncator with TextTruncatorCss
Fix Update2 #8532 Remove text truncator
@MisRob, Please assign this issue to me. |
@Jaspreet-singh-1032 Done, thank you! (assigning myself too as a contact person, but won't work on it) |
@Jaspreet-singh-1032 There has been no activity for a long time here and you worked on some other contributions so I assume it's not in progress. If that's wrong, you can coordinate with another contributor I just talked to and who might be asking here for an assignment. It shouldn't be a problem since there are many places to work at. |
Hi @MisRob, Yes I was not able to work on this due to other tasks. If someone wants to work on it they can go ahead. |
Hello @MisRob I understand the issue. Could please assign it to me? I'm planning to fix the Also @Pursottam6003 I saw that in the
Are there any files in Update |
@muditchoudhary Thank you. I'm assigning you. Feel free to go ahead with all the occurrences you've found, I don't think that there's someone with any local work in progress. 5 files is okay. The only important thing is having a reasonable chunk of work to review and test. Please target your pull request to the As you asked for some new issues, I wanted to mention that there's a follow-up work where we'd like to move |
@MisRob Only 3 files were left for which I made the changes already in my local env. I would raise 3 different PRs for these 3 files so it would be easy for the QA team to review and communicate with us. I'll make sure in the PR template I'll describe where these changes affect in Kolibri.
Sure I would love to work on that. You can provide more information at any time. |
@MisRob Done with making PRs. Please have a review. |
Great @muditchoudhary, we will have a look in the next several days. Thank you. |
Hello @MisRob since the PRs have merged, now I can work on the follow-up issue you told me about. You can mention me on the issue if it's already created otherwise I think you can tell more about it here. Thanks! |
Hi @muditchoudhary, great, I was planning to open an issue for that today. If you'd like to, you can familiarize yourself with These are pretty new contributing guidelines and if you decide to give this a try, I'd be grateful to hear your feedback on the developer documentation. |
@muditchoudhary This is the issue learningequality/kolibri-design-system#450. Please message us there as soon as you're ready and I will assign you. |
@muditchoudhary FYI there's another follow-up #11287 but let's keep that for another contributor since you already have some experience and a new issue ready above |
Thanks so much for completing this work @muditchoudhary and continuing with wonderful contributions |
And thanks @Pursottam6003 for starting work on this! |
Thanks to you too for helping me and being a really awesome maintainer. I really appreciate your support. |
I just came around to this old issue by chance #8124. So wanted to mention that this contribution, even though it looks to be simple, should help us with performance quite a lot (didn't do measurements, but pretty sure) @muditchoudhary and @Pursottam6003. |
Observed behavior
In #8464, where a new text truncator component based on CSS,
TextTuncatorCss
, was introduced to the codebase as an alternative to JS-basedTextTruncator
to prevent introducing more performance issues similar to ones reported in #8124, it seemed that we agreed on replacingTextTruncator
byTextTruncatorCss
completely. Alternatively, we could discuss creatingKTextTruncator
fromTextTruncatorCss
in KDS and migrating to it.See @indirectlylit's comment
Note that as @indirectlylit mentioned here we need to be careful about testing the new truncator properly in regards to the following issues to avoid regressions:
Expected behavior
TextTruncatorCss
orKTextTruncator
is used everywhere andTextTruncator
exists no moreUser-facing consequences
Performance improvements
The text was updated successfully, but these errors were encountered: