315 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
444aed1872 Fix accessibility: Add DialogTitle to SnippetViewerHeader
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-17 22:04:04 +00:00
copilot-swe-agent[bot]
12fabfdab2 Split SnippetViewer.tsx (158 LOC) into 2 focused components
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-17 22:02:12 +00:00
copilot-swe-agent[bot]
5a419e764a Split SnippetCard.tsx (285 LOC) into 3 focused components
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-17 22:00:16 +00:00
copilot-swe-agent[bot]
9328bf3102 Split SettingsPage.tsx (627 LOC) into 6 smaller components
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-17 21:58:03 +00:00
copilot-swe-agent[bot]
089130b0bc Split sidebar.tsx (726 LOC) into 4 modular files
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-17 21:54:29 +00:00
copilot-swe-agent[bot]
d83ebc0646 Initial plan 2026-01-17 21:47:55 +00:00
764a8c47cd Merge pull request #2 from johndoe6345789/copilot/organize-components-folder
[WIP] Organize components folder for better structure
2026-01-17 21:46:17 +00:00
copilot-swe-agent[bot]
cf721c018e Clean up final formatting issue in Navigation.tsx
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-17 21:44:33 +00:00
copilot-swe-agent[bot]
95fa780d68 Fix formatting in Navigation.tsx - remove empty lines
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-17 21:43:11 +00:00
copilot-swe-agent[bot]
e628b2cd0e Organize components folder structure with consolidated subdirectories
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-17 21:39:52 +00:00
copilot-swe-agent[bot]
955efd58ea Initial analysis of components folder structure
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-17 21:34:54 +00:00
copilot-swe-agent[bot]
78bdf37119 Initial plan 2026-01-17 21:32:05 +00:00
2eaa790034 Merge pull request #1 from johndoe6345789/copilot/organize-markdown-files
[WIP] Organize markdown and components into the correct folders
2026-01-17 21:31:38 +00:00
7511586b1d Generated by Spark: Break up components <150LOC 2026-01-17 21:29:32 +00:00
copilot-swe-agent[bot]
968de1de0e Organize markdown files into docs folder and move ErrorFallback component
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-17 21:28:10 +00:00
copilot-swe-agent[bot]
2dfe81049d Initial plan 2026-01-17 21:23:46 +00:00
3ff9df1c66 Generated by Spark: Remove duplicate components. 2026-01-17 21:19:10 +00:00
eb26000020 Generated by Spark: I moved a card, which works fine, but Redux doesnt react, which is weird as Redux is really good at this. 2026-01-17 21:15:59 +00:00
fdd0120994 Generated by Spark: Redux should be reactive, but its not being fully reactive. Is redux set up properly in package.json? 2026-01-17 21:13:49 +00:00
ceab6b740f Generated by Spark: Ensure redux works with redux dev tools 2026-01-17 21:10:24 +00:00
c6580661a3 Generated by Spark: Create Redux persistence middleware to sync state with database automatically 2026-01-17 21:09:27 +00:00
7123b5429b Generated by Spark: Implement redux 2026-01-17 20:58:00 +00:00
948a520450 Generated by Spark: Add bulk move feature to move multiple snippets at once 2026-01-17 20:32:43 +00:00
735ca6c633 Generated by Spark: Make it easy to move a card to another namespace 2026-01-17 20:11:05 +00:00
18e211b774 Generated by Spark: I think namespaces might of messed up the schema - It could detect this and wipe the slate clean. Update IndexedDB and Flask. 2026-01-17 20:07:27 +00:00
c143b3d586 Generated by Spark: Would be nice to group snippets with namespaces. Allow user to create / delete unlimited namespaces. Reserve 1 default namespace. If user deletes a namespaces, it could move all the cards back to the default one. 2026-01-17 20:02:33 +00:00
235e1b04a6 Generated by Spark: It doesnt pause to let me type: Welcome to the greeting program!
Hello, <coroutine object custom_input at 0xc4e9c8>! Nice to meet you!
Wow, <coroutine object custom_input at 0xc4f600> years old! That's awesome!
<coroutine object custom_input at 0xaf4cc0> is a great choice! I love that color too.
Thanks for chatting, <coroutine object custom_input at 0xc4e9c8>! Have a wonderful day!
2026-01-17 19:56:14 +00:00
9002991d85 Generated by Spark: It's supposed to accept interactive real time input, instead I get Welcome to the greeting program!
What is your name?
Traceback (most recent call last):
  File "<exec>", line 9, in custom_input_async
