Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
e231324
feat: add conditions to db
tefkah Nov 4, 2025
ec11bb6
fix: remove unique index on automations
tefkah Nov 4, 2025
587bfda
fix: add type and expression to automation conditions table
tefkah Nov 5, 2025
9e4115c
feat: add nice ui for conditions (and improve existing when/run ui
tefkah Nov 5, 2025
1fd9e54
feat: persist condition data
tefkah Nov 5, 2025
f724f6e
feat: evaluate the conditions as well, but not correctly yet
tefkah Nov 5, 2025
2287a59
chore: add some minor explanatory comments
tefkah Nov 12, 2025
1ec8212
refactor: clarify automation roundtrip with jobs
tefkah Nov 12, 2025
8314cd7
refactor: initial actioninstances -> automations db migration
tefkah Nov 13, 2025
31646b6
refactor: automations now have multiple events, aaaaaaa
tefkah Nov 14, 2025
d9dc33d
refactor: sort of make running automations work
tefkah Nov 17, 2025
684ee75
feat: add icons
tefkah Nov 20, 2025
16c02b1
fix: allow changing automation icon
tefkah Nov 24, 2025
f643827
feat: allow duplicating automations and move deletion to kebab menu
tefkah Nov 24, 2025
92cb681
feat: add newer shadcn comps
tefkah Nov 24, 2025
0bf36a7
feat: improve automations a bunch
tefkah Nov 24, 2025
55c6af5
Merge branch 'main' into tfk/conditions-2
tefkah Nov 24, 2025
9c06464
refactor: clean up imports and improve PubList component structure
tefkah Nov 25, 2025
372efe0
feat: add new capability for allowing overriding of conditions
tefkah Nov 25, 2025
55c4157
fix: harmonize stagepanelcards a bit
tefkah Nov 25, 2025
da55774
fix: optimize form component more
tefkah Nov 25, 2025
60bd602
fix: fix type errors
tefkah Nov 25, 2025
76a60cc
fix: more cleanup
tefkah Nov 25, 2025
934099d
chore: initial merge
tefkah Nov 25, 2025
c3d9cdd
chore: run format again
tefkah Nov 25, 2025
335cab1
fix: fix some more
tefkah Nov 25, 2025
7724d52
fix: astro
tefkah Nov 25, 2025
656da19
fix: stoplight
tefkah Nov 25, 2025
fc7e1f4
fix: remove actioninstances from ui
tefkah Nov 26, 2025
937964a
fix: actually make action config save
tefkah Dec 1, 2025
39bae01
fix: type
tefkah Dec 1, 2025
7be891c
fix: automation run sse
tefkah Dec 2, 2025
cf499b8
fix: memoize condition block
tefkah Dec 2, 2025
8594184
fix: fix more stuff
tefkah Dec 2, 2025
c02cff6
fix: sourceautomation type error
tefkah Dec 2, 2025
19402aa
fix: stable ordering of automations
tefkah Dec 2, 2025
16af6c0
fix: order input triggers st manual is first
tefkah Dec 2, 2025
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
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug-issue.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
name: Bug Report
about: Find something broken or odd? Report it here.
title: ''
title: ""
labels: bug
assignees: ''

assignees: ""
---

<!--
Expand All @@ -14,6 +13,7 @@ To fill out the report, please fill out each section below. If a section isn't a
-->

### What went wrong, step-by-step?

1.
2. ...

Expand Down
8 changes: 5 additions & 3 deletions .github/ISSUE_TEMPLATE/feature-issue.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
---
name: Feature Issue
about: Suggest a new feature at a high level.
title: ''
title: ""
labels: feature
assignees: ''

assignees: ""
---

## Motivation

<!-- Why are we building this? -->

## Requirements

<!-- What does this accomplish? -->

## Acceptance Criteria

<!-- What technical work must be completed for this to be accepted? -->

<!-- ## Extra work -->
Expand Down
20 changes: 10 additions & 10 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

Docker-compose provides a means to run all the code components as containers. It has these advantages:

- more realistically emulating the setting where this code is run in production.
- less contamination of environment, so spurious failures (or successes) can be avoided.
- easy to boot from nothing without system dependencies except Docker
- more realistically emulating the setting where this code is run in production.
- less contamination of environment, so spurious failures (or successes) can be avoided.
- easy to boot from nothing without system dependencies except Docker

With disadvantages:

- doesn't support hot-reloading
- slightly slower iteration due to `docker build` between runs
- doesn't support hot-reloading
- slightly slower iteration due to `docker build` between runs

With these properties, this is useful for end-to-end tests and locally verifying that the code works when removed from some of the fast-iteration features of `next.js`, such as
JIT compilation. Because a `docker build` is needed to build the containers to run, hot-reloading is not available in this environment; so faster iteration
Expand Down Expand Up @@ -39,17 +39,17 @@ you can now address on `localhost:3000` as before. note that `pnpm dev` uses the

Two hooks are defined using `husky` and stored in `.husky`.

- The first runs Prettier on commit
- The second runs a type-check before pushing. Since our deployment setup builds on each push, the intent here is to not trigger a build with known type errors.
- The first runs Prettier on commit
- The second runs a type-check before pushing. Since our deployment setup builds on each push, the intent here is to not trigger a build with known type errors.

Sometimes you want to push up changes even though there is a type error. To do so, include `--no-verify` at the end of your command. For example: `git push origin main --no-verify`.

## Turborepo race conditions

We currently have a race condition where dev will sometimes fail because we can't specify the order of dependency builds. Tied to the fact that we clean out the dist folder on build, but upstream packages are watching dist.

- https://github.com/vercel/turbo/discussions/1299?sort=top?sort=top
- https://github.com/vercel/turbo/issues/460
- https://github.com/vercel/turbo/discussions/1299?sort=top?sort=top
- https://github.com/vercel/turbo/issues/460

`core` depends on `ui` which depends on `utils`. `utils` often takes longer to build than it does for `ui` to start building, which causes an error to be thrown because `utils` d.ts file has been cleared out during its build and hasn't been replaced yet. This generates an error, but is quick to resolve, so doesn't break actual dev work from beginning. It does make the console output messier though.

Expand Down Expand Up @@ -137,4 +137,4 @@ Images tagged with a SHA alone should be idempotently built, but `-dirty` can be

**TODO:**

- [ ] allow deploying without a rebuild, so that a rollback is convenient
- [ ] allow deploying without a rebuild, so that a rollback is convenient
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ root
└── ...
```

- `core` holds the primary web application.
- `infrastructure` holds the deployment infrastructure for the centrally hosted version of PubPub Platform run by the Knowledge Futures team.
- `jobs` holds the job queueing and scheduling service used by `core`.
- `packages` holds libraries and npm packages that are shared by `core`, `jobs`, and `infrastructure`.
- `core` holds the primary web application.
- `infrastructure` holds the deployment infrastructure for the centrally hosted version of PubPub Platform run by the Knowledge Futures team.
- `jobs` holds the job queueing and scheduling service used by `core`.
- `packages` holds libraries and npm packages that are shared by `core`, `jobs`, and `infrastructure`.

To avoid inconsistencies and difficult-to-track errors, we specify a particular version of node in `/.nvmrc` (currently `v22.13.1`). We recommend using [nvm](https://github.com/nvm-sh/nvm) to ensure you're using the same version.

Expand Down Expand Up @@ -103,10 +103,10 @@ If you have a feature request, idea, general feedback, or need help with PubPub,

In the coming weeks, we'll be developing more thorough contribution guides, particularly for contributors interested in:

- Extending PubPub Platform with new Actions and Rules
- Extending the PubPub Platform API
- Contributing to self-hosting scripts and guides on common cloud hosting
- Contributing documentation for developers or users
- Extending PubPub Platform with new Actions and Rules
- Extending the PubPub Platform API
- Contributing to self-hosting scripts and guides on common cloud hosting
- Contributing documentation for developers or users

For now, you can browse the [issue list](https://github.com/pubpub/platform/issues) and comment on any issues you may want
to take on. We'll be in touch shortly
Expand All @@ -117,10 +117,10 @@ Our preferred practice is for contributors to create a branch using the format `

Request names should be prefixed with one of the following categories:

- fix: for commits focused on specific bug fixes
- feature: for commits that introduce a new feature
- update: for commits that improve an existing feature
- dev: for commits that focus solely on documentation, refactoring code, or developer experience updates
- fix: for commits focused on specific bug fixes
- feature: for commits that introduce a new feature
- update: for commits that improve an existing feature
- dev: for commits that focus solely on documentation, refactoring code, or developer experience updates

Request descriptions should use to our Pull Request template, including a clear rationale for the PR, listing any issues resolved, and describing the test plan for the request, including both tests you wrote and step-by-step descriptions of any manual QA that may be needed.

Expand Down
Loading
Loading