Skip to content

Conversation

@ElectricalBoy
Copy link
Collaborator

@ElectricalBoy ElectricalBoy commented Jan 2, 2026

Summary

Depends on #6946

This PR automates use of #5569 in main pages.

How did you test this change?

https://liquipedia.net/leagueoflegends/User:ElectricalBoy/MainPage (dev uses 4 week offset for testing purposes instead of 2 weeks as specified in this PR)

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.

fwiw when rolling this out we need to check if there is some usage of the current inmemory stuff so we do not double display banners

conditions = tostring(ConditionTree(BooleanOperator.all):add{
ConditionNode(ColumnName('deathdate'), Comparator.neq, DateExt.defaultDate),
ConditionNode(ColumnName('deathdate'), Comparator.ge, DateExt.toYmdInUtc(
DateExt.getCurrentTimestamp() - 1209600 --[[2 weeks]]
Copy link
Collaborator

Choose a reason for hiding this comment

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

move the number into a const var

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@ElectricalBoy ElectricalBoy force-pushed the mainpage-automate-in-memory-of branch from 4da64fb to 43e4b93 Compare January 2, 2026 06:32
@ElectricalBoy ElectricalBoy requested a review from hjpalpha January 2, 2026 06:33
@ElectricalBoy ElectricalBoy changed the base branch from main to days-to-seconds January 2, 2026 06:33
@ElectricalBoy ElectricalBoy force-pushed the mainpage-automate-in-memory-of branch 2 times, most recently from 34aae25 to c8811ab Compare January 19, 2026 00:57
Base automatically changed from days-to-seconds to main January 19, 2026 11:15
@mbergen
Copy link
Collaborator

mbergen commented Jan 28, 2026

Since this would be a highly delicate display, we probably want some sort of confirmation time or manual step involved, to avoid vandalism on a player page to immediately show on the main page.

@ElectricalBoy ElectricalBoy force-pushed the mainpage-automate-in-memory-of branch from c8811ab to 41b9d78 Compare January 30, 2026 07:54
@ElectricalBoy
Copy link
Collaborator Author

Since this would be a highly delicate display, we probably want some sort of confirmation time or manual step involved, to avoid vandalism on a player page to immediately show on the main page.

yeah that actually is a good point
maybe enforce list of player pages to be inputted and automate removal?

@ElectricalBoy ElectricalBoy requested a review from a team January 30, 2026 08:04
@mbergen
Copy link
Collaborator

mbergen commented Jan 30, 2026

Since this would be a highly delicate display, we probably want some sort of confirmation time or manual step involved, to avoid vandalism on a player page to immediately show on the main page.

yeah that actually is a good point maybe enforce list of player pages to be inputted and automate removal?

Seems like a decent way to go.

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.

LGTM

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.

5 participants