Skip to content
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

feat(Links): Adding support for various Chess-related links #5226

Draft
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

Hesketh2
Copy link
Collaborator

@Hesketh2 Hesketh2 commented Dec 20, 2024

Summary

In future for chess wiki, this is also intended to be used within the match summary popup as well (like HLTV/VLR) as well as Infobox Icon too

Update: Includes 365Chess and Chessgames, all three will be used for Chess wiki, actually it's already in use for some of pre-documentation help

Update 2: also Includes Lichess and FIDE's official site as well, all 5 would see usage in case one doesnt provide the needed stats

|chesscom=
|365chess=
|chessgames=
|fide=
|lichess=

image

Note: Fide is not used on match, but only for Infobox

How did you test this change?

How do I test link icons to begin with? I only recall the files that I need to edit

@Hesketh2 Hesketh2 marked this pull request as draft December 20, 2024 09:11
@Hesketh2 Hesketh2 requested review from hjpalpha and Rathoz and removed request for hjpalpha December 20, 2024 09:15
@Hesketh2 Hesketh2 self-assigned this Dec 20, 2024
@hjpalpha
Copy link
Collaborator

hjpalpha commented Dec 20, 2024

(I cannot edit CSS, have no access)

is to be done via PR in this repo so yes you can^^

for when inputting in Infobox gives you a different preset url, then in a match gives you another different one
@Hesketh2 Hesketh2 marked this pull request as ready for review December 21, 2024 16:26
@Hesketh2
Copy link
Collaborator Author

I updated it to have 3 versions

  • Standard: chess.com/ this is for to be able to add any chess links mostly this is for Infobox League
  • Player: chess.com/member/ this is for personal player page
  • Match: chess.com/games/view/ matchid

@Hesketh2 Hesketh2 changed the title Adding link support for Chess.com Adding link support for Chess.com , Chess365 and Chessgames Dec 24, 2024
@Hesketh2
Copy link
Collaborator Author

Hesketh2 commented Dec 24, 2024

I will expand this PR to include two more chess website : 365Chess and Chessgames
both already have saw usage in the pre-documented pages

Copy link
Collaborator

@hjpalpha hjpalpha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keep the order alphabetical!

@Hesketh2 Hesketh2 changed the title Adding link support for Chess.com , Chess365 and Chessgames Adding link support for Chess.com , 365Chess and Chessgames Dec 24, 2024
Copy link
Collaborator

@hjpalpha hjpalpha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing the css classes for the 2 new ones

files in commons
@Hesketh2 Hesketh2 changed the title Adding link support for Chess.com , 365Chess and Chessgames Adding link support for various Chess-related links Dec 28, 2024
* Update links_priority_groups.lua

lichess

* Update links.lua

lichess links

* Update Icons.less

Lichess InfoboxIcon
@Hesketh2
Copy link
Collaborator Author

Lichess and FIDE's official site will be added to this later on so 5 new additions total.

@Hesketh2 Hesketh2 closed this Dec 28, 2024
@Hesketh2 Hesketh2 reopened this Dec 28, 2024
* Update Icons.less

InfoboxIcon for FIDE

* Update links.lua

Fide profile link

* Update links_priority_groups.lua

FIDE link priority
@Rathoz Rathoz marked this pull request as draft December 30, 2024 08:50
@hjpalpha hjpalpha changed the title Adding link support for various Chess-related links feat(Links): Adding support for various Chess-related links Dec 30, 2024
@Hesketh2
Copy link
Collaborator Author

All should be added now alongside the uploaded icons and Infoboxes, should be now ready for review

Every added link except FIDE will have match usage hence match icons
FIDE itself will not have match icons because its meant only for Infobox usage.

@Rathoz
Copy link
Collaborator

Rathoz commented Dec 30, 2024

Chess is not a wiki (yet), hence will not add stuff yet

@Hesketh2 Hesketh2 added the g: chess Chess label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants