Skip to content

Upgrade UI to version 0.2.0 #75

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

Open
wants to merge 59 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
51e5319
version 0.2.0
Jun 27, 2019
32b1fce
cleanup dependencies
Jun 27, 2019
be6d3a2
cleanup
Jun 27, 2019
66f667d
url params
Jun 27, 2019
96735df
and hide menu on request
Jun 27, 2019
de08d5d
skip boilerplate override pans patch
Jun 27, 2019
33c6730
history pushstate on pan configuration change + same size pans
Jun 28, 2019
caf064d
patch to all corner-cases of menu=false|true and layout=row|column
Jun 28, 2019
5d469bc
dynamic pan for any order of url pans
Jun 28, 2019
4753fea
create url function + debounceruncode on remount pan
Jun 28, 2019
d088124
fix [Object module] in editor when opening pan first time
Jun 28, 2019
37e496c
add local storage "boilerplate"
Jul 2, 2019
e2e226a
local storage
Jul 2, 2019
674531b
code cleanup a bit
Jul 3, 2019
0b92704
css
Jul 3, 2019
fe80500
css
Jul 10, 2019
713b6d6
fix https://github.com/egoist/codepan/issues/58
Jul 14, 2019
884c986
codefund-hide-on-error
Aug 4, 2019
3672aee
fix console and iframe
Aug 4, 2019
94324f3
fix hyperapp
Aug 4, 2019
0ff8a34
minor - do not set boilerplate to undefined
Aug 4, 2019
948cd2b
linted
Aug 4, 2019
7856217
dont reload active tab when changing layout
Aug 4, 2019
2bcc27e
add myself as collaborator
Aug 4, 2019
6d3fa3c
css smaller font + add mmissing spaces to args of console log
Aug 4, 2019
24893d3
minor css + copy vendor to dist
Aug 4, 2019
81d7afa
feat: slightly refresh this package
Dec 28, 2023
18d900e
fix start script
Dec 28, 2023
a3d4077
fix: remove build warning / add correct babelrc option
Dec 28, 2023
589a4bc
feat: change default port to null (4200)
Dec 28, 2023
b58b451
feat: cleanup
Dec 28, 2023
89d62e0
fix: vue@2 boilerplates
Jan 1, 2024
a5adb05
fix: svelte, prettier
Jan 1, 2024
2014e79
feat: better icons [x]
Jan 1, 2024
3590e29
fix: hyperapp, bundle.run url
Jan 1, 2024
1122f30
fix: update circleci
Jan 1, 2024
70fec46
fix: update circleci (really)
Jan 1, 2024
7089291
fix: tests
Jan 1, 2024
9e188b1
feat: add url
Jan 1, 2024
ec950cd
feat: bump version
Jan 1, 2024
247557c
fix: create pan corner case
Jan 2, 2024
e873f10
fix: es-import boilerplate
Jan 4, 2024
bff1560
fix: update links to gh Prozi
Jan 4, 2024
f1f5b32
feat: bump version for release
Jan 4, 2024
a7a99d6
feat: use COMMIT_HASH env if exists at build time
Jan 4, 2024
d6b9a81
feat: add exact expected peer version of offline-plugin
Jan 4, 2024
ad0c1dc
fix: v0.2.4- version text
Jan 4, 2024
4a3cec9
feat: bump deps
May 23, 2024
f9a1c20
feat: remove private
May 23, 2024
97be0f5
feat: change pkg name
May 23, 2024
0b0962e
feat: bump dependencies
Jun 15, 2024
a81f6e0
fix: circleci
Jun 15, 2024
80e173e
feat: bump deps
Prozi Aug 14, 2024
1885bc7
feat: update build script
Prozi Aug 27, 2024
29d7435
feat: detect-collisions boilerplate + fixes
Prozi Nov 10, 2024
0a0158b
chore: Update README.md
Prozi Nov 28, 2024
bd4ff1d
Merge egoist/codepan/master into master
Prozi Dec 19, 2024
79fd087
feat: bump version after egoist master merge
Prozi Dec 19, 2024
bdef28e
fix: show pans on set boilerplate
Prozi Dec 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"presets": [
[
"@babel/preset-env",
{
"loose": true,
"targets": {
"node": true
}
}
]
],
"plugins": [
["@babel/plugin-transform-class-properties", { "loose": true }],
["@babel/plugin-transform-private-methods", { "loose": true }],
["@babel/plugin-transform-private-property-in-object", { "loose": true }]
]
}
5 changes: 1 addition & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ jobs:
build:
working_directory: ~/github/codepan
docker:
- image: circleci/node:8.0.0
- image: cimg/node:lts
branches:
ignore:
- gh-pages # list of branches to ignore
Expand All @@ -19,6 +19,3 @@ jobs:
key: dependency-cache-{{ checksum "yarn.lock" }}
paths:
- ./node_modules
- run:
name: test
command: yarn test
33 changes: 31 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# CodePan

[![CircleCI](https://circleci.com/gh/egoist/codepan/tree/master.svg?style=shield&circle-token=e811a08d6464123dd65d2dcd52f62806bf9e37fc)](https://circleci.com/gh/egoist/codepan/tree/master) [![chat](https://img.shields.io/badge/chat-on%20discord-7289DA.svg?style=flat)](https://chat.egoist.moe)
[![CircleCI](https://circleci.com/gh/Prozi/codepan/tree/master.svg?style=shield)](https://circleci.com/gh/Prozi/codepan/tree/master) [![chat](https://img.shields.io/badge/chat-on%20discord-7289DA.svg?style=flat)](https://chat.egoist.moe)

Play with JS/CSS/HTML so simple it hurts, the web playground that works offline.

## Demo

https://code.pietal.dev/

## Why

> Aren't there already JSBin/CodePen/JSFiddle?
Expand All @@ -24,6 +28,31 @@ Clone this repository and install dependencies by running `yarn`, then:
- `yarn build`: Build in production mode
- `yarn lint`: Run eslint

## Set pans from the url GET parameters

You can use url GET param:

- `pans=html,css,js,console,output`

Sets types of visible open pans, any number is ok

- `layout=column|row`

Sets the desired layout of open pans

- `headless=false|true`

Doesnt show ads, menu or pan header titles

## Credits

v0.1 © [EGOIST](https://github.com/egoist)
v0.2+ © [PROZI](https://github.com/Prozi)

## License

MIT © [EGOIST](https://github.com/egoist)
MIT

## You can buy me a coffee

<https://paypal.me/jacekpietal>
5 changes: 0 additions & 5 deletions docs/add-transformer.md

This file was deleted.

3 changes: 0 additions & 3 deletions docs/embed.md

This file was deleted.

113 changes: 82 additions & 31 deletions index.ejs
Original file line number Diff line number Diff line change
@@ -1,75 +1,126 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title><%= htmlWebpackPlugin.options.title %></title>
<% if (htmlWebpackPlugin.options.description) { %>
<meta name="description" content="<%= htmlWebpackPlugin.options.description %>"/>
<meta
name="description"
content="<%= htmlWebpackPlugin.options.description %>"
/>
<% } %>

<meta property="og:url" content="<%= htmlWebpackPlugin.options.pkg.homepage %>">
<meta property="og:site_name" content="<%= htmlWebpackPlugin.options.title %>">
<meta property="og:title" content="<%= htmlWebpackPlugin.options.description %>">
<meta property="og:description" content="<%= htmlWebpackPlugin.options.pkg.details %>">
<meta property="og:image" content="<%= htmlWebpackPlugin.options.pkg.homepage + 'favicon-192.png' %>">
<meta property="og:image:type" content="image/png">
<meta
property="og:url"
content="<%= htmlWebpackPlugin.options.pkg.homepage %>"
/>
<meta
property="og:site_name"
content="<%= htmlWebpackPlugin.options.title %>"
/>
<meta
property="og:title"
content="<%= htmlWebpackPlugin.options.description %>"
/>
<meta
property="og:description"
content="<%= htmlWebpackPlugin.options.pkg.details %>"
/>
<meta
property="og:image"
content="<%= htmlWebpackPlugin.options.pkg.homepage + 'favicon-192.png' %>"
/>
<meta property="og:image:type" content="image/png" />

<!-- For old IEs -->
<link rel="shortcut icon" href="/favicon.ico" />

<!-- For new browsers - multisize ico -->
<link rel="icon" type="image/x-icon" sizes="16x16 32x32" href="/favicon.ico">
<link
rel="icon"
type="image/x-icon"
sizes="16x16 32x32"
href="/favicon.ico"
/>

<!-- For iPad with high-resolution Retina display running iOS ≥ 7: -->
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="/favicon-152.png">
<link
rel="apple-touch-icon-precomposed"
sizes="152x152"
href="/favicon-152.png"
/>

<!-- For iPad with high-resolution Retina display running iOS ≤ 6: -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/favicon-144.png">
<link
rel="apple-touch-icon-precomposed"
sizes="144x144"
href="/favicon-144.png"
/>

<!-- For iPhone with high-resolution Retina display running iOS ≥ 7: -->
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="/favicon-120.png">
<link
rel="apple-touch-icon-precomposed"
sizes="120x120"
href="/favicon-120.png"
/>

<!-- For iPhone with high-resolution Retina display running iOS ≤ 6: -->
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/favicon-114.png">
<link
rel="apple-touch-icon-precomposed"
sizes="114x114"
href="/favicon-114.png"
/>

<!-- For iPhone 6+ -->
<link rel="apple-touch-icon-precomposed" sizes="180x180" href="/favicon-180.png">
<link
rel="apple-touch-icon-precomposed"
sizes="180x180"
href="/favicon-180.png"
/>

<!-- For first- and second-generation iPad: -->
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/favicon-72.png">
<link
rel="apple-touch-icon-precomposed"
sizes="72x72"
href="/favicon-72.png"
/>

<!-- For non-Retina iPhone, iPod Touch, and Android 2.1+ devices: -->
<link rel="apple-touch-icon-precomposed" href="/favicon-57.png">
<link rel="apple-touch-icon-precomposed" href="/favicon-57.png" />

<!-- For Old Chrome -->
<link rel="icon" href="/favicon-32.png" sizes="32x32">
<link rel="icon" href="/favicon-32.png" sizes="32x32" />

<!-- For IE10 Metro -->
<meta name="msapplication-TileColor" content="#FFFFFF">
<meta name="msapplication-TileImage" content="/favicon-144.png">
<meta name="theme-color" content="#ffffff">
<meta name="msapplication-TileColor" content="#FFFFFF" />
<meta name="msapplication-TileImage" content="/favicon-144.png" />
<meta name="theme-color" content="#ffffff" />

<!-- Chrome for Android -->
<link rel="manifest" href="/manifest.json">
<link rel="icon" sizes="192x192" href="/favicon-192.png">

<link rel="manifest" href="/manifest.json" />
<link rel="icon" sizes="192x192" href="/favicon-192.png" />
</head>
<body>
<div id="app"></div>
<script>
var HW_config = {
selector: ".changelog-indicator", // CSS selector where to inject the badge
account: "ypaPgx"
}
account: "ypaPgx",
};
// Not in iframe
if (window.self === window.top) {
var headwayScript = document.createElement('script')
headwayScript.src = 'https://cdn.headwayapp.co/widget.js'
headwayScript.async = true
document.body.appendChild(headwayScript)
var headwayScript = document.createElement("script");
headwayScript.src = "https://cdn.headwayapp.co/widget.js";
headwayScript.async = true;
document.body.appendChild(headwayScript);
}
</script>
<script
data-ad-client="ca-pub-7003521480797900"
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"
></script>
</body>
</html>
Loading