-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Add versions tab to files sidebar #18748
Conversation
|
61a34f9
to
c6c4045
Compare
|
Looks good, except that Versions should be the rightmost tab. Activity, Sharing, Versions, in that order. Activity open by default (unless you opened the sidebar direclty by clicking Sharing or Versions of course). |
Dammit... once again an order issue. This depends on the loading order of the apps. |
General ordering problem discussed here: #18280 (comment) |
I will add back the "More versions" button as I won't have time to make "scroll to load more" to work properly. The tricky part here is that the scrollbar isn't on the tab but on the main container, so the events have to come from there. |
i think a more versions button is totally cool for now |
55f52e7
to
12ddd1b
Compare
I added back the "More versions..." button and fixed the spinner position. Next up:
|
12ddd1b
to
f6e5b3a
Compare
- move versions to a tab in the files sidebar - added mechanism to auto-update the row in the FileList whenever values are set to the FileInfoModel given to the sidebar - updated tags/favorite action to make use of that new mechanism
f6e5b3a
to
310d797
Compare
A new inspection was created. |
I'm done with the JS unit tests. This is ready for review @schiesbn @nickvergessen @jancborchardt @rullzer @MorrisJobke |
also CC @blizzz here you'll find more examples how to wire up Backbone collections/models to the view |
awesome 👍 |
someone else want's to review this? I would love to get this in. |
Tested and works. Unit tests also pass locally (JS & PHP) 👍 |
Add versions tab to files sidebar
TODO