lencx / Noi

🚀 Power Your World with AI - Explore, Extend, Empower.
https://noi.nofwl.com
6.21k stars 448 forks source link

Can't delete page if it is opened in noi #114

Open 13IcHBiN opened 6 months ago

13IcHBiN commented 6 months ago

Guess it can be solved if you add forced closing of the session \ window ?))

image

lencx commented 6 months ago

It's not a bug. The prohibition on users deleting the current URL is intentional. This is because if users were to delete the current link, determining how the main screen should load a new URL would become a complex issue. It also ensures that there is at least one loadable URL on the main screen at all times. If you want to delete a specific URL, it's recommended not to have it in an active state.

13IcHBiN commented 6 months ago

What if the start page will be displayed if the current page is deleted or if all pages are deleted?

image