* Add copy action to cron job card command
* Fix
* Remove unused code
* Refactor the cron job parsing. Expanded some of the existing tests. Added more tests.
* The last run data can be undefined if the cron was just created. The data for caching in RQ can't be undefined so it's forced to null.
* Test whether the edge function points to its own project. If not, parse it as a HTTP request.
* Use toStrictEqual instead of toMatchObject for more correct tests.
* Add min height to the codeblock, the copy button was obscured if the code was a one-liner.
* Add snippet to all types of cron jobs. Automatically update it when the form changes.
* Minor fixes.
---------
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
* improve some studio mobile layouts
* improve some studio mobile layouts
* improve settings
* assistant mobile
* assistant mobile
* assistant mobile
* responsive formlayout and new project layout
* improve dashboard pages headers
* improve dashboard auth pages
* mobile org settings
* mobile billing fixes
* adjust paused project container height
* remove comments
* triggers
* leftovers
* ai assistant
* fix errors
* remove 16px input size
* fix test
* merge access tokens settings page conflicsts
* smol integrations here and there
* Remove radix-popover and radix-tooltip as deps from studio.
* Migrate all uses of tooltip to shadcn tooltips.
* Add tooltip portal to all shadcn tooltips.
* Fix a warning about MenuItem not accepting refs in StorageMenu.
* Remove unneeded styling for the tooltips.
* Set a default delay duration for all tooltips in Studio.
* Fix a type error.
* Check and fix all tooltips.
* Fix: change the colour of the 'failed' badge for the cron UI
* simplify implementation
---------
Co-authored-by: Alaister Young <a@alaisteryoung.com>
* Fix some missing and duplicate dependencies.
* Fix the types for jest in ai-commands package.
* Replace all npm commands with pnpm. Add pnpm files and workspace links.
* Fix rimraf to work with pnpm.
* Refactor the github actions to work with pnpm.
* Delete package-lock.json.
* Fix the tailwind configs to not include node_modules.
* Fix random files.
* Add preinstall scripts to all packages.
* Fix the Dockerfile to work with pnpm.
* Update the DEVELOPERS documentation.
* chore: paginate user content
* progress
* loading states
* add load more buttons to private snippets
* working pagination
* fix some types
* always show snippet counts
* support new api parameters
* favorite snippets
* progress
* searching
* paginate root folder
* fix renaming snippets
* fix ts
* removed unused prop
* Shift sharing/unsharing query logic outside of valtio to leverage on RQ only
* Fix invalidation on an unsaved snippet
* Clean up
* Fix
* Clean up
* Update API type
* Update API
* fix duplicate snippets error after moving a snippet
* add currently selected snippet
* Fix unsharing a snippet that has yet to be opened
* i'm dumb
* fix sharing a snippet
* fix sharing and unsharing
* show favorite or shared snippet in list even if it's in another page
* Fix wrong import for debounce
* Fix false positive toast error when creating custom report
* Update API type
* Change create new snippet CTA to link back to /new with skip flag
* Fix saving logs explorer query
* Bump page number
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
* feat: show potential way to document event
* chore: add cron event docs
* chore: rename cron job history event
* chore: remove as typecasting and add event definitions to type union
* fix: resolve type error from potentially missing properties field in events
* fix: remove typecast
* Update imports.
* Update package-lock.json (leftover changes from previous PR).
---------
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
* List all integrations in the landing page.
* Add a configuration in the integration definitions to show an alert if all their dependencies can't be installed.
* Refactor the Integration Overview tab to show an integration specific alert if all its dependencies can't be met because of outdated image.
* Fix smol misspell.
* Update copy.
* Fix copy.
* Queue names must be lowercase
* Update apps/studio/components/interfaces/Integrations/Queues/CreateQueueSheet.tsx
Co-authored-by: Oliver Rice <github@oliverrice.com>
---------
Co-authored-by: Oliver Rice <github@oliverrice.com>
* Simplify the schedule section for crons.
* Make the errorBoundary more robust to handle non-Error errors.
* Remove unused variable.
* Smaller fixes to the schedule section.
* Simplify the scheduleString usage.
* Revalidate when setting the value from the cron AI.
* Minor fixes.
* Reset the error state when setting the schedule value.
* Fix finding cron overview.md
* Small refactors
* SMOL
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
* Enforce json payloads with webhook jobs
* EFs need json as well
* Handle case where the body can be null/undefined.
* Fix url in the child id.
* Fix a redirect for cron.
---------
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
* Replace http parameters with http body in the cron jobs sheet.
* Use form components in the form to get error states.
* Use query param for showing/hiding the create cron job sheet.
* Don't send the body on GET requests.
* Separate the button for viewing the previous runs.
* Change the naming of the Cron extension.
* Fix test
* Small style things
* Fix cron pattern matching
* Fix the regex to handle the new cron structure.
* Fix the tests and add more tests.
---------
Co-authored-by: Terry Sutton <saltcod@gmail.com>
* Fix link to wrappers integrations from database page
* Update next.config redirects for webhooks and wrappers
* Fix link to webhooks
* Move the search and selectedCategory into useQueryState.
---------
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
* Check if pg_cron supports seconds
* Add cron parser
* Lock file
* Update prompt to handle seconds
* Various fixes for the createCronJobSheet.
* Remove extra code.
---------
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
* Redo cron ui to use a data table
* Add component for form header
* Add next run column
* add cron jobs page
* Load jobs from url, add runs footer, link to logs
* Type issue
* Fix height of tab area
* Use nuqs with history
* improve pgcron logs, add severity filters
* Check for v1.5 to see if seconds are supported
* fix cron jobs logs table name
* Add type to the table
* Move expression warning to own function
* Fit to new layout
* Types
* Fix long code blocks
* Revert some of the changes.
* Use job name as a tab name. Other minor fixes.
* Use Infinite query for the cron runs.
* Revert some extra changes. Will be added to another PR.
* Rename pg functions
---------
Co-authored-by: Terry Sutton <saltcod@gmail.com>
Co-authored-by: Jordi Enric <jordi.err@gmail.com>