PLT-3506 Added flagged posts functionality (#3679)
* Added flagged posts functionality * UI Improvements to flags (#3697) * Added flag functionality for mobile * Updating flagged text (#3699) * Add back button to RHS thread when coming from flagged posts * Updating position of flags (#3708) * Plt 3506 - Reverting flag position (#3724) * Revert "Updating position of flags (#3708)" This reverts commit aaa05632c5d9eda35a048300a5bd7e99584c5b58. * Fixing the icon in search * Help text and white space improvements (#3730) * Updatng help text and some white spacing. * Updating help text
Этот коммит содержится в:
коммит произвёл
enahum
родитель
9b50b50283
Коммит
0184d6059b
@@ -1434,6 +1434,15 @@ export default class Client {
|
||||
end(this.handleResponse.bind(this, 'getPostsAfter', success, error));
|
||||
}
|
||||
|
||||
getFlaggedPosts(offset, limit, success, error) {
|
||||
request.
|
||||
get(`${this.getTeamNeededRoute()}/posts/flagged/${offset}/${limit}`).
|
||||
set(this.defaultHeaders).
|
||||
type('application/json').
|
||||
accept('application/json').
|
||||
end(this.handleResponse.bind(this, 'getFlaggedPosts', success, error));
|
||||
}
|
||||
|
||||
// Routes for Files
|
||||
|
||||
getFileInfo(filename, success, error) {
|
||||
|
||||
Ссылка в новой задаче
Block a user