Skip to content

Commit

Permalink
refactor(frontend): use signals in Session, fix various things
Browse files Browse the repository at this point in the history
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
  • Loading branch information
Ryex committed Sep 17, 2024
1 parent 6e80f21 commit f05f81c
Show file tree
Hide file tree
Showing 23 changed files with 13,819 additions and 8,118 deletions.
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"rust-analyzer.check.allTargets": false,
"rust-analyzer.cargo.target": "wasm32-unknown-unknown"
"rust-analyzer.cargo.target": "wasm32-unknown-unknown",
"rust-analyzer.cargo.features": [
"tsify",
]
}
73 changes: 72 additions & 1 deletion cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,17 @@
"flagWords": [],
"version": "0.2",
"words": [
"Agrizero",
"aliasable",
"Analyizer",
"Analyser",
"arn't",
"Astroloy",
"Asura",
"Atmo",
"autoignition",
"Autolathe",
"Autominer",
"Autotagged",
"bapal",
"bapz",
Expand Down Expand Up @@ -40,6 +47,7 @@
"bneal",
"bnez",
"bnezal",
"bools",
"brap",
"brapz",
"brdns",
Expand All @@ -59,29 +67,57 @@
"brnaz",
"brne",
"brnez",
"Cannifier",
"cannister",
"Carrage",
"CHAC",
"Circuitboard",
"Clrd",
"codegen",
"columnated",
"composter",
"conv",
"Cryo",
"cstyle",
"Darga",
"Datalink",
"Depressurising",
"desync",
"dylib",
"endpos",
"Espaciais",
"Exgress",
"Faily",
"Fenoxitone",
"Frida",
"fromstr",
"getd",
"glowstick",
"glowy",
"Hardsuit",
"Harvie",
"hashables",
"Hastelloy",
"headcrabs",
"hstack",
"Huxi",
"Idents",
"iface",
"impls",
"Inconel",
"indexmap",
"inext",
"inextp",
"infile",
"Instructable",
"insts",
"intf",
"itertools",
"Jenk",
"jetpack",
"kbshortcutmenu",
"Keybind",
"Larre",
"lbns",
"logicable",
"LogicSlotType",
Expand All @@ -92,24 +128,40 @@
"lparen",
"lzma",
"Mineables",
"MKII",
"moondust",
"Mothership",
"mscorlib",
"MSEED",
"Murtons",
"ninf",
"Nitrice",
"nomatch",
"nops",
"Norsec",
"offworld",
"Omni",
"onsreen",
"oprs",
"overcolumn",
"Overlength",
"Padi",
"parentable",
"pedia",
"peekable",
"prec",
"preproc",
"Pressurising",
"prettyplease",
"PRNG",
"putd",
"QUICKFIX",
"reagentmode",
"reagentmodes",
"reborrow",
"Recurso",
"repr",
"Respawn",
"retval",
"Rmap",
"rocketstation",
Expand All @@ -125,6 +177,7 @@
"settingsmenu",
"sgez",
"sgtz",
"Sinotai",
"slez",
"slotlogic",
"slotlogicable",
Expand All @@ -134,18 +187,36 @@
"snanz",
"snaz",
"snez",
"spacepack",
"spalling",
"splitn",
"stablizer",
"Starck",
"Stationeer",
"Stationeers",
"stationpedia",
"stdweb",
"stopo",
"Stuppen",
"superalloys",
"tbody",
"tepratures",
"thiserror",
"tokentype",
"toolbelt",
"Topo",
"trunc",
"Tsify",
"undarkens",
"uneval",
"unparse",
"unpowered",
"WASD",
"whos",
"xtask"
"Wirecutters",
"Xigo",
"xtask",
"Zoomer",
"Zrilian"
]
}
2 changes: 2 additions & 0 deletions www/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"brne",
"brnez",
"Circuitboard",
"clazz",
"codegen",
"Comlink",
"datapoints",
Expand Down Expand Up @@ -106,6 +107,7 @@
"sattellite",
"sdns",
"sdse",
"searchbtn",
"seqz",
"serde",
"sgez",
Expand Down
27 changes: 27 additions & 0 deletions www/src/scss/ace_markers.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
.vm_ic_active_line {
position: absolute;
background: rgba(121, 82, 179, 0.4);
z-index: 2000;
}

.ic10_editor_error_parse {
position: absolute;
border-bottom: dotted 1px #e00404;
z-index: 2000;
border-radius: 0;
}

.ic10_editor_error_duplicate_label {
position: absolute;
border-bottom: solid 1px #DDC50F;
z-index: 2000;
border-radius: 0;
}

.ic10_editor_error_runtime {
position: absolute;
border-bottom: dotted 1px #e00404;
z-index: 2000;
border-radius: 0;
background: rgba(179, 82, 82, 0.4);
}
12 changes: 3 additions & 9 deletions www/src/scss/dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ body {
box-shadow: 0px 2px 3px 0px #555;
}

.navbar-default .navbar-nav > li > a {
.navbar-default .navbar-nav>li>a {
color: #fff;
}

Expand All @@ -92,7 +92,7 @@ body {
color: #fff;
}

.navbar-nav > li > a {
.navbar-nav>li>a {
padding-top: 10px;
padding-bottom: 10px;
line-height: 20px;
Expand All @@ -105,7 +105,7 @@ body {
// }
// }

.nav > li > a {
.nav>li>a {
position: relative;
display: block;
padding: 10px 15px;
Expand Down Expand Up @@ -202,12 +202,6 @@ code {
background: rgba(76, 87, 103, 0.19);
}

.vm_ic_active_line {
position: absolute;
background: rgba(121, 82, 179, 0.4);
z-index: 20;
}

.vm_accordion .accordion-button {
padding-top: 0.2rem;
padding-bottom: 0.2rem;
Expand Down
2 changes: 2 additions & 0 deletions www/src/scss/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ $accordion-button-padding-y: 0.5rem;
// Sholace theme
@import "@shoelace-style/shoelace/dist/themes/dark.css";

// Ace marker classes
@import "./ace_markers.scss";

//
// Custom styles
Expand Down
Loading

0 comments on commit f05f81c

Please sign in to comment.