profile
viewpoint
Dave Lunny himynameisdave @fossas Vancouver, Canada himynameisdave.com JavaScript/UI developer not afraid to use emojis in commit messages 😎

cliffrowley/atom-circle-ci 12

Atom.io package that shows the Circle CI build status in the status bar

himynameisdave/eggs-genny 4

Dumb name, great yeoman-generator.

himynameisdave/browser-event-utils 2

🎟 A collection of higher-order functions for invoking common browser event methods.

himynameisdave/create-7geese-component 2

💎A CLI for creating new 7Geese components

himynameisdave/dmoney-serverless-boilerplate 2

🗺️ My personal template/boilerplate for starting Serverless projects.

himynameisdave/dotfiles 2

📑 Personal dotfiles of Dave Lunny

himynameisdave/generator-gulpfile-modules 2

Yeoman generator for creating modularized Gulpfiles

himynameisdave/7geese-cli 1

🚦Check-in to your objectives from the command line!

himynameisdave/eslint-config-himynameisdave 1

🗒️ An opinionated eslint config by and for himynameisdave

himynameisdave/generator-quando 1

Spits out a rag-tag webpack+react+heroku-ready app. Really crummy.

starteddaveearley/screenshot.rocks

started time in a day

issue commenthimynameisdave/svelte-frappe-charts

How can I set container for frappe charts

Currently consumers of this component have no real way to customize the charts container.

However, you can get a reference to the Chart element itself by adding a bind:this to this component:

<script>
  // ...

  let chartRef;
</script>

<Chart data={data} type="line" bind:this={chartRef} />

This may allow you to set the width of that element (but I have not tested this). If not, another solution that I would like to explore is to encapsulate this component in a use: directive, which would allow the consumer full control of the element the chart is mounted to.

daiqe

comment created time in 2 days

issue commentfrappe/charts

'Chart is not a constructor' when importing as ES6 module

@scmmishra that's great news, thank you!

jankospankos

comment created time in 9 days

startedxat/castnow

started time in 9 days

issue commentfrappe/charts

'Chart is not a constructor' when importing as ES6 module

@scmmishra in the next major version, will there just be a hybrid import which combines ESM/CommonJS (like most NPM packages), so that users can just do:

// In ESM environments:
import { Chart } from 'frappe-charts';

// In CJS environments:
const { Chart } = require('frappe-charts');

This would be great, so that developers don't need to worry about digging into the /dist/ folder to find the file that they need.

jankospankos

comment created time in 10 days

release himynameisdave/svelte-copyright

v1.1.0

released time in 12 days

push eventhimynameisdave/svelte-copyright

himynameisdave

commit sha 4f4d03cb3999462ddd1a0baf5d1b27ea8e03fbb3

📦 Bump packages, add svelte as a peerDep

view details

himynameisdave

commit sha 681405ac56c28351b9df5a1d949cb9c4845b012f

🚚 Move static string literals to constants

view details

himynameisdave

commit sha 4ea6962fa694af2c7b439780fd667c92e6e781f8

🏔 Add support for date ranges Closes #1

view details

himynameisdave

commit sha 20802f66972a0653418638434f388f0d5f1fb9d7

‼️ Update .npmignore

view details

himynameisdave

commit sha 41a2240aeb823d41c19a2702dbf24d1b1f2e15a9

1.1.0

view details

push time in 12 days

issue closedhimynameisdave/svelte-copyright

Add support for date ranges

Would be nice if this component supported date ranges.

So for example the date prop could be an array with two dates, and display the years like:

© Copyright 2012-2020 Dave Lunny

closed time in 12 days

himynameisdave

created taghimynameisdave/svelte-copyright

tagv1.1.0

© A Svelte component to format and display a copyright notice.

created time in 12 days

startedvladocar/Basic.css

started time in 12 days

startedwelldone-software/why-did-you-render

started time in 13 days

issue openedhimynameisdave/browser-event-utils

Uncaught TypeError: Illegal invocation

Describe the bug

When using withPreventDefault in a standard/template Rollup + Svelte project, I get the following error: Uncaught TypeError: Illegal invocation

It seems to be pointing to this line in callIfExists, which the compiler spits out as this:

return (_a = event === null || event === void 0 ? void 0 : event[method]) === null || _a === void 0 ? void 0 : _a();

Where invoking _a() seems to be causing the bug.

To Reproduce Steps to reproduce the behavior:

  1. Clone the svelte template repo.
  2. yarn add browser-event-utils@next
  3. Wrap an event handler with withPreventDefault:
<script>
  import { withPreventDefault } from 'browser-event-utils';

  const handleDrop = withPreventDefault(() => { //... });
</script>

<div on:drop={handleDrop}>
  Drop here!
</div>
  1. Invoke the event, you should see the error.

Expected behavior

It should just call the expected method, no errors.

Versions (please complete the following information):

  • browser-event-utils Version: [eg: v3.0.0-beta.5]
  • Browser & Version: Google Chrome 83.0.4103.106
  • Framework version (if applicable) [eg: svelte@3.23.2]
  • (Optionally) NodeJS Version: v12.16.3

Additional context or comments Add any other context about the problem here.

created time in 14 days

startedwellyshen/use-web-animations

started time in 14 days

issue openedhimynameisdave/browser-event-utils

Add withTargetFiles

Add a util for withTargetFiles to extract event.target.files.

created time in 16 days

startedplausible/analytics

started time in 17 days

issue commentplausible/analytics

Support client-side routing (for SPAs)

Hey just wanted to note that I was the original poster of this issue on the roadmap, and I'd be happy to provide any additional details about my routing setup if that helps us debug this.

Thanks!

metmarkosaric

comment created time in 17 days

push eventhimynameisdave/downpayment

himynameisdave

commit sha 9459a28663abed6c64629de876cc08a037263d00

🏷 Fix bucket row description text

view details

push time in 19 days

release himynameisdave/browser-event-utils

v3.0.0-beta.5

released time in 19 days

created taghimynameisdave/browser-event-utils

tagv3.0.0-beta.5

🎟 A collection of higher-order functions for invoking common browser event methods.

created time in 19 days

push eventhimynameisdave/browser-event-utils

himynameisdave

commit sha d07402373ed3cfda70262dd1e147a5452e913f25

3.0.0-beta.5

view details

push time in 19 days

push eventhimynameisdave/browser-event-utils

himynameisdave

commit sha 195d4ec8cd3f9aff4da3d0067c185e99878d5b9f

📉 Update plausible script Points to custom subdomain now

view details

push time in 19 days

push eventhimynameisdave/browser-event-utils

himynameisdave

commit sha 681ff1035c698277c5b59a1ed2eea78a2a410b31

📈 Add Plausible to the docs

view details

push time in 19 days

push eventhimynameisdave/browser-event-utils

himynameisdave

commit sha c57081d61c4f7c5fee80ce78f4060ffa91518fa1

📈 Add Plausible to docs site

view details

push time in 19 days

push eventhimynameisdave/browser-event-utils

himynameisdave

commit sha 5ece23f121369e15229a80447688071d86fc8af9

💪 Add additional smoke tests Ensure that nothing falls over when you pass bad values. This improve test coverage. Closes #25

view details

push time in 19 days

issue closedhimynameisdave/browser-event-utils

Increase test coverage

In the 80%+ range is nice, but 100% would give consumers more confidence in this package.

closed time in 19 days

himynameisdave

push eventhimynameisdave/browser-event-utils

himynameisdave

commit sha d602cee9c34d220e2e32861adec324e79aee58bf

🧨 Initial withSelectOnFocus implementation

view details

himynameisdave

commit sha 78fc314871daddc696f8086d09ecb78cba222814

🔬 Add tests for withSelectOnFocus

view details

himynameisdave

commit sha 2e6f81258ca5d93f97a66f1c97aa66eb9320d54f

📚Add documentation for withSelectOnFocus

view details

Dave Lunny

commit sha a8fc742fb582a5765550eb7e8fe888f1729b4099

Merge pull request #34 from himynameisdave/issues/31 Adds withSelectOnFocus

view details

push time in 19 days

PR merged himynameisdave/browser-event-utils

Adds withSelectOnFocus

Adds a withSelectOnFocus method, which calls event.target.select (if it exists).

Closes #31

+96 -4

0 comment

5 changed files

himynameisdave

pr closed time in 19 days

issue closedhimynameisdave/browser-event-utils

Add withSelectOnFocus

withSelectOnFocus would attempt to call event.target.select() if it exists. The idea is that this would be passed to onFocus and could be used to create focus-and-select style inputfields.

closed time in 19 days

himynameisdave

PR opened himynameisdave/browser-event-utils

Adds withSelectOnFocus

Adds a withSelectOnFocus method, which calls event.target.select (if it exists).

Closes #31

+96 -4

0 comment

5 changed files

pr created time in 19 days

create barnchhimynameisdave/browser-event-utils

branch : issues/31

created branch time in 19 days

issue commenthimynameisdave/svelte-frappe-charts

Using Sapper: <Chart> is not a valid SSR component

@spsaucier-bakkt thanks for reporting. You shouldn't need a hacky workaround like installing to dev dependencies to get this working (although I think the command for that is yarn add -D svelte-frappe-charts, not sure if that's what you meant).

I personally have not used this package in a SSR app, so any additional details about your build setup which you could post would be awesome (a sample repo would be even better).

Perhaps related: https://github.com/sveltejs/sapper/issues/774

spsaucier-bakkt

comment created time in 19 days

delete branch himynameisdave/browser-event-utils

delete branch : issues/29

delete time in 19 days

push eventhimynameisdave/browser-event-utils

himynameisdave

commit sha fcce255953d877089ac47c63644a99fa706d78b9

🔢 Add withNumericTargetValue Also slight edit to withTargetValue for readability

view details

himynameisdave

commit sha 8c93414c49bb9bd398d8c9fbb547cf7bde45ad96

🔬 Add tests for withNumericTargetValue Also rename a misnamed test (no .spec.)

view details

himynameisdave

commit sha 6f69d821b10fefe3761fbddcf955800546fc76da

📖 Adds documentation for withNumericTargetValue

view details

himynameisdave

commit sha c6d90d8cc60ca6b6965edd6fafc0b01002448da2

Merge branch 'master' into issues/29

view details

Dave Lunny

commit sha 63170da9a90da7e83cc30552b5b8f72e1e7a4553

Merge pull request #33 from himynameisdave/issues/29 Add withNumericTargetValue Closes #29

view details

push time in 19 days

PR merged himynameisdave/browser-event-utils

Add withNumericTargetValue

Adds a withNumericTargetValue util.

Closes #29

+96 -4

0 comment

6 changed files

himynameisdave

pr closed time in 19 days

issue closedhimynameisdave/browser-event-utils

Add withNumericTargetValue

Sometimes you want event.target.value to be a number. Unfortunately the browser always casts it to a string (even for numeric inputs) -- see example. Would be nice to have a helper which casts it to a number for you 👍

closed time in 19 days

himynameisdave

push eventhimynameisdave/browser-event-utils

himynameisdave

commit sha fba68107335c08f3b9ed732388c2eeb8e2f72d7c

📦 Bump some build-related utils

view details

himynameisdave

commit sha 04c9978cb4a6a857e7ab65a00b13e47a0ce5e361

🧼 Bumps eslint packages & fixes issues Moves to eslint@7.x via eslint-config-himynameisdave@3.x

view details

himynameisdave

commit sha ad24c88c4da7775ab39f87656ee9d84c23c3ef8d

🐶 Add husky for pre-commit linting + unit testing Closes #32

view details

himynameisdave

commit sha 86c24c15b4cd7da7096abe4be36cd6dbc4796697

📑 Add .github documents Closes #27

view details

Dave Lunny

commit sha 5b4222d78fdb10d3ce4a30b310e756aba4b13259

🔹 Fix file extension on MIGRATION_GUIDE ".MD" => ".md"

view details

himynameisdave

commit sha c6d90d8cc60ca6b6965edd6fafc0b01002448da2

Merge branch 'master' into issues/29

view details

push time in 19 days

push eventhimynameisdave/browser-event-utils

Dave Lunny

commit sha 5b4222d78fdb10d3ce4a30b310e756aba4b13259

🔹 Fix file extension on MIGRATION_GUIDE ".MD" => ".md"

view details

push time in 19 days

push eventhimynameisdave/browser-event-utils

himynameisdave

commit sha 86c24c15b4cd7da7096abe4be36cd6dbc4796697

📑 Add .github documents Closes #27

view details

push time in 19 days

issue closedhimynameisdave/browser-event-utils

Add .github folder/contributing guide

See here.

Should include:

  • [x] Issue/PR templates
  • [x] Contributing guide
  • [ ] Changelog/migration guide

closed time in 19 days

himynameisdave

push eventhimynameisdave/browser-event-utils

himynameisdave

commit sha fba68107335c08f3b9ed732388c2eeb8e2f72d7c

📦 Bump some build-related utils

view details

himynameisdave

commit sha 04c9978cb4a6a857e7ab65a00b13e47a0ce5e361

🧼 Bumps eslint packages & fixes issues Moves to eslint@7.x via eslint-config-himynameisdave@3.x

view details

himynameisdave

commit sha ad24c88c4da7775ab39f87656ee9d84c23c3ef8d

🐶 Add husky for pre-commit linting + unit testing Closes #32

view details

push time in 19 days

issue closedhimynameisdave/browser-event-utils

Add husky pre-commit

Run the linter and tests on commit, with husky + lint-staged

closed time in 19 days

himynameisdave

created taghimynameisdave/eslint-config-himynameisdave

tagv3.0.0-rc3

🗒️ An opinionated eslint config by and for himynameisdave

created time in 19 days

release himynameisdave/eslint-config-himynameisdave

v3.0.0-rc3

released time in 19 days

PR opened himynameisdave/browser-event-utils

Add withNumericTargetValue

Adds a withNumericTargetValue util.

Closes #29

+98 -4

0 comment

6 changed files

pr created time in 19 days

push eventhimynameisdave/browser-event-utils

himynameisdave

commit sha 6f69d821b10fefe3761fbddcf955800546fc76da

📖 Adds documentation for withNumericTargetValue

view details

push time in 19 days

PR closed himynameisdave/browser-event-utils

Bump acorn from 5.7.3 to 5.7.4 dependencies

Bumps acorn from 5.7.3 to 5.7.4. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/acornjs/acorn/commit/6370e90067552022710190319cbbbd8c43001957"><code>6370e90</code></a> Mark version 5.7.4</li> <li><a href="https://github.com/acornjs/acorn/commit/fbc15b1344f6dfb992f67b4bbf1357436247c8a0"><code>fbc15b1</code></a> More rigorously check surrogate pairs in regexp validator</li> <li>See full diff in <a href="https://github.com/acornjs/acorn/compare/5.7.3...5.7.4">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+3 -3

0 comment

1 changed file

dependabot[bot]

pr closed time in 19 days

created taghimynameisdave/eslint-config-himynameisdave

tagv3.0.0-rc2

🗒️ An opinionated eslint config by and for himynameisdave

created time in 19 days

release himynameisdave/eslint-config-himynameisdave

v3.0.0-rc2

released time in 19 days

push eventhimynameisdave/eslint-config-himynameisdave

himynameisdave

commit sha 580ea41125e310108efdf901fb8a9f3b9af4c2b6

3.0.0-rc1

view details

himynameisdave

commit sha 43c22b713f4eefd3ac7ab8c3ed2c355af935f4b0

📦 Package updates Adds some new rules

view details

push time in 19 days

startedbcgov/design-system

started time in 23 days

startedariannedee/rethinking-rest

started time in 23 days

startedbcgov/devhub-app-web

started time in 23 days

startedbcgov/eDivorce

started time in 23 days

starteddenoland/deno_lint

started time in 23 days

startedjaredpalmer/tsdx

started time in a month

push eventhimynameisdave/postcss-plugins

himynameisdave

commit sha 37dc282ec92d76c1508ff93c1582bb2739309980

v1.14.5

view details

push time in a month

PR closed himynameisdave/postcss-plugins

Add postcss-fluid & postcss-media-functions Status: Accepted Type: New Plugin(s)

https://github.com/notiv-nt/postcss-fluid https://github.com/notiv-nt/postcss-media-functions


1 Inspired on https://css-tricks.com/snippets/css/fluid-typography/

and

@mixin responsive($property, $min, $max) {
  // Set property to the parent selector
  #{$property}: var(--res-#{$property});

  $mobile: map-get(map-get($media, xs), to);
  $desktop: map-get(map-get($media, hg), from);
  $screen-diff: getUnitLess($desktop - $mobile);
  $diff: getUnitLess($max - $min);

  // Limit the minimum value
  @include media(to sm) {
    --res-#{$property}: #{$min};
  }

  // Value between min and max
  @include media(from sm to hg) {
    --res-#{$property}: calc(#{$min} + (100vw - #{$mobile}) / (#{$screen-diff}) * (#{$diff}));
  }

  // Limit the maximum value
  @include media(from hg) {
    --res-#{$property}: #{$max};
  }
}
+31 -2

1 comment

2 changed files

notiv-nt

pr closed time in a month

push eventhimynameisdave/postcss-plugins

himynameisdave

commit sha c95a15aef6e48a0f39b9e098161ebd9f5902bf33

Merge 267.patch into notiv-nt-master

view details

himynameisdave

commit sha a6c37ab53e5a5d03bdb89fb579a938e0400c77bb

Merge branch 'notiv-nt-master'

view details

push time in a month

push eventhimynameisdave/postcss-plugins

Ivan Nikolić

commit sha a605fa6cfe43019a4a6f5ec91d2ec4ce8e787fd8

Add "postcss-escape-generated-content-string" (#299) Co-authored-by: Dave Lunny <4298089+himynameisdave@users.noreply.github.com>

view details

push time in a month

push eventniksy/postcss-plugins

Till Schander

commit sha 0ebd80bdae07628eadc8da12e671b593a013a297

Added rem-to-px and prefix-all-rules

view details

Valtteri Laitinen

commit sha 68fc682adf27367359cf432a6218301ac5314f21

Add postcss-color-image (#297)

view details

himynameisdave

commit sha 7edfd69fd059660ad7b700c25ea12eabdfc08861

Merge branch 'master' of https://github.com/tillschander/postcss-plugins into tillschander-master

view details

himynameisdave

commit sha 9e1ac0150838d66b865df5e1d4bfef80bccb13b6

t push origin masterMerge branch 'tillschander-master'

view details

Dave Lunny

commit sha 96dd1f5b851f3bf7fc1acf7e411d1a44d9eda953

Merge branch 'master' into postcss-escape-generated-content-string

view details

push time in a month

PR merged himynameisdave/postcss-plugins

Added rem-to-px and prefix-all-rules Status: Accepted Type: New Plugin(s)
+24 -0

0 comment

2 changed files

tillschander

pr closed time in a month

push eventhimynameisdave/postcss-plugins

Till Schander

commit sha 0ebd80bdae07628eadc8da12e671b593a013a297

Added rem-to-px and prefix-all-rules

view details

himynameisdave

commit sha 7edfd69fd059660ad7b700c25ea12eabdfc08861

Merge branch 'master' of https://github.com/tillschander/postcss-plugins into tillschander-master

view details

himynameisdave

commit sha 9e1ac0150838d66b865df5e1d4bfef80bccb13b6

t push origin masterMerge branch 'tillschander-master'

view details

push time in a month

push eventhimynameisdave/postcss-plugins

Valtteri Laitinen

commit sha 68fc682adf27367359cf432a6218301ac5314f21

Add postcss-color-image (#297)

view details

push time in a month

PR merged himynameisdave/postcss-plugins

Add postcss-color-image Status: Accepted Type: New Plugin(s)

This adds postcss-color-image plugin.

+15 -1

0 comment

2 changed files

valtlai

pr closed time in a month

push eventhimynameisdave/downpayment

himynameisdave

commit sha b552b393b4c2c2b9f4f8582a4bc842e203e19b2b

🏷 Add label, autofocus input onMount

view details

push time in a month

push eventhimynameisdave/downpayment

himynameisdave

commit sha 7307b8730ea4d9324a2c18896d584562237564a4

🏠 New favicon

view details

himynameisdave

commit sha f5e06677b4cc5505e3c39ff32eb2eda1de0821c2

🏷 Fix the description text

view details

push time in a month

push eventhimynameisdave/apt-hunter

himynameisdave

commit sha 23bd0b3ef8a6226be306ba500021d7766548feac

🏡 Initial commit

view details

push time in a month

create barnchhimynameisdave/apt-hunter

branch : master

created branch time in a month

created repositoryhimynameisdave/apt-hunter

🏘 Simple scraper for finding apartments on Craigslist

created time in a month

startedmjswensen/themer

started time in a month

issue commentmui-org/material-ui

Unhandled Rejection (TypeError): Object(...) is not a function

@tschirmer I just tried updating material core and that seemed to do the trick!

tschirmer

comment created time in a month

issue commentmui-org/material-ui

Unhandled Rejection (TypeError): Object(...) is not a function

Same issue here, but I wasn't able to reproduce it on Codesandbox. I'm wondering if it has something to do with my transpiler/bundler.

tschirmer

comment created time in a month

startedjanniks/TitleRun

started time in a month

startedmetonym/svelte-link

started time in a month

push eventhimynameisdave/downpayment

himynameisdave

commit sha 91fcb79827eba6d003c055f26ed9a446a3edf094

👁 Add analytics and meta info

view details

push time in a month

PublicEvent

push eventhimynameisdave/downpayment

himynameisdave

commit sha ff816730f59400317a0281849fb3f60d8eb79db1

💅 Some final touch-ups

view details

push time in a month

issue openedhimynameisdave/svelte-copyright

Add support for date ranges

Would be nice if this component supported date ranges.

So for example the date prop could be an array with two dates, and display the years like:

© Copyright 2012-2020 Dave Lunny

created time in a month

PR opened sveltejs/community

© Add svelte-copyright

Adds svelte-copyright component.

+8 -0

0 comment

1 changed file

pr created time in a month

create barnchhimynameisdave/community

branch : add-svelte-copyright

created branch time in a month

fork himynameisdave/community

Svelte community meetups, packages, resources, recipes, showcase websites, and more

https://svelte-community.netlify.com

fork in a month

startedEmilTholin/svelte-spinner

started time in a month

delete branch himynameisdave/template

delete branch : issues/120

delete time in a month

PR closed sveltejs/template

Bump rollup to v2.x

Bumps rollup to version 2.x. Also bumps the other packages to their latest minor/patch versions.

The build, start, and dev scripts all still work.

Rollup Changelog

Question: now that rollup has dropped support for Node < 10, should we add an "engines" field to the package.json which specifies that you need at least Node 10+ to run it?

Closes #120

+8 -8

2 comments

1 changed file

himynameisdave

pr closed time in a month

pull request commentsveltejs/template

Bump rollup to v2.x

@Conduitry already did this update here: https://github.com/sveltejs/template/commit/f01b6e46e6045a86d938178d66557d94f6a73251

himynameisdave

comment created time in a month

push eventhimynameisdave/downpayment

himynameisdave

commit sha eb73cddb386d6e5549b57715dcc4c5fa5421c67b

🏗 Builds out the rest of the app Still need to fill out the privacy + terms + about, but that's easy

view details

push time in a month

startedfacebook/draft-js

started time in a month

startedMunter/subfont

started time in a month

startedunlocomqx/svelte-reduxify

started time in a month

starteddevelopit/microbundle

started time in a month

PublicEvent

issue commenthimynameisdave/svelte-frappe-charts

Tests + Fixtures not being ignored in NPM

Still exists in v1.2.0 😕

himynameisdave

comment created time in a month

release himynameisdave/svelte-frappe-charts

v1.2.0

released time in a month

created taghimynameisdave/svelte-frappe-charts

tagv1.2.0

📈 Svelte bindings for frappe-charts.

created time in a month

push eventhimynameisdave/svelte-frappe-charts

himynameisdave

commit sha 7c828146b00486fd46d85412262fdadc76c062aa

🎒 Revert back to CommonJS import, for now For the time being, until we can fix the issue with Jest not handling ESM node_modules/

view details

himynameisdave

commit sha 91ac2abc4f9323a40b9d8a259eaf4789301a467c

🔞 Drop Node 8 from CI tests

view details

himynameisdave

commit sha f9b64c3294b1fb6e17fb3a94b6e727549cff4f50

1.2.0

view details

push time in a month

push eventhimynameisdave/svelte-frappe-charts

himynameisdave

commit sha a578fdfefd413c99f99a5a5c7134f98a6ac80ce9

🎒 Try importing ESM instead

view details

himynameisdave

commit sha e188ca564b63d42b2a29acf0a38bf788d2a45d9a

🙅‍♂️Improve npmignore Addresses #10

view details

himynameisdave

commit sha 9f135b1cb35ff55f7a37c32b448c8310ac78ac1c

Merge branch 'master' of github.com:himynameisdave/svelte-frappe-charts

view details

himynameisdave

commit sha 1ac8335f43540f6811367865705409f602776ed8

📖 Document exportChart

view details

himynameisdave

commit sha 87de327f3156dc9d424549b9cb0ef5fce36f3187

📦 Package upgrades

view details

push time in a month

issue commenthimynameisdave/svelte-frappe-charts

Cannot handle large datasets?

@denny64 I'm willing to bet that this is a bottleneck in the underlying frappe-charts library, although I could be wrong. There might be other variables at play here, such as what browser / hardware you're running it on.

If possible, please post your dataset / setup / codesandbox link so that I can investigate it further. Thanks!

denny64

comment created time in a month

push eventhimynameisdave/svelte-frappe-charts

Nripendra Nath Newa

commit sha 5333da69563d53bcb84367e02dee10af21952b52

Expose the exportChart function. Usage: <!-- Parent/consumer component --> <script> import Chart from 'svelte-frappe-charts'; let data = { labels: ['Sun', 'Mon', 'Tues', 'Wed', 'Thurs', 'Fri', 'Sat'], datasets: [ { values: [10, 12, 3, 9, 8, 15, 9] } ] }; let chartRef; const onExport = () => { // call the exportChart method on chartRef. chartRef.exportChart(); } </script> <!-- Button to control when the export happens --> <button on:click={onExport}> Export </button> <Chart data={data} type="line" bind:this={chartRef} />

view details

Dave Lunny

commit sha e6cd75916baf5642263075393527d36eb98969f7

Merge pull request #11 from nripendra/export-chart Export chart Closes #5

view details

push time in a month

issue closedhimynameisdave/svelte-frappe-charts

Add support to export to SVG feature

I think it would be nice to expose the support to export the rendered chart to SVG as it is described in Frappe Charts documentation: https://frappe.io/charts

closed time in a month

carlosvin
more