Commit Graph
425 Commits
Author SHA1 Message Date
Chris Gwilliams 8c14611348 Fix for labelling issues and handling errors (#27393)
* fix for labelling issues and handling errors

* fix typos
2024-06-24 11:35:03 +01:00
Ivan Vasilov 22b76fecaf feat: When publishing a studio image, change the latest tag in DockerHub to the latest images (#27378)
Add command to change the latest tag in DockerHub to the latest images.
2024-06-19 11:45:10 +00:00
Ivan Vasilov 0676e916c7 fix: Put a latest tag on DockerHub when publishing a new image (#27350)
* Don't create a new image whenever a new tag is published on supabase/supabase.

* No need for an input when triggering a new build.

* Enable the latest tag for all pushes.
2024-06-18 13:38:17 +02:00
Chris Gwilliams e2271707cc Feat: Add stale Action for marking stale issues and Action to auto label new issues with source (#27033)
* add stale bot for marking stalue issues and action to auto label an
issues source

* Update auto-label-issues.yml
2024-06-17 06:53:51 +00:00
Charis 74dce1358b ci: auto-run last-checked once daily (#27212) 2024-06-12 11:30:33 -04:00
Ivan Vasilov 5847ad54cf fix: Test the playwright tests in Github actions (#26799)
* Add an API page for run-lints endpoint.

* Fix the playwright test.

* Make the check mandatory in the github action.

* Fix a console.log.

* Use a more stable way of waiting for buttons before clicking them.

* Add helper method for dismissing toasts.

* Wait for the other toast.

* Try and fix the flakiness of the toasts.

* Minor fix.

* Upload artifacts at the end of the github action run.

* Fix yaml stuff.

* Use the newer action for uploading. Shorten the retention period to 7 days.

* Add waitForResponse for the entity types API call.

* snapshot.

* Wait for the page to be loaded.

* Make the timeout bigger when waiting for response.

* Try to fix the timeouts.

* Minor restructuring of the test.

* Add another test and few minor todo tests.

* Fix the table names.

* Don't render hcaptcha in test mode.

* Expand the test to include sorting and filtering.

* Add a test for checking if the other schemas are can be listed.

* Make the sort popover button more stable.

* Fix a unused forward ref in the NavMenuItem component.

* Don't render the Toaster container when in test mode.

* Simplify starting the dev server when testing.

* Fix all inputs to have proper test ids.

* Fix the command for testing.
2024-06-07 17:44:28 +02:00
Charis 308b3e06b9 fix(last changed): timestamps from gh actions (#27075)
Need a fetch-depth 0 in order to preserve commit dates within GitHub
Actions, otherwise a shallow fetch will use the current date as the
commit date, which renders this entire flow useless.
2024-06-06 18:13:39 -04:00
Charis c281dd0eb1 ci(docs): update last_changed table action (#27038)
Keeps track of fine-grained (per section) edit times for docs content.

Once daily, a GitHub Action runs that:

- Checks whether content hashes have changed for each section
- Updates the table that tracks content edit times if the hashes have changed

Note: The cron job isn't scheduled yet. I'll run the Action manually a few times to validate it, then turn it on in another PR.
2024-06-06 15:20:05 -04:00
Charis 4fbcd61e95 feat: new command menu pt 1 (#23699)
Introduces the first (very small) slice of the new command menu as a `ui-pattern`.

This slice just handles state for available commands. It isn't hooked up to anything yet.
2024-06-04 14:32:13 -04:00
Hieu f5af2e6193 fix: mgmt api docs gha (#26985)
* fix: use sparse-checkout

* fix: always run on master
2024-06-04 14:31:38 +07:00
HieuandJoshen Lim aa9d5fe5e1 fix: remove invalid command (#26957)
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-06-04 13:45:18 +07:00
Ivan Vasilov 4a43f3b854 Fix: Try to fix the prettier github action (#26970)
* Try to fix the prettier github action.

* Revert "Try to fix the prettier github action."

This reverts commit 3a3fbe51e1.

* Fix the prettier dependency in package-lock.json.

* Run prettier format over the whole repo.

* Revert "Fix the prettier dependency in package-lock.json."

This reverts commit 8c6b241907.

* Revert the prettier format changes.

* Add a command for checking prettier. Use it in the github action. Use npm ci in the github action.

* Fix another accidental formatting.
2024-06-03 12:32:57 +00:00
Hieu 40412091b4 fix: install dependencies command (#26902) 2024-05-31 09:53:54 +07:00
Hieu d855bfb3f8 feat: automate mgmt api spec update (#26655)
* fix: correct mgmt api naming

* feat: new command to generate mgmt api sections

* feat: sort section items

* chore: tidy up

* fix: add generate sections to the default command

* feat: add gha to auto update mgmt api docs

* chore: tidy up

* fix: operationId logic to support self-hosting references

* chore: update latest mgmt api specs

* chore: update latest mgmt api specs
2024-05-31 08:53:19 +07:00
Han Qiao 9360b94398 feat: version control branch configs with terraform (#23299) 2024-05-07 11:30:26 +08:00
Terry Sutton a5d00f9923 Chore/rename open ai key name (#21856)
* Rename OPENAI_KEY to OPENAI_API_KEY

* Force a redeploy
2024-04-25 09:38:56 -02:30
Kevin Grüneberg 27f9f96ff7 chore: upgrade to node 20 (#22240) 2024-03-26 18:54:22 +07:00
Alaister Young 3750ad3f69 feat: CONTRIBUTING.md (#22107)
* feat: CONTRIBUTING.md

* add full stop
2024-03-19 09:27:47 +00:00
Charis c1bde9a1a7 chore: temporarily remove fail-on-error for vale (#21618) 2024-02-28 09:39:58 +08:00
Ivan Vasilov 1afb029da0 fix: Make the playwright tests always succeed (#21591)
* Make the playwright tests always succeed.

* Push a change to trigger the tests.

* Try moving the continue-on-error on the failed step.
2024-02-27 17:13:07 +08:00
Inian a13d1deb97 Update CODEOWNERS (#21562)
anyone maintainer should be able to approve blog updates
2024-02-26 23:55:47 +08:00
Charis 06c6f27a80 ci: add docs linting (#21462)
Add a prose linter that runs on docs content changes and a basic config. Linter only lints changed lines, and it will fail on error. For now, this is not a mandatory check because we expect a lot of false positives while we tweak the linter to suit our conventions.
2024-02-23 12:10:16 -05:00
Ivan Vasilov 66ae36e005 feat: Playwright tests (#21083)
* initial commit for testing the github action.

* Improvements to the Github action.

* Add docker caching.

* Fix an issue in the github action.

* Another fix for the action.

* Just delete the db after the tests.

* Add a supabase app to the playwright-tests.

* Delete .env.testing.

* Remove the docker image caching from the Playwright github action.

* Add a README.md.

* Add an example test for the table editor.

* Ignore the generated keys.json.

* Add commands for running and writing tests.

* Remove Auth tests.

* Only show the react-query tool when not in test mode.

* Add data-testids to the buttons and use them in the test.

* Handle a case where SUPABASE_URL isn't defined.

* Fix the button test id.

* Remove some dependency.

* Try setting a timeout for an action.

* Add timeout to another action.

* Add some timeouts before the save button.

* Add some timeout before clicking save.

* Enable the video recording only during local testing.

* Minor fixes.

* Expand the README.
2024-02-19 12:12:54 +01:00
Charis 42723d8232 refactor: move ai, realtime, functions, remaining auth docs to content directory (#21259) 2024-02-14 17:39:05 +00:00
Kevin Grüneberg f7e60bf324 chore: upgrade prettier/eslint + autofix (#20785) 2024-01-30 10:54:02 +08:00
CharisandGreg Richardson d6234f823a fix: include integrations in our search indexes (#20709)
Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
2024-01-26 15:20:54 -05:00
Kevin Grüneberg 129b3d927a chore: move specs to docs folder (#20136) 2024-01-03 18:54:23 +01:00
Greg Richardson 1a244b79a5 Automated AI tests via GitHub Actions (#19880)
* ci: ai tests

* chore(ai-commands): update readme

* fix: dont load .env.local in ci environment

* fix: pass openai env variable into ci job

* feat(ai): llm evaluated tests

* chore(ai): remove unused jest snapshots
2023-12-20 09:34:30 -07:00
Inian b4fac0e449 Update CODEOWNERS (#19247) 2023-11-27 16:54:43 +08:00
Charis 21ebccc640 fix: add reference docs back to search index (#19054)
Reference docs weren't being indexed properly because the specs weren't
getting checked out at build time.
2023-11-17 16:04:24 -05:00
Alaister Young cc2c7a987d chore: update studio codeowners (#19005) 2023-11-16 15:56:06 +11:00
Ivan Vasilov 436bdb10ae chore: Move the studio app to apps/studio (#18915)
* Move all studio files from /studio to /apps/studio.

* Move studio specific prettier ignores.

* Fix the ui references from studio.

* Fix the css imports.

* Fix all package.json issues.

* Fix the prettier setup for the studio app.

* Add .turbo folder to prettierignore.

* Fix the github workflows.
2023-11-15 12:38:55 +01:00
Ivan Vasilov 848870d1cd chore: Build the docker image on schedule (#17955)
* Change the action for docker image to build on schedule every Monday.

* Publish the image when pushing a tag.
2023-10-23 11:13:26 +02:00
Kevin Grüneberg abf1a9807e chore: remove duplicate build (#18297) 2023-10-18 10:59:09 +02:00
Inian d75d8a8301 chore: update codeowners (#18227)
doc pages can be reviewed by any developer
2023-10-16 10:51:28 -03:00
1281a9b9ce turbo type-check command and GHA (#11658)
* turbo type-check command and GHA

* Update quality.yml

* Update package.json

* Update packages/common/package.json

Co-authored-by: Ruggero Tomaselli <ruggerotomaselli@gmail.com>

* Run prettier.

* Updating package-lock.

* Fix all prettier errors.

* Add type-check command to studio. Remove the one from common package since it depends on ui package and cannot be built at the moment.

* Rename all commands to typecheck (without -) because it's easier to type.

* Add cache and concurrency to the typecheck github job.

* Rename the quality workflow to typecheck.yml.

---------

Co-authored-by: Ruggero Tomaselli <ruggerotomaselli@gmail.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2023-10-04 17:12:05 +11:00
Kevin Grüneberg bc1c9090c2 fix: use prettier on studio too (#17787) 2023-09-28 20:31:07 +02:00
Kevin Grüneberg 63f2a54938 build: use larger runner for build/tests 2023-09-15 12:28:00 +02:00
Joshen Lim 3e9f9c1464 Merge pull request #17415 from supabase/chore/prettify-feature-in-sql-editor
Add prettify feature in sql editor
2023-09-14 16:27:55 +08:00
Joshen Lim 3c79f8ac07 Update CODEOWNERS to remove docs team 2023-09-14 16:13:13 +08:00
Kevin Grüneberg 2c1a96ea0e fix: generate embeddings GH action 2023-09-14 01:05:08 +02:00
Kevin Grüneberg dd626768fd build: improve build times 2023-09-13 23:39:06 +02:00
Kevin Grüneberg 167edfdc6e Update CODEOWNERS 2023-09-13 09:56:50 +02:00
Div Arora 0d056b709b chore: add Rory as codeowner on pricing data 2023-09-13 13:33:16 +08:00
Joshen Lim 7f689b1e78 ignore spelling for files under public/monaco-editor 2023-08-25 16:50:36 +08:00
Alaister Young a8a65a028f chore: update code owners 2023-08-23 21:36:49 +10:00
Ziinc 836d66c607 Merge branch 'master' into chore/add-build-check-to-ci 2023-06-21 02:05:49 +08:00
Kevin Grüneberg 533f61e290 chore: upgrade studio Docker image and turbo 2023-06-13 13:41:37 +02:00
Terry Sutton 40d3e0b346 Merge branch 'master' into chore/upgrade-to-node-18 2023-06-06 15:05:10 -02:30
Greg Richardson 8515db8839 fix: spell check exclude directories 2023-06-05 12:39:34 -06:00