Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ [Project]: Dashboard redesign/rebuild #333

Draft
wants to merge 32 commits into
base: main
Choose a base branch
from

Conversation

@create-issue-branch create-issue-branch bot added chore enhancement New feature or request refactor labels Oct 3, 2024
@create-issue-branch create-issue-branch bot changed the title [Project]: Dashboard redesign/rebuild ✨ [Project]: Dashboard redesign/rebuild Oct 3, 2024
@create-issue-branch create-issue-branch bot changed the title [Project]: Dashboard redesign/rebuild ✨ [Project]: Dashboard redesign/rebuild Oct 3, 2024
Copy link

changeset-bot bot commented Oct 3, 2024

🦋 Changeset detected

Latest commit: ce23b08

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 13 packages
Name Type
@studiocms/dashboard Patch
@studiocms/auth Patch
@studiocms/core Patch
@studiocms/ui Patch
studiocms Patch
@studiocms/devapps Patch
@studiocms/imagehandler Patch
@studiocms/betaresources Patch
@studiocms/renderers Patch
@studiocms/robotstxt Patch
@studiocms/frontend Patch
@studiocms/assets Patch
@studiocms/blog Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

github-actions bot commented Oct 3, 2024

Thank you for submitting your Pull Request, the following links will become available for preview shortly:

Adammatthiesen and others added 7 commits October 3, 2024 23:32
* init

* add changeset

* update CODEOWNERS

* Update readme and add example assets

* Update preview images in README.md

* Refactor app integration and add libSQLViewer endpoint configuration
* Create draft PR for #351
[skip ci]

* version and prep docs

* Style adjustments to docs

* Revert text change

* update og images to conform to twitter guidelines

* update lockfile

* fix lint errors

* refactor docs to cleanup the whole thing

* remove now unneeded package

* update typedoc config

* dep cleanup

* Refactor Integration.astro to display "N/A" for unreleased packages

* update pageTitle to support integrations

* add sponsors section

* up

* Refactor Sponsors.astro to add target and rel attributes to sponsor link

* Update sidebar label

* Refactor Integration.astro to add support for plugins

* add note to styles

* update label

* Refactor Astro config to add support for @studiocms/blog plugin

* fix

* Refactor Astro config to remove isScoped and scope properties

* Refactor Astro config to remove unused code and improve package name parsing

* Refactor Sponsors component styles to center align links and headings

* fix icon

* Refactor packagecatalog config to remove extra code and improve package name parsing

* fix config reference

* Refactor PackageCatalog component to filter and sort packages based on pkgType prop

* Refactor PackageCatalog component to use 'catalog' prop instead of 'pkgType'

* Refactor Astro.props in Integration.astro to include publiclyUsable prop

* Refactor config.ts to include redirectSchema

* refactor

* Refactor Astro.config.mts to include @shikijs/twoslash integration

* Refactor Astro.config.mts to use StudioCMSOptions instead of StudioCMSOptionsSchema._input

* Dashboard additions removals (#354)

* Purge mentions of Astro Studio

* Add UI docs (getting started & button)

* Update packages/studiocms/src/index.ts

Co-authored-by: Adam Matthiesen <[email protected]>

* Fix border rounding

* Shrink hero

* Update www/docs/astro.config.mts

Co-authored-by: Adam Matthiesen <[email protected]>

* Finish button docs, fix merge conflicts

* Add more UI lib docs, adjust UI package

- Fixed a typo that caused a typedoc warning.
-Fixed a CSS leak in the UI library.
- Adjusted the DropdownHelper API (added an individual show toggle and renamed some functions)
- Looooooooooots more docs stuff

* Update button.mdx

* Adjust wording

* Update dropdown.mdx

* Add more UI docs, fix UI lib css

* Adjust sponsors css, add more UI lib docs

* Improve code snippets

* Document textarea, toggle, and user

* Changes to UI lib, new UI lib docs

* Fix missing comma

* Update custom.css

* mention include styles

* Adjustments for twoslash

* Update custom.css

* Twoslash more like twobitch

* Funny markdown support :)

* Made twoslash appear correctly

* Add changesets

* Add explicitTrigger for twoslash

---------

Co-authored-by: Reuben Tier <[email protected]>
Co-authored-by: Adam Matthiesen <[email protected]>

* start of adding transformers and their css

* more twoslash!

* Update '@astrojs/starlight' version to 0.28.3

* Update dependencies for '@astrojs/starlight', '@astrojs/db', '@astrojs/node', '@astrojs/react', and '@astrojs/web-vitals'

* test

* apply fix

* update docs and re-enable astro check

* Update configuration.mdx with link to reference pages

* Add description for StudioCMS DevApps

