Skip to content

Conversation

@MorrisJobke
Copy link
Contributor

bildschirmfoto von 2015-10-01 15-59-07

Talked about this with @felixboehm

Maybe @PVince81 can have a look at the actual implementation.

@MorrisJobke MorrisJobke added this to the 9.0-next milestone Oct 1, 2015
@karlitschek
Copy link
Contributor

nice small improvement 👍

Copy link
Contributor

Choose a reason for hiding this comment

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

'160' as string ?!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I just copied from filelist.js 🙈

@MorrisJobke
Copy link
Contributor Author

@phil-davis @PVince81 I addressed your comments:

bildschirmfoto von 2015-10-02 08-44-34

@PVince81
Copy link
Contributor

PVince81 commented Oct 2, 2015

will review/test after the 8.2 rush...

@MorrisJobke
Copy link
Contributor Author

Another problem that I noticed during working on this: Sorting is handled in the FileList in a generic way. But it has one combined attribute to "How to sort" (time based) and "What to sort" (share time). Currently it only has sort by "mtime" which is sort time based the attribute "mtime". This then does not allow to have one file list with two time based sort columns.

@PVince81 Can we split this sorting from "data-sort" into "data-sort-type" (by time) and "data-sort-attribute" (expiration time, share time, ...)?

@PVince81
Copy link
Contributor

PVince81 commented Oct 2, 2015

@MorrisJobke feel free

@jancborchardt
Copy link
Member

One high-level issue which is bugging me here is that the left navigation is just a filter. But in this case we show different columns, instead of modified date and size. Do we really want to do that?

@PVince81
Copy link
Contributor

The attribute data-expiration says NaN, please make that either empty string or remove the attribute.

@PVince81
Copy link
Contributor

Looks good for now 👍

Something for later: re-render the file list row whenever share info changed, because the expiration should update there too. This is a bit more complicated and might influence/break/obsolete the part that updates the share icon.

@PVince81
Copy link
Contributor

@MorrisJobke can you fix this #19513 (comment) ?

Then this will need a second reviewer @rullzer @schiesbn

@MorrisJobke MorrisJobke self-assigned this Nov 20, 2015
@rullzer
Copy link
Contributor

rullzer commented Jan 16, 2016

@MorrisJobke can you fix #19513 (comment) and rebase?

@LukasReschke
Copy link
Member

Conflicts with master => Moving back to 2

@MorrisJobke MorrisJobke modified the milestones: 9.1-next, 9.0-current Feb 16, 2016
@MorrisJobke MorrisJobke force-pushed the add-expiration-date-row branch from 6dd862f to 81efcd4 Compare March 16, 2016 17:05
@MorrisJobke
Copy link
Contributor Author

@MorrisJobke can you fix #19513 (comment) and rebase?

Both done. It still works here :)

@MorrisJobke MorrisJobke removed their assignment Mar 16, 2016
@rullzer
Copy link
Contributor

rullzer commented Apr 4, 2016

@MorrisJobke see #19513 (comment) ;)

@MorrisJobke
Copy link
Contributor Author

@rullzer Mind to help me with the unit tests? 🐱

@PVince81
Copy link
Contributor

We're past feature-freeze, moving this addition to 9.2. Hopefully there will be time to adjust the unit tests.

@PVince81 PVince81 modified the milestones: 9.2-next, 9.1-current May 30, 2016
@MorrisJobke
Copy link
Contributor Author

I just added the unit tests ;)

@LukasReschke
Copy link
Member

Works 👍

text = OC.Util.relativeModifiedDate(expirationTimestamp);
} else {
formatted = t('files_sharing', 'No expiration date set');
text = t('files_sharing', 'Never');
Copy link
Contributor

Choose a reason for hiding this comment

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

@MorrisJobke make it empty as per @jancborchardt's suggestion above ?

Copy link
Contributor

Choose a reason for hiding this comment

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

good point, this also makes it easier to spot the real existing expire dates

@MariusBluem
Copy link

Nice 👍

@MorrisJobke
Copy link
Contributor Author

@PVince81 @schiessle Your comments are addressed :)

@DeepDiver1975 DeepDiver1975 force-pushed the add-expiration-date-row branch from b4cece4 to fa40ba7 Compare July 7, 2016 08:08
@PVince81
Copy link
Contributor

PVince81 commented Jul 7, 2016

Looks good 👍

JSUnit fail unrelated (fixed separately on master)

@PVince81 PVince81 merged commit aa0b39a into master Jul 7, 2016
@PVince81 PVince81 deleted the add-expiration-date-row branch July 7, 2016 09:59
@MorrisJobke MorrisJobke removed their assignment Jul 7, 2016
@lock
Copy link

lock bot commented Aug 5, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants