Skip to content

Commit a924f6f

Browse files
Merge pull request #46 from SpringRoll/release/3.0.0
Release/3.0.0 - Docusaurus Update
2 parents 390f3ad + 654b693 commit a924f6f

218 files changed

Lines changed: 17419 additions & 48841 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.js

Lines changed: 0 additions & 41 deletions
This file was deleted.

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# Each line is a file pattern followed by one or more owners.
33

44
# These owners will be the default owners for everything in the repo.
5-
* @902seanryan @aberkie @deycorinne
5+
* @902seanryan @deycorinne

.gitignore

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
1-
node_modules
2-
dist
3-
public/springroll-io-demo-game
4-
springroll-io-demo-game
1+
# Dependencies
2+
/node_modules
3+
4+
# Production
5+
/build
6+
7+
# Generated files
8+
.docusaurus
9+
.cache-loader
10+
static/springroll-io-demo-game
11+
12+
# Misc
13+
.DS_Store
14+
.env.local
15+
.env.development.local
16+
.env.test.local
17+
.env.production.local
18+
19+
npm-debug.log*
20+
yarn-debug.log*
21+
yarn-error.log*

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v20.9.0

.postcssrc.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

.prettierrc

Lines changed: 0 additions & 10 deletions
This file was deleted.

.tool-versions

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGELOG.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,45 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

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+
746
## [2.1.0] - 2021-03-04
847
## Added
948
- This changelog

README.MD

Lines changed: 76 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,83 @@
1-
# [Springroll.io](https://springroll.io/)
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 is the repository for the [springroll.io](https://springroll.io/) site. Due to an issue with Github's hosting practices, the source code and the built version of [springroll.io](https://springroll.io/) can't be in the same repository. To update [springroll.io](https://springroll.io/), you must push the built version of [springroll.io](https://springroll.io/) to the [deployment repository](https://github.com/SpringRoll/SpringRoll.github.io)
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-
## Commands
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.
66

7-
### serve - Runs the dev server
7+
PBS KIDS branding and a brief write-up about the team’s work on the project have been added to the homepage.
88

9-
### build - Builds site for deployment
109

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.
1112

12-
## Notes
13-
### SafeScaleManagerDemo
14-
To get this to work properly you'll have to update the path names.
15-
e.g.
16-
`src="main.js"` => `src="/SafeScaleManagerDemo/main.js"`
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.
1721

18-
You'll also have to edit main.js directly to update the path for the Springroll logo
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
56+
### Installation
57+
58+
```
59+
$ npm install
60+
```
61+
62+
### Local Development
63+
64+
```
65+
$ npm start
66+
```
67+
68+
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
69+
70+
### Build
71+
72+
```
73+
$ npm run build
74+
```
75+
76+
This command generates static content into the `build` directory and can be served using any static contents hosting service.
77+
78+
79+
### Examples
80+
81+
#### IndexedDB
82+
83+
The IndexedDB example iframe content is stored in `static/idbExample/`. It currently uses the `2.6.0` version of `SpringRoll-umd.js`.

babel.config.js

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,3 @@
11
module.exports = {
2-
'presets': [
3-
[
4-
'@vue/app',
5-
{
6-
'useBuiltIns': 'entry'
7-
}
8-
]
9-
],
10-
'plugins': [
11-
[
12-
'transform-imports',
13-
{
14-
'vuetify': {
15-
'transform': 'vuetify/es5/components/${member}',
16-
'preventFullImport': true
17-
}
18-
}
19-
]
20-
]
21-
};
2+
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
3+
};

0 commit comments

Comments
 (0)