Skip to content

Commit

Permalink
feat(poc): add catalyst voices remote widgets (#320)
Browse files Browse the repository at this point in the history
* feat(poc): add catalyst_voices_remote_widgets

* chore: markdown fixes

* feat: update package structure

* chore: clean up

* feat: update example

* feat: update example

* Update catalyst_core.dart

* chore: minor update

* feat: update example

* Update test.rfwtxt

* chore: update test.rfw example

* feat: update example

* feat: update catalyst_voices_remote_widgets structure, add dics

* docs: add docs

* Update README.md

* chore: fix md files

* Update README.md

* chore: format fixes

* chore: maybe fix cspell

* Update cspell.json

* Update cspell.json

* Update cspell.json

* chore: move catalyst_voices_remote_widgets to  utilities

* chore: fix warnings

* Update pubspec.yaml

* Update cspell.json

* Update cspell.json
  • Loading branch information
minikin committed Apr 3, 2024
1 parent 24cbd84 commit cd56622
Show file tree
Hide file tree
Showing 156 changed files with 5,546 additions and 12 deletions.
15 changes: 14 additions & 1 deletion .config/dictionaries/project.dic
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ afinet
androidx
appspot
Arbritrary
ARGB
asyncio
asyncpg
auditability
Expand All @@ -29,6 +30,7 @@ cryptoxide
Cunego
Cupertino
dalek
DAPPLICATION
dbsync
delegators
DIND
Expand All @@ -41,6 +43,8 @@ dreps
earthfile
Edgedriver
encryptor
endfunction
endfunction
fetchval
fmtchk
fmtfix
Expand All @@ -55,6 +59,7 @@ genhtml
gethostname
gmtime
gradlew
icudtl
ideascale
idents
integ
Expand All @@ -70,6 +75,8 @@ junitreport
Keyhash
lcov
Leshiy
libapp
libflutter
lintfix
localizable
loguru
Expand All @@ -82,6 +89,7 @@ msedgedriver
multidex
myproject
nanos
NDEBUG
netifas
netkey
nextest
Expand All @@ -107,7 +115,9 @@ pytest
rapidoc
redoc
reqwest
rfwtxt
ripgrep
RPATH
rustc
rustdoc
rustdocflags
Expand All @@ -125,6 +135,7 @@ sqlfluff
Stefano
stevenj
subosito
SYSROOT
tacho
testcov
testdocs
Expand All @@ -143,11 +154,13 @@ vkey
voteplan
voteplans
wallclock
Werror
xcassets
xcconfig
xcfilelist
xcodebuild
xcodeproj
xctest
xctestrun
xcworkspace
yoroi
yoroi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include: package:catalyst_analysis/analysis_options.1.0.0.yaml
include: package:catalyst_analysis/analysis_options.yaml

analyzer:
exclude: [
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
include: package:catalyst_analysis/analysis_options.yaml

# linter:
# rules:
# public_member_api_docs: false

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
include: package:catalyst_analysis/analysis_options.1.0.0.yaml
include: package:catalyst_analysis/analysis_options.1.0.0.yaml
3 changes: 3 additions & 0 deletions catalyst_voices_packages/catalyst_analysis/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: catalyst_analysis
version: 1.0.0
description: Lint rules for Dart and Flutter used internally at Catalyst.
repository: https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst_voices_packages/catalyst_analysis
issue_tracker: https://github.com/input-output-hk/catalyst-voices/issues
topics: [lints, analyzer, analysis]

environment:
sdk: '>=3.3.3 <4.0.0'
9 changes: 5 additions & 4 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
// "aws",
"bash",
"companies",
// "cpp",
"cpp",
"cryptocurrencies",
// "csharp",
"css",
Expand All @@ -150,7 +150,7 @@
// "haskell",
"html",
"html-symbol-entities",
// "java",
"java",
// "k8s",
// "latex",
// "lorem-ipsum",
Expand All @@ -168,7 +168,7 @@
"softwareTerms",
"sql",
// "svelte",
// "swift",
"swift",
"typescript"
// "vue",
],
Expand Down Expand Up @@ -234,6 +234,7 @@
"**/test_data/**/*.sql",
"styles.min.css",
"web-components.min.js",
"**/generated/**"
"**/generated/**",
"utilities/catalyst_voices_remote_widgets/example/**/**",
]
}
1 change: 1 addition & 0 deletions melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ packages:
- catalyst_voices/*
- catalyst_voices/packages/**
- catalyst_voices_packages/**
- utilities/*

command:
version:
Expand Down
44 changes: 44 additions & 0 deletions utilities/catalyst_voices_remote_widgets/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/
migrate_working_dir/

# IntelliJ related
*.iml
*.ipr
*.iws
.idea/

# VSCode related
.vscode/*

# Flutter/Dart/Pub related
**/doc/api/
**/ios/Flutter/.last_build_id
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.packages
.pub-cache/
.pub/
/build/
pubspec.lock

