Giter Site home page Giter Site logo

salcido / discogs-enhancer Goto Github PK

View Code? Open in Web Editor NEW
103.0 103.0 15.0 10.34 MB

100% vanilla JS Chrome extension that adds useful features and functionality to Discogs.com

Home Page: https://www.discogs-enhancer.com

License: GNU General Public License v3.0

CSS 4.02% HTML 14.10% JavaScript 65.59% SCSS 16.30%
chrome-extension discogs

discogs-enhancer's People

Contributors

aknorw avatar dependabot-preview[bot] avatar dependabot[bot] avatar ezienecker avatar salcido avatar toastymallows avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

discogs-enhancer's Issues

Feature Request: See full size image

Discogs serves images scaled down by default. There's an algorithm/method for translating the discogs provided image back into the originally uploaded one - see this forum thread: https://www.discogs.com/forum/thread/828335

I made a js bookmarklet, that when on the page for a given image, replaces the smaller/lower quality image with the full image - also in that thread.

Would love to see this in discogs-enhancer. Maybe not for all images by default, as that would increase discogs bandwidth and be unecessary, but as an option for when you are looking at zoomed in images

All tests are skipped?

In this commit, all the tests were changed to add .skip(), making all tests "Pending". Is this as intended? Is there something wrong with the tests?

I enabled one of them locally and it looks like it is passing.

Discogs Exclusives Dark Theme Support

Hi there,

Just wanted to let you know that Discogs recently launched a sub-site called Discogs-Exclusives.
Currently the extensions breaks certain visual aspects of the sub-site.

I am not sure if it's better for you to remove the dark theme support for that site or update this extension to support it.

Feature Request: Wantlist Price Filtering

While Discogs Enhancer already has features to alleviate price gouging, including simply blocking sellers, there nevertheless remain reasons for wanting to apply a price filter to the "Items I Want" page.

A large wantlist easily produces more variation and fluctuation in prices than would be ideal, and although a generic price filter probably sounds slightly hamfisted, quite many webstores and webshops nevertheless have just that very filter.

Therefore, would it be possible to introduce a generic "Price Filter" function to Discogs Enhancer? Although I'm probably a "Maximum" price filter-er myself, I expect people would also want to have "Minimum" as well (both for filtering cheap finds and legitimate archival copies). Therefore the filter would have a min-max range that one could input. I fully admit currencies (and currency conversion) may complicate things further.

I've seen this mentioned in many Discogs forums posts over the years, and only finally realized Discogs Enhancer might be the weapon for this issue!

Feature request: Whitelist and blacklist continents

Hey @salcido,

I just thought of a nice quality of life improvement. It'd be nice to quickly add to the shipping countries list white or blacklist whole continents. The list would still effectively only contain countries, but you could select a continent and add all its states to your list. It's not particularly a problem with North America, but having to whitelist all countries of other continents can be a bit of a pain.

You could use Wikipedia's list of states by continent as reference.

Feature Request: Show if you already own another edition of a release

Essentially, show an icon or text when viewing a list of items to purchase, as well as on the item details page, to tell you that you already own a copy of the release, but a different version.

For example:
image

image

The benefit of this is for those with larger collections who may sometimes forget which releases they may have already purchased. In my case, I have definitely done the silly thing and purchased an additional copy of something I already owned, but a different version/release...

Bug: "Random item" keeps spinning when you open a new tab

Hey @salcido,

I just saw the new "Random item" button, looks much nicer. There's a small bug though, when I Ctrl + Click it on Chrome, the animation doesn't stop until I mouseleave and mouseenter, and even then it's kind of inconsistent. Stopping the animation on click should fix that.

Thanks again!

Possibility to add custom CSS?

Hello,

I was wondering if there is a way to add custom CSS rules to customize the appearance of Discogs? This could be a separate CSS file in a fixed location which the plugin could read (if you would ;) ).

Kind regards,
Midas

Handle Ctrl/Shift + click on "Random item" button

The "Random item" button doesn't act like a regular anchor with an href, and it's a little frustrating to have the current page be forcibly replaced.

