Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3361987
D5717.id18816.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
856 B
Referenced Files
None
Subscribers
None
D5717.id18816.diff
View Options
diff --git a/lib/shared/mention-utils.js b/web/chat/mention-utils.js
rename from lib/shared/mention-utils.js
rename to web/chat/mention-utils.js
--- a/lib/shared/mention-utils.js
+++ b/web/chat/mention-utils.js
@@ -1,9 +1,9 @@
// @flow
-import type { RelativeMemberInfo } from '../types/thread-types';
-import { oldValidUsernameRegexString } from './account-utils';
-import SearchIndex from './search-index';
-import { stringForUserExplicit } from './user-utils';
+import { oldValidUsernameRegexString } from 'lib/shared/account-utils';
+import SearchIndex from 'lib/shared/search-index';
+import { stringForUserExplicit } from 'lib/shared/user-utils';
+import type { RelativeMemberInfo } from 'lib/types/thread-types';
const mentionRegex: RegExp = new RegExp(
`(?<textPrefix>(?:^(?:.|\n)*\\s+)|^)@(?<username>${oldValidUsernameRegexString})?$`,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 25, 8:47 PM (21 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2580538
Default Alt Text
D5717.id18816.diff (856 B)
Attached To
Mode
D5717: [web] Moved typeahead utils to `web/chat`
Attached
Detach File
Event Timeline
Log In to Comment