I don't really care whether the application is separate or inside some super-Diffusion; I guess I have a modest preference for super diffusion because it feels like organic audits happen while browsing the code and otherwise you'd just go to audit when you knew there was a problem or something?
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
All Stories
Nov 25 2014
I think in the abstract locking down features because new users don't understand them sounds like the wrong solution to new users not understanding features. I also don't like to lock down features because of anticipated malicious use since the tools should be built first and foremost for good users, then bad users can be disabled and there is an audit trail for everything users do.
What is your environment on Windows? (Shell/PHP Version)
"Projects" as an app is likely one of our hardest to explain, and certainly onboarding would help. I'm just not sure there is any easy fix here. We've talked about renaming "Projects" as "Tags" which might help some with this specific issue.
@fabe, https://wikimedia.phabricator.org runs the Elasticsearch backend. If you develop this as an extension, we might be able to help at least with testing and feedback. fwiw we have a playground at https://phab-01.wmflabs.org .
I'll just paste the public IRC conversation:
Nov 24 23:44:28 <valhallasw`cloud> twentyafterfour: mm, though it would be in https://github.com/phacility/phabricator/blob/21dca29c5f2929064cfe969cfd4bd417df5621bf/src/applications/project/typeahead/PhabricatorProjectDatasource.php, but apparently not
Nov 24 23:45:58 <valhallasw`cloud> it's parent object https://github.com/phacility/phabricator/blob/21dca29c5f2929064cfe969cfd4bd417df5621bf/src/applications/typeahead/datasource/PhabricatorTypeaheadDatasource.php#L11 has a setLimit, though
Nov 25 01:05:14 <epriestley> twentyafterfour: this is the controlling limit for most typeheads/tokenizers:
Nov 25 01:05:14 <epriestley> https://secure.phabricator.com/diffusion/P/browse/master/webroot/rsrc/externals/javelin/lib/control/typeahead/source/TypeaheadSource.js;37d14a85b38f80e9c0c8b54ef208baffc7b910de$79
Nov 25 01:05:28 <epriestley> There's no way to globally bump it up, though. You could set that to 10 and nearly everything will respect it.
Nov 25 01:05:39 <epriestley> (A few override the default to set a different limit.)
Nov 25 01:11:30 <twentyafterfour> epriestley: Thanks! It's one specific instance that I'm mostly interested in but a global bump might be good
Nov 25 01:13:09 <twentyafterfour> wouldn't there be server-side limit? It doesn't look like the javelin code passes the result count to the server in the request...
Nov 25 01:23:23 <epriestley> I thiink it's derived from that display limit.
Nov 25 01:24:17 <epriestley> (There's also a second limit (which valhallasw`cloud linked earlier) but that's the limit on the number of tokens which are allowed in a field like "Subscribers:" -- some like a task "Assignee" permit only a single user, while others like "Subscribers" allow an unlimited number.)
We have the same problem with more casual submitters.
I could think of a fairly easy but powerful implementation of this when elasticsearch as a backend is used.
The custom scoring and basic language processing stuff is really nice and would allow for things like listing bugs within the same project before others quite easily.
In T6567#85161, @btrahan wrote:the users should educate themselves pretty quickly
In T4828#55278, @epriestley wrote:data about how effective this feature really is for your install?
here's my environment.
VCS:SVN
Phabricator:newest (updated just now)
OS:windows 7(client) and ubuntu 12.10 (phabricator server)
You are welcome to use this server to upload a test diff to.
I am not able to reproduce this as you describe. I am able to use Unicode paths and filenames with arc diff without issue. Can you provide more details about your installation, which VCS you use, what version of Phabricator, what OS you use, etc?
I found that the project source's path contains Unicode characters(Japanese) .
I tested 'arc diff' in the folder without Unicode characters and it worked fine.
Can you give us more specific steps to reproduce? Details on your install, software? We've put together a guide that should be helpful: https://secure.phabricator.com/book/phabcontrib/article/bug_reports/
In T4828#55278, @epriestley wrote:For example, T397 is a duplicate here, but uses different words for everything -- "consider" instead of "suggest/propose", "dedupe" instead of "duplicates", "bugs" instead of "task": basic title-based search would not have found it. My experience was that this was the norm.
Nov 24 2014
Sounds good! Thanks for the input.
I'll hand this back to you for the moment; if you don't get to it we can get someone else to pick it up. Thanks for the report!
You can use PhabricatorEnv::getDoclink(...) to get the link to a documentation article.
I'm can try and tackle this shortly, in the process of finishing my own install though.
It seems reasonable for them to be separate.
Closed by commit rARCb46d4ed4ad01.
Closed by commit rPe5777cc849bd.
T5873 is the long term plan here, but this was a one-liner with no real impact on anything.
Sadly does not repro on Chrome 41.
Let us know if you're still seeing issues with large queues after those patches, but I think the meat of this issue is fixed.
For mixed-language data, surely collating in the user's locale is preferable to collating in the default locale for the install? An example of this type of data is user "Real Names", which show up when trying to typeahead users, but contain letters from different languages with some frequency. This specific type of data is present to some degree on most installs, but there's no single valid language for it, since user human names are written in a variety of languages.
I want the strings to collate as the user expects strings in their language to collate, even if the strings are not actually written in their language. This will produce the best result if the strings are written in their language, and a reasonable (consistent with expectations) result if the strings are written in some other language or a mixture of languages.
I don't know if that assumption (that browser locale settings are reliable) actually is reasonable. T1888 documents a case where toLocaleDateString() did something a user found surprising/undesirable.