Commit Graph

48 Commits

Author SHA1 Message Date
Elijah Ahianyo
fb69ddfd80
moved compiled constants into an env.json file (#1051) 2023-05-19 10:28:54 -07:00
Nikhil Rao
0bfd988869
Fix prevent default event (#1036) 2023-05-16 12:32:07 -07:00
Nikhil Rao
98f1b30735
Fix event default call (#1031) 2023-05-15 21:10:42 -07:00
Masen Furer
d0e383d23c
Fix db_url set to empty string in default pcconfig.py (#1022) 2023-05-14 19:03:36 -07:00
Masen Furer
e887dd143b
Trigger on_load when router completes navigation (#984) 2023-05-10 01:11:54 -07:00
iron3oxide
32f3a387ae
Rename var module to vars (#983) 2023-05-09 23:01:25 -07:00
PeterYusuke
3b88e7c329
[Fix 477] Use jinja2 for templating (#915) 2023-05-09 14:34:47 -07:00
Elijah Ahianyo
18c715670a
Revamp Imports (#926) 2023-05-04 22:11:01 -07:00
Nikhil Rao
e03e5f8033
Use Python truthiness in pc.cond (#889) 2023-04-26 17:16:38 -07:00
Kasun Herath
fc9b03ebd7
Custom configuration support (#792) 2023-04-24 21:40:07 -07:00
Masen Furer
c3148d348c
component.get_hooks: inject hook code into component func (#810) 2023-04-15 22:10:17 -07:00
PeterYusuke
bd03e9290c
Fix textarea rendering issue (#700) 2023-04-13 11:02:20 -07:00
iron3oxide
7067baf176
Refactor utils module (#666) 2023-03-16 14:59:27 -07:00
Nikhil Rao
f7138bd53f
Add upload component (#622) 2023-03-03 19:38:58 -08:00
PeterYusuke
f76acb2d9c
[Fix issue 563] Add meta arg to page_add method (#589)
* Add meta arg to page_add method

* Remove TypeError of "|". Set default param value.
2023-02-22 21:33:04 -08:00
Nikhil Rao
d72256d427
Generate app sitemap (#552) 2023-02-16 14:53:18 -08:00
叶子
094082c35b
Fix type errors in template (#493) 2023-02-12 09:36:16 -08:00
advo-kat
8d9c75824c
Socket fixes and config options(#485) 2023-02-09 23:59:20 -08:00
叶子
1529a23c1b
Switch linter to ruff (#450) 2023-02-09 11:33:18 -08:00
advo-kat
50a7c02142
Use Socket.IO for message transport (#449) 2023-02-06 10:37:52 -08:00
Nikhil Rao
6b97de71a0
Fix format route and code cleanup (#399) 2023-01-30 14:35:06 -08:00
advo-kat
41fffe677b
Add support for toggling color mode ('night/day mode') (#382)
Co-authored-by: g0ee <0@g0.ee>
Co-authored-by: g0ee <adbokat.b.a.s.e@gmail.com>
2023-01-30 12:39:32 -08:00
advo-kat
0056d94d57
Reconnect websocket on window focus (#366) 2023-01-28 09:24:16 -08:00
LumiaGG
bfe9ad807e
Fix Stream did not contain valid UTF-8 (#282) (#332)
This fix is for some characters that were wrongly formatted because of lacking UTF-8
2023-01-24 22:27:04 -08:00
Atharva Shah
2ccbfff223
General code cleanup (#312) 2023-01-22 10:58:07 -08:00
Nikhil Rao
58a0d8c805
Fix running in backend-only mode (#311) 2023-01-22 09:30:58 -08:00
Nikhil Rao
8be411b81b
Implement var slicing (#289) 2023-01-18 17:53:04 -08:00
andy-verstraeten
b93c7a8cbf
Empty pages directory on recompile (#269) 2023-01-18 12:11:31 -08:00
Nikhil Rao
1e64e62842
Fix websocket race condition (#261) 2023-01-14 16:49:45 -08:00
Nikhil Rao
98e9edd98a
Import event constructor in custom components (#249) 2023-01-11 17:46:57 -08:00
Thomas Brandého
f370642205
Check if router is ready on page load (#241) 2023-01-10 12:22:05 -08:00
Nikhil Rao
92fe881479
Apply global styles to body (#222) 2023-01-07 20:00:05 -08:00
Nikhil Rao
3f27ce3442
Fix component decorator bugs (#203) 2023-01-04 15:20:33 -08:00
Nikhil Rao
d93e2cec00
Add decorator for custom components (#193) 2023-01-02 16:08:00 -08:00
Nikhil Rao
57e278ae1c
Improve event processing performance (#153) 2022-12-21 15:18:04 -08:00
Nikhil Rao
0b496fc0e0
Use websockets for events (#150) 2022-12-20 15:22:04 -08:00
Nikhil Rao
209f490bfc
Add windows support (#96) 2022-12-14 16:07:46 -08:00
Nikhil Rao
b9d2e2f05c
Accordion allow toggle by default (#69) 2022-12-11 11:43:59 -08:00
Nikhil Rao
dd26dd044b
Add style for code blocks. (#32)
* Rename github actions file
* Update custom code
* Add theme for code blocks
2022-12-06 01:22:57 -08:00
Alek Petuskey
91bb3f0b26
Added Meta for Pages (#29)
* Added meta changes.


Co-authored-by: Alek Petuskey <alekpetuskey@Aleks-MacBook-Pro.local>
2022-12-05 00:40:35 -08:00
Nikhil Rao
30f1bb17e1
Add cache for GitHub actions (#13) 2022-11-24 17:35:39 -08:00
Nikhil Rao
b49cc9fbb6
Remove blue box around focused items (#10) 2022-11-21 12:17:08 -08:00
Nikhil Rao
159e7949f1
Create config class (#8) 2022-11-20 16:12:46 -08:00
Nikhil Rao
29e37350e5
Add basic unit tests (#7)
* Unit tests for components, state, and utils
2022-11-20 14:34:25 -08:00
Nikhil Rao
67058b66a4 Clean up tag rendering 2022-11-18 22:08:50 -08:00
Nikhil Rao
3c2a34a2b4 Update state template 2022-11-18 20:00:10 -08:00
Nikhil Rao
705557b484 Add state name into compiler 2022-11-18 17:48:51 -08:00
Nikhil Rao
e8e8eaa010 Initial commit. 2022-11-18 12:44:06 -08:00