ImportError: cannot import name '__js_input__' from 'js' (unknown location)
Traceback (most recent call last):
  File "/lib/python313.zip/_pyodide/_base.py", line 597, in eval_code_async
    await CodeRunner(
    ...<9 lines>...
    .run_async(globals, locals)
  File "/lib/python313.zip/_pyodide/_base.py", line 411, in run_async
    coroutine = eval(self.code, globals, locals)
  File "<exec>", line 6, in <module>
  File "<exec>", line 16, in custom_input
  File "/lib/python313.zip/pyodide/webloop.py", line 369, in run_until_complete
    return run_sync(future)
  File "<exec>", line 9, in custom_input_async
ImportError: cannot import name '__js_input__' from 'js' (unknown location)
2026-01-17 19:52:22 +00:00
031ca48ee5 Generated by Spark: It's supposed to accept interactive real time input, instead I get Traceback (most recent call last):
File "/lib/python313.zip/_pyodide/_base.py", line 523, in eval_code
    .run(globals, locals)
     ~~~^^^^^^^^^^^^^^^^^
  File "/lib/python313.zip/_pyodide/_base.py", line 357, in run
    coroutine = eval(self.code, globals, locals)
  File "<exec>", line 3, in <module>
ImportError: cannot import name '__js_input__' from 'js' (unknown location)
2026-01-17 19:51:11 +00:00
6b2ee2a29f Generated by Spark: Theres a hard to diagnose fault with this program where its interfering with the Github Spark GUI and causing extra prompts to be sent. 2026-01-17 19:47:49 +00:00
b2f5718f4f Generated by Spark: # Interactive program - asks for user's name and greets them
print("Welcome to the greeting program!")
print()

name = input("What is your name? ")
print(f"\nHello, {name}! Nice to meet you!")

age = input("How old are you? ")
print(f"\nWow, {age} years old! That's awesome!")

color = input("What's your favorite color? ")
print(f"\n{color} is a great choice! I love that color too.")

print(f"\nThanks for chatting, {name}! Have a wonderful day!")Python Terminal
Run
Traceback (most recent call last):
  File "/lib/python313.zip/_pyodide/_base.py", line 523, in eval_code
    .run(globals, locals)
     ~~~^^^^^^^^^^^^^^^^^
  File "/lib/python313.zip/_pyodide/_base.py", line 357, in run
    coroutine = eval(self.code, globals, locals)
  File "<exec>", line 3, in <module>
ImportError: cannot import name '__js_input__' from 'js' (unknown location) - it should run, then pause and let me type stuff, then when i press enter, it carries on
2026-01-17 19:43:17 +00:00
75bb792085 Generated by Spark: this is so rubbish, i want to type my own input like real CPython -
Python Terminal
Run
Welcome to the greeting program!
What is your name?
What is your name?
Hello, <PyodideFuture pending cb=[WebLoop._decrement_in_progress()]>! Nice to meet you!
How old are you?
How old are you?
Wow, <PyodideFuture pending cb=[WebLoop._decrement_in_progress()]> years old! That's awesome!
What's your favorite color?
What's your favorite color?
<PyodideFuture pending cb=[WebLoop._decrement_in_progress()]> is a great choice! I love that color too.
Thanks for chatting, <PyodideFuture pending cb=[WebLoop._decrement_in_progress()]>! Have a wonderful day!
2026-01-17 19:39:58 +00:00
6203a7ce56 Generated by Spark: There seems to be a templates.json syncing issue. I am not seeing them in UI. Maybe a syncing algo needs to be written to sync with database. 2026-01-17 19:36:57 +00:00
7e1f705fe4 Generated by Spark: Add interactive Python program that uses multiple input prompts 2026-01-17 19:31:00 +00:00
fee1ff87d6 Generated by Spark: Add interactive Python program that uses multiple input prompts 2026-01-17 19:25:30 +00:00
b5f80bb30c Generated by Spark: Sometimes my dad writes Python programs with a input: prompt. To cope with this, we might need to simulate a terminal / command prompt. 2026-01-17 19:16:34 +00:00
a8f20992f1 Generated by Spark: The X close button styling is a little dodge, it even overlaps other content. 2026-01-17 19:09:26 +00:00
de1824e06d Generated by Spark: When your viewing code, theres two x buttons 2026-01-17 19:06:29 +00:00
418c9f4ebf Generated by Spark: Fix all reported errors. 2026-01-17 19:01:55 +00:00
544530c93d Edited Spark 2026-01-17 19:01:13 +00:00
fe56ef0ac1 Generated by Spark: Error:
Pyodide version does not match: '0.29.1' <==> '0.26.4'. If you updated the Pyodide version, make sure you also updated the 'indexURL' parameter passed to loadPyodide.
2026-01-17 18:58:19 +00:00
3df336ff56 Edited Spark 2026-01-17 18:57:39 +00:00
d7c86f62c2 Generated by Spark: Find a way to make it run Python code - my dad likes to do Euler problems and other code challenges. Maybe there's a good node lib that can simulate Python 3. Add some Python examples to template lib. 2026-01-17 18:54:12 +00:00
a2e99eb082 Edited Spark 2026-01-17 18:50:02 +00:00
a469b44a54 Generated by Spark: Should handle caprover / cloudflare cors - Check frontend and backend config. example setup: https://frontend.example.com https://backend.example.com 2026-01-17 18:47:08 +00:00
ca93235cde Generated by Spark: I can auto default to flask backend with docker environment variable. If its not set used IndexedDB. 2026-01-17 18:38:03 +00:00
40aeedeeba Edited Spark 2026-01-17 18:31:23 +00:00
3c3be9c8ed Generated by Spark: Ok I figured it out. Make a backend folder, put a flask backend in it with a Dockerfile. Main UI uses IndexedDB then with a UI setting, it can be moved to the flask backend. 2026-01-17 18:30:19 +00:00
88a9225524 Generated by Spark: Perhaps it could use sqlite on disk if possible, else use indexeddb 2026-01-17 18:20:30 +00:00
6fbe7b4ed0 Generated by Spark: Reduce reliance on spark database. Just use sqlite. 2026-01-17 17:59:46 +00:00