Garrr I am so sure I had tested it this morning but maybe I was sleepwalking? Tested again now and seems to work, thanks
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
All Stories
May 10 2024
Giving a +1 as I had tested this in D25080#16527 but I would prefer to see the two strings adjusted in D25080#16549
I currently cannot think of other potential side effects (mail notifications about task creation seem to have had a [Created] prefix taking priority over other actions for years, and web notifications in the top bar also still behave as before), so I'll give my +1
(If it does not work you may still need to call .toString() before doing this)
The coffee on my desk doesn't seem to work yet - use a proper comparison.
Use standard JS string concatenation instead of shiny padStart() because better backwards compatibility
May 9 2024
In D25630#17685, @valerio.bozzolan wrote:I think somebody here would propose to avoid padStart() and be boring:
if (d_m.length < 2) { d_m = '0' + d_m; }
For some reasons I cannot cleanly apply the patch anymore.
In T15820#17365, @valerio.bozzolan wrote:Just because we can, right? Or any real concern?
Just because we can, right? Or any real concern?
✅ Number.prototype.toString() supported by all browser webs https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toString
This fix was super-interesting. Thanks again for the report.
Thanks again. My only concern is that, if somebody has a 1 trillion file(s) then the patch may lock the involved tables for an unexpected long amount of time, and you cannot really undo, without causing a massive implicit rollback.
The approach taken in D25621 is more wholesome and preferable thus abandoning this
It worked in line 109, it will work in line 154. Tested.
Cover more cases that require login:
Wow you are fast. I was going to create this :D I can reproduce
Commanding to set as abandoned. Thanks again! Well done for your original troubleshooting.
This makes sense.
git rebase master
Tested locally before and after applying this branch, with two users sending messages in a chat room after clicking the speechbubbles icon in top bar and selecting "Persistent Chat", both functionality wise (clicking the bar in the lower right corner) and by inspecting the element in the web browser's developer tools' inspector. Works as expected.
Just as clarification for myself (maybe already obvious to others):
Thanks for working on this! Works pretty well locally. From a quick test of this branch, while being logged out,
- Maniphest Advanced Search: Setting Assigned to to Current Viewer, I get a Login page.
- Diffusion Commits Advanced Search: Setting Authors to Current Viewer, I get a Login page.
- Differential Advanced Search: Setting both Authors and Reviewers to Current Viewer, I get a Login page.
- Differential Advanced Search: Setting Responsible Users to Current Viewer, I get an exception (DifferentialResponsibleDatasource - probably another source to cover here?)
Thanks again Roberto.
My last comment is also because the W3C does not allow to start an identifier with a number:
Should somebody file a ticket for that?
Please evaluate extended names:
Unrelated but, thanks to your patch, we catched a possible micro-optimization. Here that unrelated change:
Thanks again! This looks perfect in the current state of PholioMockEditor, since it's not an EditEngine and since this is not an appropriate moment to learn all the differences between an "Editor" and an "EditEngine" and/or it's not an appropriate moment to do that kind of migration here now (if ever needed).
Maybe "feature" but note the left sidebar, is not anymore connected to the end of the viewport:
Sharing some comments
May 8 2024
In T15815#17273, @valerio.bozzolan wrote:I also don't think Phabricator ever documented how to change language in command line Arcanist. If ever possible, btw 🤔
fix abstract function visibility, add more PHPDoc
I'm purely setting "Request Changes" to reflect that IMHO this should not get merged until there is an approach to fix T15579 - otherwise in some corner cases this proposed change would create broken URIs.
I'd prefer not to expose this as an always-visible button simply because it takes screen estate on smaller screens.
Maybe an entry Copy Revision Permalink between two separators in the expandable "View Options" dropdown is an option?
For the record: If I replace the entire file with just:
<?php
(that was me, I didn't have git author configured properly from on the system I landed from)
(that was me, I didn't have git author configured properly from on the system I landed from)
arc unit --everything passed. But I don't think this file is covered by tests at all,
Setting high priority since I'm scared :D Feel free to re-tune
I was not aware that we were executing critical business code inside __destruct() automagic calls. Wow!
Had this issue occur elsewhere, so put a general 'fix' for it:
In T15815#17273, @valerio.bozzolan wrote:Thanks. Completely agree.
I also don't think Phabricator ever documented how to change language in command line Arcanist. If ever possible, btw 🤔