Local dev for troubleshooting sections doesn't work because getting the last-updated dates requires database access.
This fix shortcuts the last-updated dates check, so all "last-updated" dates will now show up as today's date for external contributors on local, but at least dev will work.
* Store referrer in session storage until opted-in
* Fix
* Move to common file
* Refactor the useTelemetryCookie hook. Use the hook in www, docs and studio.
* Small fixes.
* Fix all usages of HandlePageTelemetry function.
* Fix type errors.
---------
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
* Update grid cell editor for date and timestamp type fields
* Forgot to commit this
* Add basic validation
* Remove console log
* Add placeholder
* Add Set to NOW action
* Pass isNullable to the DatetimeEditor.
* Fix the TooltipTrigger to deduplicate classes. Fix the TimestampInfo to use TooltipTrigger as child.
* Fix the height of the spans to match.
* Fix
---------
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
* wip: use endpoints
* Set up PH feature flag system
* Clean up
* Clean uop
* Check
* Fix tests
---------
Co-authored-by: Pamela Chia <pamelachiamayyee@gmail.com>
* add previous restores section
* add target project name
* fix link to og project
* typecast to fix type err until api types are fixed
* cleanup
* improve IN PROGRESS state, shows restores list and disables buttons
* fix typerr with isUTC
* disable PITR form if theres a restoration happening
* rm commented out code
* 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>
Forgot to change function argument when I changed the `getArticleSlug` signature.
Added `ts-check` annotations so TypeScript will catch these errors in the future.
Docs lint errors can make it into master through a race condition:
- PR with lint configuration changes is made
- Separately, a PR that is incompatible with the new configuration (but _is_ compatible with the old one) is merged
This can be annoying for downstream PRs, so lint post-merge, and create a PR with auto-fixes if possible.
* Revert "Revert "Add docs for pgmq" (#30108)"
This reverts commit a2653740f5.
* remove create_partitioned since its not yet supported
* re-arange pgmq extension docs
* update queue docs to match cron structure
* consistent header level for api functions
* SheetProvider in studio
* mobile global nav
* view sub navigation
* fix ProjectLayout conditional
* Account mobile layout
* width
* hide
* layout
* overflow
* responsive button
* overflow
* fix mobile nav if IS_PLATFORM
* refactor
* hide if no content
* show command menu item on mobile
* ui-patterns sheet provider
* use client
* show if productMenu
* show if productMenu
* drag to close
* drag to close
* 16px input fontsize on inputs to avoid zoom on mobile
* offscreen test element
* offscreen test element
* offscreen test element
* update test
* update test
* update test
* pb
* test?
* test
* test
* test
* spec-click-target
* remove console
* remove unused import
* add dependency to sheet content
* close sheet on router.asPath change
* remove provider and use simple Sheet
* update sidebar mobile
* align labels
* avoid input zoom on mobile
* remove yo
* Remove all stories files.
* Remove some extra files which were used by storybook or werent used at all.
* Remove all references to storybook in documentation and code.
* Remove all storybook packages.
* Fix prettier error.
* Remove two css configs which were used for storybook.
* Add rules for RLS policies when using functions from auth schema
* Add rules to never expose auth.users through a public view
* Add rule for ensuring all tables have a PK
* Add rule to create a DB index when a foreign key is created
* Add rule to enable RLS on tables by default
* Add rule to use security invoker for views
* Add rules for materialized view, foreign table, and extensions