nickkeesG / Pantheon

Experimental LLM interface exploring new ways to use AI to improve human thinking
https://pantheon.chat
GNU General Public License v3.0
12 stars 2 forks source link

Code maintenance: Modal/dialog manager #60

Closed sofvanh closed 2 months ago

sofvanh commented 5 months ago

Hierarchically, it's somewhat silly to contain modals inside the components that trigger them. It would make more sense to have some kind of global modal context, somewhat similar to the errorHandler.

This fix would for example enable more animations for the TreeListItem component.

sofvanh commented 2 months ago

This is a prerequisite for the Record comment production PR