* Refactor StudioCMS package.json exports

* more progress

* Update Astro version to 4.16.3 and adjust button position in custom.css

* update default bracketPairs comment

* update to conform to new astro docs and update other links

* add ts-nocheck to prevent warnings/errors for shiki transformer

* revert

* new title transformer for shiki

* add titles

* cleanup

* update demo link in code snippet

* Update custom.css styles for code snippets

* Update studiocms/src/index.ts and www/docs/src/content/docs/config-reference/options-schema.mdx

* Refactor import statement in defineStudioCMSConfig.ts

* fix the TS error that was being caused by a `.` instead of a `,`

* some css styling for the copy button

* update css

* Update custom.css with new color tokens and styling for highlighted words and diffs

* remove spacing

* Update custom.css to add background color for highlighted words and diffs

* Update custom.css to adjust background colors for highlighted words and diffs

* fixed css

* Update custom.css to remove inline-block display for diff spans

* Remove test comment, fix copy SVGs, color changes

* Add image zoom, remove carousel, adjust hero buttons

* refactor css file into multiple files

* Refactor shiki transformers and update import paths

* Refactor Docs landing page

* Refactor SplitCard component CSS

* Refactor Youtube.astro component CSS

* Refactor why-studioCMS.mdx file

* Refactor card CSS to include all the cards from starlight

* Refactor index.mdx to include instructions for setting up Turso database

* Refactor Getting started guide and remove unused components

* Refactor getting started guide

* Refactor config references

* Refactor config references and add Renderer type

* Refactor StudioCMS custom renderer documentation to include information about defining custom renderers and their usage.

* cleanup docs

* Refactor environment variable documentation and add ReadMore component

* Refactor YouTube and landing card components

* Refactor Discord button styling in index.mdx and starlight.css

* Refactor starlight.css: Add gap to LinkButton button styling

* fix

* Refactor SplitCard component: Add padding to split container

* Refactor SplitCard component: Remove unnecessary padding in split container

* Refactor landing page: Update StudioCMS card icon

* Custom head component to preload the fonts

* Add new component for planned Contributor guide page

* Update sidebar component name, and update SiteTitle component

* Update astro.config.mts: Add 'x.com' link to StudioCMS social media

* Contributing guide!

* Update astro.config.mts: Add remotePatterns for images
Add new Contributing guide

* Update FacePile component: Adjust avatar size and alignment

* Update contributing guide

* Update contributing guide: Add link to contributing guide in README.md

* Update astro.config.mts: Add badge to @studiocms/ui label

* Update contributing guide: Update link to contributors list in contributing.mdx

* Update dependencies: Add hast-util-to-string, html-escaper, rehype-slug, rehype-autolink-headings, rehype-external-links, and @types/html-escaper

* Update anchor link icon style

* Update anchor link icon style and display of content elements

* Update dependencies: Add shiki-transformer-color-highlight and unified

* Update contributor list component and styles

* Refactor getContributorsByPath function to remove ignored commit keywords and improve author handling

* cleanup

* Update external link icon and remove underline from anchor links

* Update SiteTitle.astro

* Add bun as a package manager option

* Refactor getContributorsByPath function to improve author handling and remove ignored commit keywords

* Refactor TursoCLI command builder for improved handling of authentication and database commands

* Refactor to use dynamic sponsor links

* Update strings.ts

* Update why-studioCMS.mdx

* Feat(devapps): Wordpress Importer (#360)

* initial progress

* okay well it works!

* Add Wordpress importer app

* Add WordPress Importer app and update README.md

* update readme

* update docs

* Add Toolbar app image and update README.md

* remove unnecessary footnote

* Refactor wp-api converters and utils

This commit refactors the wp-api converters and utils in the studiocms_devapps package. It introduces the following changes:
- Added async/await functionality to ConvertToPageData and ConvertToPostData functions.
- Implemented fetching and downloading of title images for pages and posts.
- Updated the apiEndpoint function to include the 'media' type.

These changes improve the efficiency and functionality of the wp-api converters and utils.

* Refactor wp-api converters and utils, and add closeOnOutsideClick function

* Refactor createWindowElement function and add closeOnOutsideClick function

* Refactor TypeDoc configuration to include additional files

* Refactor devApps configuration to include WP API Importer

* typo

* Refactor wp-api converters and utils, and fix success check in wp-importer

* Refactor to remove warning as per @dreyfus92

* Update www/docs/src/content/docs/start-here/why-studioCMS.mdx

Co-authored-by: Adam Matthiesen <[email protected]>

* Update www/docs/src/content/docs/start-here/why-studioCMS.mdx

Co-authored-by: Adam Matthiesen <[email protected]>

* Update www/docs/src/content/docs/start-here/why-studioCMS.mdx

Co-authored-by: Adam Matthiesen <[email protected]>

* Update www/docs/src/content/docs/start-here/why-studioCMS.mdx

Co-authored-by: Adam Matthiesen <[email protected]>

* Update title in how-it-works/index.mdx

* Fix twoslash popups overflowing parent container

---------

Co-authored-by: create-issue-branch[bot] <53036503+create-issue-branch[bot]@users.noreply.github.com>
Co-authored-by: Adam Matthiesen <[email protected]>
Co-authored-by: Louis Escher <[email protected]>
Co-authored-by: Reuben Tier <[email protected]>
Co-authored-by: Louis Escher <[email protected]>
Adammatthiesen and others added 8 commits October 23, 2024 19:25
* disable powerglitch

* Refactor: Remove powerglitch dependency
* Refactor image handling and remove unused code

* update docs

* update landing page

* Update dependencies: Add "sharp" package to package.json
* Refactor image handling and remove unused code

* update docs

* update landing page

* Update dependencies: Add "sharp" package to package.json

* init

* add changeset

* refactor as per @jdtjenkins

* Refactor wp-api converters to skip existing categories and tags

* Refactor wp-api index.ts to use CMSSiteConfigId constant for site config ID

* Refactor wp-api converters to use endpoint parameter in ConvertToPageData and importPage functions

* Refactor wp-api utils.ts to fix API endpoint path generation
* old system has been removed, Just need to update the routes now to use the new system.

* Refactor authentication routes and session handling

* update schema

* add logic for new login page

* Update background parameter in three.ts

* Refactor three.ts: Remove tweakpane initialization and related code

* index page and oauth buttons done.

* More progress

* Refactor environment variables in astroenv and shared.ts

* Refactor OauthProviders.astro and remove unused code

* Refactor Astro(vite) config and user permission verification

* Cleanup

* cleanup

* more cleanup

* Refactor other integrations to use the new auth lib

* start of firstTimeSetup re-implementation

* Refactor firstTimeSetup to use crypto.randomUUID() for generating UUIDs

* Refactor package.json to use "@fontsource-variable/onest" instead of "@fontsource/onest"

* cleanup

* fix css

* Refactor OAuthButtonStack to use currentColor for SVG fill

* Refactor authlayout.css to use "Onest Variable" font-family for all elements

* update deps

* cleanup

* add changeset

* update docs

* update docs

* Exclude @node-rs/argon2 from vite optimizeDeps

* Add ViteNodeAddonPlugin to integration.ts

* Exclude @node-rs/argon2 from vite optimizeDeps

* test

* Exclude @node-rs/argon2 from vite optimizeDeps

* test

* test

* test

* update deps

* Refactor login and signup routes to handle different scenarios

* Refactor OAuthButtonStack and AuthLayout components

* Refactor firstTimeSetup API route and add error handling

* Refactor signup form button in signup.astro

* Refactor oAuth callback URLs in environment variables and update getting started

* remove now un-used nodeAddons plugin

* Refactor integration.ts to add rate-limiting functionality

* add docs

* Refactor typedoc.config.ts to remove unused scripts and utils

* update build command to remove astro check by default

* Update astro.config.mts

* Add fallback image for login page

- Adds a fallback image that displays when the Three.js context fails to render.

---------

Co-authored-by: Louis Escher <[email protected]>
* Add searchable selects, improve selects accessibility

* Add docs, fix default value staying active for search selects

* Fix searchable select not working via click

* Select inputs now close on escape press (also added changeset)

* Fix click selection not moving focus

* Update index.mdx

* Fix missing name for forms in select docs

* Remove old css files

* Apply suggestions from code review

---------

Co-authored-by: Adam Matthiesen <[email protected]>
Co-authored-by: Reuben Tier <[email protected]>
TheOtterlord and others added 7 commits November 17, 2024 16:57
* Create draft PR for #351
[skip ci]

* version and prep docs

* Style adjustments to docs

* Revert text change

* update og images to conform to twitter guidelines

* update lockfile

* fix lint errors

* refactor docs to cleanup the whole thing

* remove now unneeded package

* update typedoc config

* dep cleanup

* Refactor Integration.astro to display "N/A" for unreleased packages

* update pageTitle to support integrations

* add sponsors section

* up

* Refactor Sponsors.astro to add target and rel attributes to sponsor link

* Update sidebar label

* Refactor Integration.astro to add support for plugins

* add note to styles

* update label

* Refactor Astro config to add support for @studiocms/blog plugin

* fix

* Refactor Astro config to remove isScoped and scope properties

* Refactor Astro config to remove unused code and improve package name parsing

* Refactor Sponsors component styles to center align links and headings

* fix icon

* Refactor packagecatalog config to remove extra code and improve package name parsing

* fix config reference

* Refactor PackageCatalog component to filter and sort packages based on pkgType prop

* Refactor PackageCatalog component to use 'catalog' prop instead of 'pkgType'

* Refactor Astro.props in Integration.astro to include publiclyUsable prop

* Refactor config.ts to include redirectSchema

* refactor

* Refactor Astro.config.mts to include @shikijs/twoslash integration

* Refactor Astro.config.mts to use StudioCMSOptions instead of StudioCMSOptionsSchema._input

* Dashboard additions removals (#354)

* Purge mentions of Astro Studio

* Add UI docs (getting started & button)

* Update packages/studiocms/src/index.ts

Co-authored-by: Adam Matthiesen <[email protected]>

* Fix border rounding

* Shrink hero

* Update www/docs/astro.config.mts

Co-authored-by: Adam Matthiesen <[email protected]>

* Finish button docs, fix merge conflicts

* Add more UI lib docs, adjust UI package

- Fixed a typo that caused a typedoc warning.
-Fixed a CSS leak in the UI library.
- Adjusted the DropdownHelper API (added an individual show toggle and renamed some functions)
- Looooooooooots more docs stuff

* Update button.mdx

* Adjust wording

* Update dropdown.mdx

* Add more UI docs, fix UI lib css

* Adjust sponsors css, add more UI lib docs

* Improve code snippets

* Document textarea, toggle, and user

* Changes to UI lib, new UI lib docs

* Fix missing comma

* Update custom.css

* mention include styles

* Adjustments for twoslash

* Update custom.css

* Twoslash more like twobitch

* Funny markdown support :)

* Made twoslash appear correctly

* Add changesets

* Add explicitTrigger for twoslash

---------

Co-authored-by: Reuben Tier <[email protected]>
Co-authored-by: Adam Matthiesen <[email protected]>

* start of adding transformers and their css

* more twoslash!

* Update '@astrojs/starlight' version to 0.28.3

* Update dependencies for '@astrojs/starlight', '@astrojs/db', '@astrojs/node', '@astrojs/react', and '@astrojs/web-vitals'

* test

* apply fix

* update docs and re-enable astro check

* Update configuration.mdx with link to reference pages

* Add description for StudioCMS DevApps

* Refactor StudioCMS package.json exports

* more progress

* Update Astro version to 4.16.3 and adjust button position in custom.css

* update default bracketPairs comment

* update to conform to new astro docs and update other links

* add ts-nocheck to prevent warnings/errors for shiki transformer

* revert

* new title transformer for shiki

* add titles

* cleanup

* update demo link in code snippet

* Update custom.css styles for code snippets

* Update studiocms/src/index.ts and www/docs/src/content/docs/config-reference/options-schema.mdx

* Refactor import statement in defineStudioCMSConfig.ts

* fix the TS error that was being caused by a `.` instead of a `,`

* some css styling for the copy button

* update css

* Update custom.css with new color tokens and styling for highlighted words and diffs

* remove spacing

* Update custom.css to add background color for highlighted words and diffs

* Update custom.css to adjust background colors for highlighted words and diffs

* fixed css

* Update custom.css to remove inline-block display for diff spans

* Remove test comment, fix copy SVGs, color changes

* Add image zoom, remove carousel, adjust hero buttons

* refactor css file into multiple files

* Refactor shiki transformers and update import paths

* Refactor Docs landing page

* Refactor SplitCard component CSS

* Refactor Youtube.astro component CSS

* Refactor why-studioCMS.mdx file

* Refactor card CSS to include all the cards from starlight

* Refactor index.mdx to include instructions for setting up Turso database

* Refactor Getting started guide and remove unused components

* Refactor getting started guide

* Refactor config references

* Refactor config references and add Renderer type

* Refactor StudioCMS custom renderer documentation to include information about defining custom renderers and their usage.

* cleanup docs

* Refactor environment variable documentation and add ReadMore component

* Refactor YouTube and landing card components

* Refactor Discord button styling in index.mdx and starlight.css

* Refactor starlight.css: Add gap to LinkButton button styling

* fix

* Refactor SplitCard component: Add padding to split container

* Refactor SplitCard component: Remove unnecessary padding in split container

* Refactor landing page: Update StudioCMS card icon

* Custom head component to preload the fonts

* Add new component for planned Contributor guide page

* Update sidebar component name, and update SiteTitle component

* Update astro.config.mts: Add 'x.com' link to StudioCMS social media

* Contributing guide!

* Update astro.config.mts: Add remotePatterns for images
Add new Contributing guide

* Update FacePile component: Adjust avatar size and alignment

* Update contributing guide

* Update contributing guide: Add link to contributing guide in README.md

* Update astro.config.mts: Add badge to @studiocms/ui label

* Update contributing guide: Update link to contributors list in contributing.mdx

* Update dependencies: Add hast-util-to-string, html-escaper, rehype-slug, rehype-autolink-headings, rehype-external-links, and @types/html-escaper

* Update anchor link icon style

* Update anchor link icon style and display of content elements

* Update dependencies: Add shiki-transformer-color-highlight and unified

* Update contributor list component and styles

* Refactor getContributorsByPath function to remove ignored commit keywords and improve author handling

* cleanup

* Update external link icon and remove underline from anchor links

* Update SiteTitle.astro

* Add bun as a package manager option

* Refactor getContributorsByPath function to improve author handling and remove ignored commit keywords

* Refactor TursoCLI command builder for improved handling of authentication and database commands

* Refactor to use dynamic sponsor links

* Update strings.ts

* Update why-studioCMS.mdx

* Feat(devapps): Wordpress Importer (#360)

* initial progress

* okay well it works!

* Add Wordpress importer app

* Add WordPress Importer app and update README.md

* update readme

* update docs

* Add Toolbar app image and update README.md

* remove unnecessary footnote

* Refactor wp-api converters and utils

This commit refactors the wp-api converters and utils in the studiocms_devapps package. It introduces the following changes:
- Added async/await functionality to ConvertToPageData and ConvertToPostData functions.
- Implemented fetching and downloading of title images for pages and posts.
- Updated the apiEndpoint function to include the 'media' type.

These changes improve the efficiency and functionality of the wp-api converters and utils.

* Refactor wp-api converters and utils, and add closeOnOutsideClick function

* Refactor createWindowElement function and add closeOnOutsideClick function

* Refactor TypeDoc configuration to include additional files

* Refactor devApps configuration to include WP API Importer

* typo

* Refactor wp-api converters and utils, and fix success check in wp-importer

* Refactor to remove warning as per @dreyfus92

* Update www/docs/src/content/docs/start-here/why-studioCMS.mdx

Co-authored-by: Adam Matthiesen <[email protected]>

* Update www/docs/src/content/docs/start-here/why-studioCMS.mdx

Co-authored-by: Adam Matthiesen <[email protected]>

* Update www/docs/src/content/docs/start-here/why-studioCMS.mdx

Co-authored-by: Adam Matthiesen <[email protected]>

* Update www/docs/src/content/docs/start-here/why-studioCMS.mdx

Co-authored-by: Adam Matthiesen <[email protected]>

* Update title in how-it-works/index.mdx

* Fix twoslash popups overflowing parent container

* Add theme helper, theme toggle component, docs

* Remove unused function call

* Update index.ts

* Fix a typo in the JSDoc

* Update theme-helper.mdx

Added an example for how to store the theme

* Update theme-helper.mdx

---------

Co-authored-by: create-issue-branch[bot] <53036503+create-issue-branch[bot]@users.noreply.github.com>
Co-authored-by: Adam Matthiesen <[email protected]>
Co-authored-by: Reuben Tier <[email protected]>
* start - playground node

* add sentry client config

* add to ui-testing playground

* add sentry release notification to release and snapshot actions

* Add conditional step to create Sentry release
* start of i18n support

* add changeset

* add docs

* move functions around and add jsdocs

* Added translation using Weblate (German) (#374)

Co-authored-by: Louis Escher <[email protected]>

* add labeler

* Add @changesets/write and execa dependencies and implement automatated changesets for translations

* Refactor translation-changesets workflow to remove unnecessary code

* Update workflow

* simplify

* Refactor translation-changesets workflow to use GitHub Actions expression syntax

* fix

* add new custom script to replace github-script that was not working

* Refactor translation-changesets workflow to fix command typo

* Core i18n:Translations update from StudioCMS i18n (#376)

* Translated using Weblate (German)

Currently translated at 58.0% (18 of 31 strings)

Translated using Weblate (German)

Currently translated at 12.9% (4 of 31 strings)

Co-authored-by: Louis Escher <[email protected]>
Translate-URL: https://i18n.studiocms.xyz/projects/studiocms/core-i18n/de/
Translation: StudioCMS/Core i18n

* [ci] changesets

* [ci] changesets

* Delete .changeset/dry-zoos-behave.md

bug

---------

Co-authored-by: Louis Escher <[email protected]>
Co-authored-by: Adam Matthiesen <[email protected]>

* Update www/docs/src/content/docs/contributing/getting-started.mdx

Co-authored-by: Reuben Tier <[email protected]>

* move info around to fix the new contributing sections

* Remove css imports

* Add theme helper, theme toggle component, docs (#377)

* Create draft PR for #351
[skip ci]

* version and prep docs

* Style adjustments to docs

* Revert text change

* update og images to conform to twitter guidelines

* update lockfile

* fix lint errors

* refactor docs to cleanup the whole thing

* remove now unneeded package

* update typedoc config

* dep cleanup

* Refactor Integration.astro to display "N/A" for unreleased packages

* update pageTitle to support integrations

* add sponsors section

* up

* Refactor Sponsors.astro to add target and rel attributes to sponsor link

* Update sidebar label

* Refactor Integration.astro to add support for plugins

* add note to styles

* update label

* Refactor Astro config to add support for @studiocms/blog plugin

* fix

* Refactor Astro config to remove isScoped and scope properties

* Refactor Astro config to remove unused code and improve package name parsing

* Refactor Sponsors component styles to center align links and headings

* fix icon

* Refactor packagecatalog config to remove extra code and improve package name parsing

* fix config reference

* Refactor PackageCatalog component to filter and sort packages based on pkgType prop

* Refactor PackageCatalog component to use 'catalog' prop instead of 'pkgType'

* Refactor Astro.props in Integration.astro to include publiclyUsable prop

* Refactor config.ts to include redirectSchema

* refactor

* Refactor Astro.config.mts to include @shikijs/twoslash integration

* Refactor Astro.config.mts to use StudioCMSOptions instead of StudioCMSOptionsSchema._input

* Dashboard additions removals (#354)

* Purge mentions of Astro Studio

* Add UI docs (getting started & button)

* Update packages/studiocms/src/index.ts

Co-authored-by: Adam Matthiesen <[email protected]>

* Fix border rounding

* Shrink hero

* Update www/docs/astro.config.mts

Co-authored-by: Adam Matthiesen <[email protected]>

* Finish button docs, fix merge conflicts

* Add more UI lib docs, adjust UI package

- Fixed a typo that caused a typedoc warning.
-Fixed a CSS leak in the UI library.
- Adjusted the DropdownHelper API (added an individual show toggle and renamed some functions)
- Looooooooooots more docs stuff

* Update button.mdx

* Adjust wording

* Update dropdown.mdx

* Add more UI docs, fix UI lib css

* Adjust sponsors css, add more UI lib docs

* Improve code snippets

* Document textarea, toggle, and user

* Changes to UI lib, new UI lib docs

* Fix missing comma

* Update custom.css

* mention include styles

* Adjustments for twoslash

* Update custom.css

* Twoslash more like twobitch

* Funny markdown support :)

* Made twoslash appear correctly

* Add changesets

* Add explicitTrigger for twoslash

---------

Co-authored-by: Reuben Tier <[email protected]>
Co-authored-by: Adam Matthiesen <[email protected]>

* start of adding transformers and their css

* more twoslash!

* Update '@astrojs/starlight' version to 0.28.3

* Update dependencies for '@astrojs/starlight', '@astrojs/db', '@astrojs/node', '@astrojs/react', and '@astrojs/web-vitals'

* test

* apply fix

* update docs and re-enable astro check

* Update configuration.mdx with link to reference pages

* Add description for StudioCMS DevApps

* Refactor StudioCMS package.json exports

* more progress

* Update Astro version to 4.16.3 and adjust button position in custom.css

* update default bracketPairs comment

* update to conform to new astro docs and update other links

* add ts-nocheck to prevent warnings/errors for shiki transformer

* revert

* new title transformer for shiki

* add titles

* cleanup

* update demo link in code snippet

* Update custom.css styles for code snippets

* Update studiocms/src/index.ts and www/docs/src/content/docs/config-reference/options-schema.mdx

* Refactor import statement in defineStudioCMSConfig.ts

* fix the TS error that was being caused by a `.` instead of a `,`

* some css styling for the copy button

* update css

* Update custom.css with new color tokens and styling for highlighted words and diffs

* remove spacing

* Update custom.css to add background color for highlighted words and diffs

* Update custom.css to adjust background colors for highlighted words and diffs

* fixed css

* Update custom.css to remove inline-block display for diff spans

* Remove test comment, fix copy SVGs, color changes

* Add image zoom, remove carousel, adjust hero buttons

* refactor css file into multiple files

* Refactor shiki transformers and update import paths

* Refactor Docs landing page

* Refactor SplitCard component CSS

* Refactor Youtube.astro component CSS

* Refactor why-studioCMS.mdx file

* Refactor card CSS to include all the cards from starlight

* Refactor index.mdx to include instructions for setting up Turso database

* Refactor Getting started guide and remove unused components

* Refactor getting started guide

* Refactor config references

* Refactor config references and add Renderer type

* Refactor StudioCMS custom renderer documentation to include information about defining custom renderers and their usage.

* cleanup docs

* Refactor environment variable documentation and add ReadMore component

* Refactor YouTube and landing card components

* Refactor Discord button styling in index.mdx and starlight.css

* Refactor starlight.css: Add gap to LinkButton button styling

* fix

* Refactor SplitCard component: Add padding to split container

* Refactor SplitCard component: Remove unnecessary padding in split container

* Refactor landing page: Update StudioCMS card icon

* Custom head component to preload the fonts

* Add new component for planned Contributor guide page

* Update sidebar component name, and update SiteTitle component

* Update astro.config.mts: Add 'x.com' link to StudioCMS social media

* Contributing guide!

* Update astro.config.mts: Add remotePatterns for images
Add new Contributing guide

* Update FacePile component: Adjust avatar size and alignment

* Update contributing guide

* Update contributing guide: Add link to contributing guide in README.md

* Update astro.config.mts: Add badge to @studiocms/ui label

* Update contributing guide: Update link to contributors list in contributing.mdx

* Update dependencies: Add hast-util-to-string, html-escaper, rehype-slug, rehype-autolink-headings, rehype-external-links, and @types/html-escaper

* Update anchor link icon style

* Update anchor link icon style and display of content elements

* Update dependencies: Add shiki-transformer-color-highlight and unified

* Update contributor list component and styles

* Refactor getContributorsByPath function to remove ignored commit keywords and improve author handling

* cleanup

* Update external link icon and remove underline from anchor links

* Update SiteTitle.astro

* Add bun as a package manager option

* Refactor getContributorsByPath function to improve author handling and remove ignored commit keywords

* Refactor TursoCLI command builder for improved handling of authentication and database commands

* Refactor to use dynamic sponsor links

* Update strings.ts

* Update why-studioCMS.mdx

* Feat(devapps): Wordpress Importer (#360)

* initial progress

* okay well it works!

* Add Wordpress importer app

* Add WordPress Importer app and update README.md

* update readme

* update docs

* Add Toolbar app image and update README.md

* remove unnecessary footnote

* Refactor wp-api converters and utils

This commit refactors the wp-api converters and utils in the studiocms_devapps package. It introduces the following changes:
- Added async/await functionality to ConvertToPageData and ConvertToPostData functions.
- Implemented fetching and downloading of title images for pages and posts.
- Updated the apiEndpoint function to include the 'media' type.

These changes improve the efficiency and functionality of the wp-api converters and utils.

* Refactor wp-api converters and utils, and add closeOnOutsideClick function

* Refactor createWindowElement function and add closeOnOutsideClick function

* Refactor TypeDoc configuration to include additional files

* Refactor devApps configuration to include WP API Importer

* typo

* Refactor wp-api converters and utils, and fix success check in wp-importer

* Refactor to remove warning as per @dreyfus92

* Update www/docs/src/content/docs/start-here/why-studioCMS.mdx

Co-authored-by: Adam Matthiesen <[email protected]>

* Update www/docs/src/content/docs/start-here/why-studioCMS.mdx

Co-authored-by: Adam Matthiesen <[email protected]>

* Update www/docs/src/content/docs/start-here/why-studioCMS.mdx

Co-authored-by: Adam Matthiesen <[email protected]>

* Update www/docs/src/content/docs/start-here/why-studioCMS.mdx

Co-authored-by: Adam Matthiesen <[email protected]>

* Update title in how-it-works/index.mdx

* Fix twoslash popups overflowing parent container

* Add theme helper, theme toggle component, docs

* Remove unused function call

* Update index.ts

* Fix a typo in the JSDoc

* Update theme-helper.mdx

Added an example for how to store the theme

* Update theme-helper.mdx

---------

Co-authored-by: create-issue-branch[bot] <53036503+create-issue-branch[bot]@users.noreply.github.com>
Co-authored-by: Adam Matthiesen <[email protected]>
Co-authored-by: Reuben Tier <[email protected]>

* Add Sentry monitoring (#378)

* start - playground node

* add sentry client config

* add to ui-testing playground

* add sentry release notification to release and snapshot actions

* Add conditional step to create Sentry release

* start of i18n support

* add changeset

* add docs

* move functions around and add jsdocs

* Added translation using Weblate (German) (#374)

Co-authored-by: Louis Escher <[email protected]>

* add labeler

* Add @changesets/write and execa dependencies and implement automatated changesets for translations

* Refactor translation-changesets workflow to remove unnecessary code

* Update workflow

* simplify

* Refactor translation-changesets workflow to use GitHub Actions expression syntax

* fix

* add new custom script to replace github-script that was not working

* Refactor translation-changesets workflow to fix command typo

* Core i18n:Translations update from StudioCMS i18n (#376)

* Translated using Weblate (German)

Currently translated at 58.0% (18 of 31 strings)

Translated using Weblate (German)

Currently translated at 12.9% (4 of 31 strings)

Co-authored-by: Louis Escher <[email protected]>
Translate-URL: https://i18n.studiocms.xyz/projects/studiocms/core-i18n/de/
Translation: StudioCMS/Core i18n

* [ci] changesets

* [ci] changesets

* Delete .changeset/dry-zoos-behave.md

bug

---------

Co-authored-by: Louis Escher <[email protected]>
Co-authored-by: Adam Matthiesen <[email protected]>

* Update www/docs/src/content/docs/contributing/getting-started.mdx

Co-authored-by: Reuben Tier <[email protected]>

* move info around to fix the new contributing sections

* fix lockfile

* fix lockfile

* update sentry settings to enable session replay

---------

Co-authored-by: StudioCMS (bot) <[email protected]>
Co-authored-by: Louis Escher <[email protected]>
Co-authored-by: Reuben Tier <[email protected]>
Co-authored-by: Reuben Tier <[email protected]>
Co-authored-by: Louis Escher <[email protected]>
Co-authored-by: create-issue-branch[bot] <53036503+create-issue-branch[bot]@users.noreply.github.com>
* more progress moving urls over

* add changeset and update changeset config

* update pre config to remove web reference
@withstudiocms-deployments
Copy link

withstudiocms-deployments bot commented Nov 24, 2024

The preview deployment is ready. 🟢

Open Preview | Open Build Logs

Last updated at: 2024-11-27 15:08:09 CET

@withstudiocms-deployments
Copy link

withstudiocms-deployments bot commented Nov 24, 2024

The preview deployment is ready. 🟢

Open Preview | Open Build Logs

Last updated at: 2024-11-27 15:06:57 CET

* move back to EC

* update compiler options

* update compiler options

* Update compiler options to include 'dom' library

* Refactor dropdown, modal, and theme-helper components

This commit refactors the dropdown, modal, and theme-helper components. It includes updates to the compiler options to include the 'dom' library. Additionally, it fixes some issues and adds new functionality to the components. The changes are made to improve the overall code structure and maintainability.

* found what i need to fix

* update ectwoslash

* update ectwoslash

* update social links

* Update contributor list processing to make it simpiler to adjust in the future
* Various workflow updates

* Fix typo in package.json script name

* Fix typo in package.json script name

* Update snapshop-release workflow
Copy link

pkg-pr-new bot commented Nov 25, 2024

Open in Stackblitz

studiocms

npm i https://pkg.pr.new/withstudiocms/studiocms@333

@studiocms/auth

npm i https://pkg.pr.new/withstudiocms/studiocms/@studiocms/auth@333

@studiocms/assets

npm i https://pkg.pr.new/withstudiocms/studiocms/@studiocms/assets@333

@studiocms/betaresources

npm i https://pkg.pr.new/withstudiocms/studiocms/@studiocms/betaresources@333

@studiocms/blog

npm i https://pkg.pr.new/withstudiocms/studiocms/@studiocms/blog@333

@studiocms/core

npm i https://pkg.pr.new/withstudiocms/studiocms/@studiocms/core@333

@studiocms/dashboard

npm i https://pkg.pr.new/withstudiocms/studiocms/@studiocms/dashboard@333

@studiocms/devapps

npm i https://pkg.pr.new/withstudiocms/studiocms/@studiocms/devapps@333

@studiocms/frontend

npm i https://pkg.pr.new/withstudiocms/studiocms/@studiocms/frontend@333

@studiocms/imagehandler

npm i https://pkg.pr.new/withstudiocms/studiocms/@studiocms/imagehandler@333

@studiocms/renderers

npm i https://pkg.pr.new/withstudiocms/studiocms/@studiocms/renderers@333

@studiocms/robotstxt

npm i https://pkg.pr.new/withstudiocms/studiocms/@studiocms/robotstxt@333

@studiocms/ui

npm i https://pkg.pr.new/withstudiocms/studiocms/@studiocms/ui@333

commit: ce23b08

@withstudiocms-deployments
Copy link

withstudiocms-deployments bot commented Nov 26, 2024

The preview deployment failed. 🔴

Open Build Logs

Last updated at: 2024-11-27 15:04:22 CET

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Project]: Dashboard redesign/rebuild
3 participants