You could add to your event listener support for the ctrlKey and shiftKey properties, to open the random item in a new tab, and a new window respectively:

document.querySelector('.de-random-item').addEventListener('click', event => {

Still a pleasure to use your extension, thanks for the continued hard work 👍

Adding more currencies

Hi Matt,

Awesome extension, thanks for making and maintaining it :).

I saw that you're serving the currency JSON from discogs-enhancer.com.
What would it take to add additional currencies?

Feature Request: Original Year on Artist Pages

The new Discogs UI shows the latest release (often a reissue) instead of the Original Year of the first release on Artist pages. This newest release then becomes the default 'Year' used when sorting by Year, which makes it difficult to pinpoint the chronological order of original works.

Example:
image

From what I can gather, the 'original release' information is returned in the API Request Response after clicking the 'more versions' buttons under the releases. Here's an example (note: under releaseGroupDetails[0] there is a 'released' parameter which correctly shows 1997.

data : {artist: {discogsId: 59373,…}} artist : {discogsId: 59373,…} discogsId : 59373 releases : {releaseGroupDetails: [{,…}, {,…}, {,…}, {,…}, {,…}], __typename: "ArtistCreditsConnection"} releaseGroupDetails : [{,…}, {,…}, {,…}, {,…}, {,…}] 0 : {,…} release : {discogsId: 2663040, title: "Idle Worship", dataQuality: "NEW_SUBMISSION", visibility: "PUBLIC",…} collectionItems : null country : "US" dataQuality : "NEW_SUBMISSION" discogsId : 2663040 formats : [{name: "CD", quantity: "1", description: ["Album"], text: null, __typename: "Format"}] inWantlist : null labelsNew : [{catalogNumber: "JUMP 010", labelRole: "LABEL", displayName: "Jump Up! Records",…}] masterRelease : {discogsId: 303145, __typename: "MasterRelease"} myListings : {totalCount: 0, __typename: "InventoryItemConnection"} released : "1997" siteUrl : "/release/2663040-The-Eclectics-Idle-Worship" title : "Idle Worship" visibility : "PUBLIC" __typename : "Release" __typename : "ArtistCredit" 1 : {,…} 2 : {,…} 3 : {,…} 4 : {,…} __typename : "ArtistCreditsConnection" __typename : "Artist"

I'm probably barking up the wrong tree here, but I would like this functionality back from Discogs, and judging from their forum posts about this issue, they don't appear to be that fussed about returning it. Perhaps you'd be interested in having a go, or you could point me in the right direction towards a solution (perhaps something that would fit into discogs-enhancer once completed).

Feature Request: Load multiple market pages at the same time

So while scrolling through the marketplace with the "sort by total price" option on, prices are per page and not continuous. This means you'll scroll past low prices to high prices back to high prices. It would be nice if multiple pages could be loaded at once so everything can be in order.

Feature Request - Revert Master Record listing to old style

The New UI upgrade has made it harder to look through all the versions at once.

Now for large listings, you have to press more, to get each section to load.

simpNGver

The old listing style is still viewable, when you go to edit a release, or just click on versions.
simpNGverList

Maybe there's a way to reimport that data, and then give the usual dropdowns for sorting by year, country, format, etc.

later
-1

Feature Request: Firefox Port

Firefox uses the same WebExtension standard as Google Chrome with minor differences, so porting and publishing - while a considerable task - wouldn't mean rewriting the extension completely in order to support a new platform.

Adding Firefox support would also help with using Discogs on Android phones, as Firefox supports add-ons on the mobile version.

I currently have to use an installation of Vivaldi just for this add-on so Firefox support would be fantastic! :)

Possible to change the Inventory link to have the same settings each time?

I sell a fair deal on Discogs, and every time I open my inventory to search for something I usually do so before remembering to set it to For Sale items only instead of just everything, and often I'll forget I have the page set to show 50 results instead of 1000, which I usually don't notice right away (did I mention I'm kinda dumb, haha), is it possible to change the Inventory link so that when I click it in the site it's already set up to just show items for sale? I've got a bookmark for that, but it's in a folder with some other important pages from the site so I generally don't think to use it. Thanks! I love the app btw, super helpful.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.