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

Switch to Shadcn UI #167

Merged
merged 43 commits into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
ce93cdd
Migrate WP Telegram Login
irshadahmad21 Aug 14, 2024
138cbc7
Upgrade deps
irshadahmad21 Aug 15, 2024
f615213
Fix link style
irshadahmad21 Aug 15, 2024
73b726b
Add displayName
irshadahmad21 Aug 15, 2024
c344806
Update accordion.tsx
irshadahmad21 Aug 15, 2024
531b2fe
Use accordions for plugin info
irshadahmad21 Aug 15, 2024
7cc9ea2
Override wp common css for production
irshadahmad21 Aug 15, 2024
38580bf
Fix sidebar
irshadahmad21 Aug 15, 2024
7218223
Migrate WP Telegram Comments
irshadahmad21 Aug 16, 2024
1266027
Migrate WP Telegram Widget
irshadahmad21 Aug 20, 2024
efc6109
Migrate WP Telegram
irshadahmad21 Sep 25, 2024
3f20fee
Fix React child key errors caused by createInterpolateElement
irshadahmad21 Sep 30, 2024
6a49d8f
Update TabbedSections.tsx
irshadahmad21 Sep 30, 2024
57b09ac
Fix error messages
irshadahmad21 Sep 30, 2024
f84d1b2
Improve variable button usage
irshadahmad21 Oct 1, 2024
a981b33
Fix rules styles
irshadahmad21 Oct 1, 2024
82fd376
Add changelog
irshadahmad21 Oct 1, 2024
7bd32fb
Update deps
irshadahmad21 Oct 2, 2024
4bd133e
Update action.yml
irshadahmad21 Oct 2, 2024
e0f4aba
Use block name in render filter
irshadahmad21 Oct 2, 2024
e5a358a
Minor improvements
irshadahmad21 Oct 6, 2024
c10e964
Nuke the useless stuff
irshadahmad21 Oct 7, 2024
a66d5e5
Clean up deps
irshadahmad21 Oct 7, 2024
9e10fdb
Fix spacing
irshadahmad21 Oct 7, 2024
f67ecd2
Further clean up
irshadahmad21 Oct 8, 2024
4a6b10e
Fix blocks API warnings
irshadahmad21 Oct 8, 2024
c1e5875
Fix single post widget author photo always shown
irshadahmad21 Oct 8, 2024
3de4aa7
More clean up
irshadahmad21 Oct 8, 2024
8811f57
Update pnpm-lock.yaml
irshadahmad21 Oct 12, 2024
567598b
Fix the damn E2E tests
irshadahmad21 Oct 12, 2024
48d447e
Update field schema
irshadahmad21 Oct 12, 2024
a042c33
Fix switch inputs
irshadahmad21 Oct 12, 2024
f9532b1
Remove deprecated "shadcn-ui"
irshadahmad21 Oct 12, 2024
0abd7d6
Improve alerts
irshadahmad21 Oct 13, 2024
ad46ba6
Format files
irshadahmad21 Oct 13, 2024
0651b56
Move E2E test utils to a separate package
irshadahmad21 Oct 13, 2024
eff0c84
Update pnpm-lock.yaml
irshadahmad21 Oct 13, 2024
1d10b9b
Move e2e mu plugins
irshadahmad21 Oct 13, 2024
a6579cf
Update channels-field.tsx
irshadahmad21 Oct 14, 2024
524d30c
Update actions
irshadahmad21 Oct 14, 2024
9c0181f
Update actions.ts
irshadahmad21 Oct 14, 2024
8731da8
Add rest utility
irshadahmad21 Oct 14, 2024
240ebed
Fix rule param default values
irshadahmad21 Oct 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
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
Loading