stack/apps/dashboard/src
Aman Ganapathy 9002b63f7a
[Fix] Fix Various bugs on the Explore Apps Page (#1142)
### Context

There are a smattering of bugs on the explore apps page. Clicking
"Enable App" may enable the app, but the button still shows, plus it
causes unnecessary redirects while the modal is still up. This behavior
can be seen in the linked clip


https://github.com/user-attachments/assets/09b12ccf-e174-4289-91f3-4f0e73cfe7e4

### Summary of Changes

We dynamically handle the modal open state, and track the path updates.
This lets us deal with the bugs above while avoiding unnecessary
renders, allowing reopening of previously opened modals, and preventing
unnecessary redirects.
Dealing with the enable apps button issues also now allows users to
navigate to the app page from the explore apps modal.

We also add a disable button to the modal. Previously, users had to
check the options for each app in order to disable it. Now they can do
it on the modal itself, which is in line with how the "Enable App"
functionality works.

### UI Demo




https://github.com/user-attachments/assets/5bfd35c6-5d28-4f99-958a-9300533e2351
2026-02-02 17:36:26 -08:00
..
app [Fix] Fix Various bugs on the Explore Apps Page (#1142) 2026-02-02 17:36:26 -08:00
components [Fix] Fix Various bugs on the Explore Apps Page (#1142) 2026-02-02 17:36:26 -08:00
hooks Better Clickhouse errors during development 2026-01-30 22:39:17 -08:00
lib Run Query in Control Center 2026-01-30 17:56:10 -08:00
globals.d.ts Port dashboard to Next.js 15 (#560) 2025-03-24 00:03:50 +01:00
instrumentation.ts Customizable ports (#962) 2025-10-20 15:24:47 -07:00
polyfills.tsx Upgrade dashboard to Next.js 16 2025-10-20 23:29:44 -07:00
proxy.tsx Upgrade dashboard to Next.js 16 2025-10-20 23:29:44 -07:00
stack.tsx Feature/stack companion (#769) 2025-08-12 15:12:20 -05:00