Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
cf3f5b1
use shapes and pngs together
cd-Roid Jan 22, 2023
069c2be
updated points
cd-Roid Jan 22, 2023
db85cc0
use single DEfinition of TIle on everywhere
cd-Roid Jan 24, 2023
673105c
added anchorpoints and line to Tile
cd-Roid Jan 25, 2023
c31d03d
fixed _id problem
cd-Roid Jan 26, 2023
d8205c1
added bounding width and height to Tile config
cd-Roid Jan 26, 2023
ead3171
added width, height and _id as information
cd-Roid Jan 26, 2023
ea70f32
added Line to connect tiles
cd-Roid Jan 26, 2023
3626bb1
abstracted away functions
cd-Roid Jan 26, 2023
6ef4c25
added form to change Lamp Type
cd-Roid Jan 27, 2023
2cc7eb8
fine tuning
cd-Roid Jan 27, 2023
da7fb71
add DevTools only in Development
cd-Roid Feb 6, 2023
5e972ae
refactored ConnectionPreview
cd-Roid Feb 6, 2023
43a49cd
compare connection based on achors
cd-Roid Feb 6, 2023
c0f6e83
refactor and add anchors in json
cd-Roid Feb 7, 2023
c637149
fixed anchor positions
cd-Roid Feb 7, 2023
dd75daa
beautify code and added lines between anchors
cd-Roid Feb 8, 2023
efa4b28
added collaborative line creation
cd-Roid Feb 8, 2023
12cbf44
added disconnect Logic
cd-Roid Feb 9, 2023
aae20bf
create function to delete Line
cd-Roid Feb 9, 2023
b429c8c
added type to generate AST and added more Tiles
cd-Roid Feb 19, 2023
bfce565
made AST contain more programs
cd-Roid Feb 19, 2023
5be9f60
added AST types for JS
cd-Roid Feb 22, 2023
0991188
documented all types needed for Generation
cd-Roid Feb 23, 2023
d8aa30a
added code generation for js
cd-Roid Feb 24, 2023
2283752
added code generation for js
cd-Roid Feb 24, 2023
66586bc
added ASTNodes to JSON
cd-Roid Mar 23, 2023
9c6fcd8
get code back from backend and add editor package
cd-Roid Mar 23, 2023
d9b989d
added prism code visualizer
cd-Roid Mar 23, 2023
70cf370
added generation sidebar
cd-Roid Mar 23, 2023
52e02d3
added styling changes
cd-Roid Mar 23, 2023
c9fd8f6
added py implementation
cd-Roid Mar 24, 2023
4c73115
generate python code from js ast and display in frontend
cd-Roid Mar 25, 2023
2e7f4bb
parallel fetch data
cd-Roid Mar 25, 2023
cfb5c52
use square anchorpoints
cd-Roid Mar 27, 2023
44c8bfc
change position of anchor
cd-Roid Mar 27, 2023
8561d5e
renamed json file
cd-Roid Apr 1, 2023
3545c96
added formatting changes and new images
cd-Roid Apr 7, 2023
5b7b077
added directional shapes
cd-Roid Apr 8, 2023
4eae997
added directional Arrows
cd-Roid Apr 8, 2023
3149d0c
removed stroke
cd-Roid Apr 8, 2023
0e75920
added and operator
cd-Roid Apr 8, 2023
1a55418
added backend for py generation with and
cd-Roid Apr 8, 2023
2400504
removed unused variable
cd-Roid Apr 8, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .vscode/launch.json

This file was deleted.

6 changes: 3 additions & 3 deletions admin-client/src/components/Tile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ import React from 'react';
type TileProps = {
category: string;
name: string;
url: string;
src: string;
onClickFunc: () => void;
};

const Tile: React.FC<TileProps> = ({ category, name, url, onClickFunc }) => {
const Tile: React.FC<TileProps> = ({ category, name, src, onClickFunc }) => {
return (
<div className='m-8 w-56 h84 mt-16 mb-8 border border-black' onClick={onClickFunc}>
<div className='w-48 mt-8 mb-4 mx-4 h-36 overflow-hidden cursor-pointer '>
<img className='h-auto m-auto object-contain' src={url} alt={name} />
<img className='h-auto m-auto object-contain' src={src} alt={name} />
</div>
<div className='px-4 cursor-pointer'>
<div className='font-bold text-xl mb-2'>{name}</div>
Expand Down
1 change: 0 additions & 1 deletion backend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
/build

#ignore uploads folder
/uploads
# misc
.env
.DS_Store
Expand Down
17 changes: 17 additions & 0 deletions backend/babel.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"presets": [
[
"@babel/preset-env",
{
"targets": {
"edge": "17",
"firefox": "60",
"chrome": "67",
"safari": "11.1"
},
"useBuiltIns": "usage",
"corejs": "3.6.5"
}
]
]
}
Loading