Chat: bigger text option, and don't keep old matches' chat around
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
Línea de trabajo
Start with lib/debugplus/console.lua, compatibility/debugplus.lua, and api/chat.lua to trace chat rendering, font use, and lobby cleanup. The issue leaves the old-message behavior and defaults undecided, so first resolve the listed UX questions; then add the agreed text-size and history options and verify they apply to the open console and fading messages.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What we want
- Bigger chat text. A setting for the chat text size.
- Old messages shouldn't hang around. Some option so chat from earlier matches doesn't stay on screen and in the log forever, for example clearing it when a new match is found, or hiding it. The right UX still needs deciding (see below).
Today
- Chat is the console in
lib/debugplus/console.lua(or DebugPlus's own console when that mod is loaded,compatibility/debugplus.lua). - Text is drawn with LÖVE's current font (
love.graphics.getFont()), so its size is fixed: there is no setting for it. - The log keeps the last 500 messages (
console.lua,#messages > 500) and is never cleared. Leaving a lobby (MPAPI.chat.cleanupinapi/chat.lua) unhooks sending but keeps every message, so the last match's chat is still there in the next one. - With the console closed, new messages show for 5 seconds and fade over 1 second (
showTime,fadeTime).
Text size
- A size option in the mod's settings, for example Small / Medium / Large (or a slider), applied to both the open console and the fading messages.
- Line wrapping and scrolling already measure with the font (
font:getWrap,font:getHeight), so they should follow a bigger font, but the input line and window size need checking. - When DebugPlus is loaded its own console draws the text; we may only be able to size ours.
Old chat: options to decide between
| Option | Upside | Downside |
|---|---|---|
| Clear the log when a new match is found | Each match starts clean; simplest to explain | Can't scroll back to what someone said last game (for a report, say) |
| Divider instead of clearing ("--- New match vs X ---") | Keeps history, makes it clear what is old | Old messages still fill the log |
Hide old matches' messages, keep them in memory (show with a toggle or command, e.g. /history) |
Clean by default, nothing lost | More to build and explain |
| Clear when leaving the lobby | Matches the lobby lifecycle | Same downside as clearing |
A /clear command |
Player decides | Doesn't help anyone who doesn't know about it |
Open questions:
- Default on or off? Which option is the default?
- Should the fading on-screen messages (console closed) ever show a message from a previous match?
- Reports: if a player wants to report chat from a finished match, does the server's copy cover that, so clearing the client log is safe?
- Should the same setting cover system notices (yellow) or only player messages?
- Lenguaje dominante
- Lua
- Estrellas
- 10
- Forks
- 8
- Merge medio
- 1 d 18 h
- PR fusionados (30 d)
- 20
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Balatro-Multiplayer/BalatroMultiplayerAPI
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Balatro-Multiplayer/BalatroMultiplayerAPI#67 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100
Balatro-Multiplayer/BalatroMultiplayerAPI#55 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
Balatro-Multiplayer/BalatroMultiplayerAPI#61 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
Balatro-Multiplayer/BalatroMultiplayerAPI#59 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Dificultad 3/5 1-2 días Aptitud para principiantes 57/100
Balatro-Multiplayer/BalatroMultiplayerAPI#58 ·
Los mantenedores suelen responder en 2 días
Todos los issues de Balatro-Multiplayer/BalatroMultiplayerAPI
Issues similares
-
bug(bufdelete): all()/other() abort with "Invalid buffer id" when a buffer is wiped during the loopAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
folke/snacks.nvim#2986 ·
-
bug discord guide:ruins-of-lordaeron locale:enUS triage v0.3.2
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
fitzforge/polestar#999 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
fts: logs.parse_timestamp with on_missing: preserve, but the code only accepts skip or errorAbiertostatus: waiting-for-triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
fluent/fluent-bit#12747 · 2 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100