Skip to content

Block-to-text Output only Web Component#782

Closed
sra405 wants to merge 14 commits intomainfrom
output-only-wc
Closed

Block-to-text Output only Web Component#782
sra405 wants to merge 14 commits intomainfrom
output-only-wc

Conversation

@sra405
Copy link
Contributor

@sra405 sra405 commented Nov 24, 2023

Draft PR to add output only functionality to the web component so that the editor could be used as a code runner. This specific branch was used in the block to text alpha here.

This allows:

  • Code to be passed in as a code attribute
  • Allows the run CTA to come from an external trigger
  • Only shows the output of the code

@github-actions
Copy link

@sra405 sra405 temporarily deployed to previews/output-only-wc December 11, 2023 11:54 — with GitHub Actions Inactive
@github-actions
Copy link

@loiswells97 loiswells97 temporarily deployed to previews/output-only-wc January 12, 2024 11:00 — with GitHub Actions Inactive
@github-actions
Copy link

@loiswells97 loiswells97 temporarily deployed to previews/override-code January 18, 2024 17:07 — with GitHub Actions Inactive
@loiswells97 loiswells97 temporarily deployed to previews/web-component-run-method January 19, 2024 17:37 — with GitHub Actions Inactive
@loiswells97 loiswells97 temporarily deployed to previews/add-assets-identifier January 23, 2024 11:20 — with GitHub Actions Inactive
closes #896

---------

Co-authored-by: Conor <905676+conorriches@users.noreply.github.com>
@loiswells97 loiswells97 temporarily deployed to previews/output-only-wc January 25, 2024 17:08 — with GitHub Actions Inactive
@github-actions
Copy link

Co-authored-by: Lois Wells <88904316+loiswells97@users.noreply.github.com>
Co-authored-by: Pete Simonovic <69108995+PetarSimonovic@users.noreply.github.com>
Co-authored-by: create-issue-branch[bot] <53036503+create-issue-branch[bot]@users.noreply.github.com>
Co-authored-by: sra405 <sra405@users.noreply.github.com>
Co-authored-by: Lois Wells <lois.wells@raspberrypi.org>
Co-authored-by: magdalenajadach <magdalenajadach@users.noreply.github.com>
Co-authored-by: Magdalena Jadach <magdalena@raspberrypi.org>
Co-authored-by: maxelkins <maxelkins@users.noreply.github.com>
Co-authored-by: Chris Patuzzo <chris@patuzzo.co.uk>
@sra405 sra405 temporarily deployed to previews/output-only-wc January 26, 2024 13:35 — with GitHub Actions Inactive
@github-actions
Copy link

@github-actions
Copy link

@github-actions
Copy link

@loiswells97 loiswells97 temporarily deployed to previews/output-only-wc January 26, 2024 14:38 — with GitHub Actions Inactive
@github-actions
Copy link

@loiswells97 loiswells97 temporarily deployed to previews/output-only-wc January 30, 2024 17:36 — with GitHub Actions Inactive
@github-actions
Copy link

@danhalson danhalson temporarily deployed to previews/output-only-wc February 1, 2024 16:27 — with GitHub Actions Inactive
@github-actions
Copy link

github-actions bot commented Feb 1, 2024

closes #906

---------

Co-authored-by: create-issue-branch[bot] <53036503+create-issue-branch[bot]@users.noreply.github.com>
Co-authored-by: Lois Wells <88904316+loiswells97@users.noreply.github.com>
Co-authored-by: Lois Wells <lois.wells@raspberrypi.org>
@github-actions
Copy link

github-actions bot commented Feb 2, 2024

@sra405 sra405 added this to the Pyodide Rollout milestone Mar 18, 2024
@sra405 sra405 removed this from the Pyodide Rollout milestone Apr 17, 2024
@sra405 sra405 changed the title Output only Web Component functionality Productionise Output only Web Component functionality May 1, 2024
@sra405 sra405 changed the title Productionise Output only Web Component functionality Block-to-text Output only Web Component May 17, 2024
This was referenced May 31, 2024
floehopper added a commit that referenced this pull request Jun 4, 2024
### Added

- Add `project_name_editable` attribute to web component (#1009)
- Fires custom event when the theme changes (#1015)
- Add `output_only` attribute to web component (#1019 & originally #782)
- Add `assets_identifier` attribute to web component (#1019 & originally
#901)
- Enhance `code` attribute on web component to override project main
component content (#1019 & originally #901)
- Add `runCode`, `stopCode` & `rerunCode` methods to web component
(#1019 & originally #899)
- Send error details in "editor-runCompleted" event (#1019 & originally
#915)
- Return error details to web component (#1019 & originally #915)
- Add `output_panels` attribute to web component (#1019 & originally
#909)

### Changed

- Remove unused `/embedded/projects/:identifier` route (#1013)

### Fixed

- Remove unused `REACT_APP_LOGIN_ENABLED` env var (#1006)
- Fix infinite remix loop when `BYPASS_AUTH` set in `editor-api` (#1007)
- Fixes for docker-compose.yml (#1008)
- Fix deprecation warnings in GitHub Actions (#1011)
- Removed unused `isEmbedded` param from `useProject` call in
`EmbeddedViewer` (#1016)
- Improvements to Cypress specs in CI (#1017)
- Fix warnings and verbose output when starting Webpack Dev Server
(#1018)
- Add e2e spec for project remix behaviour in web component (#1020)
- Fix initial value of `user` in `WebComponentLoader` (#1021)
- Make `authKey` in e2e web component spec more realistic (#1022)
- Remove unused `ComponentStore` (#1023)
@sra405 sra405 mentioned this pull request Aug 5, 2024
@sra405
Copy link
Contributor Author

sra405 commented Aug 21, 2024

functionality added via another PR

@sra405 sra405 closed this Aug 21, 2024
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.

3 participants