42 Commits

Author SHA1 Message Date
Nawaz Dhandala
b10d2f458e fix(security): sanitize markdown HTML output to prevent XSS (GHSA-h5pr-pg74-99m2)
Replace inadequate <script> tag regex with proper sanitization:
- Server-side: override marked's html renderer to escape raw HTML tokens
- Client-side: sanitize preview output with DOMPurify before rendering
2026-03-19 22:16:56 +00:00
Nawaz Dhandala
305fa4a476 Refactor and enhance various components and routes in the Dashboard and MobileApp
- Improved formatting and readability in Kubernetes PodDetail and SideMenu components.
- Added service count fetching and loading/error handling in Logs, Metrics, and Traces pages.
- Updated Exception and Kubernetes routes for better readability.
- Enhanced Postgres migration scripts for KubernetesCluster and KubernetesClusterLabel.
- Minor formatting adjustments in MarkdownViewer and CriticalPath utility.
- Refactored EmptyState, MonitorSummaryView, and hooks in MobileApp for improved clarity.
- Fixed minor issues in MonitorDetailScreen and MonitorsScreen regarding status display.
2026-03-18 14:21:39 +00:00
Nawaz Dhandala
a8d1c90b33 feat: Improve Markdown blockquote styling and enhance inline code handling 2026-03-18 10:27:12 +00:00
Nawaz Dhandala
ef7ce703dd feat: Implement cluster count fetching and enhance Kubernetes monitoring UI with installation guidance 2026-03-18 09:11:20 +00:00
Nawaz Dhandala
a2ac43baab feat: Add dashboard launch configuration and enhance TelemetryDocumentation with integration method selection and improved styling 2026-03-18 08:36:22 +00:00
Nawaz Dhandala
e6861a2abe feat: Add Kubernetes documentation and mobile apps download section; update navigation and icons 2026-03-17 19:40:30 +00:00
Nawaz Dhandala
484dbabc3c fix(analytics): improve formatting and readability in input validation and error handling 2026-03-11 18:46:28 +00:00
Nawaz Dhandala
dd4effa449 feat(markdown): integrate DOMPurify for enhanced security in Mermaid diagrams 2026-03-09 18:04:01 +00:00
Nawaz Dhandala
6c5e013fb5 fix: Adjust padding in CodeBlock component for improved layout 2026-03-04 17:43:26 +00:00
Nawaz Dhandala
0ac0fd8f92 feat: Update MarkdownEditor and TextArea components for improved styling and functionality 2026-02-28 09:12:33 +00:00
Nawaz Dhandala
4f21865d6a feat: Simplify CodeBlock rendering in MarkdownViewer for cleaner code 2026-02-26 22:13:48 +00:00
Nawaz Dhandala
921f1f1f0d feat: Add copy button and language labels to code blocks in blog posts 2026-02-26 20:28:00 +00:00
Nawaz Dhandala
6dc225409d feat: Update syntax highlighting theme to VS Code dark for improved code readability 2026-02-26 20:21:59 +00:00
Nawaz Dhandala
6ffb081a02 refactor: Consolidate route imports into AllRoutes for improved organization and maintainability 2026-02-14 14:51:01 +00:00
Nawaz Dhandala
4add175070 refactor(Monitor): improve code readability by consolidating API ping parameters
refactor(Migration): update comments for clarity and maintainability
fix(MarkdownEditor): adjust code block formatting for consistency in documentation
2026-02-09 14:28:09 +00:00
Nawaz Dhandala
c4d978cc3b feat: add API and Website monitor documentation with dynamic URL placeholders 2026-02-09 14:11:02 +00:00
Nawaz Dhandala
a2cbe4e241 fix: update containerRef type to remove null from HTMLDivElement reference 2026-01-27 08:43:00 +00:00
Nawaz Dhandala
e9d5a560ff Refactor migration files and improve code formatting
- Updated migration files to enhance readability by adjusting indentation and line breaks.
- Added missing commas in the index file for migration imports.
- Improved accessibility attributes in various UI components by ensuring proper aria-labels and roles.
- Refactored key event handlers in UI components for better clarity and consistency.
- Enhanced error message handling in form components to ensure proper display and accessibility.
- Updated legacy function comments for clarity and maintainability.
2026-01-26 19:23:58 +00:00
Nawaz Dhandala
731a8e8b8f refactor(MarkdownViewer): simplify containerRef declaration in MermaidDiagram component 2026-01-26 13:40:29 +00:00
Nawaz Dhandala
7f84f5c34d feat(migrations): add episodeDescriptionTemplate to AlertGroupingRule and update OnCallDutyPolicyScheduleLayer defaults
refactor(AlertEpisodeService): change variable declaration from let to const for users

refactor(AlertGroupingEngineService): improve code readability with comments and formatting

fix(WhatsAppTemplateUtil): format long lines for better readability

refactor(MicrosoftTeamsAlertEpisodeActions): format code for consistency and readability

refactor(MicrosoftTeams): improve readability by formatting conditional statements

refactor(SlackAlertEpisodeActions): format code for better readability

refactor(AlertEpisodeMemberService.test): improve imports and formatting for clarity

refactor(AlertEpisodeService.test): enhance readability with consistent formatting

refactor(AlertGroupingEngineService.test): improve code readability and formatting

refactor(MarkdownViewer): format imports and improve readability

refactor(BaseModelTable): format helpContent type definition for clarity

refactor(OrderedStatesList): format JSX for better readability

fix(AlertEpisodeDocs): format descriptions for consistency

fix(AlertGroupingRules): format helpContent description for clarity

fix(UserSettingsRoutes): format route path for better readability

fix(ResolveInactiveEpisodes): format conditional statements for clarity

fix(SendCreatedResourceNotification): format code for better readability

fix(SendNotePostedNotification): format code for consistency

fix(SendStateChangeNotification): format code for better readability
2026-01-24 11:50:16 +00:00
Nawaz Dhandala
c7cb3b3b20 feat: Enhance MarkdownViewer to handle Mermaid diagrams without additional wrappers 2026-01-23 20:22:53 +00:00
Nawaz Dhandala
978998b3f8 feat: Enhance Mermaid diagram styling in MarkdownViewer component 2026-01-23 20:21:10 +00:00
Nawaz Dhandala
90cd819b0a feat: Add Mermaid diagram support to MarkdownViewer and integrate documentation in AlertGroupingRules 2026-01-23 19:23:47 +00:00
Nawaz Dhandala
bdc40bcd59 fix: replace em dashes with hyphens in various files for consistency
- Updated error messages in errors.ejs to use hyphens instead of em dashes.
- Modified meta description in index.ejs files to use hyphens.
- Adjusted WhatsApp setup instructions in Index.tsx to replace em dashes with hyphens.
- Changed footer description in footer.ejs to use hyphens.
- Updated various markdown and HTML files to replace em dashes with hyphens for uniformity.
2025-12-19 15:39:29 +00:00
Nawaz Dhandala
7f6e905c74 refactor(markdown-viewer): reduce padding for pre and syntax highlighter code blocks 2025-10-23 21:04:33 +01:00
Nawaz Dhandala
27e9c07c57 fix: remove padding from MarkdownViewer component 2025-10-15 15:57:45 +01:00
Nawaz Dhandala
fc46a81eb8 refactor: Improve code readability and consistency in various components 2025-09-15 12:41:12 +01:00
Simon Larsen
3938637b84 feat: Enhance MarkdownViewer styling and improve preformatted code handling 2025-09-10 20:08:30 +01:00
Simon Larsen
63e1266e2b feat: Improve MarkdownViewer styling with enhanced Tailwind CSS classes for better readability and aesthetics 2025-09-10 19:09:53 +01:00
Nawaz Dhandala
6084e15f20 refactor: Enhance type annotations in MarkdownEditor and tests for improved type safety 2025-09-09 12:12:55 +01:00
Nawaz Dhandala
20ce8a8c74 refactor: Clean up MarkdownEditor and FormField code for improved readability and consistency 2025-09-09 11:45:00 +01:00
Simon Larsen
39200249d1 feat: Update spell check handling in MarkdownEditor and tests for improved functionality 2025-09-09 11:38:58 +01:00
Simon Larsen
4184894f27 feat: Refactor MarkdownEditor toolbar layout for improved organization and readability 2025-09-09 11:12:40 +01:00
Simon Larsen
a7a00dc0fa feat: Add dataTestId prop to MarkdownEditor and FormField for improved testing 2025-09-09 10:58:06 +01:00
Simon Larsen
9340f69789 feat: Add additional toolbar buttons and formatting options in MarkdownEditor 2025-09-09 10:35:10 +01:00
Simon Larsen
ba33bc0c23 feat: Enhance MarkdownEditor with improved heading handling and toolbar buttons 2025-09-09 10:27:41 +01:00
Simon Larsen
b8cac60c6e feat: Enhance Markdown preview with improved code block handling and styling 2025-09-09 09:59:32 +01:00
Simon Larsen
3a5d5253d0 feat: Enhance MarkdownEditor with toolbar buttons and preview functionality 2025-09-09 09:53:44 +01:00
Nawaz Dhandala
694215df06 refactor: Improve code formatting for better readability in multiple files 2025-08-26 11:40:01 +01:00
Nawaz Dhandala
3109006828 refactor: Replace regex literals with RegExp constructor for improved clarity in MarkdownViewer and StringUtils 2025-08-26 11:38:08 +01:00
Simon Larsen
a2be299583 feat: add disableSpellCheck prop to MarkdownEditor, CodeEditor, and FormField components with corresponding tests 2025-06-13 11:02:39 +00:00
Simon Larsen
63202cc51f refactor: Update import statements for UserProfile component to use FileUtil.getFileRoute instead of FileUtil.getFileURL 2024-08-07 13:30:33 -06:00