Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
Signed-off-by: George Thomas <[email protected]>
  • Loading branch information
georgefst committed Oct 17, 2023
1 parent ba3366f commit 2713a3b
Show file tree
Hide file tree
Showing 10 changed files with 145 additions and 62 deletions.
2 changes: 1 addition & 1 deletion argocd/base/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
# Note: use the *dev* version of the package here, so that
# PRs can deploy `primer-service` container images that have
# not yet been merged to `primer` `main`.
image: ghcr.io/hackworthltd/primer-service-dev:git-2bf2349473b60fc6a99e9a553dcd1b0fd9d54b5f
image: ghcr.io/hackworthltd/primer-service-dev:git-078536af14f2a226269a19f914bee7819daa14db
ports:
- containerPort: 8081
env:
Expand Down
134 changes: 76 additions & 58 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

# Note: don't override any of primer's Nix flake inputs, or else
# we won't hit its binary cache.
primer.url = github:hackworthltd/primer/2bf2349473b60fc6a99e9a553dcd1b0fd9d54b5f;
primer.url = github:hackworthltd/primer/078536af14f2a226269a19f914bee7819daa14db;

flake-parts.url = "github:hercules-ci/flake-parts";
};
Expand Down
2 changes: 1 addition & 1 deletion src/components/Edit/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ const AppNoError = ({
useEvalFull(
p.sessionId,
{ qualifiedModule: p.module.modname, baseName: evalTarget || "" },
{ stepLimit: 300 },
{ stepLimit: 300, closed: "UnderBinders" }, // may be needed to make primitives with functions work
{ query: { enabled: !!evalTarget } }
),
[p.module]
Expand Down
5 changes: 5 additions & 0 deletions src/components/TreeReactFlow/Types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ export type PrimerNode<T = unknown> = {
| { type: "primer-typedef-name"; data: PrimerTypeDefNameNodeProps }
| { type: "primer-typedef-param"; data: PrimerTypeDefParamNodeProps }
| { type: "primer-typedef-cons"; data: PrimerTypeDefConsNodeProps }
| { type: "primer-gif"; data: PrimerNodeProps }
);

export const primerNodeWith = <T>(n: PrimerNode, x: T): PrimerNode<T> =>
Expand Down Expand Up @@ -206,6 +207,10 @@ export type PrimerTypeDefConsNodeProps = {
name: GlobalName;
};

export type PrimerGifNodeProps = {
contents: string;
};

/** Properties common to every type of node. */
export type PrimerCommonNodeProps = {
width: number;
Expand Down
Loading

0 comments on commit 2713a3b

Please sign in to comment.