Skip to content

fix: temporary workaround to fix the issues in php-scss 1.x#6463

Merged
Rathoz merged 2 commits intomainfrom
hacks-to-fixphpscss
Aug 28, 2025
Merged

fix: temporary workaround to fix the issues in php-scss 1.x#6463
Rathoz merged 2 commits intomainfrom
hacks-to-fixphpscss

Conversation

@Rathoz
Copy link
Collaborator

@Rathoz Rathoz commented Aug 28, 2025

Summary

Do some temp workarounds

How did you test this change?

Live

@ElectricalBoy
Copy link
Collaborator

what's the ETA on v2.0 migration?
might be better to just fast track that instead

@ElectricalBoy ElectricalBoy added g: dota2 DOTA2 stylesheets Changes to stylesheets labels Aug 28, 2025
@Rathoz
Copy link
Collaborator Author

Rathoz commented Aug 28, 2025

what's the ETA on v2.0 migration? might be better to just fast track that instead

At least a week, probably more, bunch of dependency and testing needed

Copy link
Collaborator

@mbergen mbergen left a comment

Choose a reason for hiding this comment

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

I have no idea about SCSS, so do whatever is necessary.
I guess technically we could also revert this file alone to less for now.

@Rathoz
Copy link
Collaborator Author

Rathoz commented Aug 28, 2025

I guess technically we could also revert this file alone to less for now.

We could, but I would rather move forward and have no less. It's fully functional, as this, just a little uglier

@Rathoz Rathoz merged commit d6457c2 into main Aug 28, 2025
6 checks passed
@Rathoz Rathoz deleted the hacks-to-fixphpscss branch August 28, 2025 12:45
Eetwalt pushed a commit that referenced this pull request Sep 1, 2025
* fix: temporary workaround to fix the issues in php-scss 1.x

* add comment
Rathoz added a commit that referenced this pull request Sep 3, 2025
* initial testing

* completed state

* render MatchHeaderBR in match card

* style changes

* corrected icon

* use trophy instead of icon

* get gamedata for match

This is not a permanent solution, needs refactoring later.

* added github cli instructions in the docs

* added gameData to matchcard

* corrected type, added conditionals

* corrected string replacement

* corrected link structure

* url constructing and logs

* url constructing and conditional for showing map

* simplified map link

* completed conditional and match state rendering

* trophy rendering

* moving icon colour classes

* better stage name

* simplifying

* formatting

* improvements

* unused import

* remove unnecessary field

Co-authored-by: Rikard Blixt <rikardblixt@gmail.com>

* style tweaks

* un-flip opponent display

* adjusted map display logic

* refactor to placement rendering and fix typo

* Update lua/wikis/commons/Widget/Match/TournamentBar.lua

Co-authored-by: ElectricalBoy <15651807+ElectricalBoy@users.noreply.github.com>

* fixed mapDisplayName

* use sub instead of filter so theres always only three values returned

* Update lua/wikis/commons/MatchTicker/DisplayComponents/New.lua

Co-authored-by: SyntacticSalt <mail@mbergen.de>

* improvements

* fix opponents

* moved and renamed header to subdirectory

