Refactor: Inbox store, remove inboxes from sidebar (#387)
* Refactor: Inbox store, remove inboxes from sidebar * Add a new page for inbox settings * Show inboxes on sidebar * Add inbox_members API * Disable similar-code check * Fix codeclimate scss issues * Add widget_color update API and actions * Add specs for inbox store * Fix Facebook auth flow * Fix agent loading, inbox name
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
export default [
|
||||
{
|
||||
id: 1,
|
||||
channel_id: 1,
|
||||
name: 'Test FacebookPage 1',
|
||||
channel_type: 'Channel::FacebookPage',
|
||||
avatar_url: 'random_image.png',
|
||||
page_id: '12345',
|
||||
widget_color: null,
|
||||
website_token: null,
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
channel_id: 2,
|
||||
name: 'Test Widget 1',
|
||||
channel_type: 'Channel::WebWidget',
|
||||
avatar_url: null,
|
||||
page_id: null,
|
||||
widget_color: '#7B64FF',
|
||||
website_token: 'randomid123',
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
channel_id: 3,
|
||||
name: 'Test Widget 2',
|
||||
channel_type: 'Channel::WebWidget',
|
||||
avatar_url: null,
|
||||
page_id: null,
|
||||
widget_color: '#68BC00',
|
||||
website_token: 'randomid124',
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
channel_id: 4,
|
||||
name: 'Test Widget 3',
|
||||
channel_type: 'Channel::WebWidget',
|
||||
avatar_url: null,
|
||||
page_id: null,
|
||||
widget_color: '#68BC00',
|
||||
website_token: 'randomid125',
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user