frontend refactor #6

Open
opened 2024-08-15 17:29:11 +02:00 by alemi · 0 comments
Owner

frontend code is... not great

i learned leptos while laying it out so there are "layers" of "expertise" which just got left behind

before this gets completely out of control, it's probably necessary to:

  • cache objects by id inside reference counts
  • unify infinite scroll behaviour
  • make resolving un-cached objects transparent
  • unify and centralize interaction buttons (star, reply, ack, ...)
  • unify entities: actors/objects/activities/... should just be as easy as <Activity id=... /> instead of having fallbacks everywhere
  • project structure: either separate in components or domains of relevance

... more? will keep track

frontend code is... not great i learned leptos while laying it out so there are "layers" of "expertise" which just got left behind before this gets completely out of control, it's probably necessary to: - [x] cache objects by id inside reference counts - [x] unify infinite scroll behaviour - [ ] make resolving un-cached objects transparent - [ ] unify and centralize interaction buttons (star, reply, ack, ...) - [ ] unify entities: actors/objects/activities/... should just be as easy as `<Activity id=... />` instead of having fallbacks everywhere - [ ] project structure: either separate in components or domains of relevance ... more? will keep track
alemi added the
help wanted
enhancement
labels 2024-08-15 17:29:11 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: alemi/upub#6
No description provided.