-
Notifications
You must be signed in to change notification settings - Fork 319
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
Issue #357: unused lib view components #439
Issue #357: unused lib view components #439
Conversation
**NOTE**: Possible dependency failure with *mu2*. There appears to be a bug here on parsing... notated in html comment See also: * https://github.com/OpenUserJs/OpenUserJS.org/blob/1b595bb6a986a781fa87f04cc27e31a011b81dbb/controllers/scriptStorage.js#L79 Applies to OpenUserJS#357
Thanks go to @Zren for this. Closes OpenUserJS#357
* Use a `–` to denote we know it's not there instead of absent tag. Applies to OpenUserJS#357 and committed in pr OpenUserJS#439
@@ -2,7 +2,7 @@ | |||
<thead> | |||
<tr> | |||
<th class="text-center"><a href="?orderBy=name&orderDir={{orderDir.name}}{{#librariesOnly}}&library=true{{/librariesOnly}}{{#isFlagged}}&flagged=true{{/isFlagged}}">Name</a></th> | |||
<th class="text-center td-fit"><a href="?orderBy=installs&orderDir={{orderDir.install}}{{#librariesOnly}}&library=true{{/librariesOnly}}{{#isFlagged}}&flagged=true{{/isFlagged}}">Installs</a></th> | |||
{{^librariesOnly}}<th class="text-center td-fit"><a href="?orderBy=installs&orderDir={{orderDir.install}}{{#librariesOnly}}&library=true{{/librariesOnly}}{{#isFlagged}}&flagged=true{{/isFlagged}}">Installs</a></th>{{/librariesOnly}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The second if-statement for librariesOnly
might be redundant here: {{#librariesOnly}}&library=true{{/librariesOnly}}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It sure looks like it... needed your confirmation on this since you did this portion earlier in the project and I didn't watch much on what you did... thank you. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually you did the {{#librariesOnly}}&library=true{{/librariesOnly}}
part.
@Martii commented on 23 nov. 2014 00:08 CET:
Just one comment to go and then +1 👍 from me. |
Thanks go to @jerone for that catch/verification Applies to OpenUserJS#357 and commited in pr OpenUserJS#439
Thanks for the title change... this wide theme .user.js I'm using for GH is starting to stray and I didn't see that... might have to disable that soon or go bug him. |
I'm feeling everyone has had a chance to pick this over so in about 10ish minutes or so I'll merge. |
Issue #357: unused lib view components merging
* Set up server to client caching for inline serving of scripts... full manual, direct method e.g. not middleware * Server to DB caching is not in this commit... additional MongoDB item will be needed for Script model to skip redoing minification constantly... will be later. During experimental phase this is probably a good thing to hold off on for a bit anyhow. * Remove minification request stdout message... already enough data on interest. Applies to OpenUserJS#432 and OpenUserJS#439
Okay to go? (the reason why I ask is it's not as critical but is confusing for some... could use a "just do it" but can also perhaps use other input)
Applies to #357 not 383 ughh... apologize for the incorrect naming of the branch... I was looking at both of these during this... still don't have answer for #383 though.