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

Add Tokamak DevTools extension for Chrome #255

Draft
wants to merge 25 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
cdc452b
Add dark styles for most elements
carson-katri Aug 3, 2020
abc59f0
Style fixes for NavigationLink, DisclosureGroup, Button, TextField, P…
carson-katri Aug 3, 2020
4b05fd8
Merge branch main
carson-katri Aug 3, 2020
cb63594
Add _NavigationLinkStyle for sidebar lists
carson-katri Aug 3, 2020
c0a5806
Fix segmented Text
carson-katri Aug 3, 2020
fff9909
Fix linter and layout issues
carson-katri Aug 4, 2020
fd57bf3
Move flexible frame check to TokamakCore
carson-katri Aug 4, 2020
aae1686
Merge branch 'main'
carson-katri Aug 4, 2020
ccd2035
Fix Sidebar section headers to match macOS
carson-katri Aug 4, 2020
208c260
Fix List
carson-katri Aug 4, 2020
9c94361
Fix macOS build
carson-katri Aug 4, 2020
bbcd1fb
Add constant colors
carson-katri Aug 4, 2020
7ab7178
Add class for NavigationView and content
carson-katri Aug 4, 2020
04d91aa
Reduce `attributes` function line length in `Text`
MaxDesiatov Aug 5, 2020
73fcb4a
Make buttons always light mode
carson-katri Aug 5, 2020
efdca3a
Merge branch 'dark-mode' of https://github.com/swiftwasm/Tokamak into…
carson-katri Aug 5, 2020
487543d
Merge branch 'main' of github.com:swiftwasm/Tokamak into dark-mode
MaxDesiatov Aug 5, 2020
bc5470d
Add ViewTree, onHover modifier, and various other debug changes
carson-katri Aug 7, 2020
365e0c7
Merge branch 'main' of https://github.com/swiftwasm/Tokamak into dark…
carson-katri Aug 10, 2020
94510a0
Fix Button on Safari
carson-katri Aug 10, 2020
06536f6
Add license to BuiltinColors.swift
carson-katri Aug 10, 2020
b5acc16
Fix DOMRef when used with Button
carson-katri Aug 10, 2020
488f9f2
Merge dark-mode
carson-katri Aug 10, 2020
086ae30
Add Chrome extension
carson-katri Aug 10, 2020
cca9150
Fix packages
carson-katri Aug 10, 2020
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
119 changes: 119 additions & 0 deletions DevTools/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
# WASM
src/main.wasm

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)
web_modules/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next
out

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
7 changes: 7 additions & 0 deletions DevTools/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
ALL:
cd src/TokamakDevTools && ~/.carton/sdk/wasm-5.3-SNAPSHOT-2020-07-27-a/usr/bin/swift build --triple wasm32-unknown-wasi
cp src/TokamakDevTools/.build/debug/TokamakDevTools src/main.wasm

rebuild:
cd src/TokamakDevTools && ~/.carton/sdk/wasm-5.3-SNAPSHOT-2020-07-27-a/usr/bin/swift build --triple wasm32-unknown-wasi
cp src/TokamakDevTools/.build/debug/TokamakDevTools build/main.wasm
Loading