Project-GC Userscript/Development/Log Book Links: Difference between revisions
Jump to navigation
Jump to search
Create Page |
m added category |
||
| (3 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
== Description | {{PGC-back-link | ||
|content=LogBookLinks (All Logs, Yours, Friends, Gallery) | |||
|link={{PGC-US-Name}}/Development | |||
}} | |||
= Description = | |||
<b>Log Links (All Logs, Yours, Friends, Gallery)</b> is a feature that enhances and adds additional links to the already existing "All Logs | Gallery" links just above the log list. This feature, <i>when fully implemented</i> will display the following (example): | <b>Log Links (All Logs, Yours, Friends, Gallery)</b> is a feature that enhances and adds additional links to the already existing "All Logs | Gallery" links just above the log list. This feature, <i>when fully implemented</i> will display the following (example): | ||
Current and Broken view:<br> | Current and Broken view:<br> | ||
[[File:LogBookLinks_broken.png| | [[File:LogBookLinks_broken.png|800px]] | ||
When fixed, should display as such: | When fixed, should display as such: | ||
| Line 10: | Line 14: | ||
This feature is currently broken and does not function properly. This is cited in Github Repo Issues: #115 and #116. | This feature is currently broken and does not function properly. This is cited in Github Repo Issues: #115 and #116. | ||
= Change Log = | |||
== 2022-08-24; Issue #112. Fixed in v2.3.15 == | |||
Updated the code to account for a typo in the code that added an escaped single quote near the word "Friends". | Updated the code to account for a typo in the code that added an escaped single quote near the word "Friends". | ||
Around Line 1011, changed from:<br> | Around Line 1011, changed from:<br> | ||
| Line 29: | Line 33: | ||
').insertAfter( $('#ctl00_ContentBody_uxLogbookLink') ); | ').insertAfter( $('#ctl00_ContentBody_uxLogbookLink') ); | ||
</pre> | </pre> | ||
[[Category: Project-GC Userscript]] | |||
Latest revision as of 17:23, 7 August 2023
| LogBookLinks (All Logs, Yours, Friends, Gallery) | [[Project-GC Userscript
|
Description
Log Links (All Logs, Yours, Friends, Gallery) is a feature that enhances and adds additional links to the already existing "All Logs | Gallery" links just above the log list. This feature, when fully implemented will display the following (example):
When fixed, should display as such:
View all logs (49) | Yours (1) | Friends (20) | Gallery (42)
This feature is currently broken and does not function properly. This is cited in Github Repo Issues: #115 and #116.
Change Log
2022-08-24; Issue #112. Fixed in v2.3.15
Updated the code to account for a typo in the code that added an escaped single quote near the word "Friends".
Around Line 1011, changed from:
// 2022-08-24, fixes #112: Extra single quote showing up in LogBookLinks near "Friends".
$('\
<span> | </span><a id="pgc-logbook-yours" href="' + $('#ctl00_ContentBody_uxLogbookLink').attr('href') + '#tabs-2">Yours</a>\
<span> | </span><a href="' + $('#ctl00_ContentBody_uxLogbookLink').attr('href') + '#tabs-3">Friends\'</a>\
').insertAfter( $('#ctl00_ContentBody_uxLogbookLink') );
--> to:
// 2022-08-24, fixes #112: Extra single quote showing up in LogBookLinks near "Friends".
$('\
<span> | </span><a id="pgc-logbook-yours" href="' + $('#ctl00_ContentBody_uxLogbookLink').attr('href') + '#tabs-2">Yours</a>\
<span> | </span><a href="' + $('#ctl00_ContentBody_uxLogbookLink').attr('href') + '#tabs-3">Friends</a>\
').insertAfter( $('#ctl00_ContentBody_uxLogbookLink') );