Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Replace browser-native dialogs with custom Datalab components #1212

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
Loading
from

Conversation

BenjaminCharmes
Copy link
Contributor

Closes #1180

This PR replaces all browser-native alert and confirm dialogs (window.confirm) with custom Datalab components.
Uses a DialogService that manages dialogs and displays them through Vue components

Implemented 4 different modal styles to match various use cases:

  • Error:

Screenshot 2025-05-21 at 17 45 33

  • Warning:

Screenshot 2025-05-21 at 17 45 06

  • Info:

Screenshot 2025-05-21 at 17 45 21

  • Success:

Screenshot 2025-05-21 at 17 45 12

Copy link

codecov bot commented May 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.73%. Comparing base (5568c51) to head (ed675bf).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1212   +/-   ##
=======================================
  Coverage   71.73%   71.73%           
=======================================
  Files          66       66           
  Lines        4482     4482           
=======================================
  Hits         3215     3215           
  Misses       1267     1267           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link

cypress bot commented May 21, 2025

datalab    Run #3423

Run Properties:  status check passed Passed #3423  •  git commit 1c4065d6ef ℹ️: Merge ed675bf0a7bf7b9f7a0f58f40e7d9e671fe054b7 into 5568c5171386e2b8ebb29a037885...
Project datalab
Branch Review bc/dialogs-modal
Run status status check passed Passed #3423
Run duration 09m 02s
Commit git commit 1c4065d6ef ℹ️: Merge ed675bf0a7bf7b9f7a0f58f40e7d9e671fe054b7 into 5568c5171386e2b8ebb29a037885...
Committer Ben Charmes
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 504
View all changes introduced in this branch ↗︎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace all browser-native alert/confirm dialogs with something datalab-native
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.