-
Notifications
You must be signed in to change notification settings - Fork 71
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
Hinclude can evaluate JS based on an attribute #28
Conversation
👍 |
So @mnot, what about this PR? |
Actually, it looks really good; sorry for the extended delay. Two things that should at least be discussed first:
|
nice.
|
|
Arg html. Script src="..." |
Please re-base and I'll incorporate. I'll address the first issue above after that; the second I think we can just document. |
Should fix #23 |
+1 |
1 similar comment
+1 |
@mnot is this still maintained ? |
@pedroresende yes; as per above, it needs to be rebased. |
@mnot more than one year ago ?? |
it would be better to use events #50 |
@peter-gribanov events are one way for achieving something dynamically, but this is useful too. We use * Even though I am really disappointed that this feature is still not merged and I don't understand why @mnot waited for rebasing so long when he could do this very quickly and add useful feature to his library, I shouldn't use those exact words. |
@Wirone it needs to be rebased. Instead of calling me names, why don't you create a PR? |
@mnot If you were user-friendly you could rebase it on your own because this is helpful feature but PR author is not active and didn't do it. But instead you're waiting for months/years and this is not the first time as far as I watched this repo. I would understand not working on feature requests if you don't have time, but here you've got ready feature and yet you're waiting for someone. PS. It took me about 2 minutes to include these changes in our customized 1.1.0 version. |
So, let me get this straight -- you're using Open Source software, and you've created your own fork, but you don't upstream your changes, and you blame the repo owner for not doing that work for you? I'm a bit busy. If you don't want to use this software, that's fine by me. If you want to create a fork, that's great -- we already have one that I actively support/link to. Just don't waste my time by complaining. You might want to read something a friend of mine wrote about this: |
We don't have a fork but customized script in own repo on company's GitLab. The fact this is OpenSource does not mean that I can't complain about situation when you can't rebase it for PR's reporter when he didn't do it for long time. Today I needed this feature and was totally confused about your attitude. I could rebase it and maybe I should "shut the fuck up at the same time" but I don't like the way you think about developing this library and I just wrote it. What you will do with it, it's up to you. |
@Wirone I tend to agree with @mnot here. It might seem like something simple but if you don't have the time to do it and have no interest of using it yourself (because you don't need it) it's only more work to do. I haven't used the GitHub rebase feature, but in the past rebasing some else work required a bit more work. Even something simple? Yes, even if it's something simple, today it's this, tomorrow something else. While something else they could be doing that would actually benefit them, but instead they are doing something for someone else who may not actually be thankful. The worst example I have seen was in Sematic-UI, the head maintainer (there is only one) is overrun with work on the project and many understand that. Except one person..., who kept complaining that his "company" decided to use semantic-ui but there were some problems and demanding a good proper solution. Not providing any financial support or anything, no because it's free and making money on someone else work doesn't mean you have to share that 😑 Hintjes (the creator or ZerroMQ) actually wrote a book about this subject. This works both ways, the author should be willing/able to make the changes when requested, while the maintainer needs to merge directly after approval (without delay). The fact that the author (no offense) has not responded to the request of rebasing shows a "lack of interest" (for any reason; no time, not used/needed anymore). So why should the maintainer invest time in this if the author doesn't even take the time to respond? Some might take this personal, but if it happens more then often it only creates noise and irritates people. And you need to take a stand to protect yourself from going crazy or getting into a burnout! As Hintjes once said:
If you need this feature, propose it. Wait for feedback, and then when changes are requested make them. If the maintainer is not responding, kindly ask what's missing and poke them if things take to long, if they ask for a rebase do it. Remember you need the feature! - Be willing to invest your time. If the author abandoned the pull-request but you still need the future, open a new pull request with changes. If the maintainer is still unwilling to merge it, ask what's wrong. If nothing is wrong and it's still not merged, then simply give-up.. Like I said, it works both ways. From what I have seen by older issues the maintainer is not unwilling or resistant to help. Secondly "Sadly, repo owner is probably most user-unfriendly (not to say more) guy I met on GitHub so this little change couldn't be incorporated for almost 4 years." "most user-unfriendly" 😐🙄 Yea, can understand why someone be pissed of, this was your first comment in this repository. And it shows of no respect or understanding. Don't assume someone is a horrible person unless you know them personally or have some good proof about there actions (being hateful to others for no good reason), and not doing what you ask (demand) is no reason to call someone "the most user-unfriendly". Otherwise just shut the f**k-up 🙂 |
@sstok I understand everything you said and mostly agree. Maybe I shouldn't use those exact words, but I was really dissapointed when I saw this is still not merged (I've checked for this few times before). However I didn't demand anything because I've included changes from this PR in our local version so I'm not in need this to be merged - I just said what I think about leaving it for years. There's also slight difference between "the most user-unfriendly" and "probably most user-unfriendly guy I met on GitHub" since it's only my feeling, based on other issues/PRs in this project. Conclusion: @mnot can do what he wants, I can think what I want, but maybe it could be said in better way. Cheers. |
I was just speaking in general here 😉 |
I rebased at made PR as #61 |
Hi @mnot,
I create this PR to let the element hx decide if evaluate or note the JS.
I also created tests for this.
let me know if it interests or not.
PS.
This commit is the base for creating a test for "refresh" function.