Giter Site home page Giter Site logo

sweetalert2.github.io's People

Contributors

codefrau avatar codeninja819 avatar depfu[bot] avatar fullstackprincess avatar greenkeeper[bot] avatar gverni avatar halkeye avatar imgbot[bot] avatar jakobfrey avatar julianogtz avatar limonte avatar patrickhlauke avatar renovate[bot] avatar taxpayer avatar tiagostutz avatar zenflow avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sweetalert2.github.io's Issues

An in-range update of babel7 is breaking the build 🚨

There have been updates to the babel7 monorepo:

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

This monorepo update includes releases of one or more dependencies which all belong to the babel7 group definition.

babel7 is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Idea: Pull documentation from other repos

The idea is to have the build process here pull markdown from each library repo, for the topics like #configuration and #methods which are duplicated here and (1) are updated more frequently and (2) don't have a use for js/dhtml .

This would eliminate the duplication of effort and fix a lot of the pain of the disadvantage i describe here - sweetalert2/sweetalert2#711 (comment)

We would probably want to split up our documentation into multiple .md files though.

Features and libraries for code samples

sweetalert2/sweetalert2#711 (comment)

Idea: It would be cool to use something like Codemirror for examples, but where you can execute/modify/execute the code. I absolutely <3 Semantic UI React's documentation site for this. https://react.semantic-ui.com/elements/button#button-example-labeled There are some other nifty features for the code samples there too.

All those nifty features would be nice-to-haves, but I think we really should have something that de-duplicates the code for viewing vs executing.

Anyone have a suggestion for a library to leverage for this?

Syntax highlighting for code samples is manual

Contributors have to insert html tags into the code samples manually for syntax highlighting. Some problems with this:

  1. It's very tedious and time consuming to write code samples. Besides being a huge pain, this discourages including code samples with documentation updates.
  2. Syntax highlighting is inconsistent. Very much so in some places.
  3. It's difficult to read the JS in a plaintext view (e.g. code editor, github)

Part of #1

index.html & v7.html use the same js file

We have v7.html now as of 72a2787, but no src/app-v7.js. The v7.html uses the the same js as index.html (source: src/app.js, built: dist/bundle.js).

I assume we want to be able to update the examples for newer versions. We can't currently do that without breaking the v7 page (representation/displayed code would not match executed code)

For example, the RTL example on the v7 page is completely broken because, although the displayed code is valid for v7, the executed code is only valid for v8.

I might suggest reverting 72a2787 and reopening #68 until we get a working solution.

An in-range update of @sweetalert2/stylelint-config is breaking the build 🚨

The devDependency @sweetalert2/stylelint-config was updated from 1.1.0 to 1.1.1.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

@sweetalert2/stylelint-config is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for v1.1.1

1.1.1 (2019-07-05)

Bug Fixes

  • remove unused declaration-empty-line-before rule, add more tests (b0b2956)
Commits

The new version differs by 2 commits.

  • 310910c chore(release): 1.1.1 [skip ci]
  • b0b2956 fix: remove unused declaration-empty-line-before rule, add more tests

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Static site generator?

Anyone thought about using a static site generator for this?

It might help with a few things:

  • Some (not all) content in Markdown (easier to write and review than html)
  • Automatic generation of navigation component from definition of sections/pages
  • Automatic generation of sitemap.xml from definition of sections/pages
  • Automatically add "Edit this document" on each section/page, linking to that particular file on Github
  • ...

It is kind of overwhelming how many options there are though... We can probably limit our options to those projects that are for Node.js.

Is this a good idea? If so, can anyone recommend a particular static site generator?

An in-range update of webpack is breaking the build 🚨

The devDependency webpack was updated from 4.36.0 to 4.36.1.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

webpack is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes for v4.36.1

Bugfixes

  • fix regression in 4.36.0 when using happypack
Commits

The new version differs by 3 commits.

  • 92caa5d 4.36.1
  • 4cac066 Merge pull request #9425 from webpack/bugfix/no-resolve-options
  • 1f966eb fix #9424

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Proposal for restructuring documentation page

