Skip to content

Conversation

@josu-dev
Copy link
Contributor

Describe your changes

The following changes were made to SuperDebug.svelte:

  • Translated the component to js.
  • Improved the typing.
  • Added store detection trough susbcribe method in data prop value.
  • Added promise detection trough then method in data prop value.
  • Added raw prop, means that data prop value will be treated as a plain object.
  • Added functions prop, allows to the highlighter to display function values. Format "[function <function.name>]".

The following changes were made to super-debug/+page.svelte:

  • Formated the file.
  • Added example usage with store.
  • Added example usage with store of promises.
  • Added example usage with custom styling.
  • Improved typing.

The following changes were made to super-debug/+page.server.ts:

  • Added a second formulary.

Issue ticket number and link

Checklist before requesting a review

  • I have performed a self-review of my code
  • If it is a core feature, I have added thorough tests.
  • Will this be part of a product update? If yes, please write one phrase about this update.

The changes were intended to be opt in and should not break any existing code.

If all its ok, will try to make the pr for the related docs at the website.

@josu-dev josu-dev marked this pull request as ready for review July 12, 2023 18:59
@ciscoheat ciscoheat merged commit 900f52c into ciscoheat:main Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants