mirror of
https://github.com/HeyPuter/puter.git
synced 2026-07-11 17:49:08 +00:00
eda5379c17
* fix(docs/search): show loading state and replay query when index isn't ready Previously performSearch rendered "No results found" while the MiniSearch index was still loading, which is misleading on slow networks. Track the last query as pendingQuery and replay it from fetchSearchIndex once the index is ready; render a distinct "Failed to load search index" message on fetch error so the loading message doesn't persist indefinitely. Fixes #3180. * fix(docs/search): close stale-replay race and consolidate status messages Drop pendingQuery synchronously in the input handler when the query falls below the minimum length, so a fetchSearchIndex that resolves within the 300ms debounce window after the user clears the field can no longer replay the cleared query into an empty input. Move the idle, loading, and failed copy into a single renderSearchStatus(kind) helper so the four .search-no-results renderings can only drift in one place.
Puter.js Docs
Docs · Developer · Puter.com · Discord · Reddit · X
Puter.js Docs
The Puter.js documentation contains everything you need to build powerful applications with Puter.js.
- Get started with Puter.js by reading documentations on usage and best practices
- Browse all available APIs, including AI, networking, authentication, and cloud services
- Find code examples and implementations to speed up your development
Getting Started
💻 Local Development
git clone https://github.com/HeyPuter/docs
cd docs
npm install
npm run dev
→ This should launch Puter.js Docs at http://127.0.0.1:8080 (or the next available port).
Support
Connect with the maintainers and community through these channels:
- Bug report or feature request? Please open an issue.
- Discord: discord.com/invite/PQcx7Teh8u
- X (Twitter): x.com/HeyPuter
- Reddit: reddit.com/r/puter/
- Mastodon: mastodon.social/@puter
- Security issues? security@puter.com
- Email maintainers at hi@puter.com
We are always happy to help you with any questions you may have. Don't hesitate to ask!
License
This repository, including its sub-projects, modules, and components, is licensed under MIT, and its content is licensed under CC BY-SA 4.0 unless explicitly stated otherwise. Third-party libraries included in this repository may be subject to their own licenses.
