Skip to content

File Attachments - for now at least post a message that a file was uploaded#6309

Closed
kable-wilmoth wants to merge 4 commits intoRocketChat:developfrom
kable-wilmoth:Attachments
Closed

File Attachments - for now at least post a message that a file was uploaded#6309
kable-wilmoth wants to merge 4 commits intoRocketChat:developfrom
kable-wilmoth:Attachments

Conversation

@kable-wilmoth
Copy link

@kable-wilmoth kable-wilmoth commented Mar 9, 2017

@RocketChat/core

Until we have full bi-directional file uploading supported via the SlackBridge, lets at least post a message so that one knows it occurred.

There have been many conversations (rocket <--> slack) where the other party didn't realize a screen shot/txt file had been uploaded and then the follow up messages had no context. At lest now they will see a message that a file was uploaded and then can take action (switch group chat tools) to view it.

Sorry, this again, was based on a previous merge request #6282 . So you can focus on the last commit.


api.addFiles('logger.js', 'server');
api.addFiles('settings.js', 'server');
api.addFiles('RocketAdapter.js', 'server');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoid using UpperCamelCase for file names. Prefer lowerCamelCase instead.

api.addFiles('logger.js', 'server');
api.addFiles('settings.js', 'server');
api.addFiles('RocketAdapter.js', 'server');
api.addFiles('SlackAdapter.js', 'server');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoid using UpperCamelCase for file names. Prefer lowerCamelCase instead.

@@ -0,0 +1,58 @@
Config:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unnecessary addition.

_id: 'SlackBridge_Enabled',
value: true
},
i18nLabel: 'FileUpload'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The term 'FileUpload' may be dubious. I suggest using a specific entry to mention uploading activated Slack Bridge files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments