Skip to content

Commit bda61ad

Browse files
Remove unused files and components from JsonViewerComponent
This commit deletes the entire JsonViewerComponent solution, including all related files, components, and demo project files, to streamline the repository and remove deprecated code. #2
1 parent 378ed23 commit bda61ad

File tree

107 files changed

+9763
-3422
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+9763
-3422
lines changed

.dockerignore

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
**/.classpath
2+
**/.dockerignore
3+
**/.env
4+
**/.git
5+
**/.gitignore
6+
**/.project
7+
**/.settings
8+
**/.toolstarget
9+
**/.vs
10+
**/.vscode
11+
**/*.*proj.user
12+
**/*.dbmdl
13+
**/*.jfm
14+
**/azds.yaml
15+
**/bin
16+
**/charts
17+
**/docker-compose*
18+
**/Dockerfile*
19+
**/node_modules
20+
**/npm-debug.log
21+
**/obj
22+
**/secrets.dev.yaml
23+
**/values.dev.yaml
24+
LICENSE
25+
README.md
26+
**/.github
27+
**/.vscode
28+
**/packages
29+

.editorconfig

Lines changed: 191 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,191 @@
1+
# ⚙️ EditorConfig - استانداردهای کدنویسی برای پروژه
2+
# https://editorconfig.org
3+
4+
# فایل اصلی - جستجوی بیشتر متوقف می‌شود
5+
root = true
6+
7+
# 🌐 تنظیمات همه فایل‌ها
8+
[*]
9+
charset = utf-8
10+
end_of_line = lf
11+
insert_final_newline = true
12+
trim_trailing_whitespace = true
13+
indent_style = space
14+
15+
# 🎯 فایل‌های C# و Razor
16+
[*.{cs,razor,cshtml}]
17+
indent_size = 4
18+
tab_width = 4
19+
20+
# 📋 فایل‌های پروژه و Solution
21+
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj,sln}]
22+
indent_size = 2
23+
24+
# 📝 فایل‌های JSON و YAML
25+
[*.{json,yaml,yml}]
26+
indent_size = 2
27+
28+
# 🌐 فایل‌های Web
29+
[*.{html,css,scss,js,ts}]
30+
indent_size = 2
31+
32+
# 📄 فایل‌های Markdown
33+
[*.md]
34+
trim_trailing_whitespace = false
35+
36+
# ========================================
37+
# 🎯 قوانین کدنویسی C#
38+
# ========================================
39+
40+
[*.cs]
41+
42+
# 🔤 استایل نام‌گذاری
43+
dotnet_naming_rule.interface_should_be_begins_with_i.severity = warning
44+
dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface
45+
dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i
46+
47+
dotnet_naming_rule.types_should_be_pascal_case.severity = warning
48+
dotnet_naming_rule.types_should_be_pascal_case.symbols = types
49+
dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case
50+
51+
dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = warning
52+
dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members
53+
dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case
54+
55+
# Symbol specifications
56+
dotnet_naming_symbols.interface.applicable_kinds = interface
57+
dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
58+
dotnet_naming_symbols.interface.required_modifiers =
59+
60+
dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum
61+
dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
62+
dotnet_naming_symbols.types.required_modifiers =
63+
64+
dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method
65+
dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
66+
dotnet_naming_symbols.non_field_members.required_modifiers =
67+
68+
# Naming styles
69+
dotnet_naming_style.begins_with_i.required_prefix = I
70+
dotnet_naming_style.begins_with_i.required_suffix =
71+
dotnet_naming_style.begins_with_i.word_separator =
72+
dotnet_naming_style.begins_with_i.capitalization = pascal_case
73+
74+
dotnet_naming_style.pascal_case.required_prefix =
75+
dotnet_naming_style.pascal_case.required_suffix =
76+
dotnet_naming_style.pascal_case.word_separator =
77+
dotnet_naming_style.pascal_case.capitalization = pascal_case
78+
79+
# 🔧 تنظیمات زبان C#
80+
csharp_prefer_braces = true:warning
81+
csharp_prefer_simple_using_statement = true:suggestion
82+
csharp_style_namespace_declarations = file_scoped:warning
83+
csharp_style_prefer_method_group_conversion = true:silent
84+
csharp_style_prefer_top_level_statements = true:silent
85+
csharp_style_expression_bodied_methods = false:silent
86+
csharp_style_expression_bodied_constructors = false:silent
87+
csharp_style_expression_bodied_operators = false:silent
88+
csharp_style_expression_bodied_properties = true:silent
89+
csharp_style_expression_bodied_indexers = true:silent
90+
csharp_style_expression_bodied_accessors = true:silent
91+
csharp_style_expression_bodied_lambdas = true:silent
92+
csharp_style_expression_bodied_local_functions = false:silent
93+
94+
# 📊 تنظیمات var
95+
csharp_style_var_for_built_in_types = false:suggestion
96+
csharp_style_var_when_type_is_apparent = true:suggestion
97+
csharp_style_var_elsewhere = false:suggestion
98+
99+
# 🎯 Pattern matching
100+
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
101+
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
102+
csharp_style_prefer_not_pattern = true:suggestion
103+
csharp_style_prefer_extended_property_pattern = true:suggestion
104+
105+
# 🔤 Null-checking
106+
csharp_style_throw_expression = true:suggestion
107+
csharp_style_prefer_null_check_over_type_check = true:suggestion
108+
csharp_prefer_simple_default_expression = true:suggestion
109+
110+
# 📝 Code block preferences
111+
csharp_prefer_simple_default_expression = true:suggestion
112+
113+
# 🎨 فرمت‌بندی
114+
csharp_new_line_before_open_brace = all
115+
csharp_new_line_before_else = true
116+
csharp_new_line_before_catch = true
117+
csharp_new_line_before_finally = true
118+
csharp_new_line_before_members_in_object_initializers = true
119+
csharp_new_line_before_members_in_anonymous_types = true
120+
csharp_new_line_between_query_expression_clauses = true
121+
122+
# فاصله‌گذاری
123+
csharp_space_after_cast = false
124+
csharp_space_after_keywords_in_control_flow_statements = true
125+
csharp_space_between_method_call_parameter_list_parentheses = false
126+
csharp_space_between_method_declaration_parameter_list_parentheses = false
127+
csharp_space_between_parentheses = false
128+
csharp_space_before_colon_in_inheritance_clause = true
129+
csharp_space_after_colon_in_inheritance_clause = true
130+
csharp_space_around_binary_operators = before_and_after
131+
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
132+
csharp_space_between_method_call_name_and_opening_parenthesis = false
133+
csharp_space_between_method_call_empty_parameter_list_parentheses = false
134+
135+
# Wrapping
136+
csharp_preserve_single_line_statements = false
137+
csharp_preserve_single_line_blocks = true
138+
139+
# Using directives
140+
csharp_using_directive_placement = outside_namespace:warning
141+
dotnet_sort_system_directives_first = true
142+
dotnet_separate_import_directive_groups = false
143+
144+
# 🎯 تنظیمات .NET
145+
dotnet_style_qualification_for_field = false:suggestion
146+
dotnet_style_qualification_for_property = false:suggestion
147+
dotnet_style_qualification_for_method = false:suggestion
148+
dotnet_style_qualification_for_event = false:suggestion
149+
150+
# Language keywords vs BCL types
151+
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
152+
dotnet_style_predefined_type_for_member_access = true:suggestion
153+
154+
# Modifier preferences
155+
dotnet_style_require_accessibility_modifiers = for_non_interface_members:suggestion
156+
csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:suggestion
157+
dotnet_style_readonly_field = true:warning
158+
159+
# Expression preferences
160+
dotnet_style_object_initializer = true:suggestion
161+
dotnet_style_collection_initializer = true:suggestion
162+
dotnet_style_explicit_tuple_names = true:suggestion
163+
dotnet_style_prefer_inferred_tuple_names = true:suggestion
164+
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
165+
dotnet_style_prefer_auto_properties = true:suggestion
166+
dotnet_style_prefer_conditional_expression_over_assignment = true:silent
167+
dotnet_style_prefer_conditional_expression_over_return = true:silent
168+
dotnet_style_prefer_compound_assignment = true:suggestion
169+
170+
# Null checking
171+
dotnet_style_coalesce_expression = true:suggestion
172+
dotnet_style_null_propagation = true:suggestion
173+
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion
174+
175+
# 🔍 تحلیل کد
176+
dotnet_code_quality_unused_parameters = all:suggestion
177+
178+
# ⚠️ سطح خطاها
179+
dotnet_diagnostic.CA1031.severity = none
180+
dotnet_diagnostic.CA1303.severity = none
181+
dotnet_diagnostic.CA1848.severity = none
182+
dotnet_diagnostic.CA2007.severity = none
183+
dotnet_diagnostic.IDE0058.severity = none
184+
185+
# 🎨 IDE preferences
186+
dotnet_diagnostic.IDE0055.severity = warning
187+
dotnet_diagnostic.IDE0130.severity = none
188+
189+
# Async
190+
dotnet_diagnostic.VSTHRD200.severity = none
191+
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
labels: [idea]
2+
3+
body:
4+
- type: markdown
5+
attributes:
6+
value: |
7+
Thanks for sharing your idea! We're excited to hear your thoughts.
8+
9+
- type: textarea
10+
id: idea
11+
attributes:
12+
label: 💡 Your Idea
13+
description: Describe your idea
14+
placeholder: I think we should...
15+
validations:
16+
required: true
17+
18+
- type: textarea
19+
id: benefits
20+
attributes:
21+
label: 🎯 Benefits
22+
description: How would this benefit the community?
23+
placeholder: This would help because...
24+
25+
- type: textarea
26+
id: implementation
27+
attributes:
28+
label: 🔧 Possible Implementation
29+
description: Do you have any ideas on how this could be implemented?
30+
placeholder: We could implement this by...
31+

.github/FUNDING.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# These are supported funding model platforms
2+
3+
github: [parsapanahpoor]
4+
patreon: jsonviewerblazor
5+
open_collective: jsonviewer
6+
ko_fi: jsonviewerblazor
7+
tidelift: "nuget/JsonViewer.Blazor"
8+
custom: ["https://jsonviewer-component.com/sponsor", "https://buymeacoffee.com/parsapanahpoor"]
9+
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: 🐛 گزارش باگ
3+
about: یک باگ را گزارش کنید تا به بهبود پروژه کمک کنید
4+
title: '[BUG] '
5+
labels: bug
6+
assignees: ''
7+
---
8+
9+
## 🐛 توضیحات باگ
10+
<!-- توضیح واضح و مختصری از باگ -->
11+
12+
## 🔄 مراحل بازتولید
13+
مراحل بازتولید رفتار:
14+
1. برو به '...'
15+
2. کلیک کن روی '...'
16+
3. اسکرول کن به '...'
17+
4. خطا را ببین
18+
19+
## ✅ رفتار مورد انتظار
20+
<!-- توضیح دهید که انتظار داشتید چه اتفاقی بیفتد -->
21+
22+
## 📸 اسکرین‌شات
23+
<!-- در صورت امکان، اسکرین‌شات اضافه کنید -->
24+
25+
## 🖥️ محیط
26+
- OS: [e.g. Windows 11]
27+
- Browser: [e.g. Chrome 120]
28+
- .NET Version: [e.g. 7.0]
29+
- نسخه پروژه: [e.g. 1.0.0]
30+
31+
## 📝 اطلاعات اضافی
32+
<!-- هر اطلاعات دیگری که ممکن است مفید باشد -->
33+

0 commit comments

Comments
 (0)