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

Dev.ej/document how to open #390

Merged
merged 1 commit into from
Feb 26, 2025
Merged

Dev.ej/document how to open #390

merged 1 commit into from
Feb 26, 2025

Conversation

joanise
Copy link
Member

@joanise joanise commented Feb 26, 2025

PR Goal?

When a single-file HTML is opened from Google Drive, you see the raw HTML instead of the file.

We had discussed two solutions, which we both need:
1- fix how files get opened in Google Drive
2- have the raw HTML show instructions.

This PR implements 2.

Feedback sought?

validation of my help text

Note

When reviewing, the diff looks big because I also fixed the indentation and used .trim and .replace to de-indent the HTML. Looking at the diff with git diff -w is much nicer, highlighting just the new help text.

Priority?

before ICLDC

Tests added?

was already covered, I'm just changing the specific template strings

How to test?

Create an RAS and download the Offline HTML. Upload it to Google Drive, double click on it, and see this:

image

Confidence?

High for the implementation, medium for the specific instructions I wrote.

Version change?

maybe a patch-level bump

Copy link

semanticdiff-com bot commented Feb 26, 2025

Review changes with  SemanticDiff

Changed Files
File Status
  packages/studio-web/src/app/shared/download/download.service.ts  43% smaller

Copy link
Contributor

github-actions bot commented Feb 26, 2025

PR Preview Action v1.6.0

🚀 View preview at
https://ReadAlongs.github.io/Studio-Web/pr-preview/pr-390/

Built to branch gh-pages at 2025-02-26 21:09 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@joanise joanise requested review from roedoejet and deltork February 26, 2025 19:19
Copy link
Collaborator

@deltork deltork left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works! Thanks for handling this!

@joanise joanise force-pushed the dev.ej/document-how-to-open branch from 610ecfe to 5ff589d Compare February 26, 2025 21:06
@joanise joanise merged commit 206db87 into main Feb 26, 2025
5 checks passed
@joanise joanise deleted the dev.ej/document-how-to-open branch February 26, 2025 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants