Skip to content

Commit

Permalink
Feature/markdown preview (#12)
Browse files Browse the repository at this point in the history
* add preview scripts

* markdownit template

* backup 1

* remove cra

* add markdownpreview package

* add utils

* ignore markdown preview folder

* add ci install option

* handle unregistered componenet

* working 1

* hide jsx

* add mock data

* per Fred 1

* working paginated table

* use encodeUriComponent

* add plotly dependencies

* clean up + add basic chart

* basic charts support

* handle missing data

* backup 1 block control

* update launch config

* add layout support

* workable boolean property

* make links works with common mock file

* mock file should only be at the root of workspace

* remove comments

* remove dependencies

* add field input number

* date with no timezone + input color based on bg

* add stylekit support

* theme based on use theme

* fix stylekit value

* add file download

* add file selector

* Image

* parse data multiple formats

* refactor parseMockData

* toggle 1

* lov with image

* remove taipy base props

* remove unused props

* clean up 1

* add slider

* add indicator

* format all files

* refactor lov

* menu

* ErrorBoundary for main app

* navbar with proper selected value

* make menu work properly

* add copyright

* fix mock content parsing
  • Loading branch information
dinhlongviolin1 authored Apr 18, 2023
1 parent a3e6092 commit 98c8079
Show file tree
Hide file tree
Showing 97 changed files with 16,972 additions and 315 deletions.
8 changes: 8 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"trailingComma": "all",
"tabWidth": 4,
"printWidth": 120,
"importOrder": ["^components/(.*)$", "^[./]" ],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true
}
44 changes: 14 additions & 30 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,15 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Run Extension",
"type": "extensionHost",
"request": "launch",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
],
"outFiles": [
"${workspaceFolder}/dist/**/*.js"
],
"preLaunchTask": "${defaultBuildTask}"
},
{
"name": "Extension Tests",
"type": "extensionHost",
"request": "launch",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
],
"outFiles": [
"${workspaceFolder}/out/**/*.js",
"${workspaceFolder}/dist/**/*.js"
],
"preLaunchTask": "tasks: watch-tests"
}
]
}
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch Extension",
"preLaunchTask": "",
"request": "launch",
"type": "extensionHost",
"sourceMaps": true
}
]
}
12 changes: 0 additions & 12 deletions .vscode/settings.json

This file was deleted.

38 changes: 0 additions & 38 deletions .vscode/tasks.json

This file was deleted.

2 changes: 1 addition & 1 deletion .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ src/
tests/
tsconfig.json
webpack.config.js
webviews/
markdownPreview/
3 changes: 2 additions & 1 deletion l10n/bundle.l10n.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@
". Do you mean '{0}'?": ". Do you mean '{0}'?",
"Negated value of property '{0}' will be ignored": "Negated value of property '{0}' will be ignored",
"Function '{0}' in property '{1}' is not available": "Function '{0}' in property '{1}' is not available",
"Parse element descriptors file: ": "Parse element descriptors file: "
"Parse element descriptors file: ": "Parse element descriptors file: ",
"Parse mock data file: ": "Parse mock data file: "
}
24 changes: 24 additions & 0 deletions markdownPreview/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/semi": "warn",
"curly": "warn",
"eqeqeq": "warn",
"no-throw-literal": "warn",
"semi": "off"
},
"ignorePatterns": [
"out",
"dist",
"**/*.d.ts"
]
}
8 changes: 8 additions & 0 deletions markdownPreview/.prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"trailingComma": "all",
"tabWidth": 4,
"printWidth": 120,
"importOrder": ["^components/(.*)$", "^[./]" ],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true
}
Loading

0 comments on commit 98c8079

Please sign in to comment.