Closed RoukePouw closed 3 years ago
Also, be sure to put "Fixes: #332" in the commit message that actually implements the core of this PR, so that issue can be autoclosed.
There is a lot of inline JS. I wonder if that would be better in a script tag, which can be done using the HTMLDocument writeScript() method.
Now sure how that would work, can you explain?
In other cases I would define a file with the functions that would get packed together into a minified library or something. But with hypha it seems to be the convention to group code together in a single file.
This should be split over multiple commits.
How would you like this done?
How would you like this done?
Do you mean "Through what process"? Or "split into which commits"?
Do you mean "Through what process"? Or "split into which commits"?
First in which commits you would like it split. (and why :-) so I can understand the thoughts behind it ) Secondly, yes, if you have pointers on how to do this, otherwise I'll do some DuckDuckGo-ing myself ;-)
I would make commits to:
makeAction
str_replace(['"'], ['\''], $action);
if you find itAs for the how: In this case I think none of the current commits are usable as is, so it is probably best to do a (soft) reset back to the original commit (just before your first commit), to effectively remove all commits, but leave the changes in your working copy, so you can use e.g. git add -p
to create new commits from that. If you would want to preserve existing commits but split or rearrange some, then using an interactive rebase would be the way to go.
Commits have been split :)
I made a few more changes:
'progress'
to self::FIELD_NAME_PROGRESS
'status'
to this new commit.Rebased on top of master.
With that, I'll merge this.
332
Extend makeAction function with javascript callback Set intermediate progress updates in xml Lock and unload browser page with javascript.