# Web related
lib/generated_plugin_registrant.dart

# Symbolication related
app.*.symbols

# Obfuscation related
app.*.map.json

# Test related
coverage
8 changes: 8 additions & 0 deletions utilities/catalyst_voices_remote_widgets/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Catalyst Voices Remote Widgets

> ‼️ This proof of concept and is not yet ready for production use.
This package provides a set of widgets that can be used to build remote data-driven UIs.

For more navigate to the
[example](/catalyst_voices/packages/catalyst_voices_remote_widgets/example/README.md)
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include: package:catalyst_analysis/analysis_options.yaml
43 changes: 43 additions & 0 deletions utilities/catalyst_voices_remote_widgets/example/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/
migrate_working_dir/

# IntelliJ related
*.iml
*.ipr
*.iws
.idea/

# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
#.vscode/

# Flutter/Dart/Pub related
**/doc/api/
**/ios/Flutter/.last_build_id
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.pub-cache/
.pub/
/build/

# Symbolication related
app.*.symbols

# Obfuscation related
app.*.map.json

# Android Studio will place build artifacts here
/android/app/debug
/android/app/profile
/android/app/release
45 changes: 45 additions & 0 deletions utilities/catalyst_voices_remote_widgets/example/.metadata
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled and should not be manually edited.

version:
revision: "ba393198430278b6595976de84fe170f553cc728"
channel: "stable"

project_type: app

# Tracks metadata for the flutter migrate command
migration:
platforms:
- platform: root
create_revision: ba393198430278b6595976de84fe170f553cc728
base_revision: ba393198430278b6595976de84fe170f553cc728
- platform: android
create_revision: ba393198430278b6595976de84fe170f553cc728
base_revision: ba393198430278b6595976de84fe170f553cc728
- platform: ios
create_revision: ba393198430278b6595976de84fe170f553cc728
base_revision: ba393198430278b6595976de84fe170f553cc728
- platform: linux
create_revision: ba393198430278b6595976de84fe170f553cc728
base_revision: ba393198430278b6595976de84fe170f553cc728
- platform: macos
create_revision: ba393198430278b6595976de84fe170f553cc728
base_revision: ba393198430278b6595976de84fe170f553cc728
- platform: web
create_revision: ba393198430278b6595976de84fe170f553cc728
base_revision: ba393198430278b6595976de84fe170f553cc728
- platform: windows
create_revision: ba393198430278b6595976de84fe170f553cc728
base_revision: ba393198430278b6595976de84fe170f553cc728

# User provided section

# List of Local paths (relative to this file) that should be
# ignored by the migrate tool.
#
# Files that are not part of the templates will be ignored by default.
unmanaged_files:
- 'lib/main.dart'
- 'ios/Runner.xcodeproj/project.pbxproj'
Loading

0 comments on commit cd56622

Please sign in to comment.