@Wikivu: Why?
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
All Stories
Jun 29 2024
are a bit esoteric
Jun 28 2024
it works indeed for editing Maniphest tasks but not for Phriction documents.
I have been analyzing this "attach code" but it's too complex for me.
It seems that the content_metadata (with the attachedFilePHIDs) is correctly sent by the javascript, but it's not processed in the PHP, which makes it not attach the file object to the wiki page.
About the cursor: pointer;, yep it would be super-nice, but no need to create distinctions between mobile and desktop for that probably 🤔 let's always show it.
Premising that as web developer I'm really super surprised to have never seen in my life a native <summary> + <detail>, even in demos 🤔 I've never seen it in basic online courses for beginners ( https://www.w3schools.com/howto/howto_js_collapsible.asp ) - and that's surprising since there it would be nice; not in online forums with super-basic "spoiler" features (e.g. https://www.minecraftforum.net/forums/forums/forum-discussion-info/514283-how-do-i-make-spoilers-on-the-forum ) and there it would be nice, not in Bootstrap and not in MaterializeCSS (and it would be nice to have examples there to save some JavaScript); not in MediaWiki (because there, "esoteric" tags are disabled; so, since the beginning, every single wiki in the planet has 10 lines of JavaScript in their Common.js), etc.
we should probably toggle visibility by JavaScript
(About my "like Wikipedia" I mean https://en.wikipedia.org/wiki/Template:Hidden )
To have this a bit more flexible we should probably toggle visibility by JavaScript. (So, we can keep divs, and this makes the change also a bit more backward compatible probably)
In D25672#19381, @valerio.bozzolan wrote:I love this collapsible on mobile since it saves a lot of scrolls, but I think the collapsible on desktop can just add confusion without clear benefits (since the desktop layout is not vertical, and saving vertical space does not help in showing more information). Probably this should only apply on .device-tablet and .device-phone, but not .device-desktop
I do not understand if we have some race conditions, or, if the __destruct() is not properly called because of a bug in PHP 8.3.8, which is possible but unlikely
I've seen this occasionally when trying to log in via a /bin/auth recover link with same stacktrace as above, PHP 8.3.8 on a Fedora 40 machine:
Visually marking this as "ongoing discussion for code changes" to keep historically nice error messages
I love this collapsible on mobile since it saves a lot of scrolls, but I think the collapsible on desktop can just add confusion without clear benefits (since the desktop layout is not vertical, and saving vertical space does not help in showing more information). Probably this should only apply on .device-tablet and .device-phone, but not .device-desktop
It makes sense since these are Phorge stuff, not Arcanist stuff. Thanks.
Agree with your considerations and tested 🌈
I'm assuming you're talking about dropping a file in the text area when editing the page, right? Not just dropping it when viewing a wiki page?
Presumably resolved by D25134.
Jun 27 2024
Maybe in the future. At the moment it's just an extra unnecessary configuration.
I see you marked this question as Resolved. Was it?
It seems that the function PHUIDiffTableOfContentsItemView.php::render() is not called anymore as rPf21f1d8ab9e909b3e2c4dc07af7a358a8336902c removed $rows[] = $item->render();. I cannot spot another direct render() call anywhere else in the files instantiating a PHUIDiffTableOfContentsItemView.
However, PHUIDiffTableOfContentsItemView must define render() as it's defined as an abstract method in parent AphrontView.
After emptying render(), renderChangesetMetadata() does not have any other callers either, thus also removing it.
In D25658#19351, @avivey wrote:grep for PHUIDiffTableOfContentsItemView in the codebase to see where we might be using this class.
❤️
somewhere before the this
maybe just add if ($value === null) { continue; } somewhere before the this?
grep for PHUIDiffTableOfContentsItemView in the codebase to see where we might be using this class.
If we can't find the problem, that probably means we have some dead code here that should be removed.
The called method renderChangesetLink() is not defined anywhere so static code analysis complains.
UI-wise I could not spot anything obviously broken in the "Paths" sidebar under ToC for a merged commit, though.
Is there something that's not working here?
:shrug:
click
(re-opening, there's more work left here)
Jun 26 2024
Confirming this works as expected - thanks!
Congrats to this patch.
I love this at unbelievable level, thanks all 🌈
Looks like installing php-xdebug forces me to set 'xdebug.mode' to 'coverage' in 'php.ini' to pass arc unit, no matter what...
Move CDN check from generic AphrontResponse to more correct AphrontHTMLResponse.
probably need to escape the URI
Make the Remarkup Help Page Extensible
After 15 minutes of reading stuff around on the web, I think we need a little help. Waiting for answers (and waiting for downvotes lol).