Skip to content

Issue/#58 implement fsd folder sctructure #70

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

Merged
merged 73 commits into from
Nov 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
6219b95
seed fsd structure
Kreezag Oct 28, 2023
4b29b41
move icon-svg to fsd structure
Kreezag Oct 28, 2023
8cc4199
use composition api for icon-svg
Kreezag Oct 28, 2023
f573e6e
move code-snippet component to fsd structure
Kreezag Oct 28, 2023
50d1030
use composition-api for code-snippet
Kreezag Oct 28, 2023
e0f714c
move table components to fsd structure
Kreezag Oct 28, 2023
63c83cd
update filestructure for render-graph
Kreezag Oct 28, 2023
c8aebfe
move utils-formats to new structure
Kreezag Oct 28, 2023
5bd45c2
remove unnecessary file
Kreezag Oct 28, 2023
19ec35f
move cytoscape types from utils
Kreezag Oct 28, 2023
b6b9006
move statboard to new file structure
Kreezag Oct 28, 2023
2238d42
fix render-graph component visibility
Kreezag Oct 28, 2023
3e37a06
update profiler mock import
Kreezag Oct 28, 2023
27c48d1
update import for html code mock
Kreezag Oct 28, 2023
0be76aa
move monolog mocks to new structure
Kreezag Oct 28, 2023
6b4a28d
move inspector mock to new structure
Kreezag Oct 28, 2023
63f01ad
move smtp mocks to new structure
Kreezag Oct 28, 2023
7ef94ed
move http-dump mocks to new structure
Kreezag Oct 28, 2023
8da85b5
move sentry mocks to new file structure
Kreezag Oct 28, 2023
34f14a1
move var-dump mocks to the new structure
Kreezag Oct 28, 2023
2f3a7c6
move ray mocks to new structure
Kreezag Oct 28, 2023
33ca55b
update normalize-profiler-events usage for new structure
Kreezag Oct 28, 2023
826ea57
move page-header to new file structure
Kreezag Oct 31, 2023
fae67c4
move sorting-wrapper to new folder structure
Kreezag Oct 31, 2023
96c34ff
move common constants to new structure
Kreezag Oct 31, 2023
d683a26
add normalized-profiler type
Kreezag Nov 4, 2023
b4b5aef
move normalize-var-dump-event to new structure
Kreezag Nov 4, 2023
a8eadbb
move value-dump to new folder structure
Kreezag Nov 4, 2023
c2fff06
move preview card to new structure
Kreezag Nov 4, 2023
d4a9e1a
move var-dump preview to new structure
Kreezag Nov 4, 2023
ba90456
move stat-board to shared ui
Kreezag Nov 4, 2023
756d736
move monolog preview card to new structure
Kreezag Nov 4, 2023
371221d
fix types in preview-card props
Kreezag Nov 4, 2023
3655b5f
fix import error
Kreezag Nov 4, 2023
2ecdc0a
fix type error of normalizeMonologEvent
Kreezag Nov 4, 2023
ae4aba0
move prefiler preview card to new structure
Kreezag Nov 4, 2023
b5e470f
fix import warnings
Kreezag Nov 4, 2023
c9867f1
remove unnecessary type from profiler entity
Kreezag Nov 4, 2023
f8960f9
move sentry preview card to new structure
Kreezag Nov 4, 2023
43bec6a
move normalize-smtp and preview-card to new structure
Kreezag Nov 4, 2023
bb61caf
move attacnment component to new structure
Kreezag Nov 4, 2023
edd570e
move inspector-preview and normalizer to new file structure
Kreezag Nov 4, 2023
c6cc708
move http-dump entity to new structure
Kreezag Nov 6, 2023
088bfdb
move event mapper to new file structure
Kreezag Nov 6, 2023
3ff66f7
fix preview-card optimisation
Kreezag Nov 6, 2023
63136ed
move sentry page to the new structure
Kreezag Nov 10, 2023
053f7e6
fix eslint and typescript warnings
Kreezag Nov 11, 2023
5d62682
install official sentry types
Kreezag Nov 11, 2023
627ebf2
add typecheck command script
Kreezag Nov 11, 2023
1cb5e3e
update sentry page
Kreezag Nov 13, 2023
78c5040
move profiler page to new structure
Kreezag Nov 13, 2023
4e06faf
move cytoscape lib to features
Kreezag Nov 13, 2023
7caf10f
move flame-graph component to new structure
Kreezag Nov 13, 2023
4d80ec2
implement master changes
Kreezag Nov 13, 2023
fe5ddc3
apply main changes
Kreezag Nov 18, 2023
51a5e86
remove eslint check json files on pre-commit
Kreezag Nov 18, 2023
5c91665
fix cytoscape types
Kreezag Nov 18, 2023
5d2481e
move http-dump-page to new structure
Kreezag Nov 18, 2023
cfc5945
move default preview card to new structure
Kreezag Nov 18, 2023
03da9f5
fix storybook file name for http-dump-page
Kreezag Nov 18, 2023
b4ba3f9
move home-placeholder to new structure
Kreezag Nov 18, 2023
b001d93
move sidebar to new file structure
Kreezag Nov 18, 2023
59fc98a
move inspector events to new structure
Kreezag Nov 19, 2023
7a487eb
move normalize-unknown-event to shared lib
Kreezag Nov 19, 2023
c377829
move smtp page to new structure
Kreezag Nov 19, 2023
9d93cc5
create folders to normalize-events composable functions
Kreezag Nov 19, 2023
f15b04d
move normalize-ray-events to new structure
Kreezag Nov 19, 2023
4027671
move ray events to new file structure
Kreezag Nov 19, 2023
44acd7a
update stories names
Kreezag Nov 19, 2023
e51a34f
fix type errors
Kreezag Nov 19, 2023
6756e4b
move libs to new structure
Kreezag Nov 19, 2023
4959a6e
polishing
Kreezag Nov 19, 2023
a5d0b58
actualize branch
Kreezag Nov 19, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
25 changes: 18 additions & 7 deletions .eslintrc → .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,19 @@
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/eslint-recommended",
"prettier",
"plugin:nuxt/recommended"
"plugin:nuxt/recommended",
"plugin:@conarti/feature-sliced/recommended"
],
"parser": "vue-eslint-parser",
"plugins": ["@typescript-eslint"],
"root": true,
"ignorePatterns": ["package.json", "postcss.config.js","tailwind.config.js", "vendor/"],
"ignorePatterns": [
"package.json",
"postcss.config.js",
"tailwind.config.js",
"src/shared/lib/vendor/",
"src/.eslintrc.json"
],
"parserOptions": {
"project": "./tsconfig.json",
"extraFileExtensions": [".vue"],
Expand All @@ -24,10 +31,14 @@
},
"rules": {
"import/prefer-default-export": "off",
"no-console": ["error", { "allow": ["info","warn", "error"] }],
"vue/component-name-in-template-casing": ["error", "PascalCase", {
"registeredComponentsOnly": true,
"ignores": []
}]
"no-console": ["error", { "allow": ["info", "warn", "error"] }],
"vue/component-name-in-template-casing": [
"error",
"PascalCase",
{
"registeredComponentsOnly": true,
"ignores": []
}
]
}
}
3 changes: 2 additions & 1 deletion .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module.exports = {
"../components/**/*.stories.@(js|jsx|ts|tsx)",
"../layouts/**/*.stories.@(js|jsx|ts|tsx)",
"../pages/**/*.stories.@(js|jsx|ts|tsx)",
"../src/**/**/**/*.stories.@(js|jsx|ts|tsx)",
],
addons: [
"@storybook/addon-links",
Expand Down Expand Up @@ -67,7 +68,7 @@ module.exports = {
};
},
env: (config) => {
const iconComponentFolder = path.resolve(__dirname, '../components/IconSvg');
const iconComponentFolder = path.resolve(__dirname, '../src/shared/ui/icon-svg/icon-svg-originals');
const allIconNamesList = !fs.existsSync(iconComponentFolder)
? []
: fs
Expand Down
2 changes: 1 addition & 1 deletion .storybook/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {addParameters, app} from '@storybook/vue3';
import "../assets/index.css";
import "../assets/index";
import "./stories.css"
import SfdumpWrap from "../vendor/dumper";
import SfdumpWrap from "~/src/shared/lib/vendor/dumper";

addParameters({
actions: {argTypesRegex: "^on[A-Z].*"},
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@

Welcome to the official repository for the Buggregator Frontend Single Page Application (SPA), a crucial component of the Buggregator. This repository focuses exclusively on the frontend aspect of Buggregator, developed using Nuxt.js framework and enriched with Storybook for an enhanced component-driven development experience.


## Overview
Buggregator is a comprehensive, lightweight server designed for debugging applications written on PHP, JS, etc. This repository is tailored to work seamlessly with the Buggregator server, providing a user-friendly interface and interactive features that make debugging more efficient and less cumbersome.

Buggregator is a comprehensive, lightweight server designed for debugging applications written on PHP, JS, etc. This repository is tailored to work seamlessly with the Buggregator server, providing a user-friendly interface and interactive features that make debugging more efficient and less cumbersome.

## Contribution

Contributions to the Buggregator Frontend SPA are always welcome. Whether it's fixing bugs, improving documentation, or suggesting new features, your input is valuable. Please read our contribution guidelines before submitting your pull request.

## Support

If you encounter any issues or have questions, feel free to open an issue in this repository. For more detailed discussions or support, join our community on [Discord](https://discord.gg/FTpBM7xU).
4 changes: 0 additions & 4 deletions assets/vue3-tabs-component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,3 @@
.tabs-component-panel {

}

.preview-tab-badge {
@apply bg-red-800 ml-2 text-2xs px-2 py-1 rounded text-white uppercase;
}
91 changes: 0 additions & 91 deletions components/CodeSnippet/CodeSnippet.vue

This file was deleted.

31 changes: 0 additions & 31 deletions components/EventTable/EventTable.stories.ts

This file was deleted.

24 changes: 0 additions & 24 deletions components/EventTableRow/EventTableRow.stories.ts

This file was deleted.

48 changes: 0 additions & 48 deletions components/EventTableRow/EventTableRow.vue

This file was deleted.

30 changes: 0 additions & 30 deletions components/FileView/FileView.stories.ts

This file was deleted.

Loading