Skip to content

Commit c14bae5

Browse files
Merge pull request #53 from SpringRoll/main
Main to develop after 3.0.0 release
2 parents e55c7ff + 6b13ee1 commit c14bae5

File tree

4 files changed

+118
-24
lines changed

4 files changed

+118
-24
lines changed

CHANGELOG.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# Changelog
2+
All notable changes to this project will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6+
7+
## [3.0.0] - 2024-10-11
8+
## Changed
9+
- This is a complete rewrite of SpringRoll.io using the [Docusaurus](https://docusaurus.io/) framework.
10+
- The site now uses React instead of Vue, and is responsive.
11+
- All example content has been ported over. It's included as part of the `Examples` section. `Game Demo` and `Scale Manager` have also been moved to this section.
12+
- All example UI elements have been updated to follow the styles and standards of the new site. Notable updates will be outlined below.
13+
14+
#### Game Demo Changes
15+
- The game demo has had all of its packages updated.
16+
- Implemented `SafeScaleManager`.
17+
- The title screen has been updated.
18+
- Captions styling has been updated.
19+
- The demo is now displayed using SpringRoll Container instead of just using Bellhop.
20+
21+
#### Color Filter Changes
22+
- The example image is no longer stretched.
23+
24+
#### Resize Changes
25+
- This example now uses the `SafeScaleManager` instead of `ScaleManager`.
26+
27+
#### Bellhop
28+
- This example has been simplified to only demonstrate how to use Bellhop without using SpringRoll specific events.
29+
30+
#### Indexed DB
31+
- The data display table was rewritten and simplified. It was using a built-in Vue component.
32+
- The help section below the example now has a horizontal row of tabs instead of vertical.
33+
- There are new error checks for things that used to silently fail.
34+
- A few bugs were identified in the SpringRoll IDB implementation. Opening and deleting stores with incorrect version numbers can cause errors. This shouldn't affect most users under normal circumstances, but we've made a ticket to address this.
35+
36+
## Added
37+
- PBS KIDS branding and a brief write-up about the team’s work on the project have been added to the homepage.
38+
39+
## Removed
40+
- API documentation has been removed.
41+
- Captions Studio has been removed. It is now part of SpringRoll Studio.
42+
- The SpringRoll 1 section has been removed.
43+
- The GitHub wiki link to SpringRoll 1 documentation has also been removed.
44+
45+
46+
## [2.1.0] - 2021-03-04
47+
## Added
48+
- This changelog
49+
- character count for captions and warning when over 40 characters per line
50+
- caption error reporting
51+
- Safe Scale Manager demo page
52+
- Indexed DB demo page under examples/
53+
54+
## Changed
55+
- Import is changed to allow for individual files rather than whole directories
56+
- Caption output is no longer an HTML string. Changed to plain text.
57+
- JSON Preview is now editable and will reflect across the other components
58+

README.MD

Lines changed: 56 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,80 @@
1-
# Website
1+
The [docs site](http://springroll.io/) has been completely rewritten from the ground up using the [Docusaurus](https://docusaurus.io/) framework. It's a React-based static doc site generator. The layout is responsive and has a dark mode. The new documentation is designed to be more user-friendly, with improved navigation and a better reading experience.
22

3-
This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator.
3+
All of the documentation for SpringRoll and SpringRoll Container has been added to the new site. This will be where documentation for those repositories will belong.
44

5+
At the moment, the documentation is just a direct copy of those repositories. We are planning to re-organize and update the documentation to make it easier to navigate and read.
6+
7+
PBS KIDS branding and a brief write-up about the team’s work on the project have been added to the homepage.
8+
9+
10+
### Ported Content
11+
All example content has been moved over to the new docs site. It's all included as part of the `Examples` section. `Game Demo` and `Scale Manager` have also been moved to this section.
12+
13+
#### Example changes
14+
###### Game Demo
15+
- The node packages in the project have all been updated, including SpringRoll.
16+
- The demo now implements the SpringRoll `SafeScaleManager`, allowing it to scale down to fit smaller screens.
17+
- The title screen has been updated with the correct capitalization.
18+
- Captions styling has been updated to match the style used in most PBS KIDS games.
19+
- The sidebar buttons and game event indicators have been updated to match the new docs site styling and work in dark mode.
20+
- The demo is now displayed using SpringRoll Container instead of just using Bellhop.
21+
22+
23+
###### Speech Synth
24+
- The example is the same, just with styling from the docs site.
25+
26+
###### Color Filter
27+
- The example image is no longer stretched.
28+
- The rest is the same, just with the new styling.
29+
30+
###### Resize
31+
- This example now uses the `SafeScaleManager` as the original `ScaleManager` is deprecated. Code examples represent this too.
32+
- The rest is the same, just with the new styling.
33+
34+
###### Bellhop
35+
- This example has been simplified to only demonstrate how to use Bellhop without using SpringRoll specific events.
36+
37+
###### Controls
38+
- The example is the same, just with styling from the docs site.
39+
40+
###### Indexed DB
41+
- The data display table is simplified from the original version, because it was using a built in Vue component. This new table still shows everything in the data store, but is not sortable or paginated.
42+
- The help section below the example now has a horizontal row of tabs instead of vertical. This was done to keep the page responsive.
43+
- The example's colors and styling were updated to make it fit in with the new site, and to not be jarring when viewed in dark mode. The layout is also now responsive.
44+
- There are some new error checks for things like empty fields. These were throwing error logs to the console on the original.
45+
- A few bugs were identified in the SpringRoll IDB implementation. Opening and deleting stores with incorrect version numbers can cause errors. This shouldn't affect most users under normal circumstances, but we've made a ticket to address this.
46+
47+
48+
### Removed Content
49+
- API documentation has been removed. It was automatically generated from code comments, but hasn't been actively maintained or organized.
50+
- Captions Studio has been removed. It is now part of SpringRoll Studio.
51+
- The SpringRoll 1 section has been removed. It's no longer relevant as all developers should be using SpringRoll 2.
52+
- The GitHub wiki link to SpringRoll 1 documentation has also been removed.
53+
54+
---------------------
55+
## Setup and Development
556
### Installation
657

758
```
8-
$ yarn
59+
$ npm install
960
```
1061

1162
### Local Development
1263

1364
```
14-
$ yarn start
65+
$ npm start
1566
```
1667

1768
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
1869

1970
### Build
2071

2172
```
22-
$ yarn build
73+
$ npm run build
2374
```
2475

2576
This command generates static content into the `build` directory and can be served using any static contents hosting service.
2677

27-
### Deployment
28-
29-
Using SSH:
30-
31-
```
32-
$ USE_SSH=true yarn deploy
33-
```
34-
35-
Not using SSH:
36-
37-
```
38-
$ GIT_USER=<Your GitHub username> yarn deploy
39-
```
40-
41-
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
4278

4379
### Examples
4480

scripts/clone-demo-game.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ set -euo pipefail
33
IFS=$'\n\t'
44

55
# Create the folder where we'll drop the demo game contents
6-
rm -rf static/springroll-io-demo-game
7-
mkdir static/springroll-io-demo-game
6+
rm -rf build/springroll-io-demo-game
7+
mkdir -p build/springroll-io-demo-game
88

99
# Clone down the demo game
1010
rm -rf springroll-io-demo-game
1111
git clone --depth=1 https://github.com/SpringRoll/springroll-io-demo-game.git
12-
cp -R springroll-io-demo-game/docs/* static/springroll-io-demo-game
12+
cp -R springroll-io-demo-game/docs/* build/springroll-io-demo-game
1313
rm -rf springroll-io-demo-game

static/idbExample/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@
225225

226226
// Sets the text in the message line
227227
const setMessage = (message) => {
228-
messageLine.innerHTML = message;
228+
messageLine.textContent = message;
229229
}
230230

231231
// Checks if the database name field is not empty

0 commit comments

Comments
 (0)