also manually bump version in package.json; then running npm install results in another bump in package-lock.json
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
All Stories
Apr 30 2025
Both are good questions. I only put here the diff which npm created. First question: Very likely Yes.
(Note that I have no knowledge in this area and don't even know why both package-lock.json and package.json are needed.)
- Can we specify the .10 in packages.json itself?
- Do installs need upgrade instructions to complete the upgrade?
As a general rule, I prefer the have the abstractions as much as possible, to allow extensions to do things.
In this case, an abstraction would also make this feature easier to enable/disable, which I think is desired.
Chris has asked me to pick this up as he'd like to see this implemented.
Apr 29 2025
If the CSS rule should not change anything, why does it change something?
Yuuum. As I mentioned downstream ( https://phabricator.wikimedia.org/T380361#10778444 ) I think probably, fortunately, nobody noticed this in a real world, since it's complicated to cause this condition using the API, and probably impossible from the web interface, but this still seems somehow a reasonable workflow and not dead code and the change makes sense. Thaaaanks
Remove "return;" lines
Kindly flagging as "little fixes needed on unit tests"
gotta set it
like this I guess
Apr 28 2025
git rebase master
git rebase master
I've added 2 unuseful tips but this seems not ready for production. Flag as "solution seems affected by N+1 query problem". Maybe useful to open a cute task and do more triage.
I've tested in my console:
Relevant report:
Super nice prototype but flagging as "more digging probably needed for production"
Apr 27 2025
oh true that! sigh I should look around a bit more
FYI I pasted the list of the 341 different FA icons used by Phorge as of 2025-04-24 (excluding the list of all icons in PHUIIconView::getIcons()) in P50
Argh, PEBKAC, right. Thanks!
[acko@fedora phorge (master *$|u=)]$ ./bin/storage upgrade Target Error phabricator_paste.paste.mailKey Surplus
In T16035#21876, @avivey wrote:FontAwesome doing the freemium thing makes me sad, and I'm worried about misinterpreting their license (e.g., I think the fa-regular is not part of free, but is available on the GH repo for paying customers.)
Works for me: (on rPdfe8539c6a)
All these options make me want to just go with Sprites (See "Tokens" and "Authentication" in https://we.phorge.it/uiexample/view/PHUIIconExample/).
I can reproduce with the embedded copy of FontAwesome. I cannot reproduce if I use Fork Awesome 1.2. Switching over as a stopgap is a potential solution, especially because it offers SVG support, which can pave the way for a native-SVG replacement.
@mainframe98: Does ./bin/lipsum generate pastes work as expected for you? I'm seeing errors here:
OOPS Generator ("Pastes") was unable to generate an object. #1364: Field 'mailKey' doesn't have a default value
Apr 26 2025
In T15891#21871, @aklapper wrote:PhabricatorSearchDocument::isInnoDBFulltextEngineAvailable() could be completely removed and this class could instead check the DB software version via mysqli::get_server_info and PDO::getAttribute(PDO::ATTR_SERVER_VERSION) ?
Now that rP7aee92b5e95cfc11059e9ff8788e5e53dc88e84d is merged (plus realizing that shouldUseMySQLSearchEngine() is only called in https://we.phorge.it/source/phorge/browse/master/src/applications/config/check/PhabricatorMySQLSetupCheck.php;7aee92b5e95cfc11059e9ff8788e5e53dc88e84d$106, plus seeing rP48a34eced28d82b77eb840d05702daffb8e3ddbb), maybe PhabricatorSearchDocument::isInnoDBFulltextEngineAvailable() could be completely removed and this class could instead check the DB software version via mysqli::get_server_info and PDO::getAttribute(PDO::ATTR_SERVER_VERSION) ?
I guess that's a topic for a separate task though...?
Quick and dirty way to test: Insert this in a random place (output listed after the // ):
$services = PhabricatorSearchService::getAllServices(); foreach ($services as $service) { phlog(get_class($service)); // 'PhabricatorSearchService' phlog($service->getDisplayName()); // 'MySQL' phlog($service->getEngine()); // Object PhabricatorFerretFulltextStorageEngine if ($service->getEngine() instanceof PhabricatorFerretFulltextStorageEngine) { phlog('yesh'); // 'yesh' } }
The sublevels of the tree can be made hidden, and they can be revealed when clicking on a specific parent. And if the user expands the tree to a large size, then it is worth limiting the maximum size of the panel and showing a vertical scroll when the maximum is reached.