FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: example app render plugins and remove LMS authentication by jsnwesson · Pull Request #66 · openedx/frontend-plugin-framework · GitHub

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .json  (4) .jsx  (6) .scss  (1) All 3 file types selected
Only manifest files
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
2,132 changes: 68 additions & 2,064 deletions example-plugin-app/package-lock.json

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions example-plugin-app/package.json
This file contains hidden or 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
Expand Up @@ -17,8 +17,6 @@
"react": "^17.0.0",
"react-dom": "^17.0.0",
"react-router-dom": "^6.22.1",
"regenerator-runtime": "^0.14.1",
"@edx/frontend-component-footer": "14.0.0",
"@edx/frontend-component-header": "5.3.1"
"regenerator-runtime": "^0.14.1"
}
}
6 changes: 3 additions & 3 deletions example/env.config.jsx
This file contains hidden or 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
Expand Up @@ -131,7 +131,7 @@ const config = {
{
op: PLUGIN_OPERATIONS.Insert,
widget: {
id: 'inserted_direct_plugin',
id: 'insert_modular_direct_plugin',
type: DIRECT_PLUGIN,
priority: 1,
RenderWidget: ModularComponent,
Expand All @@ -149,7 +149,7 @@ const config = {
{
op: PLUGIN_OPERATIONS.Insert,
widget: {
id: 'inserted_direct_plugin',
id: 'insert_direct_plugin',
type: DIRECT_PLUGIN,
priority: 1,
RenderWidget: ModularComponent,
Expand All @@ -162,7 +162,7 @@ const config = {
{
op: PLUGIN_OPERATIONS.Insert,
widget: {
id: 'inserted_direct_plugin',
id: 'insert_another_direct_plugin',
type: DIRECT_PLUGIN,
priority: 10,
RenderWidget: PluginDirect,
Expand Down
3,759 changes: 1,511 additions & 2,248 deletions example/package-lock.json

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions example/package.json
This file contains hidden or 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
Expand Up @@ -18,9 +18,7 @@
"react-dom": "^17.0.0",
"react-router": "^6.22.3",
"react-router-dom": "^6.22.3",
"regenerator-runtime": "^0.14.1",
"@edx/frontend-component-footer": "14.0.0",
"@edx/frontend-component-header": "5.3.1"
"regenerator-runtime": "^0.14.1"
},
"devDependencies": {
"@openedx/frontend-build": "^14.0.3"
Expand Down
2 changes: 1 addition & 1 deletion example/src/index.jsx
This file contains hidden or 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
Expand Up @@ -36,5 +36,5 @@ subscribe(APP_INIT_ERROR, (error) => {
initialize({
messages: [],
requireAuthenticatedUser: false,
hydrateAuthenticatedUser: true,
hydrateAuthenticatedUser: false,
});
3 changes: 0 additions & 3 deletions example/src/index.scss
This file contains hidden or 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
Expand Up @@ -2,6 +2,3 @@
@import "@edx/brand/paragon/variables.scss";
@import "@openedx/paragon/scss/core/core.scss";
@import "@edx/brand/paragon/overrides.scss";

@import "~@edx/frontend-component-header/dist/index";
@import "~@edx/frontend-component-footer/dist/footer";
1 change: 0 additions & 1 deletion example/src/pluginSlots/PluginSlotWithInsert.jsx
This file contains hidden or 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
Expand Up @@ -8,7 +8,6 @@ function PluginSlotWithInsert() {
<h2 className="pl-3">Plugin Operation: Insert</h2>
<PluginSlot
id="slot_with_insert_operation"
data-testid="testing"
>
<section className="bg-success p-3 text-light">
<h3>Default Content</h3>
Expand Down
This file contains hidden or 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
Expand Up @@ -15,7 +15,6 @@ function PluginSlotWithModifyWrapHide() {
<h2 className="pl-3">Plugin Operation: Modify, Wrap, and Hide</h2>
<PluginSlot
id="slot_with_modify_wrap_hidden_operations"
data-testid="testing"
>
<ModularComponent content={content}/>
</PluginSlot>
Expand Down
This file contains hidden or 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
Expand Up @@ -14,7 +14,6 @@ function PluginSlotWithModularPlugins() {
<h2 className="pl-3">Direct Plugins Using Modular Components</h2>
<PluginSlot
id="slot_with_modular_plugins"
data-testid="testing"
>
<ModularComponent content={content} />
</PluginSlot>
Expand Down
This file contains hidden or 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
Expand Up @@ -8,7 +8,6 @@ function PluginSlotWithoutDefault() {
<h2 className="pl-3">Default Content Set to False</h2>
<PluginSlot
id="slot_without_default"
data-testid="testing"
>
</PluginSlot>
</div>
Expand Down

Back | FazBrowse Home | New Git URL