-
Notifications
You must be signed in to change notification settings - Fork 52
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
Onboarding and settings refactor to React #771
Open
iamdharmesh
wants to merge
163
commits into
develop
Choose a base branch
from
enhancement/react-settings
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
163 commits
Select commit
Hold shift + click to select a range
951ca34
Updated current setting page slug to classifai_old.
iamdharmesh f16a7ba
Initial base react setting page.
iamdharmesh 3d9608d
Created user access component.
iamdharmesh 9852d84
Improved folder structure and some other improvements.
iamdharmesh bc8ecb0
Add data store for state management.
iamdharmesh 85812e7
Update components as per to utilize data store.
iamdharmesh cab688f
Added sample providerSettings and additionalFeature settings filters.
iamdharmesh 7d22280
Improvements in root component.
iamdharmesh e93c8fb
Add current service and feature releated functions in useSettings hook.
iamdharmesh 6d0c083
Update in settings-wrapper component.
iamdharmesh 8b92370
Set default service and feature based on tab.
iamdharmesh c598688
Re-structure folders in components folder.
iamdharmesh 27f65da
Make use of <PluginArea /> to extend provider and additional feature …
iamdharmesh f8af6aa
Extend feature settings for comment-moderation feature.
iamdharmesh de46637
Extend open-moderation provider fields.
iamdharmesh 0bf8054
narrow down the container
faisal-alvi 9130c00
Fix header links.
iamdharmesh db671f9
button full width; min heights to tabs
faisal-alvi 3836a24
Merge branch 'enhancement/react-settings' of github.com:10up/classifa…
Sidsector9 b5f74d2
improve re-rednering performance
Sidsector9 9e61e61
further improve performance
Sidsector9 b0bd72b
remove unused deps
Sidsector9 0c142e6
Move allowed roles to separate component.
iamdharmesh 934bd57
Design improvements.
iamdharmesh 9fc9b3f
Changed tab panel with react router dom.
iamdharmesh 2d6ed38
Code Improvements
iamdharmesh a1252b6
Simplified extended code.
iamdharmesh b878683
Improved component re-rendering
iamdharmesh 13e7a17
Added provider fields for the chatGPT, Gemini API and Azure OpenAI
iamdharmesh 6066ece
Temporary stop E2E tests.
iamdharmesh c9617d1
Updated update settings API
iamdharmesh 3f7e586
Added error notice in settings.
iamdharmesh 6823007
Removed unwanted hook.
iamdharmesh 9410cd0
Merge branch 'develop' of github.com:10up/classifai into enhancement/…
iamdharmesh f371339
Use context to avoid props-drilling
iamdharmesh d3179ca
Remove unwanted doc comments.
iamdharmesh acda4c0
Added provider settings for IBM watson NLU.
iamdharmesh eee6698
Updated UI for configured providers.
iamdharmesh 8b17b65
Added additional openai providers.
iamdharmesh d6d0297
Added some more providers
iamdharmesh 2f349d6
Match component style with admin color.
iamdharmesh ef5f224
Started Adding additional feature setting fields.
iamdharmesh f32682a
Indicate saving settings.
iamdharmesh 9b66776
Added OpenAI dalle provider settings.
iamdharmesh 7f20d04
Added additional settings for image tags generator feature.
iamdharmesh 10e7b24
Add AWS polly providers.
iamdharmesh 293b637
Added Azure Text to Speech provider settings.
iamdharmesh 56bae2a
Added provider settings for the OpenAI TTS
iamdharmesh 3b0a684
Added TTS feature settings.
iamdharmesh 9fa97c1
Added Title generation settings.
iamdharmesh 2ea55ee
Content resizing settings.
iamdharmesh 42910c2
Excerpt generation settings.
iamdharmesh 1c93d65
Initial classification settings.
iamdharmesh 2b91a7c
Added classification settings.
iamdharmesh f58286c
Added moderation settings.
iamdharmesh 2d0cc10
Make User Permissions panel toggle persistence.
iamdharmesh f25cf1c
Add ClassifAI registration
iamdharmesh 6958ffe
Merge branch 'enhancement/react-settings' of github.com:10up/classifa…
Sidsector9 3ff60f4
Merge branch 'develop' into enhancement/react-settings
Sidsector9 a22327b
add fragment between Tooltip and Icon
Sidsector9 bbf2e4d
create the onboarding page
Sidsector9 78fdcff
use hook instead
Sidsector9 4638e83
add onboarding page
Sidsector9 9f03ef2
Merge branch 'enhancement/react-settings' of github.com:10up/classifa…
iamdharmesh 72ae5e4
Display notice at feature level.
iamdharmesh 9afdbc9
Add personalizer deprecation notice.
iamdharmesh d8e375d
Hide credentials fields if provider is configured.
iamdharmesh d5b682f
Fix PHPCS errors.
iamdharmesh 50c50f3
Remove unwanted files.
iamdharmesh 7913396
Remove admin component.
iamdharmesh 6e012f6
Refactor onboarding steps.
iamdharmesh cd0fa2a
Added onSaveSuccess callback support.
iamdharmesh d7c29c8
Remove layout component.
iamdharmesh c4b63e7
Update finish step designs.
iamdharmesh 85f9eaf
Refactor configure feature step.
iamdharmesh 9766aac
Removed unwanted state from the onboarding process.
iamdharmesh 6b16f63
Update onboarding header navigation.
iamdharmesh 6f1b850
Added button links to last step.
iamdharmesh 050e68b
Add registration step.
iamdharmesh 94a497f
Merge branch 'enhancement/react-settings' of github.com:10up/classifa…
Sidsector9 5923c70
add previewer search control
Sidsector9 0c320fd
fetch results
Sidsector9 5da4860
color code results
Sidsector9 ecdbea8
add context for previewer
Sidsector9 2fa4887
add notice
Sidsector9 1186849
add close previewer button
Sidsector9 8f1d26a
modify embeddings result data format
Sidsector9 8ffd0f0
add support for OpenAIEmbedding
Sidsector9 b0eb75c
add previewer for IBMWatson
Sidsector9 1c0c285
move provider previewers into separate components
Sidsector9 dd9be21
Merge branch 'develop' of github.com:10up/classifai into enhancement/…
iamdharmesh 90a0af1
Adding style to loading spinner.
iamdharmesh 6acc9d0
Some design fixes on onboarding.
iamdharmesh 4515563
Move notices under header.
iamdharmesh 5b1e06c
Add current step stat on configure feature tabs in onboarding.
iamdharmesh adbd95b
Skip registration step if user is already registered.
iamdharmesh 6a015ac
fix embeddings old previewer
Sidsector9 3556ab6
remove strict versioning from .nvmrc
iamdharmesh 43d70f1
Merge branch 'enhancement/react-settings' of github.com:10up/classifa…
iamdharmesh 0bba3ec
fix eslint errors
Sidsector9 3b7e331
Merge branch 'enhancement/react-settings' of github.com:10up/classifa…
Sidsector9 719a06f
fix phpcs errors
Sidsector9 6b4af66
Added filter `classifai_use_legacy_settings_panel` to enable legacy s…
iamdharmesh 104e7bb
Fix setup role in rest API settings endpoint.
iamdharmesh fa5bc37
Merge branch 'enhancement/react-settings' of github.com:10up/classifa…
iamdharmesh b44da16
Fix setup link in plugin links and notice.
iamdharmesh 2dea03e
Remove unwanted code.
iamdharmesh 85239c4
Update regenerate embeddings processing code
iamdharmesh 0397fd8
Fix Sass compile warning.
iamdharmesh a26ee4c
Fix default feature settings.
iamdharmesh 2220a01
Fix IBM watson auth saving
iamdharmesh faaa5cb
Update admin tests.
iamdharmesh 7645584
Update tests for the azure open AI excerpt generation.
iamdharmesh f32a301
Update E2E tests for google gemini API - excerpt generation.
iamdharmesh 8162629
Update E2E tests for openAI ChatGPT
iamdharmesh 643e6a9
Update E2E tests for moderation feature.
iamdharmesh c056570
Update E2E tests for resize content feature.
iamdharmesh 34df979
Update E2E tests for speech to text feature.
iamdharmesh 77f1be8
Update E2E tests for text to speech feature.
iamdharmesh 926ac19
Update tests for the title generation feature.
iamdharmesh 27a9e0e
Updated E2E tests for the IBM Watson NLU Classification feature.
iamdharmesh 1d8285e
Update E2E tsets for the classification feature.
iamdharmesh 0a7f902
Update tests for image generation feature.
iamdharmesh 7bbbb2a
Update E2E tests for the image processing feature.
iamdharmesh 1478080
Update E2E tests for PDF read feature.
iamdharmesh ab4c26a
Update E2E tests for the common feature fields.
iamdharmesh 42e3199
Fix failing test.
iamdharmesh ae05a28
Enable E2E tests workflow.
iamdharmesh 829ab2c
Merge branch 'develop' of github.com:10up/classifai into enhancement/…
iamdharmesh 81f7ffc
Update react render to make it work in WP < 6.2 as well.
iamdharmesh 8007bd6
get post status options using localize scripts.
iamdharmesh c233713
FIx settings in WP minimum env.
iamdharmesh 563f5d5
Header design improvements.
iamdharmesh 5d5de9a
Add react settings for the smart 404 feature.
iamdharmesh 713dc42
Display error notice if EP is not install and active.
iamdharmesh 492cbaf
Update E2E tests for Smart 404 feature.
iamdharmesh 7944d43
Added command for enable disable features.
iamdharmesh 121968f
Improvement in E2E tests and fix E2E tests for WP minimum environment.
iamdharmesh cdddf5a
Fix E2E tests Smart 404 feature.
iamdharmesh 14fcc4c
Fix previewer for azure OpenAI embeddings provider.
iamdharmesh 134b101
Update add feature and provider documentation for add fields to react…
iamdharmesh 69fa836
Update documentation for the keep using legacy settings panel.
iamdharmesh a722d98
Added error handling.
iamdharmesh 95c97de
Remove unwanted files.
iamdharmesh e7c66a3
display previewer only if provider is configured and feature is active.
iamdharmesh 6e97f3f
Some slot name updates.
iamdharmesh eea4fd9
Sanitize status field in onboarding settings save.
iamdharmesh 6ecae5d
Improved code by moving personalizer notice to separate component.
iamdharmesh 8a3243f
Display notice for the in progress background processing of embedding…
iamdharmesh f73d7c4
Use v4.3.3 of deps review.
iamdharmesh eaa07bf
Merge branch 'develop' of github.com:10up/classifai into enhancement/…
iamdharmesh bb3b67a
Merge branch 'develop' of github.com:10up/classifai into enhancement/…
iamdharmesh dfcd4a2
Fix PHPStan error.
iamdharmesh 3875313
Merge branch 'develop' of github.com:10up/classifai into develop
Sidsector9 32269d6
Merge branch 'enhancement/react-settings' of github.com:10up/classifa…
Sidsector9 21cd179
Merge branch 'develop' into enhancement/react-settings
Sidsector9 3d3116a
Minor updates to ensure we have return typing on new functions
dkotter ef3b1d0
Update most dependencies
dkotter 5704b76
Add missing textdomain
dkotter bc39ea0
Keep User permissions collapsed by default.
iamdharmesh 73150b5
Add Doc comments in JS files.
iamdharmesh 05fca00
E2E tests update to handle collapsed "User Permissions" panel.
iamdharmesh 66a87db
E2E: Open "User permissions" panel if closed.
iamdharmesh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ tests/* | |
vendor/* | ||
bin/* | ||
hookdocs/* | ||
docs/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v20.11.1 | ||
v20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to self:
Find out a way to make this easier so that 3rd-party devs don't have to write
Fill
.Maybe try exporting a component on the
window
object which can be used to inject custom Provider settings.