Repository navigation
[Alertas] UI: gestión de alertas y constructor de filtros desde el catálogo - #91
Merged
Merged
Conversation
…lder (#80) - organization and project settings pages: list (summary of filters, recipients, active toggle, read-only inherited organization alerts, empty state with examples), new and edit editor in four steps (event, conditions, recipients and delivery, test and save) - ConditionBuilder renders fields, operators and inputs only from the catalog entry (text, number, date, enum and reference pickers with search, multi for in/not_in) - form actions shared in #lib/server/alerts/page.ts (draft, save, test, toggle, delete): everything works without JavaScript, field errors announced with aria-describedby - sidebar entries behind organization:alerts:read / project:alerts:read - es/en translations for the UI, operators and error codes - component test via svelte/server (vitest.config.ts now compiles .svelte), summary tests, e2e alerts spec (guided example, viewer 403, sidebar, outsiders, 401, no-JS) - README: Alerts section with the guided example Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #80 · Parte de #76 · Apilado sobre #90 (#79). Cuando #90 se fusione, la base de este PR pasará a
development.Qué incluye
/org/<org>/settings/alertsy/org/<org>/projects/<slug>/settings/alerts, cada una con listado,newy[id].#lib/server/alerts/page.ts, que tiene los loaders y las form actionsdraft,save,test,toggleydelete.readPermission.aria-describedby,role="alert").ConditionBuilder(#lib/components/alerts/):CatalogEntry.OptionPicker, con búsqueda y selección múltiple parain/not_in.?/draft, que devuelve el formulario actualizado sin guardar nada.use:enhancey la edición en local.…:alerts:read.alerts.errors.<code>).Para revisar
vitest.config.ts: añade el plugin de Svelte. Hasta ahora Vitest no compilaba ningún.svelte. El test de componente renderiza consvelte/server, sin dependencias nuevas.POST ?/test, la variante sin guardar), también al editar.Tests
bun run check: 0 errores.bun run test: 582 tests. IncluyeConditionBuilder.test.ts:bun run test:e2e: 63/63. El nuevoe2e/specs/alerts.spec.tscubre:?/savedevuelven 403;🤖 Generated with Claude Code