@avivey is right... you should add the button where the remarkup code block is created. The remarkup tests should be edited and the markup of the button added in every txt file testing the code block!
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
All Stories
Apr 18 2025
Apr 17 2025
In D25966#25761, @mturdus wrote:In D25966#25739, @bekay wrote:First of all: you should create the copy button server side. Ideally inside the remark rule for creating a code block. There you can attach the ressources too. And you can add sigils to the button. Javelin uses sigils to attach behaviors and listen to events.
I'm still creating the button via javascript because if I do if on server side I may break some remarkup unit tests ...
In D25966#25739, @bekay wrote:First of all: you should create the copy button server side. Ideally inside the remark rule for creating a code block. There you can attach the ressources too. And you can add sigils to the button. Javelin uses sigils to attach behaviors and listen to events.
javascript replaced with javelin stuff
Apr 16 2025
First of all: you should create the copy button server side. Ideally inside the remark rule for creating a code block. There you can attach the ressources too. And you can add sigils to the button. Javelin uses sigils to attach behaviors and listen to events.
In D25966#25736, @mturdus wrote:
- when using mousedown in combination with an a-tag with href=#, I don't know how to convert e.preventDefault. e.prevent() didn't work the same
@bekay
I tried to use JX.Stratcom.listen but I ran into the following issues:
- I couldn't use mouseenter and mouseleave events for some reason
- when using mousedown in combination with an a-tag with href=#, I don't know how to convert e.preventDefault. e.prevent() didn't work the same
Comments from z1 chat:
ES5 compatibility issues fixed
In D25965#25711, @aklapper wrote:Uh nice, thank you! This seems to work as expected:
I wonder if this also influences T15884: "Uncaught TypeError: spec is undefined" and no hovercard over task link in Aphlict notification which I do not manage to reproduce right now (and that might instead be related to running a newer node-ws version locally)
This might be a bad idea after looking up more docs:
Apr 15 2025
@mturdus the page option is now 1-indexed and I have fixes some css styles for a better rendering of different options.
- make page option 1-indexed
- make layout, float and width rendering options more concise
- remove console.log
Rebase and re-run tests with expected LANG
Apr 14 2025
@nib please do submit a diff, I'd be happy to review it.
Thaanks
Works for me. Tested on our firm instance.
In D25962#25652, @mturdus wrote:This looks very pro !
I found one small issue:
the page parameter seems to be zero-based. Can you make it one-based, so that the first page can be accessed with page=1 instead of page=0 ?
This looks very pro !
Thanks! Accepting per testing in D25956#25577
Apr 13 2025
Update quickstart with paste mailkey removal
Capitalize consistently
Reset to original diff.
Apr 12 2025
In D25900#25559, @mainframe98 wrote:I had to go dig for this, but from what I understand of looking at PhabricatorMetaMTAMailProperties, which is the class now responsible for this functionality, creating a mail key only happens when its loadMailKey method is called. That method is only called when email functionality engaged.
Thanks! Small nitpick: I'd probably change @deprecated call Exception::getPrevious directly. to @deprecated Call Exception::getPrevious() directly.
@mturdus I have landed this but have reintroduced this code which you have removed - please accept my fix: D25960