Nikhil Rao

Results 61 issues of Nikhil Rao

Currently you can do something like this: ``` app = pc.App(state=MyState) @app.api.get("/items/{item_id}") async def api_test(item_id: int): return {"my_result": item_id} app.compile() ``` We can introduce a new method to allow this...

documentation

**Describe the bug** Debug logs don't work in prod mode. **To Reproduce** `pc run --loglevel debug --env prod` **Expected behavior** I should see the debug logs, but I don't. **Screenshots**...

bug
good first issue
help wanted

**Describe the bug** The websocket connection is inconsistent on mobile sometimes for Safari/iOS. **To Reproduce** See related issue: https://github.com/HeinrichApfelmus/threepenny-gui/issues/130 **Expected behavior** The connection should be resilient and reconnect when dropped.

bug
help wanted

We should be able to do something like ```python pc.button( "hello", color=pc.cond(State.condition, "red", "green") ) ``` Currently the only way to achieve this is to do ```python pc.cond( State.condition, pc.button(color="red"),...

enhancement

Currently it's hard to measure how much Pynecone is being used once it's installed. We want to measure some very basic usage statistics. Key Measurements to Log: * Operating System...

feature request

We can have a config option to disable websockets and use normal http requests instead. Advantages: * Allow support for certain browsers where websockets aren't supported well * May allow...

needs investigation
still deciding

It would be useful to have a blog post explaining the architecture of Pynecone so people can understand the basics.

documentation

The user should be able to give a string of custom JS code that will be compiled to the top of the page.

enhancement

Sometimes the user may need to provide JS scripts (for example, adding a Google Analytics script to their site). We need a clean way to allow this.

enhancement
good first issue
feature request