ganncamp
(G Ann Campbell)
7 Noviembre, 2023 19:41
1
Mi búsqueda arroja al menos un par de temas sobre la eliminación, o no, de etiquetas. Son antiguos y parecen estar resueltos.
Y… ¿parece que esta es una característica frágil? Porque parece que se ha vuelto a romper, al menos en mi sitio:
(¿Pueden otros ver el video? Lamentablemente, para mí es solo una caja negra. Me temo que el navegador “seguro” de mi empresa está actuando de nuevo).
1 me gusta
¿Puedes comprobar si hay algún detalle en la consola del navegador cuando haces clic en el botón?
Parece que el modal no se abre.
Sí, no hay ningún problema. ¿Ves un cuadro negro sin botón de reproducción?
1 me gusta
ganncamp
(G Ann Campbell)
7 Noviembre, 2023 20:05
3
Hmm… solo era una caja negra en la ventana de vista previa de la publicación, pero ahora sí obtengo un botón de reproducción (¡que funciona!)
Y sí, buena observación. Hay un error de JS:
tag-info.js:146 Uncaught TypeError: this.get is not a function
at Object.deleteTag (tag-info.js:146:14)
at $._run (index.ts:665:23)
at $._join (index.ts:640:19)
at $.join (index.ts:362:17)
at p (index.js:156:1)
at index.js:707:1
at e.flaggedInstrument (index.js:126:1)
at index.js:706:1
at index.js:665:1
at d._triggerAction (d-button.js:117:25)
at d.click (d-button.js:87:21)
deleteTag @ tag-info.js:146
$._run @ index.ts:665
$._join @ index.ts:640
$.join @ index.ts:362
p @ index.js:156
(anonymous) @ index.js:707
e.flaggedInstrument @ index.js:126
(anonymous) @ index.js:706
(anonymous) @ index.js:665
_triggerAction @ d-button.js:117
click @ d-button.js:87
1 me gusta
Efectos secundarios de
committed 10:39AM - 06 Nov 23 UTC
The motivation of this PR is to remove our dependence on Ember's 'named outlets'… , which are removed in Ember 4+.
At a high-level, the changes can be summarized as:
- The top-level `discovery` route is totally emptied of all logic. The HTML structure of the template is moved into the `<Discovery::Layout />` component for use by child routes.
- `AbstractTopicRoute` and `AbstractCategoryRoute` routes now both lean on the `DiscoverySortableController` and associated template. This controller is where most of the logic from the old top-level `discovery` controller has ended up.
- All navigation controllers/templates have been replaced with components. `navigation/categories`, `navigation/category` and `navigation/default` were very similar, and so they've all been combined into `<Navigation::Default>`. `navigation/filter` gets its own component.
- The `discovery/topics` controller/template have been moved into a new `<Discovery::Topics>` component.
Various other parts of the app have been tweaked to support these changes, but I've tried to keep that to a minimum.
Anything from `<TopicList>` down is untouched, which should hopefully mean that a large proportion of topic-list-customizing themes are unaffected.
For more information, see https://meta.discourse.org/t/282816
Y corregido aquí
committed 11:56AM - 07 Nov 23 UTC
https://github.com/discourse/discourse/pull/22622 accidentally introduced an `@a… ction` decorator inside the actions hash, which does not work. This commit modernizes the component by removing the actions hash altogether.
¡Deberías actualizar Discourse para solucionar este problema!
3 Me gusta
system
(system)
Cerrado
7 Diciembre, 2023 20:58
11
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.