Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Including tab for listing room uploaded files #955

Merged
merged 10 commits into from
Oct 3, 2015
Merged

Conversation

gmsecrieru
Copy link
Contributor

This PR closes #528 and we can improve UI/UX should the need arise.

@geekgonecrazy
Copy link
Member

How hard would it be to have images pop up in the lightbox?

Right now you click an image it immediately downloads which is another deal all together. :)

But looks very nice!

@gmsecrieru
Copy link
Contributor Author

@geekgonecrazy Great catch! I will have a look at this.

_id: 1
'file._id': 1
limit: 50
cursorFileMessages = RocketChat.models.Messages.find(msgQuery, msgOptions);
Copy link
Member

Choose a reason for hiding this comment

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

Can you change this to use a named query, like RocketChat.models.Messages.findMessagesWithFilesByRoomId?

@gmsecrieru
Copy link
Contributor Author

@rodrigok Thanks for your review! I will have a look at those as well.

@gmsecrieru
Copy link
Contributor Author

@rodrigok suggested two great improvements:

  • Add rid to the newly-created document during upload.
  • Create a migration to handle current uploaded files.

I will work a bit more on this, thanks folks for the inputs!

@gmsecrieru
Copy link
Contributor Author

I think that's it for now!

upload list
filelist

swipebox
upload-swipebox

@geekgonecrazy
Copy link
Member

This looks great! 👍

@rodrigok rodrigok closed this Oct 3, 2015
@rodrigok rodrigok reopened this Oct 3, 2015
rodrigok added a commit that referenced this pull request Oct 3, 2015
Including tab for listing room uploaded files
@rodrigok rodrigok merged commit 59eac9a into master Oct 3, 2015
@rodrigok rodrigok deleted the tabbar-uploaded-files branch October 3, 2015 19:00
@geekgonecrazy
Copy link
Member

@gmsecrieru just pulled down on my production server. Looks like images still download. They show up in the preview but also still download.

@gmsecrieru
Copy link
Contributor Author

@geekgonecrazy You mean by clicking in the link from the Files List panel? What browser are you testing on?

@geekgonecrazy
Copy link
Member

@gmsecrieru I was trying it in the electron app. Looks like it works fine in chrome. I may need to tweak things on the desktop app

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.

None yet

3 participants