-
Notifications
You must be signed in to change notification settings - Fork 12
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
Shorty table: Presentation, filtering, sorting. #91
Comments
@fredl99 Sorry, you confuse me :-) Guess this confusion teaches both of us to take more care with keeping separate issues separate :-) |
At the end of the 'maximum length of URLs' thread we were discussing the look and functions of the table. |
Ah, I see. I confused the term "Tracking table" with the table in the Tracking extension of Shorty :-) |
I renamed the topic in order to eliminate further confusion :) Here are some thoughts:
|
Separated the last bullet into #95. |
I see the other three bullets as constructive suggestions. Indeed this would lead to a much more flexible layout, a better customization of the app. On the other hand one has to take care not to get lost in a feature mania. Shortys UI is already cluttered with am unmatched feature density compared to other OC apps. So I'd like to leave this as an enhancement suggestion without taking action right now. |
Sorting by creation or expiration date seems broken at the moment (latest commit 33893f6) |
N.B.: When clicking any of the "date" headers, only the columns themselves are sorted, not the entire lines... |
I pushed some more small fixes last night. |
Ok, so I'll switch back to owncloud/shorty, because from arkasha/owncloud-shorty (which I was following all the time) I didn't receive this commit. I will go on testing. |
Well, the lines do entirely follow the sorting criteria in this version. But the sort algo itself is working as described above. Looks like "sort the year numbers, then the month numbers within the year, and then the day numbers within the month". I have only five entries with a "last access", so I can't be sure if this column would also be sorting like this. |
Sorry if I caused any confusion... |
So I should checkout "stable7", like I asked earlier? |
As mentioned they are kept completely in sync currently. So for now it simply does not matter. |
Sorry, I didn't carefully check the received commits. Yes, 347aa77 is here. But the sorting is as I described above. |
@fredl99 Sorting should be fixed now, at least it looks logical to me. Any exceptions? |
@fredl99 Better now? Found some undocumented option... |
Perfect! 👍 I wonder why there's a secret option needed with the creation dates, but not with the expiration dates. For my eyes they both seem to contain similar data. OTOH: not my business 😃 Now if I only could turn columns completely off and on :whistle: Thanks again for the continuing improvements! |
The issue appears to be some internal voodoo magic in the tinysort library I use. Apparently it tries to interpret the last "-nn" as negative number, which explains the strange sorting order. I can only guess that does not apply to the other columns because of different formats... |
So why not use the same method for all of the dates? Unwanted time-of-day portions could easily be chopped off. But as the columns are collapsible anyway, it wouldn't matter. |
The reason at hand, though I certainly grant that this is a situative argument: I am currently more concerned in getting out a working version at all. This project already swallows far to much time. Sorry. This might actually be a good starting point for code contributions. But I myself simply have to protect myself from this getting bigger and bigger. Don't get this wrong, but the impending penalty would be that I have to drop this project completely, which would be a really bad outcome. In the past I learned to chose the battles to fight. Sometimes it is easier to act in a programmatic manner. Though that was a hard lesson to learn, I have to admit :-) |
I'm completely with you and your arguments. I do respect the extra effort you put into this project during the past weeks/months, especially since you already have announced the need for collaborators longer ago. If I only had experience with that technology, I would certainly contribute some code. But my skills are of other sorts. I really wish, some educated coders would jump in here. My suggestions are therefore not addressed to you personally, but to anybody who feels able to implement them. It wouldn't make sense to keep them for me, just because you're still the only one who cares about them. So I simply write down my ideas when they appear. |
All fine, I would suggest to maybe separate such details into separate issues here on github and mark them as 'enhancement'. That way potential contributors can easily spot such junior jobs and start right away without having to dig through endless exchanges. |
Follow-up from here
The text was updated successfully, but these errors were encountered: