Skip to content

Paying down technical debt early 2025#106

Open
bpow wants to merge 112 commits intomainfrom
next-main-202502
Open

Paying down technical debt early 2025#106
bpow wants to merge 112 commits intomainfrom
next-main-202502

Conversation

@bpow
Copy link
Copy Markdown
Collaborator

@bpow bpow commented Mar 5, 2025

This is a much longer branch than I'd like because there ended up being several interacting things that needed to be updated and/or otherwise addressed together:

  • Cleaning up / standardizing dx messages at request of clinicalgenome.org website team
  • Transitioning to vite for js builds
  • Upgrade to laravel 11
  • Moving from CKEditor4 to prosekit

bpow added 30 commits February 13, 2025 13:42
- remove broadcast channel overrides which always just did the same
  thing
- use shouldPublish to indication publishability (since GroupEvent
  already inherits from this now)
- removed lots of un-used `use`s
TODO:
- more tests
- fire some event when description is updated
- maybe there should be a similar generic "GroupAttributesUpdated" event
- why not just use model observation for this?
as long as we're cleaning up the dx messages, trying to make things
more consistent by making event name be based on class name (for the
most part) by actually using reflection to do so.
behavior of GroupEvents is that they are by default published for
non-EPs or for EPs that have had step 1 approval.

events that are internal enough to not warrant publishing to DX
now need to override shouldPublish to return false
bpow added 18 commits March 6, 2025 21:20
… HTML

- update dompurify to current-- no longer MSIE compatible, but neither is vue3
- has a command to update existing markdown descriptions to HTML...
- liberal sprinklings of dompurify...
There must be a better way to do this (avoiding cyclical updates
of content changes, so watcher is run, which might change content),
but this at least seems to work for now.

There's still something weird going on from the CSS/layout standpoint
with the box sometimes getting bigger as things are typed into it...
@bpow bpow force-pushed the next-main-202502 branch 3 times, most recently from 1053bb6 to d35787d Compare March 12, 2025 15:56
@bpow bpow force-pushed the next-main-202502 branch from d35787d to a95bf53 Compare March 27, 2025 15:18
@bpow bpow force-pushed the next-main-202502 branch from a95bf53 to 9841f1e Compare March 27, 2025 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant