Commit graph

24 commits

Author SHA1 Message Date
David Kellner
b91f40247d expand-rg: Open editing-related links in new tabs
Since these are less likely to be used to speed up browsing (from an
artist page down to e.g. a specific recording on a release, skipping the
RG and release page) but for batch editing, it makes sense to open these
in new tabs by default.
2022-01-27 13:14:45 +01:00
David Kellner
ada3d7fa99 expand-rg: Add direct link for 'add cover art' 2022-01-27 13:14:45 +01:00
David Kellner
9b70f1398c expand-rg: Remove unused function parameter 2021-12-12 21:51:05 +01:00
David Kellner
4232ee8fc0 expand-rg: Prefer for-of loops over index loops
The IIFE from the previous lines 197 to 225 is no longer necessary as we
are using scoped variables now (keyword let instead of var).
2021-12-12 21:51:05 +01:00
David Kellner
b9ae32964f expand-rg: Fix ESLint warnings 2021-12-12 21:51:05 +01:00
David Kellner
6272ceb076 expand-rg: Stretch tracklist tables to the full column width
This gives them more horizontal space instead of stuffing them into a
sub-column of a column. The additional margin is not necessary for
injected releases, only for release groups.
Reverting an undocumented change from 02f93f75ed
which (unintentionally?) abandoned the dedicated `track_tr` row.
2021-12-12 21:51:05 +01:00
David Kellner
04aff7b55c expand-rg: Avoid 2nd button for a release's CA link
Prevent the injection of a second expand/collapse-button for releases
with cover art. This was caused by the introduction of a new icon that
indicates existing cover art and links to the release's cover art page.

https://tickets.metabrainz.org/browse/MBS-4644
https://github.com/metabrainz/musicbrainz-server/pull/1176
2020-08-02 23:29:32 +02:00
Aurélien Mino
0e864d8c59 Reformat with prettier 2.0 2020-04-05 16:02:07 +02:00
Aurélien Mino
14a32dab62 Applied prettier and eslint tools on existing code
None of these changes are manual changes made a human
2018-11-20 23:18:49 +01:00
Laurent Monin
6c5c083dba
Change version format on all scripts
Related to https://github.com/murdos/musicbrainz-userscripts/pull/171
2018-02-18 18:16:45 +01:00
Frederik “Freso” S. Olesen
27edbeddc5
Merge in bitmap's userscripts
Merging from https://bitbucket.org/mwiencek/userscripts

Permission given at
https://chatlogs.metabrainz.org/brainzbot/musicbrainz/msg/3852183/
2017-03-10 19:57:54 +01:00
jesus2099
b4d20eb48e Repaired relationship edit links
- release group relationships are now edited in release group editor
- release relationships are now edited in release relationship editor

old MBS change: “Use in a relationship” and “Relate to…” no longer exist
2016-12-15 14:24:54 +01:00
jesus2099
1aebd13755 Migrate to relative links (post MBS-8624’s
b8f7ab9a84 I guess).
2016-02-09 12:19:20 +01:00
jesus2099
a738a047a1 Removing some dead code after my last change.
Some of which was causing warnings in artist open edits page.
2015-11-25 17:21:04 +01:00
jesus2099
193bd05ceb Quick and dirty fix for MBS internationalisation. 2015-11-20 17:10:15 +01:00
jesus2099
6c73d7b0dd Merged mwiencek/userscripts into master 2015-10-16 11:05:08 +02:00
jesus2099
9785dedc46 forgot that semi‐colon :/ 2015-09-26 19:00:59 +02:00
jesus2099
37e8b8b647 release and release group series pages support 2015-09-26 18:24:34 +02:00
jesus2099
923e7a9d0f better coding style that I forgot to use
in an earlier commit of mine
(1da51f2184)
2015-09-22 19:52:49 +02:00
jesus2099
52158866e0 Fixed « Cannot convert 'parent.…' to object » 2015-09-04 19:21:01 +02:00
jesus2099
9a654bec5b Added HTTPS @downloadURL and @update@URL in metadata block to enable user script auto update in most greasmonkey engines. 2015-04-09 15:01:15 +02:00
jesus2099
02f93f75ed FIX. javascript error in rg/mbid/edits page where add release edits. 2015-01-20 18:14:07 +01:00
jesus2099
1da51f2184 fixed « release disambiguation is stuck to release name » 2015-01-08 19:53:40 +01:00
Michael Wiencek
721cf44353 “MusicBrainz: Expand/collapse release groups” added from https://chatlogs.musicbrainz.org/musicbrainz/2015/2015-01/2015-01-08.html#T09-15-52-762574 2015-01-08 19:37:49 +01:00