I think that with all the new APIs and example, the documentation page is becoming quite long and heavy (and maybe confusing). Moreover I was thinking to add some more advanced usage examples, such as:

Plus maybe we can add some of the example coming from stackoverflow solutions.

If we all agree on adding these, then the documentation page may become very heavy, so we can break it into few pages, such as:

  • Getting started and basic examples
  • API and parameters documentation
  • Advanced examples

Collaborators, what do you think? I can work on a proposal if you want to see it before approving.

View documentation for earlier versions?

I use sweetalert2 in projects quite regularly. There have been several occasions where version updates cause compatibility issues and I spend hours going through each of my projects to resolve them. I believe that in many cases it makes more sense for me to keep my existing version of sweetalert2 in place. I would do this, but that is challenging due to the fact that there is no longer documentation for me to reference for that particular version.

Am I missing this somewhere? Thanks!

IE11 should be supported

By making the docs work in IE11 we will prevent users' confusions about supporting IE11 ( sweetalert2/sweetalert2#536)

Also, it's handy to quickly test docs page with IE11 and ensure everything works in it like in other browsers.

`build` script causes webpack error

If the build script is execute, this is the output:

No configuration file found and no output filename configured via CLI option.
A configuration file could be named 'webpack.config.js' in the current directory.
Use --help to display the CLI options.

An in-range update of webpack is breaking the build 🚨

The devDependency webpack was updated from 4.35.3 to 4.36.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

webpack is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes for v4.36.0

Features

  • SourceMapDevToolPlugin append option now supports the default placeholders in addition to [url]
  • Arrays in resolve and parser options (Rule and Loader API) support backreferences with "..." when overriding options.
Commits

The new version differs by 42 commits.

  • 95d21bb 4.36.0
  • aa1216c Merge pull request #9422 from webpack/feature/dot-dot-dot-merge
  • b3ec775 improve merging of resolve and parsing options
  • 53a5ae2 Merge pull request #9419 from vankop/remove-valid-jsdoc-rule
  • ab75240 Merge pull request #9413 from webpack/dependabot/npm_and_yarn/ajv-6.10.2
  • 0bdabf4 Merge pull request #9418 from webpack/dependabot/npm_and_yarn/eslint-plugin-jsdoc-15.5.2
  • f207cdc remove valid jsdoc rule in favour of eslint-plugin-jsdoc
  • 31333a6 chore(deps-dev): bump eslint-plugin-jsdoc from 15.3.9 to 15.5.2
  • 036adf0 Merge pull request #9417 from webpack/dependabot/npm_and_yarn/eslint-plugin-jest-22.8.0
  • 37d4480 Merge pull request #9411 from webpack/dependabot/npm_and_yarn/simple-git-1.121.0
  • ce2a183 chore(deps-dev): bump eslint-plugin-jest from 22.7.2 to 22.8.0
  • 0beeb7e Merge pull request #9391 from vankop/create-hash-typescript
  • bf1a24a #9391 resolve super call discussion
  • bd7d95b #9391 resolve discussions, AbstractMethodError
  • 4190638 chore(deps): bump ajv from 6.10.1 to 6.10.2

There are 42 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Improve docs about inputValidator and preConfirm

Explicitly state that inputValidator and preConfirm can be either synchronous (return a value), or asynchronous (Promises) and always resolve in case of promises.

For inputValidator the returned or resolved value can be:

  • a falsy value (undefined, null, false) for indicating success
  • a string value (error message) for indicating failure

For preConfirm the returned or resolved value can be:

  • false to prevent a popup from closing
  • anything else to pass that value as the result.value of Swal.fire()
  • undefined to keep the default result.value

Site Organization and Navigation

Currently everything is on one page, with no way to navigate to different sections. In order to find the section you're looking for, you will probably have to do a lot of scrolling and scanning. The site would be improved a lot if there was a navbar to fix this.

Seems this was the main reason for opening sweetalert2/sweetalert2#711

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.