* chore: Add latest AoE4 and AoM civilizations and gods (#6438)

* Update Data.lua

Added Dynasties of the East civs to Data.lua.

* Added Dynasties of the East civs to IconData.lua.

* Fixed alphabetic order in aoe Factions/Data.lua.

* Added Dynasties of the East civ aliases to Data.lua.

* Added AoM Heavenly spear gods to AoE Faction/Data.lua.

* Added AoM Heavenly spear gods to AoE Faction/IconData.lua.

---------

Co-authored-by: Rikard Blixt <rikardblixt@gmail.com>

* docs(match2): fix incorrect capitalization in MatchPageDisplay (#6449)

fix capitalization

* fix: Remove colors in CR matchsummary (#6448)

* fix(match2): game win/loss indicator not shown in hearthstone match summary with incomplete input (#6458)

* spelling

* fix children processing

* type annotation

* type annotation

* docs(opponent): fix spelling in documentation (#6457)

spelling

* chore: convert less to scss (#6433)

* chore: convert less to scss

* undo some stuff we can leave for a later pr to make it easier to review

* typo

* migrate visual testing to scss

* scss fixes

* chore: update visual snapshots

* cleanup

* fixes?

* chore: update visual snapshots

* cleanup

* remove less, update docs and pipeline

* fix unary op being treated as binarry op (https://sass-lang.com/documentation/breaking-changes/strict-unary/)

---------

Co-authored-by: Rathoz <3426850+Rathoz@users.noreply.github.com>

* fix: dota2 hero panel styling (#6462)

* fix: temporary workaround to fix the issues in php-scss 1.x (#6463)

* fix: temporary workaround to fix the issues in php-scss 1.x

* add comment

* docs: fix incorrect spelling for player table (#6469)

typo

* test: remove TeamTemplate fake (#6472)

* kick mock TeamTemplate module

* add missing data to mock

* add alias to mock

* load tt mock inside standings test

* teardown afterwards

* add heroic data to mock

* add BDS to mock

* add all minimally required tts

* one last tt

* add complete tt9 data

* fix expected opponentname

* fix: missing nil catch in opponent module (#6470)

* fix: Correctly display single-transfer lists (#6467)

* fix: Correctly display single-transfer lists

* offset limit

* refactor(infobox): use daterange widget in upcoming and ongoing tournaments widget (#6461)

* enable type anno properly

* type annotation

* use DateRange widget

* remove unused import

* read correct field

* refactor: replace style attribute with css in project overview (#6453)

replace style attribute with css

* chore: Add youtube param to AoE CopyPaste (#6465)

* refactor: clean up match schedule display implementation (#6456)

* header to widget

* main wrapper to widget

* row to widget

* buildOpponent to widget

* use anyOf for page query

* use ge / le for date query

* adjust return type

* score to widget

* dateDisplay to widget

* type anno

* restore hiddensort

* matchPageLinkDisplay to widget

* clean up html widget calls

* flip condition

* syntax

* slap loadData to Module:Info import

* further condense condition building

Co-authored-by: hjpalpha <75081997+hjpalpha@users.noreply.github.com>

---------

Co-authored-by: hjpalpha <75081997+hjpalpha@users.noreply.github.com>

* eof

* removed eof

* collect children and simplify mapIsSet usage

Co-authored-by: ElectricalBoy <15651807+ElectricalBoy@users.noreply.github.com>

* syntax

Co-authored-by: ElectricalBoy <15651807+ElectricalBoy@users.noreply.github.com>

* import Array

* reorder imports

---------

Co-authored-by: Rikard Blixt <rikardblixt@gmail.com>
Co-authored-by: ElectricalBoy <15651807+ElectricalBoy@users.noreply.github.com>
Co-authored-by: SyntacticSalt <mail@mbergen.de>
Co-authored-by: Libavi <165576651+Libavi@users.noreply.github.com>
Co-authored-by: Rathoz <3426850+Rathoz@users.noreply.github.com>
Co-authored-by: hjpalpha <75081997+hjpalpha@users.noreply.github.com>
@ElectricalBoy
Copy link
Collaborator

now that Liquipedia/ResourceLoaderArticles#15 is merged we should look into reverting this
though I am not sure how changes from #6484 are going to affect reverting

@FO-nTTaX
Copy link
Member

Don't for now, we're reverting the scssphp upgrade

@FO-nTTaX
Copy link
Member

FO-nTTaX commented Oct 8, 2025

now that Liquipedia/ResourceLoaderArticles#15 is merged we should look into reverting this though I am not sure how changes from #6484 are going to affect reverting

We could look into cleaning this up now too, we redeployed scssphp:2

@Rathoz Rathoz mentioned this pull request Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

g: dota2 DOTA2 stylesheets Changes to stylesheets

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants