Skip to content

Commit

Permalink
Switch to Shadcn UI (#167)
Browse files Browse the repository at this point in the history
* Migrate WP Telegram Login

* Upgrade deps

* Fix link style

* Add displayName

* Update accordion.tsx

* Use accordions for plugin info

* Override wp common css for production

* Fix sidebar

* Migrate WP Telegram Comments

* Migrate WP Telegram Widget

* Migrate WP Telegram

* Fix React child key errors caused by createInterpolateElement

* Update TabbedSections.tsx

* Fix error messages

* Improve variable button usage

* Fix rules styles

* Add changelog

* Update deps

* Update action.yml

* Use block name in render filter

* Minor improvements

* Nuke the useless stuff

* Clean up deps

* Fix spacing

* Further clean up

* Fix blocks API warnings

* Fix single post widget author photo always shown

* More clean up

* Update pnpm-lock.yaml

* Fix the damn E2E tests

* Update field schema

* Fix switch inputs

* Remove deprecated "shadcn-ui"

* Improve alerts

* Format files

* Move E2E test utils to a separate package

* Update pnpm-lock.yaml

* Move e2e mu plugins

* Update channels-field.tsx

* Update actions

* Update actions.ts

* Add rest utility

* Fix rule param default values
  • Loading branch information
irshadahmad21 authored Oct 15, 2024
1 parent dfdcbec commit c111617
Show file tree
Hide file tree
Showing 482 changed files with 15,174 additions and 13,193 deletions.
5 changes: 5 additions & 0 deletions .changeset/good-crabs-march.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"wptelegram": patch
---

Fixed the issue of delay in posting not being saved when changed alone
5 changes: 5 additions & 0 deletions .changeset/loud-rockets-shake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"wptelegram-widget": patch
---

Fixed the issue of single post widget author photo always shown
8 changes: 8 additions & 0 deletions .changeset/metal-planes-buy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"wptelegram-comments": minor
"wptelegram-widget": minor
"wptelegram-login": minor
"wptelegram": minor
---

Improved the UI for small/mobile screens
5 changes: 5 additions & 0 deletions .changeset/nine-chefs-roll.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"wptelegram": patch
---

Fixed the issue of proxy options not showing upon changing proxy type.
8 changes: 8 additions & 0 deletions .changeset/polite-boats-walk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"wptelegram-comments": minor
"wptelegram-widget": minor
"wptelegram-login": minor
"wptelegram": minor
---

Refreshed the UI migrating away from Chakra UI
8 changes: 8 additions & 0 deletions .changeset/warm-dryers-cross.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"wptelegram-comments": patch
"wptelegram-widget": patch
"wptelegram-login": patch
"wptelegram": patch
---

Fixed and improved the a11y issues in settings page UI
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
},
"phpSniffer.autoDetect": true,
"phpSniffer.standard": "phpcs.xml",
"[javascript][javascriptreact][typescript][typescriptreact]": {
"[javascript][javascriptreact][typescript][typescriptreact][json]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "biomejs.biome"
},
Expand Down
2 changes: 1 addition & 1 deletion .wp-env.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"tests": {
"mappings": {
"wp-content/plugins/classic-editor": "WordPress/classic-editor",
"wp-content/mu-plugins": "./test/e2e/mu-plugins",
"wp-content/mu-plugins": "./tools/e2e-mu-plugins",
"wp-content/themes/gutenberg-test-themes/twentytwentyone": "https://downloads.wordpress.org/theme/twentytwentyone.2.3.zip",
"wp-content/themes/gutenberg-test-themes/twentytwentyfour": "https://downloads.wordpress.org/theme/twentytwentyfour.1.2.zip"
}
Expand Down
2 changes: 1 addition & 1 deletion actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ runs:
- name: Wireit cache
if: ${{ inputs.enable-wireit-cache == 'true' }}
uses: google/wireit@setup-github-actions-caching/v1
uses: google/wireit@setup-github-actions-caching/v2

- name: Install dependencies
shell: bash
Expand Down
3 changes: 2 additions & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"build/*",
"node_modules/*",
"vendor/*",
".wireit/*"
".wireit/*",
"./packages/js/ui-components/ui/*"
]
},
"organizeImports": {
Expand Down
15 changes: 9 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,20 @@
"devDependencies": {
"@biomejs/biome": "1.8.3",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.7",
"@changesets/cli": "^2.27.8",
"@playwright/test": "^1.47.2",
"@types/node": "^20.14.12",
"@wordpress/e2e-test-utils-playwright": "^1.9.0",
"@wordpress/env": "^10.9.0",
"@wordpress/scripts": "^30.1.0",
"@wpsocio/e2e-utils": "workspace:*",
"@wpsocio/wpdev": "workspace:*",
"npm-check-updates": "^16.14.20",
"npm-check-updates": "^17.1.3",
"rimraf": "^6.0.1",
"tailwindcss": "^3.4.13",
"ts-node": "^10.9.2",
"typescript": "^5.5.4",
"wireit": "^0.14.5"
"typescript": "^5.6.2",
"wireit": "^0.14.9"
},
"wireit": {
"build": {
Expand Down Expand Up @@ -146,7 +148,7 @@
]
},
"typecheck:packages": {
"command": "pnpm -r --filter=./packages/js/* exec tsc --noEmit"
"command": "pnpm -r --filter=./packages/js/* exec tsc --noEmit --moduleResolution Bundler --module ESNext"
},
"typecheck:projects": {
"command": "pnpm -r --filter=./plugins/* --filter=./premium/*/* exec tsc --noEmit"
Expand All @@ -164,5 +166,6 @@
"envFiles": [
".env"
]
}
},
"packageManager": "[email protected]+sha512.0a203ffaed5a3f63242cd064c8fb5892366c103e328079318f78062f24ea8c9d50bc6a47aa3567cabefd824d170e78fa2745ed1f16b132e16436146b7688f19b"
}
81 changes: 0 additions & 81 deletions packages/js/adapters/ColorPicker/ColorInputPicker.tsx

This file was deleted.

16 changes: 0 additions & 16 deletions packages/js/adapters/ColorPicker/ColorPicker.tsx

This file was deleted.

4 changes: 0 additions & 4 deletions packages/js/adapters/ColorPicker/index.ts

This file was deleted.

30 changes: 0 additions & 30 deletions packages/js/adapters/Input/NumberInput.tsx

This file was deleted.

44 changes: 0 additions & 44 deletions packages/js/adapters/Input/TextInput.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions packages/js/adapters/Input/index.ts

This file was deleted.

11 changes: 0 additions & 11 deletions packages/js/adapters/Link/Link.tsx

This file was deleted.

1 change: 0 additions & 1 deletion packages/js/adapters/Link/index.ts

This file was deleted.

Loading

0 comments on commit c111617

Please sign in to comment.