I'm hoping to get this underway in the short term. Before ApplicationEditor actually gets written, we have a longstanding mess in how navigation menus and actions work with the existing ApplicationSearch stuff, roughly captured in T5752.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Nov 6 2015
Nov 4 2015
Nov 3 2015
Nov 2 2015
Oct 28 2015
Oct 19 2015
Chugging at D14152, the amount of manual code needed for Editors/Transactions is annoying, to say the least.
Oct 14 2015
@jhurwitz can you confirm this has been resolved?
Oct 8 2015
Sep 9 2015
Sep 1 2015
Aug 28 2015
Aug 21 2015
Aug 12 2015
Aug 11 2015
I think T9132 is the most promising approach for reducing the complexity in exposing transaction writes in a general way.
Aug 10 2015
Aug 4 2015
Jul 25 2015
Jul 23 2015
Jul 14 2015
Jul 8 2015
Jun 26 2015
Jun 25 2015
This will return a list of tasks removed for a project within a certain time period, correct? If this can be done like this, this is exactly what is needed.
How would separating these transaction types help?
Can you give me a specific example of a query that you believe Facts will be unable to satisfy, or will satisfy less elegantly than parsing a flat logfile on disk?
If there were a reflexive write of task transaction metadata to some project specific storage, (even some form of non-db log), this would be very useful, and much more elegant and smaller than having to query millions of Facts for the same information.
Maybe I'm still just not understanding what you need. You can get all the data you want today like this, right?
Can you walk me through how the data is useless? The data is not in a queryable form, but it is complete: it fully captures the state change -- and we use that fact to render strings like "added project x" and "removed project y". To find adds and removes, you perform set differences on the "old value" and "new value". PHIDs only present in one of the two values were added or removed.
But I do not understand the reasoning for having such arcane and basically useless metadata for maniphest transactions.
I think that promoting Facts to address this problem is a red herring. I agree that Facts offers many advantages for offline processing of transactions. But I do not understand the reasoning for having such arcane and basically useless metadata for maniphest transactions. If you are trying to discourage the direct usage of transaction queries for performance reasons, this is also sensible. However, we need more descriptive data about task history that can only be provided with transaction metadata. Why not fix the problem where it exists? If you are reluctant to add more logic into TaskEditController, I understand that as well. This is a class that is desperate for refactoring.
This change isn't useful for the upstream, and isn't the direction we intend to pursue. See discussion here:
Jun 12 2015
Both the UI and function of these transactions should be fixed at HEAD.
In addition to the text being wrong (it always says "marked 0 inline comments as not done."), I'm observing that state is not being saved -- I mark a bunch of things as done and submit/save, only to see that many have become un-marked as done.
Jun 9 2015
This has been implicated in other crimes by @csilvers.
You've hit this too, do you want to try to figure it out?
It's technically accurate!
Jun 8 2015
Much heart
Thanks for the persistence @sshannin. :D
To document
- every message @btrahan sent me came in duplicated at first (first screenshot)
- None of the message I sent showed as duplicated for me
- Suspecting maybe some weird firefox behavior, I opened a chrome side-by-side
- My cross-browser messages also showed duplicated (second screenshot)
@sshannin is sending me screenshots where this is occurring in the durable column view with asynchronous updates via other users sending messages so I'll take a poke around today in case there's something one off in that code path.
Can you please re-open with reproduction instructions? Algorithmically speaking, this is impossible AFAIK because we now use the unique transaction ids to guarantee we only render each transaction once.
Reopening in case that sets off Herald for some people.
I still occasionally see messages being duplicated. I updated this past weekend.
Jun 5 2015
Jun 4 2015
I think you need to add a mention.
Thanks, looking at this now.
Jun 1 2015
Tracking moves and fixes of these things seems like the hard part: it would maybe be nicer to see "all places in the codebase a task is currently mentioned", not necessarily "all places a task has ever been mentioned". But maybe this isn't actually that important.
Another (not necessarily good) attack on this would be to extract these with a linter (similar to the TODO linter), and then maybe, uh, let lint messages have an object PHID on them? I guess? This feels real sketchy but maybe there are some other reasonable things we could do which could justify it.
May 31 2015
I've changed the test plan of D13066 now, but here is the original text that triggered the transaction being created: