Code Monkey home page Code Monkey logo

dialogic-js's People

Contributors

arthurclemens avatar renovate[bot] avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

dialogic-js's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • Update dependency eslint-plugin-cypress to v3

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/main.yml
  • actions/checkout v3
  • actions/setup-node v3
  • actions/cache v3
  • actions/cache v3
  • cypress-io/github-action v4
  • ubuntu 22.04
npm
package.json
  • npm-run-all ^4.1.5
  • @types/jest ^29.4.0
  • @typescript-eslint/eslint-plugin ^6.0.0
  • @typescript-eslint/parser ^6.0.0
  • cypress ^12.7.0
  • esbuild ^0.20.0
  • eslint-config-prettier 9.1.0
  • eslint-import-resolver-typescript 3.6.1
  • eslint-plugin-cypress ^2.12.1
  • eslint-plugin-import 2.29.1
  • eslint-plugin-jest-dom 5.1.0
  • eslint-plugin-json 3.1.0
  • eslint-plugin-jsx-a11y ^6.7.1
  • eslint-plugin-prettier 5.1.3
  • eslint-plugin-simple-import-sort 10.0.0
  • http-server ^14.1.1
  • prettier ^3.0.0
  • start-server-and-test ^2.0.0
  • typescript ^5.0.0

  • Check this box to trigger a request for Renovate to run again on this repository

Propagate show options to hide too

I'm taking a look on how to add primer_live to my project and one of the issues I have is with the dialog.

The initial structure from phoenix the bootstrap it opens and hide the dialog via routes, so in my project I kept that and to migrate to primer_live I didn't find any other way besides using hooks.
The hook is pretty simple

  OpenDialog: {
    mounted() {
      Prompt.show(this.el, {didHide: () => {...somethinghere...})
    }
  }

but now when dialog is closed I want the callback to be called to patch live view to another route but these options from the show are not propagated to its internal hide when clicking outside or escaping, would that be possible?

If you have any other suggestions how to do this dialog opening/closing route based, taking into account that the dialog might not be ready and some data may still need to be loaded, I'm open to change my implementation as well.

Thank you so much :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.