Lista de temas MD Componente móvil

Después de mi trabajo en un pequeño rediseño de las páginas de lista de temas en escritorio, trabajé un poco en una versión móvil con algunas ideas similares, como más espacio para los títulos de los temas, una segunda línea con más información y una columna dedicada únicamente a la última publicación.


Compatibilidad

Este componente de tema es compatible con las funciones de etiquetas, enlaces destacados y cualquier función disponible en la versión original de la lista de temas. Cualquier estilo de presentación de categoría (viñeta, barra, cuadro) debería funcionar con este componente.

El componente de tema se ha probado en algunas paletas de colores; funcionará con temas claros, neutros u oscuros.

Lamentablemente, es posible que el componente de tema no funcione con plugins que ya cambian la presentación de la lista de temas, como las Vistas previas de la lista de temas.

¡Hágamelo saber si tiene algún problema!

21 Me gusta

Nice Plugin. Though a general Reccommendation can we have Theme & Components list min Discourse version? I am on Stable branch but do have a test sandbox for 2.5beta. @codinghorror?

I just did a specific branch for older versions.

When installing, use the link https://github.com/iunctis/md-topic-list-mobile the advanced options and add older-discourse

You’ll know if it works if the avatars on the right column works fine. In a few weeks, when the avatars will be broken, you’ll just have to reinstall the component without using the advanced option

2 Me gusta

A direct comparison:

Default / Component

I like the fact that the last poster avatar is on the right.
On the default mobile layout, the big avatar just on the left of the topic title screams “author”.

Just out of curiosity, I looked at the scss file, any reason for which you didn’t use nested syntax provided by scss?

7 Me gusta

Tried the advanced option. Still says disabled req 2.5 beta2

Mostly because I make more mistakes with nested syntax on css :grimacing:

But I could rewrite it in a few weeks when I’m more confident with the topic list design

@Heliosurge I edited the about.json file, it should be ok now

3 Me gusta

Thank you for your awesome work. :beers::sunglasses::+1::sparkles:

2 Me gusta

I pushed a little upgrade just now. No new feature but I added the compatibility with the new thumbnails functions.

The theme component is now fully compatible with these components:

4 Me gusta

I love it, so clean. @Steven I was wondering if its possible too add with CSS this native feature when you click in total replies?

Not with css but the template can be corrected.

I personally only use this feature to access the first post but I shouldn’t impose my way of navigating to everyone. I’ll see if I can reinstore the feature

2 Me gusta

I upgraded the component to reinstore this feature, I tested on two supports but if there’s any issue let me know

2 Me gusta

Hey @Steven, it seems that the new messages notifications are shown twice. Once on the right of the topic title, once instead of the reply counter. Is that a bug or am I missing something here?

Very nice mobile topic view by the way. My users like it.

1 me gusta

It must come from the last update with the topic entrance button. I think it’ll be better to go back to the previous version. It’s not really adapted to the component.

I’ll upgrade in a few minutes

edit: Upgraded just now, let me know if it’s better

1 me gusta

Yes it works perfectly now, thank you it was fast :slight_smile:

1 me gusta

I think you shoud remove the tag emoji you added in front of the tag list:

It looks different on different os:

image

It may not fit the forum’s design, and it should honor desktop design choices (where there is no icon by default)

If you actually add a tag icon with tag icons component, it will look like this:

image

So I hid the emoji with CSS, but I think it shouldn’ be here in the first place :slight_smile:

How it is displayed on my forum now:

image

.md-tlm .discourse-tags::before {
    display: none;
}
.md-tlm .tl-replies {
    margin-right: 8px;
}
1 me gusta

Thanks for the feedback, I have major internet issues so I’m a bit behind on all discourse work.

I like the idea of the tag icon or emoji, but I’ll probably change the two theme components to a d-icon tag. At the same time, I’ll create a branch without any icon for a compatibility with the tag icons component

1 me gusta

¡Hola Steven!
Parece que hay algunos problemas de diseño con la versión actual de Discourse.
He creado un tema vacío y solo he incluido el componente móvil MD Topic List, y este parece ser, de hecho, el problema.
Aquí está la vista móvil:

Hay algo extraño con los márgenes/rellenos.

2 Me gusta

Gracias, lo revisaré ahora mismo.

Intentaré reescribir la plantilla para eliminar también el máximo de clases personalizadas, creo que es lo mejor con el rediseño en curso en el núcleo.

edición: Nuevo commit, hice una reescritura de la plantilla y la hoja de estilo para que sea más fácil de actualizar en el futuro.

Avísame si tienes algún problema @Canapin

4 Me gusta

¡Parece perfecto. Gracias!

1 me gusta

¿Podemos añadir el total de “me gusta” y las vistas del tema junto al recuento de respuestas?

2 Me gusta